hurd: fix pathconf visibility
[glibc.git] / ChangeLog
blob974a525326eb4d4b9ae65e19ab81b8d79aebd55b
1 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13         [BZ #18243]
14         * rt/Makefile (test): Add tst-shm-cancel.
15         * rt/tst-shm-cancel.c: New file.
16         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
18         [BZ #18243]
19         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
20         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
21         definition.
22         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
23         uncontended case.
24         * nptl/sem_wait.c (__new_sem_wait): Likewise.
25         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
26         (tf): Fix check for uncontended case.
27         (do_test): Likewise.
28         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
29         (tf): Fix check for uncontended case.
30         (do_test): Likewise.
31         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
32         (tf): Fix check for uncontended case.
33         (do_test): Likewise.
34         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
35         (tf): Fix check for uncontended case.
36         (do_test): Likewise.
38         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
39         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
41         [BZ #15765]
42         * nptl/Makefile (tests): Add tst-sem16.
43         * nptl/tst-sem16.c: New file.
44         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
46         * nptl/sem_open.c (sem_open): Init pad value to 0.
47         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
48         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
50 2016-09-15  Florian Weimer  <fweimer@redhat.com>
52         [BZ #20611]
53         * inet/Makefile (routines): Add inet6_scopeid_pton.
54         (tests): Add tst-inet6_scopeid_pton.
55         * inet/inet6_scopeid_pton.c: New file.
56         * inet/net-internal.h: Likewise.
57         * inet/tst-inet6_scopeid_pton.c: New test.
58         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
59         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
60         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62 2016-09-14  Florian Weimer  <fweimer@redhat.com>
64         Remove support for compiling wrappers with PTW.
65         * sysdeps/nptl/Makeconfig: Drop ptw- support.
66         * nptl/Makefile (pthread-compat-wrappers): Define.
67         (libpthread-routines): Use pthread-compat-wrappers.
68         * sysdeps/unix/sysv/linux/alpha/Makefile
69         (libpthread-routines, libpthread-shared-only-routines): Remove
70         ptw- prefix.
71         * sysdeps/s390/nptl/Makefile
72         (libpthread-routines, libpthread-shared-only-routines): Likewise.
73         * sysdeps/ia64/nptl/Makefile
74         (libpthread-routines, libpthread-shared-only-routines): Likewise.
75         * sysdeps/nacl/Makefile (libpthread-routines): Use
76         pthread-compat-wrappers to filter the routines list instead of the
77         ptw- prefix.
79 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
81         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
82         with L() and remove explicit suffix, convert real literals
83         which can be equivalentally substituted with integers, and
84         transform -L(x) to L(-x).
86         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
92         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
93         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
94         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
95         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
96         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
97         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
98         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
99         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
100         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
101         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
102         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
103         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
104         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
105         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
106         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
107         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
108         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
109         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
110         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
111         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
112         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
113         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
114         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
115         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
116         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
117         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
118         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
119         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
120         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
121         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
122         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
123         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
124         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
125         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
126         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
127         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
128         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
129         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
130         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
131         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
132         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
133         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
134         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
135         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
137 2016-09-13  Florian Weimer  <fweimer@redhat.com>
139         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
141 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
143         * malloc/Makefile (tests): Remove individual static test names
144         and just add all of tests-static.
146         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
148 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
150         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
151         file.
153         * sysdeps/sparc/fpu/fegetmode.c: New file.
154         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
156         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
157         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
159         * sysdeps/s390/fpu/fegetmode.c: New file.
160         * sysdeps/s390/fpu/fesetmode.c: Likewise.
162         * sysdeps/powerpc/fpu/fegetmode.c: New file.
163         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
164         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
165         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
166         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
167         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
169         * sysdeps/mips/fpu/fegetmode.c: New file.
170         * sysdeps/mips/fpu/fesetmode.c: Likewise.
172         * sysdeps/m68k/fpu/fegetmode.c: New file.
173         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
175         * sysdeps/ia64/fpu/fegetmode.c: New file.
176         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
178         * sysdeps/hppa/fpu/fegetmode.c: New file.
179         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
181         * sysdeps/arm/fegetmode.c: New file.
182         * sysdeps/arm/fesetmode.c: Likewise.
184         * sysdeps/alpha/fpu/fegetmode.c: New file.
185         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
187         * sysdeps/aarch64/fpu/fegetmode.c: New file.
188         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
190         * math/fegetmode.c: New file.
191         * math/fesetmode.c: Likewise.
192         * sysdeps/i386/fpu/fegetmode.c: Likewise.
193         * sysdeps/i386/fpu/fesetmode.c: Likewise.
194         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
195         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
196         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
198         declaration.
199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
200         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
201         typedef.
202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
203         * sysdeps/aarch64/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/alpha/fpu/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/arm/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         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
213         (femode_t): New typedef.
214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
215         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
216         (femode_t): New typedef.
217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
218         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
219         (femode_t): New typedef.
220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
221         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
222         (femode_t): New typedef.
223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
224         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
225         (femode_t): New typedef.
226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
227         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
228         (femode_t): New typedef.
229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
230         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
231         (femode_t): New typedef.
232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
233         declaration.
234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
235         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
236         (femode_t): New typedef.
237         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
238         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
239         (femode_t): New typedef.
240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
241         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
242         (femode_t): New typedef.
243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
244         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
245         (femode_t): New typedef.
246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
247         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
248         (femode_t): New typedef.
249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
250         * manual/arith.texi (FE_DFL_MODE): Document macro.
251         (fegetmode): Document function.
252         (fesetmode): Likewise.
253         * math/Versions (fegetmode): New libm symbol at version
254         GLIBC_2.25.
255         (fesetmode): Likewise.
256         * math/Makefile (libm-support): Add fegetmode and fesetmode.
257         (tests): Add test-femode and test-femode-traps.
258         * math/test-femode-traps.c: New file.
259         * math/test-femode.c: Likewise.
260         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
261         alias for __fe_dfl_env.
262         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
263         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
264         (__fe_dfl_mode): Likewise.
265         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
266         version GLIBC_2.25.
267         * sysdeps/nacl/libm.abilist: Update.
268         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
269         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
270         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
271         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
272         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
273         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
274         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
275         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
276         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
277         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
278         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
279         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
281         Likewise.
282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
283         Likewise.
284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
285         Likewise.
286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
287         Likewise.
288         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
289         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
292         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
294         Likewise.
295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
296         Likewise.
297         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
298         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
301 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
303         [BZ #20495]
304         [BZ #20508]
305         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
306         processors, set Use_dl_runtime_resolve_slow and set
307         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
308         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
309         New.
310         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
311         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
312         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
313         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
314         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
315         if Use_dl_runtime_resolve_opt is set.  Use
316         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
317         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
318         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
319         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
320         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
321         New.
322         (_dl_runtime_resolve_opt): Likewise.
323         (_dl_runtime_profile): Define only if _dl_runtime_profile is
324         defined.
326 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
328         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
329         __libc_memalign with "+ RELA R_390_GLOB_DAT".
331 2016-09-06  Florian Weimer  <fweimer@redhat.com>
333         Convert malloc to __libc_lock.  Automated part, using this Perl
334         s/// command:
335           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
336             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
337         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
338         conversion.
340 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
342         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
343         (linknamespace-symlists-tests): Likewise.
344         (linknamespace-header-tests): Likewise.
346 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
348         [BZ #19810]
349         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
350         * elf/tst-noload.c: New test case.
351         * elf/Makefile (tests): Add tst-noload.
353 2016-09-02  Roland McGrath  <roland@hack.frob.com>
355         * sysdeps/nacl/dup.c: Add libc_hidden_def.
357         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
358         not any more.
360         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
362 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
364         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
365         (do_cos_slow): Likewise.
366         (do_sin): Likewise.
367         (do_sin_slow): Likewise.
368         (slow): Likewise.
369         (slow1): Likewise.
370         (slow2): Likewise.
371         (sloww): Likewise.
372         (sloww1): Likewise.
373         (sloww2): Likewise.
374         (bsloww): Likewise.
375         (bsloww1): Likewise.
376         (bsloww2): Likewise.
377         (cslow2): Likewise.
379         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
381         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
382         arguments.  Consolidate input partitioning from callers here.
383         (do_cos_slow): Likewise.
384         (do_sin): Likewise.
385         (do_sin_slow): Likewise.
386         (do_sincos_1): Remove the no longer necessary input partitioning.
387         (do_sincos_2): Likewise.
388         (__sin): Likewise.
389         (__cos): Likewise.
390         (slow1): Likewise.
391         (slow2): Likewise.
392         (sloww1): Likewise.
393         (sloww2): Likewise.
394         (bsloww1): Likewise.
395         (bsloww2): Likewise.
396         (cslow2): Likewise.
398 2016-09-02  Florian Weimer  <fweimer@redhat.com>
400         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
401         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
402         outside of allocated array.
404 2016-09-02  Florian Weimer  <fweimer@redhat.com>
406         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
407         instead of MB_CUR_MAX to avoid variable-length array.
409 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
411         * math/Makefile (libm-calls): Remove k_rem_pio2F.
412         (type-double-routines): Add k_rem_pio2.
413         (type-float-routines): Add k_rem_pio2f.
415         * sysdeps/generic/math_private.h:
416         (__kernel_rem_pio2l): Removed.
418         * math/k_rem_pio2l.c: Removed.
419         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
420         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
421         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
422         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
424 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
426         * math/Makefile (gen-libm-calls): Add s_fmin
427         (libm-calls): Remove above.
429         * math/s_fmin.c: Refactor into ...
430         * math/s_fmin_template.c: New file.
432         * math/s_fminf.c: Removed.
433         * math/s_fminl.c: Removed.
434         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
435         (LDOUBLE_fmin_libm_version): New macro.
437         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
438         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
440 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
442         * math/Makefile: (gen-libm-calls): Add s_fmax.
443         (libm-calls): Remove above.
445         * math/s_fmax.c: Refactor into ...
446         * math/s_fmax_template.c: New file.
447         * math/s_fmaxf.c: Removed.
448         * math/s_fmaxl.c: Removed.
450         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
451         (LDOUBLE_fmaxl_libm_version): New macro.
453         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
454         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
456         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
457         s_fmin.c to pick the aarch64 version of the file.
458         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
459         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
461 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
463         * math/Makefile: (gen-libm-calls): Add s_nextdown.
464         (libm-calls): Remove above.
466         * math/s_nextdown.c: Refactor into ...
467         * math/s_nextdown_template.c: New file.
468         * math/s_nextdownf.c: Removed.
469         * math/s_nextdownl.c: Removed.
471         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
473 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
475         * math/Makefile (gen-libm-calls): Add s_fdim.
476         (libm-calls): Move to above.
478         * math/s_fdim.c: Renamed and refactored into to ...
479         * math/s_fdim_template.c: New file.
480         * math/s_fdiml.c: Removed.
481         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
482         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
484         * sysdeps/generic/math-type-macros-double.h:
485         (declare_mgen_alias): Don't declare if already declared.
486         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
487         Likewise.
489         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
490         (declare_mgen_alias): Don't declare if already declared.
491         (M_LIBM_NEED_COMPAT): Likewise.
492         (declare_mgen_libm_compat): Likewise.
493         (LDOUBLE_fdiml_libm_version): New macro.
495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
496         Include math/s_fdim.c now that ldbl-opt version is not needed.
497         (declare_mgen_alias): New macro to disable aliasing.
499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
500         (declare_mgen_alias): Likewise.
501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
502         (declare_mgen_alias): Likewise.
503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
504         (declare_mgen_alias): Likewise.
505         (M_LIBM_NEED_COMPAT): Likewise.
507 2016-09-01  Florian Weimer  <fweimer@redhat.com>
509         [BZ #20525]
510         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
511         Include <linux/quota.h>.
512         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
513         and btodb.
514         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
515         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
516         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
517         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
518         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
519         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
520         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
521         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
522         types.
523         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
524         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
526 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
528         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
529         (gammal_positive): Fix spacing.
530         (__ieee754_gammal_r): Likewise.
532 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
534         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
535         (_Float128): Define as long double, always.
536         (L): Apply long double type suffix, always.
538         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
539         _Float128, excepting comments.
541         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
542         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
543         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
544         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
545         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
546         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
547         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
548         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
549         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
550         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
551         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
552         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
553         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
554         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
555         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
556         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
557         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
558         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
559         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
560         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
561         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
562         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
563         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
564         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
565         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
566         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
567         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
568         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
569         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
571         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
572         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
573         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
574         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
575         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
576         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
577         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
578         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
580         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
581         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
582         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
583         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
584         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
585         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
586         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
587         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
588         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
589         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
590         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
591         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
592         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
593         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
594         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
595         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
596         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
597         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
598         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
599         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
600         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
601         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
602         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
603         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
604         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
605         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
606         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
607         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
608         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
610         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
611         _Float128, and include math_private.h.
612         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
615         long double semantics.
616         (_Float128): Likewise.
617         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
618         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
619         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
620         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
622 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
624         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
625         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
626         * sysdeps/s390/configure: Regenerated.
627         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
628         instruction for raising over-/underflow if z196 zarch is supported
629         by default.
630         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
632 2016-08-30  Svante Signell  <svante.signell@gmail.com>
634         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
635         it point to a dumb buffer for RPC to fill it.
637 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
639         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
640         instead of if/else.
641         (do_sin_slow): Likewise.
642         (do_sincos_1): Use fabs instead of if/else.
643         (do_sincos_2): Likewise.
644         (__sin): Likewise.
645         (__cos): Likewise.
646         (slow2): Likewise.
647         (sloww): Likewise.
648         (sloww1): Likewise.  Drop argument M.
649         (sloww2): Use fabs instead of if/else.
650         (bsloww): Likewise.
651         (bsloww1): Likewise.
652         (bsloww2): Likewise.
654         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
655         fall through comment.
656         (do_sincos_1): Likewise.
658         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
659         Consolidate switch cases 0 and 2.
661 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
663         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
664         (libm-calls): Remove the above.
666         * math/s_cexp_template.c: Update using type-generic macros.
667         * math/s_clog10_template.c: Likewise.
668         * math/s_cpow_template.c: Likewise.
669         * math/s_clog_template.c: Likewise.
670         * math/s_cproj_template.c: Likewise.
671         * math/s_csqrt_template.c: Likewise.
673         * math/s_cexp.c: Removed.
674         * math/s_cexpf.c: Removed.
675         * math/s_cexpl.c: Removed.
676         * math/s_clog10.c: Removed.
677         * math/s_clog10f.c: Removed.
678         * math/s_clog10l.c: Removed.
679         * math/s_cpow.c: Removed.
680         * math/s_cpowf.c: Removed.
681         * math/s_cpowl.c: Removed.
682         * math/s_clog.c: Removed.
683         * math/s_clogf.c: Removed.
684         * math/s_clogl.c: Removed.
685         * math/s_cproj.c: Removed.
686         * math/s_cprojf.c: Removed.
687         * math/s_cprojl.c: Removed.
688         * math/s_csqrt.c: Removed.
689         * math/s_csqrtf.c: Removed.
690         * math/s_csqrtl.c: Removed.
692         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
693         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
694         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
695         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
696         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
697         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
699         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
700         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
701         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
702         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
703         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
704         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
705         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
706         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
707         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
708         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
709         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
711         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
712         version.
714         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
715         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
716         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
717         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
719 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
721         * s_cexp_template.c: Copy of s_cexp.c.
722         * s_clog_template.c: Copy of s_clog.c.
723         * s_clog10_template.c: Copy of s_clog10.c.
724         * s_cpow_template.c: Copy of s_cpow.c.
725         * s_cproj_template.c: Copy of s_cproj.c.
726         * s_csqrt_template.c: Copy of s_csqrt.c.
728 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
730         [BZ #20517]
731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
732         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
733         exported.
735 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
737         * math/fetestexceptflag.c: New file.
738         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
739         Stefan Liebler.
740         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
741         (fetestexceptflag): New function declaration.
742         * manual/arith.texi (fetestexceptflag): Document function.
743         * math/Versions (fetestexceptflag): New libm symbol at version
744         GLIBC_2.25.
745         * math/Makefile (libm-support): Add fetestexceptflag.
746         (tests): Add test-fetestexceptflag.
747         * math/test-fetestexceptflag.c: New file.
748         * sysdeps/nacl/libm.abilist: Update.
749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
750         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
751         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
762         Likewise.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
764         Likewise.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
766         Likewise.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
768         Likewise.
769         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
775         Likewise.
776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
777         Likewise.
778         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
779         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
780         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
782 2016-08-26  Florian Weimer  <fweimer@redhat.com>
784         [BZ #20432]
785         Avoid strong references to malloc-internal symbols when linking
786         statically, to support statically interposed mallocs.
787         * include/libc-symbols.h (call_function_static_weak): New macro.
788         * malloc/Makefile (tests): Add tst-interpose-nothread,
789         tst-interpose-thread, tst-interpose-static-nothread,
790         tst-interpose-static-thread.
791         (tests-static): Add tst-interpose-static-nothread,
792         tst-interpose-static-thread.
793         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
794         tst-interpose-aux-thread.o.
795         (test-extras): Add tst-interpose-aux-nothread,
796         tst-interpose-aux-thread.
797         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
798         tst-interpose-aux-nothread.o.
799         (tst-interpose-thread, tst-interpose-static-thread): Link with
800         tst-interpose-aux-thread.o and libthread.
801         * malloc/tst-interpose-aux-nothread.c: New file.
802         * malloc/tst-interpose-aux-thread.c: Likewise.
803         * malloc/tst-interpose-aux.c: Likewise.
804         * malloc/tst-interpose-aux.h: Likewise.
805         * malloc/tst-interpose-nothread.c: Likewise.
806         * malloc/tst-interpose-skeleton.c: Likewise.
807         * malloc/tst-interpose-static-nothread.c: Likewise.
808         * malloc/tst-interpose-static-thread.c: Likewise.
809         * malloc/tst-interpose-thread.c: Likewise.
810         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
811         * sysdeps/mach/hurd/fork.c (__fork): Only call
812         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
813         __malloc_fork_unlock_child if defined.
814         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
816 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
818         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
819         timespec C99 designated initialization.
821 2016-08-26  Florian Weimer  <fweimer@redhat.com>
823         [BZ #19946]
824         Avoid expected SIGALRM signals.
825         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
826         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
827         (xpthread_create, xpthread_detach, xpthread_join)
828         (delayed_exit_thread, delayed_exit): New functions.
829         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
830         (tf): Use xpthread_cond_wait.
831         (do_test): Likewise.  Replace alarm with delayed_exit.
832         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
833         (do_test): Call delayed_exit.  Report failure.
834         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
835         (do_test): Call delayed_exit.
836         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
837         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
838         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
839         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
840         error.
841         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
842         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
843         error.
844         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
845         (do_test): Call delayed_exit.
846         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
847         (do_test): Call delayed_exit.
848         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
849         (do_test): Call delayed_exit instead of alarm.  Use
850         xpthread_mutex_lock.
851         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
852         (do_test): Call delayed_exit instead of alarm.  Use
853         xpthread_mutex_lock.
854         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
855         (do_test): Call delayed_exit instead of alarm.
856         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
857         (do_test): Call delayed_exit instead of alarm.  Use
858         xpthread_spin_lock.
859         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
860         (do_test): Call delayed_exit instead of alarm.  Use
861         xpthread_join.
863 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
865         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
866         adjust CFA when allocating register save area on re-aligned
867         stack.
869 2016-08-26  Florian Weimer  <fweimer@redhat.com>
871         * string/tst-cmp.c: New test.
872         * string/Makefile (tests): Add it.
874 2016-08-25  Mark Wielaard  <mark@klomp.org>
876         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
877         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
878         (check_tree_recurse): Use newly defined accessors.
879         (check_tree): Likewise.
880         (maybe_split_for_insert): Likewise.
881         (__tfind): Likewise.
882         (__tdelete): Likewise.
883         (trecurse): Likewise.
884         (tdestroy_recurse): Likewise.
885         (__tsearch): Likewise. And add asserts for malloc alignment.
886         (__twalk): Cast root to node in case CHECK_TREE is defined.
888 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
890         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
892 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
894         * math/Makefile (libm-gen-calls): Add
895         catan, catanh, ctan, ctanh.
896         (libm-calls): Remove the above.
898         * math/s_catan_template.c: Update using type-generic macros.
899         * math/s_catanh_template.c: Likewise.
900         * math/s_ctan_template.c: Likewise.
901         * math/s_ctanh_template.c: Likewise.
903         * math/s_catanf.c: Removed.
904         * math/s_catan.c: Removed.
905         * math/s_catanl.c: Removed.
906         * math/s_catanhf.c: Removed.
907         * math/s_catanh.c: Removed.
908         * math/s_catanhl.c: Removed.
909         * math/s_ctanf.c: Removed.
910         * math/s_ctan.c: Removed.
911         * math/s_ctanl.c: Removed.
912         * math/s_ctanhf.c: Removed.
913         * math/s_ctanh.c: Removed.
914         * math/s_ctanhl.c: Removed.
916         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
917         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
918         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
919         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
920         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
921         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
923         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
924         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
925         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
926         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
928 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
930         * s_catan_template.c: Copy of s_catan.c.
931         * s_catanh_template.c: Copy of s_catanh.c.
932         * s_ctan_template.c: Copy of s_ctan.c.
933         * s_ctanh_template.c: Copy of s_ctanh.c.
935 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
937         * math/Makefile (gen-libm-calls): Move
938         casin, casinh, csin, csinh here.
939         (libm-calls): Remove the above.
941         * math/s_casin_template.c: Update using type-generic macros.
942         * math/s_casinh_template.c: Likewise.
943         * math/s_csin_template.c: Likewise.
944         * math/s_csinh_template.c: Likewise.
945         * math/k_casinh_template.c: Likewise.
947         * math/s_casinf.c: Removed.
948         * math/s_casin.c: Removed.
949         * math/s_casinl.c: Removed.
950         * math/s_casinh.c: Removed.
951         * math/s_casinhf.c: Removed.
952         * math/s_casinhl.c: Removed.
953         * math/s_csin.c: Removed.
954         * math/s_csinf.c: Removed.
955         * math/s_csinl.c: Removed.
956         * math/s_csinh.c: Removed.
957         * math/s_csinhf.c: Removed.
958         * math/s_csinhl.c: Removed.
959         * math/k_casinh.c: Removed.
960         * math/k_casinhf.c: Removed.
961         * math/k_casinhl.c: Removed.
963         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
964         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
965         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
966         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
968         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
969         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
970         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
971         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
972         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
973         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
974         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
975         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
977         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
978         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
979         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
980         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
982         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
983         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
984         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
985         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
987 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
989         * s_casin_template.c: Copy of s_casin.c.
990         * s_casinh_template.c: Copy of s_casinh.c.
991         * s_csin_template.c: Copy of s_csin.c.
992         * s_csinh_template.c: Copy of s_csinh.c.
993         * k_casinh_template.c: Copy of k_casinh.c.
995 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
997         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
999 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1001         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1002         (mul_split) Remove, rename as mul_splitl, remove
1003         redundant float.h include, and include via mul_splitl.h
1005         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1006         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1007         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1008         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1009         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1011         * math/mul_splitl.h: New file.
1013         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1014         Move into mul_split.h, and remove redundant float.h include.
1016         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1017         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1018         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1019         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1021         * math/mul_split.h: New file.
1023 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1025         * math/Makefile (libm-gen-calls): Move
1026         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1027         (libm-calls): Remove above.
1029         * math/s_cacos_template.c: Update using type-generic macros.
1030         * math/s_cacosh_template.c: Likewise.
1031         * math/s_ccos_template.c: Likewise.
1032         * math/s_ccosh_template.c: Likwise.
1034         * math/s_cacosf.c: Removed.
1035         * math/s_cacos.c: Removed.
1036         * math/s_cacosl.c: Removed.
1037         * math/s_cacoshf.c: Removed.
1038         * math/s_cacosh.c: Removed.
1039         * math/s_cacoshl.c: Removed.
1040         * math/s_ccosf.c: Removed.
1041         * math/s_ccos.c: Removed.
1042         * math/s_ccosl.c: Removed.
1043         * math/s_ccoshf.c: Removed.
1044         * math/s_ccosh.c: Removed.
1045         * math/s_ccoshl.c: Removed.
1047         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1048         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1049         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1050         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1051         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1052         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1054         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1055         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1056         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1057         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1059         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1060         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1061         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1062         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1064 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1066         * s_cacos_template.c: Copy of s_cacos.c.
1067         * s_cacosh_template.c: Copy of s_cacosh.c.
1068         * s_ccos_template.c: Copy of s_ccos.c.
1069         * s_ccosh_template.c: Copy of s_ccosh.c.
1071 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1073         * stdlib/tst-strtod-round-skeleton.c:
1074         Refactored from tst-strtod-round.c.
1076         (L_): New macro to apply literal modifier.
1077         (FNPFX): New macro to select str or wcs prefix.
1078         (CHAR): New macro to choose wchar_t or char.
1079         (STRM): New macro to choose printf for tested character type.
1081         (STRTO): New macro to choose appropriate string -> real function.
1082         (FNPFXS): Stringitized version of FNPFX.
1083         (STR): Support for above macro.
1084         (STRX): Likewise.
1086         (TEST): Update with above macros.
1087         (test): Likewise.
1088         (GEN_ONE_TEST): Likewise.
1089         (test_in_one_mode): Likewise.
1091         * stdlib/tst-strtod-round.c: New file.
1092         * wcsmbs/tst-wcstod-round.c: New file.
1094         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1095         (tst-wcstod-round): Add libm depencency for fesetround.
1097 2016-08-19  Zack Weinberg  <zackw@panix.com>
1099         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1101 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1103         [BZ #20477]
1104         * resolv/res_hconf.c (do_init): Use atomic access.
1105         * resolv/res_hconf.h: Add comments.
1106         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1107         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1110 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1112         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1113         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1114         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1115         Likewise.
1117 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1119         [BZ #16907]
1120         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1121         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1122         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1123         (__attribute__): Remove definition.
1125 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1127         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1128         Remove unused sqrtl declaration.
1130 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1132         * math/Makefile: (gen-libm-templates.stmp): New rule.
1133         (libm-calls): Move carg conj cimag and cabs into ...
1134         (gen-libm-calls): New variable.
1135         (generated): Inform Make objects from gen-libm-calls
1136         may be generated.
1138         * sysdeps/generic/math-type-macros.h: New file.
1139         * sysdeps/generic/math-type-macros-float.h: Likewise.
1140         * sysdeps/generic/math-type-macros-double.h: Likewise.
1141         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1142         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1143         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1145         * math/cabs.c: Refactor into
1146         * math/cabs_template.c: new file.
1147         * math/cabsf.c: Removed.
1148         * math/cabsl.c: Removed.
1149         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1150         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1152         * math/carg.c: Refactor into
1153         * math/carg_template.c: new file.
1154         * math/cargf.c: Removed.
1155         * math/cargl.c: Removed.
1156         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1157         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1159         * math/conj.c: Refactor into
1160         * math/conj_template.c: new file.
1161         * math/conjf.c: Removed.
1162         * math/conjl.c: Removed.
1163         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1164         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1166         * math/cimag.c: Refactor into
1167         * math/cimag_template.c: new file.
1168         * math/cimagf.c: Removed.
1169         * math/cimagl.c: Removed.
1170         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1171         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1173         * math/cimag.c: Refactor into
1174         * math/cimag_template.c: new file.
1175         * math/cimagf.c: Removed.
1176         * math/cimagl.c: Removed.
1177         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1178         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1180 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1182         Reduce time to expected nptl/tst-once5 failure.
1183         * nptl/tst-once5.cc (TIMEOUT): Define.
1185 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1187         [BZ #20452]
1188         Avoid additional copies of objects in libc.a in static libraries.
1189         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1190         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1191         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1192         rt-sysdep.
1193         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1194         Add nptl-sysdep.
1195         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1196         Add ptw-sysdep.
1197         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1198         rt-sysdep.
1199         * sysdeps/unix/sysv/linux/alpha/Makefile
1200         (libpthread-shared-only-routines): Add ptw-sysdep,
1201         ptw-sigprocmask, ptw-rt_sigaction.
1202         * sysdeps/unix/sysv/linux/ia64/Makefile
1203         (librt-shared-only-routines): Add rt-sysdep.
1204         * sysdeps/unix/sysv/linux/i386/Makefile
1205         (libpthread-shared-only-routines): Add libc-do-syscall.
1206         * sysdeps/unix/sysv/linux/microblaze/Makefile
1207         (libpthread-shared-only-routines): Add sysdep.
1208         * sysdeps/unix/sysv/linux/powerpc/Makefile
1209         (librt-shared-only-routines): Add rt-sysdep.
1210         (libpthread-shared-only-routines): Add sysdep.
1211         * sysdeps/unix/sysv/linux/s390/Makefile
1212         (librt-shared-only-routines): Add rt-sysdep.
1213         * sysdeps/unix/sysv/linux/sparc/Makefile
1214         (librt-shared-only-routines): Add rt-sysdep.
1215         (libpthread-shared-only-routines): Add sysdep.
1216         * sysdeps/unix/sysv/linux/tile/Makefile
1217         (libpthread-shared-only-routines): Likewise.
1219 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1221         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1222         Mask implicit bit out of unpacked value.
1223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1224         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1225         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1227         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1229         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1231         * sysdeps/s390/fpu/fesetexcept.c: New file.
1233         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1234         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1235         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1237         * sysdeps/mips/fpu/fesetexcept.c: New file.
1239         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1241         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1243         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1245         * sysdeps/arm/fesetexcept.c: New file.
1247         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1249         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1251         * math/fesetexcept.c: New file.
1252         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1253         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1254         * math/fenv.h: Define
1255         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1256         <bits/libc-header-start.h> instead of including <features.h>.
1257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1258         declaration.
1259         * manual/arith.texi (fesetexcept): Document function.
1260         * math/Versions (fesetexcept): New libm symbol at version
1261         GLIBC_2.25.
1262         * math/Makefile (libm-support): Add fesetexcept.
1263         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1264         * math/test-fesetexcept.c: New file.
1265         * math/test-fesetexcept-traps.c: Likewise.
1266         * sysdeps/nacl/libm.abilist: Update.
1267         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1268         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1269         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1270         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1271         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1272         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1273         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1274         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1275         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1276         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1277         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1278         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1280         Likewise.
1281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1282         Likewise.
1283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1284         Likewise.
1285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1286         Likewise.
1287         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1288         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1289         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1290         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1291         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1293         Likewise.
1294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1295         Likewise.
1296         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1297         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1298         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1300 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1302         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1303         New.
1304         (do_test): Apply default_stack_size_in_mb if not set.
1305         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1307 2016-08-15  Andreas Schwab  <schwab@suse.de>
1309         [BZ #20435]
1310         CVE-2016-6323
1311         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1312         as .cantunwind.
1314 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1316         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1317         comment from fraiseexcpt.c.
1319         * math/test-fexcept.c (feraiseexcept_exact): New function.
1320         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1321         (test_except): Likewise.
1323 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1325         [BZ #20455]
1326         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1327         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1328         to be restored.
1330         * math/test-fexcept-traps.c: New file.
1331         * math/test-fexcept.c: Likewise.
1332         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1333         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1334         macro.
1335         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1336         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1338 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1340         * include/atomic.h (atomic_fetch_and_relaxed,
1341         atomic_fetch_and_release, atomic_fetch_or_release,
1342         atomic_fetch_xor_release): New.
1344 2016-08-06  Christian Seiler  <christian@iwakd.de>
1346         [BZ #20444]
1347         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1348         MACH_PORT_NULL.
1350 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1352         * math/s_fdim.c: Avoid alias renamed.
1353         * math/s_fdimf.c: Likewise.
1354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1355         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1356         Add s_fdimf-vis3, s_fdim-vis3.
1357         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1358         (CFLAGS-s_fdim-vis3.c): Likewise.
1359         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1360         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1362 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1365         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1366         Remove s_fdimf-vis3, s_fdim-vis3.
1367         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1368         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1375         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1376         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1378 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1380         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1381         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1382         -Wa,-Av9a -mvis.
1384 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1386         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1387         LIT() to individual constants in simple expressions
1388         after splitting on spaces.
1389         (_apply_lit): Rename replaced version, and use it to
1390         apply to what appears to be a token.
1392         * math/libm-test.inc: Fix many, many issues with
1393         spacing.
1395 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1397         * math/math.h: Move comment about <bits/mathdef.h> definitions
1398         above inclusion of <bits/mathdef.h>.  Do not mention
1399         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1401 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1403         * include/atomic.h (atomic_exchange_relaxed): New.
1405 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1407         * math/e_scalb.c: Do not include <fenv.h>.
1408         (invalid_fn): Do calculation resulting in NaN instead of raising
1409         FE_INVALID and returning a NaN explicitly.
1410         * math/e_scalbf.c: Do not include <fenv.h>.
1411         (invalid_fn): Do calculation resulting in NaN instead of raising
1412         FE_INVALID and returning a NaN explicitly.
1413         * math/e_scalbl.c: Do not include <fenv.h>.
1414         (invalid_fn): Do calculation resulting in NaN instead of raising
1415         FE_INVALID and returning a NaN explicitly.
1417 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1419         * po/de.po: Updated from Translation Project.
1420         * po/fi.po: Likewise.
1421         * po/sv.po: Likewise.
1423 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1425         [BZ #20452]
1426         Use sysdep.o from libc.a in static libraries.
1427         * sysdeps/unix/sysv/linux/i386/Makefile
1428         (libpthread-shared-only-routines): Add sysdep.
1429         (librt-shared-only-routines): Likewise.
1431 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1433         * math/tgmath.h (nextdown): Define if
1434         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1435         (nextup): Likewise.
1437         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1438         macro.
1439         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1440         Document.
1441         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1442         Document macro.
1443         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1444         (exp10f): Likewise.
1445         (exp10l): Likewise.
1446         * math/bits/mathcalls.h (exp10): Declare if
1447         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1449         * manual/arith.texi (nextup): Fix typo in last change.
1451 2016-08-03  Zack Weinberg  <zackw@panix.com>
1453         [BZ #19239]
1454         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1455         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1456         define major, minor, and makedev to issue deprecation warnings on use.
1457         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1458         previously-activated deprecation warnings for these macros and prevent
1459         subsequent inclusions of this header from having any effect.
1460         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1461         including <sys/sysmacros.h>, and undefine it again afterward.
1463 2016-08-03  Zack Weinberg  <zackw@panix.com>
1465         * sysdeps/generic/sys/sysmacros.h: Delete file.
1466         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1467         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1468         * bits/sysmacros.h: ... here; this encoding is now the generic
1469         encoding.  Now defines only the following macros:
1470         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1471         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1472         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1474         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1475         bits/sysmacros.h and the above new macros to generate the
1476         public implementations of major, minor, and makedev.
1477         * misc/tst-makedev.c: New test.
1478         * include/sys/sysmacros.h: New wrapper.
1480         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1481         (routines): Add makedev.
1482         (tests): Add tst-makedev.
1483         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1484         gnu_dev_makedev.
1485         * posix/Makefile (headers): Remove sys/sysmacros.h.
1486         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1488         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1489         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1490         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1491         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1492         * sysdeps/unix/sysv/linux/arm/libc.abilist
1493         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1494         * sysdeps/unix/sysv/linux/i386/libc.abilist
1495         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1496         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1497         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1498         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1499         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1500         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1501         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1502         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1503         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1508         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1509         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1510         * sysdeps/unix/sysv/linux/sh/libc.abilist
1511         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1512         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1515         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1516         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1517         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1518         Add GLIBC_2.25.
1520         * include/features.h (__glibc_clang_prereq): New macro.
1521         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1522         (__attribute_deprecated_msg__): New macros.
1524 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1526         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1527         macro.
1528         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1529         * manual/arith.texi (issignaling): Document as ISO from TS
1530         18661-1:2014.
1531         (nextup): Likewise.
1532         (nextupf): Likewise.
1533         (nextupl): Likewise.
1534         (nextdown): Likewise.
1535         (nextdownf): Likewise.
1536         (nextdownl): Likewise.
1537         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1538         macro.
1539         * math/math.h: Define
1540         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1541         <bits/libc-header-start.h> instead of including <features.h>.
1542         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1543         [__USE_GNU].
1544         * math/bits/mathcalls.h (nextdown): Declare if
1545         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1546         (nextup): Likewise.
1547         (__issignaling): Likewise.
1549 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1551         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1552         check, and remove __glibc_likely hint
1553         from FP_INFINITE check.
1554         * s_csinhf.c (__csinhf): Likewise.
1556         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1557         hint from FP_INFINITE check.
1558         * s_csinhl.c (__csinhl): Likewise.
1560 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1562         * math/Makefile (libm-calls): Insert F placeholder into
1563         object names.  Move w_lgamma_compat* routines into
1564         (libm-compat-calls): New variable.
1565         (libm-compat-calls-ldouble-yes): New variable.
1566         (calls): Insert F placeholder.
1567         (generated): Redefine using new type-foreach macro call.
1568         (routines): Likewise.
1570         (types): New variable to hold a list of symbolic names
1571         for each type supported by the target machine.
1572         (libm-routines): Redefine using new types variable.
1573         (type-foreach): macro to replace fooF with the
1574         appropriately suffixed foo for each types.
1576         (type-ldouble-suffix): New variable.
1577         (type-ldouble-routines): Likewise.
1578         (type-ldouble-yes): Likewise.
1579         (type-double-suffix): Likewise.
1580         (type-double-routines): Likewise.
1581         (type-float-suffix): Likewise.
1582         (type-float-routines): Likewise.
1584         (dbl-only-routines): Remove.
1585         (long-c-yes): Likewise.
1586         (long-m-routines): Likewise.
1587         (long-m-support): Likewise.
1588         (long-m-yes): Likewise.
1589         (test-longdouble-yes): Likewise.
1591         (test-float.o): Simplify by increasing the scope of the
1592         recipe which adds libm-test.stmp to the vector types.
1593         (test-ifloat.o): Likewise.
1594         (test-float-finite.o): Likewise.
1595         (test-double.o): Likewise
1596         (test-idouble.o): Likewise.
1597         (test-double-finite.o): Likewise.
1598         (test-ldouble.o): Likewise
1599         (test-ildoubl.o): Likewise.
1600         (test-ldouble-finite.o): Likewise.
1602         (libm-tests): Redefine type tests using foreach and the
1603         list of types in types.
1605         (CPPFLAGS-test-ildoubl.c): Rename to
1606         (CPPFLAGS-test-ildouble.c): New variable
1608         * math/test-ildoubl.c: Rename to
1609         * math/test-ildouble.c: New file.
1611 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1613         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1614         Use fabsl instead of fabs.
1615         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1616         Likewise.
1617         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1618         Add long double suffix to constant to ensure proper
1619         promotion to long double.
1621 2016-08-03  Tom Tromey  <tom@tromey.com>
1623         [BZ #20311]
1624         * nptl_db/Makefile (headers): Add proc_service.h.
1625         * nptl_db/proc_service.h: Add include guard.  Use
1626         __BEGIN/__END_DECLS.
1627         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1628         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1629         arguments.
1632 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1634         [BZ #17730]
1635         Avoid using memalign for TCB allocations.
1636         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1637         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1638         Avoid alignment gap in the TLS_DTV_AT_TP case.
1639         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1640         determine the pointer to free.
1641         * nptl/tst-tls3-malloc.c: New test.
1642         * nptl/Makefile (tests): Add it.
1643         (tst-tls3-malloc): Link with libdl, libpthread.
1644         (LDFLAGS-tst-tls3-malloc): Set.
1645         (tst-tls3-malloc.out): Depend on DSO used in test.
1647 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1649         [BZ #17730]
1650         Avoid using memalign for TLS allocations.
1651         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1652         is_static member with to_free member.
1653         (union dtv): Use struct dtv_pointer.
1654         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1655         dtv_pointer instead of is_static.
1656         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1657         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1658         instead of val.
1659         (allocate_dtv_entry): New function.
1660         (allocate_and_init): Return struct dtv_pointer.  Call
1661         allocate_dtv_entry instead of __libc_memalign.
1662         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1663         instead of val.
1664         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1665         instead of is_static.  Adjust call to allocate_and_init.
1666         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1667         struct dtv_pointer instead of val.
1669 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1671         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1672         (MALLOC_ALIGN_MASK): Move ...
1673         * malloc/malloc-internal.h: ... to here.
1674         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1676 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1678         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1679         (UDP_ENCAP_GTP1U): Likewise.
1681         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1682         (PF_MAX): Update value.
1683         (AF_QIPCRTR): New macro.
1685 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1687         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1688         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1689         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1691         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1692         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1693         s_truncf-vis3, s_trunc-vis3.
1694         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1695         (CFLAGS-s_ceil-vis3.c): Likewise.
1696         (CFLAGS-s_floorf-vis3.c): Likewise.
1697         (CFLAGS-s_floor-vis3.c): Likewise.
1698         (CFLAGS-s_truncf-vis3.c): Likewise.
1699         (CFLAGS-s_trunc-vis3.c): Likewise.
1700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1708         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1709         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1710         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1711         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1713 2016-08-02  David S. Miller  <davem@davemloft.net>
1715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1716         (__nearbyint_vis3): Don't check for sNaN before float register is
1717         loaded with the incoming argument.
1718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1719         (__nearbyintf_vis3): Likewise.
1720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1721         Likewise.
1722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1723         Likewise.
1725         * string/test-strncmp.c (do_test_limit): Make sure the test data
1726         stream is aligned as required for the type "CHAR".
1727         (do_test): Likewise.
1729 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1731         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1732         by beq instructions jumping to the end of the function.
1733         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1734         clobber list. Use "i" constraint instead of "X".
1735         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1736         of "X".
1738 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1740         * bits/libc-header-start.h: New file.
1741         * Makefile (headers): Add bits/libc-header-start.h.
1742         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1743         (__GLIBC_USE): New macro.
1744         * libio/stdio.h: Define
1745         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1746         <bits/libc-header-start.h> instead of including <features.h>.
1747         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1748         (open_memstream): Likewise.
1749         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1750         (__asprintf): Likewise.
1751         (asprintf): Likewise.
1752         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1753         (getdelim): Likewise.
1754         (getline): Likewise.
1755         * string/string.h: Define
1756         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1757         <bits/libc-header-start.h> instead of including <features.h>.
1758         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1759         (strndup): Likewise.
1760         * wcsmbs/wchar.h: Define
1761         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1762         <bits/libc-header-start.h> instead of including <features.h>.
1763         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1764         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1766 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1768         Support linking against compatibility symbols, for use in tests.
1769         * include/libc-symbols.h (symbol_version_reference): New macro.
1770         (symbol_version): Use it.
1771         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1772         (compat_symbol): Use compat_symbol_reference.
1773         (compat_symbol_1, compat_symbol_2): Remove.
1774         (compat_symbol_reference, compat_symbol_reference_1)
1775         (compat_symbol_reference_2): New macro.  Use
1776         symbol_version_reference.
1778 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1780         [BZ #19469]
1781         * malloc/Makefile (CPPFLAGS): Compile tests with
1782         -DTEST_NO_MALLOPT.
1783         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1785 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1787         [BZ #20033]
1788         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1789         finite version.
1790         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1792         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1793         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1794         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1795         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1796         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1797         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1798         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1799         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1801         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1802         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1803         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1804         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1805         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1806         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1807         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1808         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1809         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1810         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1811         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1812         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1813         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1814         in zero power.
1816 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1818         [BZ #20370]
1819         * malloc/arena.c (get_free_list): Update comment.  Assert that
1820         arenas on the free list have no attached threads.
1821         (remove_from_free_list): New function.
1822         (reused_arena): Call it.
1824 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1826         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1827         when it is a NaN.
1828         [_IEEE_FP_INEXACT] Remove.
1829         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1830         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1831         when it is a NaN.
1832         [_IEEE_FP_INEXACT] Remove.
1833         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1834         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1835         when it is a NaN.
1836         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1837         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1838         when its absolute value is greater than 0x1.0p52.
1839         [_IEEE_FP_INEXACT] Remove.
1840         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1841         when its absolute value is greater than 0x1.0p23.
1842         [_IEEE_FP_INEXACT] Remove.
1844 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1846         * version.h (RELEASE): Set to "development"
1847         (VERSION): Set to 2.24.90.
1848         * NEWS: Add 2.25 section.
1850         * version.h (RELEASE): Set to "stable"
1851         (VERSION): Set to 2.24.
1852         * include/features.h (__GLIBC_MINOR__): Set to 24.
1854         * NEWS: Add 2.24 fixed bugs.
1855         * po/libc.pot: Regenerate.
1857 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1860         [$(subdir) = math] (libm-sysdep_routines): Remove.
1861         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1862         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1863         s_truncf-vis3, s_trunc-vis3.
1864         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1866         file.
1867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1900         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1901         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1902         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1903         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1904         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1905         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1906         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1907         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1908         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1909         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1911 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1913         [BZ #20384]
1914         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1915         test-double-libmvec-sincos-avx-main.o,
1916         test-double-libmvec-sincos-avx2-main.o,
1917         test-double-libmvec-sincos-main.o,
1918         test-float-libmvec-sincosf-avx-main.o,
1919         test-float-libmvec-sincosf-avx2-main.o and
1920         test-float-libmvec-sincosf-main.o.
1921         test-float-libmvec-sincosf-avx512-main.o.
1922         ($(objpfx)test-double-libmvec-sincos): Also link with
1923         $(objpfx)test-double-libmvec-sincos-main.o.
1924         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1925         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1926         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1927         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1928         ($(objpfx)test-float-libmvec-sincosf): Also link with
1929         $(objpfx)test-float-libmvec-sincosf-main.o.
1930         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1931         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1932         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1933         test-double-libmvec-sincos-avx512-main.o and
1934         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1935         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1936         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1937         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1938         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1939         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1940         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1941         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1942         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1943         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1944         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1945         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1946         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1947         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1948         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1949         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1950         -DREQUIRE_AVX2.
1951         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1952         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1953         -DREQUIRE_AVX512F.
1954         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1955         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1956         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1957         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1958         file.
1959         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1960         Likewise.
1961         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1962         Likewise.
1963         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1964         Likewise.
1965         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1966         Likewise.
1967         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1968         Likewise.
1969         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1970         Likewise.
1971         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1972         Likewise.
1974 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1976         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1978 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1980         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1981         and typo in a comment about AT_HWCAP entry.
1983 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1985         * sysdeps/aarch64/libm-test-ulps: Updated.
1987 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1989         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1990         of r13 as it is not restored in mvcle case.
1992 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1994         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1995         Rename "ret" to "__ret".
1996         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1997         inline_syscall5, inline_syscall6): Likewise.
1999 2016-07-19   Will Newton  <will.newton@gmail.com>
2001         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2002         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2003         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2004         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2005         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2007 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2009         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2010         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2011         -mfpmath=387 with $(rtld-CFLAGS).
2012         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2013         $(rtld-CFLAGS).
2015 2016-07-18   Ross Burton  <ross.burton@intel.com>
2016              Khem Raj  <raj.khem@gmail.com>
2018         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2019         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2020         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2021         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2022         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2023         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2024         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2025         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2026         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2027         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2028         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2029         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2030         R_METAG_TLS_DTPOFF): New.
2032 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2033             Matt Clay  <mclay@lycos.com>
2035         [BZ #20357]
2036         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2037         to call __mpsin/__mpcos and to negate values.
2038         * math/auto-libm-test-in: Add test.
2039         * math/auto-libm-test-out: Regenerate.
2041 2016-07-18  Zack Weinberg  <zackw@panix.com>
2043         * grp/Makefile: Don't install the internal header grp-merge.h.
2045 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2047         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2049 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2051         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2053 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2055         [BZ #15368]
2056         * sysdeps/unix/sysv/linux/nptl-signals.h
2057         (__nptl_clear_internal_signals): New function.
2058         (__libc_signal_block_all): Likewise.
2059         (__libc_signal_block_app): Likewise.
2060         (__libc_signal_restore_set): Likewise.
2061         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2062         implementation.
2063         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2064         the cached pid/tid value in pthread structure.
2066 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2068         [BZ #20347]
2069         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2071 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2073         [BZ #20348]
2074         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2075         preadv64, pwrite64 and pwritev64.
2077 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2079         [BZ #20350]
2080         * posix/tst-preadwrite.c: Renamed to ...
2081         * posix/tst-preadwrite-common.c: This.
2082         (PREAD): Removed.
2083         (PWRITE): Likewise.
2084         (STRINGIFY): Likewise.
2085         (STRINGIFY2): Likewise.
2086         (do_prepare): Make it static and remove function arguments.
2087         (do_test): Likewise.
2088         (PREPARE): Updated.
2089         (TEST_FUNCTION): New.
2090         (name): Make it static.
2091         (fd): Likewise.
2092         (do_prepare): Use create_temp_file.
2093         (do_test): Renamed to ...
2094         (do_test_with_offset): This.  Make it static and accept offset.
2095         Properly check return value of PWRITE and PREAD.  Return bytes
2096         read.  Don't close fd nor unlink name.
2097         * posix/tst-preadwrite.c: Rewrite.
2098         * posix/tst-preadwrite64.c: Likewise.
2100 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2102         [BZ #20309]
2103         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2104         -mtls-dialect=gnu2 works.
2105         * configure: Regenerated.
2106         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2107         (tests): Add tst-gnu2-tls1.
2108         (modules-names): Add tst-gnu2-tls1mod.
2109         ($(objpfx)tst-gnu2-tls1): New.
2110         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2111         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2112         * elf/tst-gnu2-tls1.c: New file.
2113         * elf/tst-gnu2-tls1mod.c: Likewise.
2114         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2115         bytes for push in the PLT entry to align the stack.
2117 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2119         [BZ #20349]
2120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2122 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2124         [BZ #18707]
2125         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2126         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2128 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2130         * sysdeps/unix/sysv/linux/sysdep.h
2131         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2132         guards.
2133         * misc/tst-preadvwritev-common.c: New file.
2134         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2135         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2136         a check for files larger than 2GB.
2138         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2139         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2140         * sysdeps/unix/sysv/linux/pread.c
2141         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2142         __OFF_T_MATCHES_OFF64_T.
2143         * sysdeps/unix/sysv/linux/pread64.c
2144         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2145         * sysdeps/unix/sysv/linux/preadv.c
2146         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2147         * sysdeps/unix/sysv/linux/preadv64.c
2148         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2149         * sysdeps/unix/sysv/linux/pwrite.c
2150         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2151         * sysdeps/unix/sysv/linux/pwrite64.c
2152         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2153         * sysdeps/unix/sysv/linux/pwritev.c
2154         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2155         * sysdeps/unix/sysv/linux/pwritev64.c
2156         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2158 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2160         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2161         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2163 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2165         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2167 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2169         [BZ #20240]
2170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2171         (CFLAGS-s_modf-ppc32.c): New variable.
2172         (CFLAGS-s_modff-ppc32.c): Likewise.
2173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2174         (CFLAGS-s_modf-ppc64.c): Likewise.
2175         (CFLAGS-s_modff-ppc64.c): Likewise.
2177 2016-07-07  Andreas Schwab  <schwab@suse.de>
2179         [BZ #20263]
2180         * nptl/tst-robust10.c: New test.
2181         * nptl/Makefile (tests): Add tst-robust10.
2183 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2185         [BZ #20263]
2186         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2188 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2190         * sysdeps/s390/linkmap.h (struct link_map_machine):
2191         Remove member gotplt and add member jmprel.
2192         * sysdeps/s390/s390-32/dl-machine.h
2193         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2194         instead of gotplt with &got[3].
2195         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2196         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2198 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2200         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2202 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2204         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2205         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2206         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2207         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2208         * libio/vtables.c (_IO_vtable_check)
2209         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2210         * libio/libioP.h (IO_set_accept_foreign_vtables)
2211         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2213 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2215         [BZ #20314]
2216         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2217         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2218         $(common-objpfx)cmath.
2219         ($(common-objpfx)cstdlib): New target.
2220         ($(common-objpfx)cmath): Likewise.
2222 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2224         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2226 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2228         [BZ #20327]
2229         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2230         are not part of the string.
2232 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2234         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2235         * nptl/tst-cancel4-common.h (fifoname): New variable.
2236         (fifofd): Likewise.
2237         (cl_fifo): New function.
2238         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2239         SIGINT.
2240         (tf_open): Add early cancel test.
2242 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2244         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2246 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2248         * sysdeps/generic/ldsodefs.h
2249         (dl_symbol_visibility_binds_local_p): New inline function.
2250         * elf/dl-addr.c (determine_info): Treat hidden and internal
2251         symbols as local.
2252         * elf/dl-lookup.c (do_lookup_x): Likewise.
2253         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2255 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2257         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2258         invalid exception for a sNaN input.
2259         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2260         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2261         (__nearbyint_vis3): Likewise
2262         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2263         (__nearbyintf_vis3): Likewise
2264         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2265         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2266         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2267         Likewise.
2268         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2269         Likewise.
2271 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2273         [BZ #20139]
2274         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2275         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2276         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2277         2.24 or above.
2278         (HAVE_AVX512_ASM_SUPPORT): Removed.
2279         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2280         * sysdeps/x86_64/configure: Regenerated.
2281         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2282         check unconditional.
2283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2284         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2285         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2286         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2287         Likewise.
2288         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2289         Likewise.
2290         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2291         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2292         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2293         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2294         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2295         Likewise.
2296         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2297         Likewise.
2298         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2299         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2301         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2302         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2303         Likewise.
2304         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2305         Likewise.
2306         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2307         Likewise.
2308         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2309         Likewise.
2310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2311         Likewise.
2312         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2313         Likewise.
2314         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2315         Likewise.
2316         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2317         Likewise.
2318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2319         Likewise.
2320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2321         Likewise.
2322         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2323         Likewise.
2325 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2327         [BZ #20024]
2328         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2330         of this implementation of vector function.
2331         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2333         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2334         Likewise.
2335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2336         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2337         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2338         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2339         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2340         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2341         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2342         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2343         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2344         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2345         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2346         for testing vector sincos with fixed ABI.
2347         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2348         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2349         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2350         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2351         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2352         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2353         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2354         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2355         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2356         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2357         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2358         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2359         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2360         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2361         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2362         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2364 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2366         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2368 2016-06-30  Anton Blanchard  <anton@samba.org>
2370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2371         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2372         s_sinf-ppc64.
2373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2376         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2378 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2382         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2383         e_expf-ppc64.
2384         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2385         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2386         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2387         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2389 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2391         [BZ #20277]
2392         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2393         when SHARED is defined.
2395 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2397         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2398         (index_arch_Prefer_ERMS): Likewise.
2399         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2400         __memcpy_erms for Prefer_ERMS.
2401         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2402         (__memmove_erms): Enabled for libc.a.
2403         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2404         __memmove_erms or Prefer_ERMS.
2405         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2406         __mempcpy_erms for Prefer_ERMS.
2407         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2408         __memset_erms for Prefer_ERMS.
2410 2016-06-30  Andreas Schwab  <schwab@suse.de>
2412         [BZ #20262]
2413         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2414         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2415         of memory.
2417 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2419         [BZ #18645]
2420         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2421         (test-extras): Add tst-cleanupx4aux.
2422         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2423         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2424         tst-cleanupx4aux.o.
2425         * nptl/tst-cleanupx4aux.c: New file.
2427 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2429         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2431 2016-06-29  Andreas Schwab  <schwab@suse.de>
2433         [BZ #20260]
2434         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2435         address before the beginning of the string as an integer to avoid
2436         array-bounds warning.
2438 2016-06-28  Richard Henderson  <rth@redhat.com>
2440         * elf/elf.h (EM_BPF): New.
2441         (EM_NUM): Update.
2442         (R_BPF_NONE, R_BPF_MAP_FD): New.
2444         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2445         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2446         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2447         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2448         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2449         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2450         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2451         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2452         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2453         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2454         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2455         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2456         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2457         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2458         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2459         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2460         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2461         (EM_NUM): Update.
2463 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2465         [BZ #18960]
2466         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2467         Set _nl_current_LC_CATEGORY_used to two instead of one.
2469 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2471         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2472         (do_test): ... this.
2473         (TEST_FUNCTION): New macro.
2474          Include test-skeleton.c.
2475         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2476         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2478 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2480         [BZ #15479]
2481         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2482         floating-point environment rather than just control word.
2483         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2484         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2485         floating-point environment, with "invalid" exceptions merged in,
2486         rather than just control word.
2487         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2488         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2489         "inexact" exceptions.
2491         [BZ #15479]
2492         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2493         floating-point environment rather than just control word.
2494         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2495         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2496         floating-point environment, with "invalid" exceptions merged in,
2497         rather than just control word.
2498         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2499         * math/libm-test.inc (floor_test_data): Do not allow spurious
2500         "inexact" exceptions.
2502         [BZ #15479]
2503         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2504         floating-point environment rather than just control word.
2505         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2506         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2507         floating-point environment, with "invalid" exceptions merged in,
2508         rather than just control word.
2509         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2510         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2511         "inexact" exceptions.
2513 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2515         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2516         __libc_vfork.
2517         (__vfork) [IS_IN (libc)]: Remove alias.
2518         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2519         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2520         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2522 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2524         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2525         of atomic_compare_and_exchange_bool_rel.
2526         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2527         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2528         catomic_compare_and_exchange_bool_rel): Remove.
2529         * sysdeps/aarch64/atomic-machine.h
2530         (atomic_compare_and_exchange_bool_rel): Likewise.
2531         * sysdeps/alpha/atomic-machine.h
2532         (atomic_compare_and_exchange_bool_rel): Likewise.
2533         * sysdeps/arm/atomic-machine.h
2534         (atomic_compare_and_exchange_bool_rel): Likewise.
2535         * sysdeps/mips/atomic-machine.h
2536         (atomic_compare_and_exchange_bool_rel): Likewise.
2537         * sysdeps/microblaze/atomic-machine.h
2538         ( __arch_compare_and_exchange_bool_8_rel,
2539         __arch_compare_and_exchange_bool_16_rel): Likewise.
2540         * sysdeps/powerpc/atomic-machine.h
2541         ( __arch_compare_and_exchange_bool_8_rel,
2542         __arch_compare_and_exchange_bool_16_rel): Likewise.
2543         * sysdeps/powerpc/powerpc32/atomic-machine.h
2544         ( __arch_compare_and_exchange_bool_32_rel,
2545         __arch_compare_and_exchange_bool_64_rel): Likewise.
2546         * sysdeps/powerpc/powerpc64/atomic-machine.h
2547         ( __arch_compare_and_exchange_bool_32_rel,
2548         __arch_compare_and_exchange_bool_64_rel): Likewise.
2549         * sysdeps/tile/atomic-machine.h
2550         (atomic_compare_and_exchange_bool_rel): Likewise.
2552 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2554         [BZ #20296]
2555         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2556         when either argument is a NaN.
2557         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2558         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2560         * math/libm-test.inc (snan_value_ld): New macro.
2561         (isgreater_test_data): Add sNaN tests.
2562         (isgreaterequal_test_data): Likewise.
2563         (isless_test_data): Likewise.
2564         (islessequal_test_data): Likewise.
2565         (islessgreater_test_data): Likewise.
2566         (isunordered_test_data): Likewise.
2567         (nextafter_test_data): Likewise.
2568         (nexttoward_test_data): Likewise.
2569         (remainder_test_data): Likewise.
2570         (remquo_test_data): Likewise.
2571         (significand_test_data): Likewise.
2572         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2574 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2576         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2577         environment macros are defined.
2578         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2580 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2582         [BZ #20191]
2583         Implement vtable verification in libio.
2584         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2585         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2586         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2587         _IO_new_file_init_internal instead of _IO_file_init.
2588         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2589         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2590         * libio/Makefile (routines): Add vtables.
2591         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2592         (_IO_init): Remove, not for internal use.
2593         (_IO_init_internal): Declare, internal replacement for _IO_init.
2594         (_IO_file_init): Remove, not for internal use.
2595         (_IO_new_file_init): Remove, not for internal use.
2596         (_IO_new_file_init_internal): Declare, internal replacement for
2597         _IO_new_file_init.
2598         (_IO_old_file_init): Remove, not for internal use.
2599         (_IO_old_file_init_internal): Declare, internal replacement for
2600         _IO_old_file_init.
2601         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2602         internal use.
2603         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2604         Declare.
2605         (libio_vtable): New macro.
2606         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2607         functions.
2608         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2609         _IO_new_file_init.
2610         (_IO_new_file_init): New externally visible wrapper which disables
2611         vtable verification.
2612         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2613         Define as vtables.
2614         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2615         (_IO_init): New externally visible wrapper which disables
2616         vtable verification.
2617         * libio/iofdopen.c (_IO_new_fdopen): Call
2618         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2619         comment.
2620         * libio/iofopen.c (__fopen_internal): Call
2621         _IO_new_file_init_internal instead of _IO_file_init.
2622         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2623         Define as vtables.
2624         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2625         _IO_new_file_init_internal instead of _IO_file_init.
2626         * libio/iopopen.c (_IO_new_popen): Likewise.
2627         (_IO_proc_jumps): Define as vtable.
2628         * libio/iovdprintf.c (_IO_vdprintf): Call
2629         _IO_new_file_init_internal instead of _IO_file_init.
2630         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2631         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2632         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2633         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2634         _IO_old_file_init.
2635         (_IO_old_file_init): New externally visible wrapper which disables
2636         vtable verification.
2637         (_IO_old_file_jumps): Define as vtable.
2638         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2639         _IO_old_file_init_internal instead of _IO_old_file_init.
2640         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2641         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2642         (_IO_old_proc_jumps): Define as vtable.
2643         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2644         Define as vtables.
2645         * libio/vtables.c: New file.
2646         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2647         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2648         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2649         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2650         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2651         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2652         instead of _IO_init.
2654 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2656         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2658 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2660         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2661         potentially unused.
2663 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2665         * test-skeleton.c (write_message): New function.
2666         * malloc/tst-mallocfork2.c (write_message): Remove.
2667         * debug/tst-longjmp_chk2.c (write_indented): New function.
2668         (write_message): Remove.
2669         (stackoverflow_handler): Call write_indented.
2671 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2673         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2674         "inexact" exceptions after fnstenv.
2675         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2676         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2677         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2679 2015-06-22  Zack Weinberg  <zackw@panix.com>
2681         * sysdeps/generic/bits/hwcap.h: Moved to ...
2682         * bits/hwcap.h: Here.
2684 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2686         * sysdeps/aarch64/memcpy.S (memcpy):
2687         Further tuning for performance.
2689 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2691         [BZ #20284]
2692         * malloc/arena.c (reused_arena): Do not return NULL if we start
2693         out with a non-corrupted arena.
2695 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2697         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2698         * misc/tst-preadvwritev.c: New file.
2699         * misc/tst-preadvwritev64.c: Likewise.
2700         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2701         usage.
2702         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2703         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2704         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2705         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2707 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2709         [BZ #19654]
2710         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2711         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2712         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2713         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2714         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2715         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2716         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2717         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2718         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2719         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2720         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2721         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2722         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2723         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2724         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2725         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2726         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2727         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2728         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2729         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2730         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2731         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2732         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2733         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2734         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2735         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2737 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2739         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2740         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2742 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2744         * sysdeps/aarch64/memcpy.S (memcpy):
2745         Rewrite of optimized memcpy and memmove.
2746         * sysdeps/aarch64/memmove.S (memmove): Remove
2747         memmove code (merged into memcpy.S).
2749 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2751         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2752         * sysdeps/generic/dl-dtv.h: New file.
2753         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2754         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2755         (dtv_t): Remove.
2756         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2757         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2758         (dtv_t): Remove.
2759         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2760         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2761         (dtv_t): Remove.
2762         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2763         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2764         (dtv_t): Remove.
2765         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2766         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2767         (dtv_t): Remove.
2768         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2769         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2770         (dtv_t): Remove.
2771         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2772         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2773         (dtv_t): Remove.
2774         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2775         (dtv_t): Remove.
2776         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2777         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2778         (dtv_t): Remove.
2779         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2780         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2781         (dtv_t): Remove.
2782         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2783         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2784         (dtv_t): Remove.
2785         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2786         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2787         (dtv_t): Remove.
2788         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2789         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2790         (dtv_t): Remove.
2791         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2792         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2793         (dtv_t): Remove.
2794         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2795         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2796         (dtv_t): Remove.
2797         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2798         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2799         (dtv_t): Remove.
2801 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2803         Revert symbol poisoning of  __malloc_initialize_hook.
2804         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2805         poisoning.
2806         * malloc/Makefile: Remove un-poisoning.
2807         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2808         instead of old__malloc_initialize_hook.
2809         * malloc/malloc-hooks.h: Likewise.
2810         * malloc/malloc.c: Likewise.
2811         * malloc/mcheck-init.c: Likewise.
2813 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2815         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2817 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2819         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2820         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2821         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2822         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2824 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2826         * NEWS: Mention addition of nextup and nextdown.
2827         * manual/arith.texi: Document nextup and nextdown.
2828         * manual/libm-err-tab.pl: Add nextup and nextdown.
2829         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2830         * math/Versions (libm): Add GLIBC_2.24.
2831         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2832         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2833         Add new test.
2834         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2835         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2836         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2837         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2838         (nextup_test_data): Likewise.
2839         (nextdown_test_data): Likewise.
2840         * math/s_nextdown.c: New file.
2841         * math/s_nextdownf.c: Likewise.
2842         * math/s_nextdownl.c: Likewise.
2843         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2844         F(nextup): New function.
2845         F(nextdown): Likewise.
2846         * math/tgmath.h: Add nextup and nextdown.
2847         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2848         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2851         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2852         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2853         Add nextup and nextdown.
2854         (CFLAGS-nldbl-nextup.c): New variable.
2855         (CFLAGS-nldbl-nextdown.c): Likewise.
2856         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2857         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2858         * sysdeps/nacl/libm.abilist: Update.
2859         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2860         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2861         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2862         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2863         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2864         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2866         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2867         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2868         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2869         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2870         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2873         Likewise.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2876         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2877         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2878         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2879         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2880         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2883         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2884         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2885         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2886         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2888 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2890         * manual/pattern.texi: Fix typos & grammar errors.
2892 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2894         * manual/search.texi: Fix typos & grammar errors.
2896 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2898         * manual/message.texi: Fix typos & grammar errors.
2900 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2902         * manual/contrib.texi: Fix spelling typos.
2903         * manual/crypt.texi: Likewise.
2904         * manual/filesys.texi: Likewise.
2905         * manual/locale.texi: Likewise.
2906         * manual/message.texi: Likewise.
2907         * manual/nss.texi: Likewise.
2908         * manual/string.texi: Likewise.
2910 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2912         * manual/locale.texi: Fix typos & grammar errors.
2914 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2916         * manual/charset.texi: Fix typos & grammar errors.
2918 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2920         * manual/string.texi: Fix typos.
2922 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2924         * manual/ctype.texi: Fix typos.
2926 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2928         * manual/memory.texi: Fix various typos & grammar errors.
2930 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2932         [BZ #20255]
2933         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2934         * math/libm-test.inc (fdim_test_data): Add another test.
2936         [BZ #6796]
2937         [BZ #20255]
2938         [BZ #20256]
2939         * math/s_fdim.c: Include <math_private.h>.
2940         (__fdim): Use math_narrow_eval on result.
2941         * math/s_fdimf.c: Include <math_private.h>.
2942         (__fdimf): Use math_narrow_eval on result.
2943         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2944         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2945         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2946         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2947         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2948         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2949         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2950         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2951         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2952         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2953         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2954         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2955         overflow.  Add sNaN tests.
2957         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2958         fpclassify.
2959         * math/s_fdimf.c (__fdimf): Likewise.
2960         * math/s_fdiml.c (__fdiml): Likewise.
2962 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2964         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2965         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2967         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2968         ifunc'ed strcasecmp/strncasecmp.
2969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2970         [EALIGN]: Removed.
2971         [END]: Likewise.
2972         [__strcasecmp]: Define instead of the above to control symbol name.
2973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2974         for __strcasecmp_power8.
2975         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2976         for __strncasecmp_power8.
2977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2978         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2979         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2980         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2981         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2982         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2984 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2986         [BZ #20252]
2987         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2988         arguments when second argument is a NaN.
2989         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2990         qNaN tests.
2992         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2993         (conj_test_data): Likewise.
2994         (copysign_test_data): Likewise.
2995         (creal_test_data): Likewise.
2996         (fma_test_data): Likewise.
2997         (fmod_test_data): Likewise.
2999         [BZ #20250]
3000         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3001         itself.
3002         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3003         zero input to itself.
3004         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3005         Likewise.
3006         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3007         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3008         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3009         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3010         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3012 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3014         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3015         * nptl/tst-cancel4-common.c: New file.
3016         * nptl/tst-cancel4-common.h: Likewise.
3017         * nptl/tst-cancel4.c: Move common definitions to
3018         tst-cancel4-common.{c,h} file.
3019         * nptl/tst-cancel4_1.c: New test.
3020         * nptl/tst-cancel4_2.c: New test.
3022 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3024         [BZ #20248]
3025         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3026         (write_message): New function.
3027         (stackoverflow_handler): Call it instead of printf, to avoid
3028         excessive stack usage by printf.
3029         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3031 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3033         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3034         (prio_inherit_missing): Remove define.
3035         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3036         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3037         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3038         Likewise.
3039         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3040         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3041         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3042         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3043         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3044         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3046 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3048         [BZ #19670]
3049         [BZ #19672]
3051         * io/test-lfs.c (do_prepare): Use xmalloc.
3052         * io/tst-fcntl.c (do_prepare): Likewise.
3053         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3054         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3055         * login/tst-utmp.c (do_prepare): Likewise.
3056         * posix/tst-exec.c (do_prepare): Likewise.
3057         * posix/tst-pathconf.c (prepare): Likewise.
3058         * posix/tst-spawn.c (do_prepare): Likewise.
3059         * posix/tst-truncate.c (do_prepare): Likewise.
3060         * rt/tst-aio.c (do_prepare): Likewise.
3061         * rt/tst-aio64.c (do_prepare): Likewise.
3063 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3065         [BZ #20237]
3066         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3067         (get*ent): Set entidx to NULL during initialization.  If entidx is
3068         NULL, start iteration from the beginning.
3070 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3072         * malloc/malloc.c (musable): Return correct size for dumped fake
3073         mmapped chunk.
3075 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3077         [BZ #20222]
3078         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3079         (_IO_cookie_write): Likewise.
3080         (_IO_cookie_seek): Likewise.
3081         (_IO_cookie_close): Likewise.
3082         (_IO_old_cookie_seek): Likewise.
3083         (set_callbacks): New function.
3084         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3086 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3088         * locale/programs/localedef.c (oldstyle_tables): Remove.
3089         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3091 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3093         [BZ #20240]
3094         * math/Makefile (CFLAGS-s_modf.c): New variable.
3095         (CFLAGS-s_modff.c): Likewise.
3096         (CFLAGS-s_modfl.c): Likewise.
3097         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3099 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3101         [BZ #20215]
3102         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3103         [!__GNUC_PREREQ (3,2)]: Likewise.
3105 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3107         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3108         (msghdr.msg_controllen): Likewise.
3109         (cmsghdr.cmsg_len): Likewise.
3110         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3111         ptw-oldsendmsg.
3112         (CFLAGS-oldrecvmsg.c): Remove rule.
3113         (CFLAGS-oldsendmsg.c): Likewise.
3114         (CFLAGS-recvmsg.c): Add rule.
3115         (CFLAGS-sendmsg.c): Likewise.
3116         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3117         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3118         (CFLAGS-recvmsg.c): Remove rule.
3119         (CFLAGS-sendmsg.c): Likewise.
3120         (CFLAGS-oldrecvmsg.c): Likewise.
3121         (CFLAGS-oldsendmsg.c): Likewise.
3122         (CFLAGS-recvmmsg.c): Likewise.
3123         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3124         to kernel defined interfaces.
3125         (msghdr.msg_controllen): Likewise.
3126         (cmsghdr.cmsg_len): Likewise.
3127         (msghdr.__glibc_reserved1): Remove member.
3128         (msghdr.__glibc_reserved2): Likewise.
3129         (cmsghdr.__glibc_reserved1): Likewise.
3130         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3131         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3132         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3133         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3134         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3135         version.
3136         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3137         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3138         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3139         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3140         Remove recvmsg and sendmsg.
3141         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3142         Likewise.
3143         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3144         Likewise.
3145         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3146         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3147         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3148         Likewise.
3149         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3150         Likewise.
3151         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3152         [libc] (GLIBC_2.24): Likewise.
3153         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3154         Likewise.
3155         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3156         Likewise.
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3158         [libc] (GLIBC_2.24): Likewise.
3159         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3160         Likewise.
3161         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3162         Likewise.
3163         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3164         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3165         Likewise.
3166         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3167         Likewise.
3168         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3169         Likewise.
3170         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3171         Likewise.
3172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3173         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3174         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3175         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3176         version for {recv,send,recm,sendm}msg.
3177         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3178         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3179         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3180         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3181         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3183         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3184         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3185         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3186         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3187         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3188         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3190         Likewise.
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3192         Likewise.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3195         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3197         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3198         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3203         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3204         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3205         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3207 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3209         [BZ #19564]
3210         Remove __malloc_initialize_hook from the API.
3211         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3212         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3213         #pragma GCC poison.
3214         * malloc/malloc-hooks.h: New file.
3215         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3216         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3217         (old__malloc_initialize_hook): Rename from
3218         __malloc_initialize_hook to evade poisoning.  Turn into compat
3219         symbol.
3220         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3221         __malloc_initialize_hook.
3222         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3223         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3224         * manual/memory.texi (Hooks for Malloc): Remove
3225         __malloc_initialize_hook.  Adjust hook example.
3227 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3229         [BZ #20235]
3230         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3231         itself.
3232         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3233         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3235         [BZ #20234]
3236         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3237         infinity or NaN input to itself.
3239         [BZ #20233]
3240         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3241         to itself.
3243         [BZ #20232]
3244         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3245         itself.
3247 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3249         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3250         __libc_start_main via GOT.
3252 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3254         * sysdeps/x86_64/memcopy.h: New file.
3255         * sysdeps/x86_64/wordcopy.c: Likewise.
3257 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3259         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3260         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3261         <cstdlib>.
3262         (optimization_barrier): New.
3263         (do_test): Use it.  Call quick_exit in the global namespace.
3264         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3265         instead of <cstdlib>, <thread>.
3266         (optimization_barrier): New.
3267         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3268         Call quick_exit in the global namespace.
3269         (do_test): Call optimization_barrier.  Use pthread_create,
3270         pthread_join instead of std::thread.
3272 2016-06-09  Andreas Schwab  <schwab@suse.de>
3274         [BZ #19755]
3275         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3276         new entries in auto-propagate mode.
3277         * nscd/grpcache.c (cache_addgr): Likewise.
3279 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3281         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3282         New functions.
3283         (add_temp_file): Use them.
3285 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3287         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3289 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3291         [BZ #20229]
3292         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3293         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3294         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3296         [BZ #20228]
3297         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3298         itself.
3299         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3300         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3302         [BZ #20227]
3303         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3304         itself.
3305         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3306         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3307         * math/libm-test.inc (log_test_data): Add sNaN tests.
3309         [BZ #20226]
3310         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3311         itself.
3312         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3313         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3314         (exp10_test_data): Likewise.
3315         (expm1_test_data): Likewise.
3317         [BZ #20225]
3318         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3319         itself.
3320         * math/s_ldexpf.c (__ldexpf): Likewise.
3321         * math/s_ldexpl.c (__ldexpl): Likewise.
3322         * math/w_scalbln.c (__w_scalbln): Likewise.
3323         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3324         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3325         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3326         (scalbln_test_data): Likewise.
3328         [BZ #20224]
3329         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3330         argument to itself.
3331         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3333 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3335         [BZ #19776]
3336         * sysdeps/x86_64/memcpy.S: Make it dummy.
3337         * sysdeps/x86_64/mempcpy.S: Likewise.
3338         * sysdeps/x86_64/memmove.S: New file.
3339         * sysdeps/x86_64/memmove_chk.S: Likewise.
3340         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3341         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3342         * sysdeps/x86_64/memmove.c: Removed.
3343         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3344         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3345         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3346         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3347         Likewise.
3348         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3349         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3351         memcpy-sse2-unaligned, memmove-avx-unaligned,
3352         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3354         (__libc_ifunc_impl_list): Replace
3355         __memmove_chk_avx512_unaligned_2 with
3356         __memmove_chk_avx512_unaligned.  Remove
3357         __memmove_chk_avx_unaligned_2.  Replace
3358         __memmove_chk_sse2_unaligned_2 with
3359         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3360         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3361         with __memmove_avx512_unaligned.  Replace
3362         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3363         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3364         with __memcpy_chk_avx512_unaligned.  Remove
3365         __memcpy_chk_avx_unaligned_2.  Replace
3366         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3367         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3368         Replace __memcpy_avx512_unaligned_2 with
3369         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3370         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3371         with __mempcpy_chk_avx512_unaligned.  Remove
3372         __mempcpy_chk_avx_unaligned_2.  Replace
3373         __mempcpy_chk_sse2_unaligned_2 with
3374         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3375         Replace __mempcpy_avx512_unaligned_2 with
3376         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3377         Replace __mempcpy_sse2_unaligned_2 with
3378         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3379         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3380         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3381         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3382         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3383         (ENTRY): Removed.
3384         (END): Likewise.
3385         (ENTRY_CHK): Likewise.
3386         (libc_hidden_builtin_def): Likewise.
3387         Don't include ../memcpy.S.
3388         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3389         __memcpy_chk_avx512_unaligned_erms and
3390         __memcpy_chk_avx512_unaligned.  Use
3391         __memcpy_chk_avx_unaligned_erms and
3392         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3393         Default to __memcpy_chk_sse2_unaligned.
3394         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3395         Change function suffix from unaligned_2 to unaligned.
3396         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3397         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3398         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3399         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3400         (ENTRY): Removed.
3401         (END): Likewise.
3402         (ENTRY_CHK): Likewise.
3403         (libc_hidden_builtin_def): Likewise.
3404         Don't include ../mempcpy.S.
3405         (mempcpy): New.  Add a weak alias.
3406         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3407         __mempcpy_chk_avx512_unaligned_erms and
3408         __mempcpy_chk_avx512_unaligned.  Use
3409         __mempcpy_chk_avx_unaligned_erms and
3410         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3411         Default to __mempcpy_chk_sse2_unaligned.
3413 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3415         [BZ #19881]
3416         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3417         into ...
3418         * sysdeps/x86_64/memset.S: This.
3419         (__bzero): Removed.
3420         (__memset_tail): Likewise.
3421         (__memset_chk): Likewise.
3422         (memset): Likewise.
3423         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3424         defined.
3425         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3426         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3427         (__memset_zero_constant_len_parameter): Check SHARED instead of
3428         PIC.
3429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3430         memset-avx2 and memset-sse2-unaligned-erms.
3431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3432         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3433         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3434         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3435         (__bzero): Enabled.
3436         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3437         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3438         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3439         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3440         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3441         (memset): Removed.
3442         (__memset_chk): Likewise.
3443         (MEMSET_SYMBOL): New.
3444         (libc_hidden_builtin_def): Replace __memset_sse2 with
3445         __memset_sse2_unaligned.
3446         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3447         __memset_chk_sse2 and __memset_chk_avx2 with
3448         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3449         Use __memset_chk_sse2_unaligned_erms or
3450         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3451         __memset_chk_avx512_unaligned_erms and
3452         __memset_chk_avx512_unaligned.
3454 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3456         * math/gen-auto-libm-test.c (fp_format_desc): remove
3457         suffix member.
3458         (output_generic_value): Remove usage of suffix member,
3459         and the resulting unuse of the fp_format argument.
3460         (output_for_one_input_case): Remove unused fp_format
3461         parameter.
3463         * math/auto-libm-test-out: Regenerate.
3465         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3466         usage with TEST_COND_ibm128.
3467         (TEST_COND_flt_32): Remove.
3468         (TEST_COND_dbl_64): Remove.
3469         (TEST_COND_ldbl_96_intel): Remove.
3470         (TEST_COND_ldbl_96_m68k): Remove.
3471         (TEST_COND_ldbl_128): Remove.
3473 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3475         * auto-libm-test-in:
3476         Replace flt-32 usage with binary32.
3477         Replace dbl-64 usage with binary64.
3478         Replace ldbl-intel-96 usage with intel96.
3479         Replace ldbl-m68k-96 usage with m68k96.
3480         Replace ldbl-128ibm usage with ibm128.
3481         Replace ldbl-128 usage with binary128.
3483         * auto-libm-test-out: Regenerate.
3485 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3487         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3488         (parse_ulps): Dynamically generate type name matching
3489         string from all_floats.
3490         (get_ulps): Generate the ulps as an array instead.
3491         (output_ulps): Dynamically compose the type based
3492         on the number of supported formats, and print
3493         the indices as type specific helper macros.
3495         * math/libm-test.inc: Remove comment about CHOOSE.
3496         (ulp_data): Generate the type in libm-test-ulps.h.
3497         (ULP_IDX): New macro.
3498         (find_ulps): Update usage of max_ulp.
3500         * math/test-double-vlen2.h (CHOOSE): Remove.
3501         * math/test-double-vlen4.h (CHOOSE): Likewise.
3502         * math/test-double-vlen8.h (CHOOSE): Likewise.
3503         * math/test-float.c (CHOOSE): Likewise.
3504         * math/test-float-finite.c (CHOOSE): Likewise.
3505         * math/test-double.c (CHOOSE): Likewise.
3506         * math/test-double-finite.c (CHOOSE): Likewise.
3507         * math/test-idouble.c (CHOOSE): Likewise.
3508         * math/test-ifloat.c (CHOOSE): Likewise.
3509         * math/test-ildoubl.c (CHOOSE): Likewise.
3510         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3511         * math/test-ldouble.c (CHOOSE): Likewise.
3513         * math/test-float.h (TEST_FLOAT): Remove.
3514         * math/test-double.h (TEST_DOUBLE): Likewise.
3515         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3517 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3519         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3520         (parse_args): Strip C suffix from floating point literals
3521         typed with 'f' and wrap them with LIT().
3523         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3524         (test_ff_f_data_nexttoward): Rename to
3525         (test_fj_f_data): New struct.
3526         (nexttoward_test_data): Relabel tests as
3527         TEST_fj_f instead of TEST_ff_f.
3529 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3531         Emacs bug 23726.
3532         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3533         (__libc_realloc): Correct size computation for dumped fake mmapped
3534         chunks.
3536 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3538         [BZ #20219]
3539         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3540         to itself.
3541         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3543         [BZ #20218]
3544         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3545         to itself.
3546         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3548 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3550         [BZ #20195]
3551         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3552         check to ...
3553         (init_cpu_features): Here.
3555 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3557         [BZ #20214]
3558         * sysdeps/unix/sysv/linux/bits/in.h
3559         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3560          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3561         Define to 1.
3562         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3563          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3564         Define to 0.
3565         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3566         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3568 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3570         [BZ #20198]
3571         * stdlib/Makefile (tests): Add tst-quick_exit, and
3572         tst-thread-quick_exit.
3573         [ifeq ($(have-cxx-thread_local),yes)]
3574         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3575         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3576         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3577         (LDLIBS-tst-thread-quick_exit): Likewise.
3578         [ifneq ($(have-cxx-thread_local),yes)]
3579         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3580         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3581         If run_dtors is true call __call_tls_dtors.
3582         (exit): Call __run_exit_handlers with run_dtors set to true.
3583         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3584         definition.
3585         * stdlib/quick_exit.c (quick_exit): Remove function.
3586         (__new_quick_exit): New function.
3587         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3588         function.
3589         * stdlib/tst-quick_exit.cc: New file.
3590         * stdlib/tst-thread-quick_exit.cc: New file.
3591         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3592         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3593         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3594         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3595         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3596         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3597         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3598         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3599         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3600         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3601         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3602         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3603         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3604         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3605         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3606         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3611         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3612         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3613         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3614         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3615         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3618         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3619         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3620         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3622 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3624         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3625         a typo in comments.
3627 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3629         [BZ #20213]
3630         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3631         argument to itself.
3632         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3634 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3636         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3637         required flags.
3638         (CFLAGS-pwritev64.c): Likewise.
3639         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3640         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3641         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3642         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3643         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3644         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3645         syscall from auto-generation.
3646         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3647         [WORDSIZE == 64] (pwritev64): Remove macro.
3648         [!PWRITEV] (PWRITEV): Likewise.
3649         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3650         [!PWRITEV] (PWRITE): Likewise.
3651         [!PWRITEV] (OFF_T): Likewise.
3652         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3653         (LO_HI_LONG): Remove macro.
3654         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3655         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3656         (PWRITEV): Remove macro.
3657         (PWRITEV_REPLACEMENTE): Likewise.
3658         (PWRITE): Likewise.
3659         (OFF_T): Likewise.
3660         (pwritev64): New function.
3661         * nptl/tst-cancel4.c (tf_writev): Add test.
3663         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3664         required flags.
3665         (CFLAGS-preadv64.c): Likewise.
3666         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3667         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3668         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3669         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3670         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3671         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3672         syscall from auto-generation.
3673         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3674         [WORDSIZE == 64] (preadv64): Remove macro.
3675         [!PREADV] (PREADV): Likewise.
3676         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3677         [!PREADV] (PREAD): Likewise.
3678         [!PREADV] (OFF_T): Likewise.
3679         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3680         (LO_HI_LONG): Remove macro.
3681         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3682         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3683         (PREADV): Remove macro.
3684         (PREADV_REPLACEMENTE): Likewise.
3685         (PREAD): Likewise.
3686         (OFF_T): Likewise.
3687         (preadv64): New function.
3688         * nptl/tst-cancel4.c (tf_preadv): Add test.
3690 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3692         [BZ #20212]
3693         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3694         argument to itself.
3695         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3697 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3699         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3700         New symbol defined as libc_hidden_def.
3701         (strcasestr): Became a weak alias to __strcasestr.
3702         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3703         according to multi-arch support.  Move __stpncpy hidden
3704         definition from here to...
3705         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3706         symbol stpncpy.
3707         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3708         libc_hidden_builtin_def.
3709         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3710         memset symbol to use when multi-arch support is available.
3712 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3714         * dlfcn/tst-rec-dlopen.c: Include string.h.
3716 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3718         * manual/install.texi: Remove mention of --without-tls
3719         * INSTALL: Regenerate.
3721 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3723         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3724         Remove.
3725         (call_function, interposed_malloc_called): New variables.
3726         (malloc): New function.
3727         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3728         and clear call_function as needed.
3730 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3732         * include/wchar.h (__wmemset): Use __typeof.
3734 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3736         * include/wchar.h (__wmemset): Declare function without typeof.
3738 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3740         [BZ #20205]
3741         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3742         exponent when incrementing negative subnormal with low mantissa
3743         word zero.
3744         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3745         Add another test.
3747 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3749         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3750         __wmemset instead of wmemset.
3752 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3754         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3755         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3756         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3757         __USE_KERNEL_IPV6_DEFS to 0.
3758         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3759         Update comment.
3761 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3763         [BZ #19861]
3764         Do not use IFUNC resolver with potentially unrelocated symbol.
3765         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3766         (DEFINE_FORK): Remove macro and inline definition.
3767         (fork_alias): Renamed from fork_ifunc.
3768         (__fork_alias): Renamed from __fork_ifunc.
3770 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3772         [BZ 19653]
3773         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3774         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3776 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3778         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3779         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3780         i386-linux-gnu).
3781         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3782         Set to no.
3783         * sysdeps/mach/hurd/configure: Refresh.
3785 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3787         [BZ #20178]
3788         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3789         on failure instead of exit.
3791 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3793         [BZ #3629]
3794         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3795         of POSIX.1-2008.
3797 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3799         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3800           Use PLT entry for calling _hurd_self_sigstate.
3802 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3804         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3805         available logical processors with SMT level type sharing L2
3806         cache for Intel processors.
3808 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3810         [BZ #20160]
3811         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3812         argument to itself before returning the result.
3813         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3814         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3815         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3817         Likewise.
3818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3819         Likewise.
3820         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3821         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3822         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3823         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3824         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3825         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3827         [BZ #20160]
3828         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3829         argument to itself before returning the result.
3830         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3831         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3832         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3833         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3834         Likewise.
3835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3836         Likewise.
3837         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3838         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3839         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3840         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3841         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3842         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3844 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3846         * libm-test.inc: Replace usage of M_El with
3847         (lit_e): New macro.
3849 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3851         * libm-test.inc: Replace usage of M_PI_4l with
3852         (lit_pi_4_d): New macro.
3854 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3856         * libm-test.inc: Replace usage of M_PIl with
3857         (lit_pi): New macro.
3859 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3861         * libm-test.inc: Replace usage of M_PI2l with
3862         (lit_pi_2_d): New macro.
3864         * math/test-double.h (LITM): New macro.
3865         * math/test-float.h (LITM): Likewise.
3866         * math/test-ldouble.h (LITM): Likewise.
3868 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3870         * libm-test.inc (M_PI_34l): Rename to
3871         (lit_pi_3_m_4_d): New Macro.
3872         (M_PI_34_LOG10El): Rename to
3873         (lit_pi_3_m_4_ln10_m_d): New Macro.
3874         (M_PI2_LOG10El): Rename to
3875         (lit_pi_2_ln10_m_d):  New Macro.
3876         (M_PI4_LOG10El): Rename to
3877         (lit_pi_4_ln10_m_d):  New Macro.
3878         (M_PI_LOG10El): Rename to
3879         (lit_pi_ln10_d):  New Macro.
3881 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3883         [BZ #20157]
3884         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3885         determine whether to negate low half if [_ARCH_PPCGR], and integer
3886         comparison otherwise.
3887         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3888         determine whether to negate low half.
3890         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3891         (NO_TEST_INLINE_DOUBLE): Likewise.
3892         (TEST_COND_x86_64): Likewise.
3893         (TEST_COND_x86): Likewise.
3894         (M_PI_6l): Likewise.
3896 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3898         * math/libm-test.inc:
3899         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3900         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3901         (TEST_LDOUBLE): Update usage to evaluate as true if
3902         the guarded tests match the property being tested.
3903         (LDBL_MAX_EXP): Change to MAX_EXP.
3904         (LDBL_MIN_EXP): Change to MIN_EXP.
3905         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3906         nexttoward tests.
3908 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3910         * math/libm-test.inc:
3911         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3912         (TYPE_MIN): Likewise.
3913         (TYPE_TRUE_MIN): Likewise.
3914         (TYPE_MAX): Likewise.
3915         (MIN_EXP): Likewise.
3916         (MAX_EXP): Likewise.
3917         (MANT_DIG): Likewise.
3919         (FSTR_MAX): New macro.
3920         (__CONCATX): Likewise.
3921         (QTYPE_STR): Likewise.
3922         (TEST_COND_binary32): Likewise.
3923         (TEST_COND_binary64): Likewise.
3924         (TEST_COND_binary128): Likewise.
3925         (TEST_COND_ibm128): Likewise.
3926         (TEST_COND_intel96): Likewise.
3927         (TEST_COND_m68k96): Likewise.
3929         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3930         (TEST_COND_dbl_64): Likewise.
3931         (TEST_COND_ldbl_96_intel): Likewise.
3932         (TEST_COND_ldbl_96_m68k): Likewise.
3933         (TEST_COND_ldbl_128): Likewise.
3934         (TEST_COND_ldbl_128ibm): Likewise.
3936         (plus_zero): Redefine using LIT macro.
3937         (minus_zero): Likewise.
3938         (plus_infty): Redefine as (INF).
3939         (minux_infty): Redefine as (-INF).
3940         (max_value): Redefine as TYPE_MAX.
3941         (min_value): Redefine as TYPE_MIN.
3942         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3944         (print_float): Refactor to use snprintf to convert FLOAT values
3945         to string. This brings it closer to dropin replacement of strtof
3946         for the TS 18661 defined types.
3947         (update_stats): Likewise.
3948         (print_complex_function_ulps): Likewise.
3949         (print_max_error): Likewise.
3950         (print_complex_max_error): Likewise.
3951         (check_float_internal): Likewise.
3953         * math/test-float.h (PREFIX): New macro.
3954         (LIT): Likewise.
3955         (TYPE_STR): Likewise.
3956         (FTOSTR): Likewise.
3958         * math/test-double.h (PREFIX): New macro.
3959         (LIT): Likewise.
3960         (TYPE_STR): Likewise.
3961         (FTOSTR): Likewise.
3963         * math/test-ldouble.h (PREFIX): New macro.
3964         (LIT): Likewise.
3965         (TYPE_STR): Likewise.
3966         (FTOSTR): Likewise.
3968 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3970         [BZ #20156]
3971         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3972         to itself when zero or not finite.
3973         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3974         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3975         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3976         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3978 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3980         [BZ #20153]
3981         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3982         x * x + x for infinities and NaNs.
3984         [BZ #20151]
3985         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3986         argument to itself before returning result.
3987         (__ieee754_y0l): Likewise.
3988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3989         (__ieee754_y1l).
3991         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3992         (atan_test_data): Likewise.
3993         (ceil_test_data): Likewise.
3994         (cos_test_data): Likewise.
3995         (cosh_test_data): Likewise.
3996         (erf_test_data): Likewise.
3997         (exp2_test_data): Likewise.
3998         (fabs_test_data): Likewise.
3999         (floor_test_data): Likewise.
4000         (ilogb_test_data): Likewise.
4001         (j0_test_data): Likewise.
4002         (j1_test_data): Likewise.
4003         (jn_test_data): Likewise.
4004         (lgamma_test_data): Likewise.
4005         (lrint_test_data): Likewise.
4006         (llrint_test_data): Likewise.
4007         (logb_test_data): Likewise.
4008         (lround_test_data): Likewise.
4009         (llround_test_data): Likewise.
4010         (nearbyint_test_data): Likewise.
4011         (rint_test_data): Likewise.
4012         (round_test_data): Likewise.
4013         (sin_test_data): Likewise.
4014         (sincos_test_data): Likewise.
4015         (sinh_test_data): Likewise.
4016         (sqrt_test_data): Likewise.
4017         (tan_test_data): Likewise.
4018         (tanh_test_data): Likewise.
4019         (tgamma_test_data): Likewise.
4020         (trunc_test_data): Likewise.
4021         (y0_test_data): Likewise.
4022         (y1_test_data): Likewise.
4023         (yn_test_data): Likewise.
4025         * math/libm-test.inc: Update comment about NaN testing.
4026         (TEST_SNAN): New macro.
4027         (snan_value): Likewise.
4028         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4029         (fpclassify_test_data): Add sNaN tests.
4030         (isfinite_test_data): Likewise.
4031         (isinf_test_data): Likewise.
4032         (isnan_test_data): Likewise.
4033         (isnormal_test_data): Likewise.
4034         (issignaling_test_data): Likewise.
4035         (signbit_test_data): Likewise.
4036         * math/gen-libm-test.pl (%beautify): Add snan_value.
4037         (show_exceptions): Add argument $test_snan.
4038         (parse_args): Handle snan_value as non-finite.  Update call to
4039         show_exceptions.
4040         * math/Makefile (libm-test-no-inline-cflags): Add
4041         -fsignaling-nans.
4043 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4045         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4046         (CFLAGS-oldsendmsg.c): Add rule.
4047         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4048         Correct recvmsg symbol name.
4049         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4050         Likewise.
4052 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4054         * sysdeps/unix/sysv/linux/Makefile
4055         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4056         oldsendmmsg.
4057         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4058         sendmmsg.
4059         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4060         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4061         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4062         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4064         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4065         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4067         Likewise.
4068         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4069         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4070         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4071         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4072         iovlen and controllen fields to adjust to POSIX specification.
4073         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4075         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4076         and change to correct expected type.
4077         (msghdr.msg_controllen): Likewise.
4078         (cmsghdr.cmsg_len): Likewise.
4079         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4080         expected POSIX assumption about the size.
4081         (msghdr.msg_controllen): Likewise.
4082         (msghdr.__glibc_reserved1): Likewise.
4083         (msghdr.__glibc_reserved2): Likewise.
4084         (cmsghdr.cmsg_len): Likewise.
4085         (cmsghdr.__glibc_reserved1): Likewise.
4086         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4087         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4088         (CFLAGS-sendmsg.c): Remove rule.
4089         (CFLAGS-recvmsg.c): Likewise.
4090         (CFLAGS-oldsendmsg.c): Add rule.
4091         (CFLAGS-oldrecvmsg.c): Likewise.
4092         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4093         recvmsg and sendmsg.
4094         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4095         Likewise.
4096         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4097         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4098         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4099         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4100         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4101         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4102         Likewise.
4103         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4104         Likewise.
4105         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4106         Likewise.
4107         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4108         Likewise.
4109         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4110         Likewise.
4111         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4112         Likewise.
4113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4114         (GLIBC_2.24): Likewise.
4115         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4120         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4121         Likewise.
4122         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4123         Likewise.
4124         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4125         Likewise.
4126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4127         (GLIBC_2.24): Likewise.
4128         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4129         Likewise.
4130         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4131         Likewise.
4132         * sysdeps/unix/sysv/linux/Makefile
4133         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4134         (CFLAGS-sendmsg.c): Add rule.
4135         (CFLAGS-recvmsg.c): Likewise.
4136         (CFLAGS-oldsendmsg.c): Likewise.
4137         (CFLAGS-oldrecvmsg.c): Likewise.
4138         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4139         initialization.
4140         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4141         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4142         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4143         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4144         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4145         iovlen and controllen fields to adjust to POSIX specification.
4146         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4147         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4148         added recvmsg and sendmsg.
4149         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4150         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4151         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4152         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4154         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4155         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4156         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4158         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4160         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4162         Likewise.
4163         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4165         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4166         Likewise.
4167         Likewise.
4168         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4169         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4170         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4171         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4172         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4173         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4175         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4177         Likewise.
4178         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4179         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4181         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4182         from auto-generation.
4183         (sendmsg): Likewise.
4184         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4185         (sendmsg): Likewise.
4186         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4187         (sendmsg): Likewise.
4188         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4189         (sendmsg): Likewise.
4190         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4191         (sendmsg): Likewise.
4192         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4193         (sendmsg): Likewise.
4194         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4195         Likewise.
4196         (sendmsg): Likewise.
4197         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4198         (sendmsg): Likewise.
4199         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4201         Remove.
4202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4203         Likewise.
4204         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4205         Undefine.
4206         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4207         Likewise.
4208         * sysdeps/unix/sysv/linux/kernel-features.h
4209         (__ASSUME_SENDMSG_SYSCALL): Define.
4210         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4211         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4212         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4213         Remove.
4214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4215         Likewise.
4216         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4217         Undefine.
4218         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4219         Likewise.
4220         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4222         Remove.
4223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4224         Likewise.
4225         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4226         Undefine.
4227         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4228         Likewise.
4229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4230         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4231         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4232         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4233         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4234         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4235         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4236         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4237         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4239 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4241         * stdlib/gen-tst-strtod-round.c: Add backslash to
4242         compile command in comment.
4243         (printfp): Remove the literal suffix, and define an infinite
4244         value as INF to avoid expansion clash with INFINITY.
4245         (round_str): Remove the literal suffix.
4246         (round_for_all): Likewise, remove the now duplicate ldbl-64
4247         entry, and remove some magic constants.
4249         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4250         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4251         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4252         (_CONCAT): New macro.
4253         (CONCAT): Likewise.
4254         (CHOOSE_ld): Likewise.
4255         (CHOOSE_f): Likewise.
4256         (CHOOSE_d): Likewise.
4257         (FTYPE_MEMBER): Likewise.
4258         (BOOL_MEMBER): Likewise.
4259         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4260         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4261         (_XNTRY): Likewise.
4262         (XNTRY): Likewise.
4263         (_ENTRY): Likewise.
4264         (ENTRY): Likewise.
4265         (test_exactness): Generate members via macro.
4266         (test_results): Likewise.
4267         (test): Update members.
4268         (TEST): Redefine using new macros.
4269         (INF): New macro.
4270         (fetestmodes): New structure.
4271         (do_test): Refactor to be type generic.
4272         (test_in_one_mode): Refactor duplicate code into
4273         (GEN_ONE_TEST): New macro.
4275         * stdlib/tst-strtod-round-data.h: Regenerate.
4277         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4278         Extend to pass additional arbitrary parameters to
4279         generators.
4281 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4283         [BZ #15479]
4284         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4285         floating-point state after first floating-point operation on
4286         input.  Restore full floating-point state instead of just rounding
4287         mode.
4288         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4289         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4290         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4291         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4292         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4294         [BZ #15479]
4295         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4296         floating-point state after first floating-point operation on
4297         input.  Restore full floating-point state instead of just rounding
4298         mode.
4299         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4300         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4301         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4302         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4303         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4305 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4307         [BZ #19727]
4308         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4309         valid high surrogate.
4310         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4311         of an utf16 surrogate.
4312         * iconv/gconv_simple.c (BODY): Likewise.
4313         * iconvdata/bug-iconv12.c: New file.
4314         * iconvdata/Makefile (tests): Add bug-iconv12.
4316 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4318         [BZ #19726]
4319         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4320         outptrp in case of an illegal input.
4321         * iconv/tst-iconv6.c: New file.
4322         * iconv/Makefile (tests): Add tst-iconv6.
4324 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4326         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4327         an error in case of a value in range of an utf16 low surrogate.
4329 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4331         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4332         an error in case of a value in range of an utf16 low surrogate.
4334 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4336         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4337         Move to ...
4338         * sysdeps/s390/Makefile: ... here.
4339         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4340         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4341         (BRANCH_ON_COUNT): New define.
4342         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4343         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4344         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4345         run on s390-32, too.
4346         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4347         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4348         run on s390-32, too.
4349         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4350         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4351         run on s390-32, too.
4353 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4355         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4356         etf3eh or new vector loop-variant.
4358 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4360         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4361         etf3eh or new vector loop-variant.
4363 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4365         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4366         or new vector loop-variant.
4368 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4370         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4371         Rename to TR_LOOP and usage of tr instead of troo instruction.
4373 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4375         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4378 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4380         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4381         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4382         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4383         New override define.
4384         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4386 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4388         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4389         * sysdeps/s390/configure.ac: Add test for S390 vector register
4390         support in gcc.
4391         * sysdeps/s390/configure: Regenerated.
4393 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4395         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4396         Install file from $(objpfx)gconv-modules.
4397         ($(objpfx)gconv-modules): Concatenate architecture specific file
4398         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4399         * sysdeps/s390/gconv-modules: New file.
4400         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4401         Deleted.
4402         ($(objpfx)gconv-modules-s390): Deleted.
4403         (sysdeps-gconv-modules): New variable.
4405 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4407         [BZ #15479]
4408         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4409         of immediate operand to rounding instruction.
4410         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4411         Likewise.
4412         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4413         Likewise.
4414         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4415         Likewise.
4417 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4419         * math/libm-test.inc (MIN_EXP): Directly define as
4420         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4422 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4424         * math/libm-test.inc (MANT_DIG): Directly define as
4425         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4427 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4429         * stdlib/gen-tst-strtod-round.c (main):
4430           Change usage to more closely match the generated
4431           output.  Add usage and compilation instructions.
4432           (string_to_fp): Add and use FILE* parameter as
4433           output target.
4434           (print_fp): Likewise.
4435           (round_str): Likewise.
4436           (round_for_all): Likewise.
4437         * stdlib/tst-strtod-round.c (tests): Move into
4438         * stdlib/tst-strtod-round-data.h: New file.
4440 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4442         [BZ #15479]
4443         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4444         (__round): Do not force "inexact" exception.
4445         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4446         variable.
4447         (__round): Do not force "inexact" exception.
4448         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4449         (__roundf): Do not force "inexact" exception.
4450         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4451         (__roundl): Do not force "inexact" exception.
4452         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4453         (__roundl): Do not force "inexact" exception.
4454         * math/libm-test.inc (round_test_data): Do not allow spurious
4455         "inexact" exceptions.
4457         [BZ #15479]
4458         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4459         exception in comment.
4460         (huge): Remove variable.
4461         (__floor): Do not force "inexact" exception.
4462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4463         "inexact" exception in comment.
4464         (huge): Remove variable.
4465         (__floor): Do not force "inexact" exception.
4466         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4467         exception in comment.
4468         (huge): Remove variable.
4469         (__floorf): Do not force "inexact" exception.
4470         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4471         exception in comment.
4472         (huge): Remove variable.
4473         (__floorl): Do not force "inexact" exception.
4475         [BZ #15479]
4476         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4477         exception in comment.
4478         (huge): Remove variable.
4479         (__ceil): Do not force "inexact" exception.
4480         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4481         "inexact" exception in comment.
4482         (huge): Remove variable.
4483         (__ceil): Do not force "inexact" exception.
4484         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4485         (__ceilf): Do not force "inexact" exception.
4486         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4487         exception in comment.
4488         (huge): Remove variable.
4489         (__ceill): Do not force "inexact" exception.
4491 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4493         * config.h.in (BIND_NOW): New.
4494         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4495         * configure: Regenerated.
4496         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4497         indirect branch via the GOT slot.
4499 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4501         [BZ #19765]
4502         * sysdeps/s390/mempcpy.S: New File.
4503         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4504         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4505         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4506         Add mempcpy variants.
4507         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4508         (memcpy): Adjust to be usable from mempcpy entry point.
4509         (__memcpy_mvcle): Likewise.
4510         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4511         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4512         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4513         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4514         (__memcpy_z10): Likewise.
4515         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4517 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4519         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4520         Remove __GI_ symbol.
4521         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4522         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4523         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4524         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4525         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4526         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4528 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4530         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4531         Use cghi instead of chi to compare 64bit value.
4533 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4535         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4536         Jump to 1MB check before executing mvc-loop.
4538 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4540         [BZ #6527]
4541         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4542         unconditionally.
4543         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4545 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4547         * stdlib/tst-strtod6.c (do_test): Use new type generic
4548         invocation of the test function.
4549         (test): Refactor into ...
4550         (TEST_STRTOD): New macro base function.
4552 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4554         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4555         (TEST_STRTOD): New macro.
4556         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4558 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4560         * stdlib/tst-strtod6.c (do_test): Use new type generic
4561         invocation of the test function.
4562         (test): Refactor into ...
4563         (TEST_STRTOD): New macro base function.
4565 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4567         CVE-2016-4429
4568         [BZ #20112]
4569         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4570         payload.
4572 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4574         [BZ #20111]
4575         * bits/sockaddr.h (_SS_SIZE): Define.
4576         * bits/socket.h (_SS_SIZE): Remove.
4577         (_SS_PADSIZE): Adjust to account for all padding.
4578         (struct sockaddr_storage): Update comment.  Avoid implicit
4579         padding.
4580         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4581         (_SS_PADSIZE): Adjust to account for all padding.
4582         (struct sockaddr_storage): Update comment.  Avoid implicit
4583         padding.
4584         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4585         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4586         (_SS_PADSIZE): Adjust to account for all padding.
4587         (struct sockaddr_storage): Update comment.  Avoid implicit
4588         padding.
4589         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4590         __SS_SIZE is 126 in this version.
4591         * inet/tst-sockaddr.c: New file.
4592         * inet/Makefile (tests): Add tst-sockaddr.c
4593         (tst-sockaddr.c): Compile with non-strict aliasing.
4595 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4597         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4598         [XPG3 || XPG4].
4599         (NL_ARGMAX): Also expect for [XPG3].
4600         (NL_LANGMAX): Likewise.
4601         (NL_MSGMAX): Likewise.
4602         (NL_NMAX): Likewise.
4603         (NL_SETMAX): Likewise.
4604         (NL_TEXTMAX): Likewise.
4605         (NZERO): Likewise.
4606         (TMP_MAX): Likewise.
4607         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4608         variable.
4610         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4611         (PF_MAX): Update value.
4612         (AF_KCM): New macro.
4613         (SOL_NETBEUI): Likewise.
4614         (SOL_LLC): Likewise.
4615         (SOL_DCCP): Likewise.
4616         (SOL_NETLINK): Likewise.
4617         (SOL_TIPC): Likewise.
4618         (SOL_RXRPC): Likewise.
4619         (SOL_PPPOL2TP): Likewise.
4620         (SOL_BLUETOOTH): Likewise.
4621         (SOL_PNPIPE): Likewise.
4622         (SOL_RDS): Likewise.
4623         (SOL_IUCV): Likewise.
4624         (SOL_CAIF): Likewise.
4625         (SOL_ALG): Likewise.
4626         (SOL_NFC): Likewise.
4627         (SOL_KCM): Likewise.
4628         (MSG_BATCH): New enum value and macro.
4630 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4632         [BZ #18185]
4633         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4634         sharing L2 cache to 2 for Knights Landing.
4636 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4638         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4639         (FTW_DP): Do not expect for [XPG3 || XPG4].
4640         (FTW_SL): Do not expect for [XPG3].
4641         (FTW_SLN): Likewise.
4642         (FTW_PHYS): Likewise.
4643         (FTW_MOUNT): Likewise.
4644         (FTW_DEPTH): Likewise.
4645         (FTW_CHDIR): Likewise.
4646         (nftw): Likewise.
4647         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4648         variable.
4650 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4652         * manual/errno.texi: Fix various typos & grammar errors.
4654 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4656         * manual/intro.texi: Fix duplicated typo.
4658 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #13304]
4661         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4662         <float.h>, <math_private.h> and <stdlib.h>.
4663         (add_split): New function.
4664         (mul_split): Likewise.
4665         (ext_val): New typedef.
4666         (store_ext_val): New function.
4667         (mul_ext_val): New function.
4668         (compare): New function.
4669         (add_split_ext): New function.
4670         (__fmal): After checking for Inf, NaN and zero, compute result as
4671         an exact sum of scaled double values in round-to-nearest before
4672         adding those up and adjusting for other rounding modes.
4673         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4674         tests of fma.
4675         * math/auto-libm-test-out: Regenerated.
4677 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4679         [BZ #20119]
4680         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4681         processor level type mask for CPUID with EAX == 11.
4683 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4685         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4686         logical threads if the HTT bit is 0.
4687         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4688         (index_cpu_HTT): Likewise.
4689         (reg_HTT): Likewise.
4691 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4693         [BZ #20115]
4694         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4695         Remove alignments on jump targets.
4697 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4699         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4700         (getpwent): Likewise.
4701         (setpwent): Likewise.
4702         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4703         variable.
4705         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4706         (remque): Likewise.
4707         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4708         variable.
4710 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4712         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4713         not being tested.
4715 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4717         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4718         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4719         call.
4720         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4721         (__condvar_cleanup1): Likewise.
4723 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4725         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4726         New
4727         (__pthread_unwind): Renamed to ...
4728         (PTHREAD_UNWIND): This.
4729         (__pthread_enable_asynccancel): Replace
4730         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4732 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4734         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4735         (CLONE_NEWCGROUP): New macro.
4737         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4738         (Q_GETNEXTQUOTA): New macro.
4740 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4742         [BZ #19907]
4743         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4744         buffer updated by the previous run.
4745         * string/test-memcpy.c (do_one_test): Likewise.
4746         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4747         * string/test-memmove.c (do_one_test): Likewise.
4749 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4751         [BZ #20094]
4752         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4753         not [__USE_XOPEN].
4754         (unlockpt): Likewise.
4755         (ptsname): Likewise.
4756         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4757         variable.
4759         [BZ #20076]
4760         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4761         instead of [__USE_UNIX98].
4762         (S_ISSOCK): Likewise.
4763         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4764         variable.
4766         [BZ #20074]
4767         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4768         [__USE_POSIX].
4769         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4770         variable.
4772         [BZ #20051]
4773         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4774         (ttyslot): Do not declare.
4775         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4776         (ttyslot): New prototype.
4777         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4778         variable.
4779         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4781 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4783         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4785 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4787         Fix race condition in tst-mallocfork2, use fewer resources.
4788         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4789         to current process group.
4790         (signal_sender): Yield in the non-sleeping case.
4792 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4794         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4795         (ecvt): Likewise.
4796         (fcvt): Likewise.
4797         (gcvt): Likewise.
4798         (getsubopt): Likewise.
4799         (grantpt): Likewise.
4800         (initstate): Likewise.
4801         (l64a): Likewise.
4802         (mktemp): Likewise.
4803         (mkstemp): Likewise.
4804         (ptsname): Likewise.
4805         (random): Likewise.
4806         (realpath): Likewise.
4807         (setstate): Likewise.
4808         (srandom): Likewise.
4809         (ttyslot): Likewise.
4810         (unlockpt): Likewise.
4811         (valloc): Likewise.
4813         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4814         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4815         variable.
4817 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4819         [BZ #20072]
4820         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4821         init_cpu_features only if SHARED is defined.
4822         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4824 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4826         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4827         non-inclusive caches on Intel processors.
4829 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4831         * malloc/malloc.c (dumped_main_arena_start)
4832         (dumped_main_arena_end): New variables.
4833         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4834         (do_check_chunk): Skip dumped fake mmapped chunks.
4835         (munmap_chunk): Likewise.
4836         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4837         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4838         mmapped chunks.
4839         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4840         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4841         and dumped_main_arena_end to cover the dumped heap.
4843 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4845         * conform/data/time.h-data (getdate_err): Do not expect for
4846         [XPG3].
4847         (getdate): Likewise.
4848         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4849         variable.
4851         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4852         (F_ULOCK): Likewise.
4853         (F_TEST): Likewise.
4854         (F_TLOCK): Likewise.
4855         (useconds_t): Likewise.
4856         (intptr_t): Do not expect for [XPG3] or [XPG4].
4857         (brk): Do not expect for [XPG3]
4858         (fchown): Likewise.
4859         (fchdir): Likewise.
4860         (ftruncate): Likewise.
4861         (getdtablesize): Likewise.
4862         (gethostid): Likewise.
4863         (getpagesize): Likewise.
4864         (getpgid): Likewise.
4865         (getsid): Likewise.
4866         (getwd): Likewise.
4867         (lchown): Likewise.
4868         (lockf): Likewise.
4869         (readlink): Likewise.
4870         (sbrk): Likewise.
4871         (setpgrp): Likewise.
4872         (setregid): Likewise.
4873         (setreuid): Likewise.
4874         (symlink): Likewise.
4875         (sync): Likewise.
4876         (truncate): Likewise.
4877         (ualarm): Likewise.
4878         (usleep): Likewise.
4879         (vfork): Likewise.
4880         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4881         variable.
4883         [BZ #20054]
4884         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4885         not [__USE_UNIX98].
4886         * conform/data/unistd.h-data (gethostname): Do not expect for
4887         [XPG3].
4889         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4890         [!POSIX] (S_IFBLK): Likewise.
4891         [!POSIX] (S_IFCHR): Likewise.
4892         [!POSIX] (S_IFIFO): Likewise.
4893         [!POSIX] (S_IFREG): Likewise.
4894         [!POSIX] (S_IFDIR): Likewise.
4895         [!POSIX] (S_IFLNK): Likewise.
4896         [!POSIX] (S_IFSOCK): Likewise.
4897         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4898         variable.
4899         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4901 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4903         * sysdeps/aarch64/memset.S (__memset):
4904         Rewrite of optimized memset.
4906 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4908         [BZ #19703]
4909         Partially async-signal-safe fork for single-threaded processes.
4910         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4911         variable.  Do not acquire and reset/release malloc and libio locks
4912         in single-threaded processes.
4913         * malloc/tst-mallocfork2.c: New file.
4914         * malloc/Makefile (tests): Add it.
4916 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4918         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4919         argument.  Use scratch buffer instead of extend_alloca.
4920         (gethosts): Use scratch buffer instead of extend_alloca.
4921         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4922         extend_alloca.
4923         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4925 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4927         [BZ #20055]
4928         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4929         instead of [__USE_UNIX98].
4930         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4931         [__USE_UNIX98].
4932         * conform/data/termios.h-data (tcgetsid): Do not expect for
4933         [XPG3].
4934         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4935         variable.
4936         (test-xfail-XPG4/termios.h/conform): Likewise.
4938 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4940         Do not use mcheck in localedef.
4941         * locale/programs/localedef.c (turn_on_mcheck)
4942         (__malloc_initialize_hook): Remove.
4944 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4946         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4947         * sysdeps/s390/s390-64/Makefile: Likewise.
4949 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4951         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4952         Remove ifunc-defines.sym.
4953         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4954         Likewise.
4955         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4956         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4957         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4958         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4959         rtld-global-offsets.sym.
4960         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4961         * sysdeps/x86/cpu-features-offsets.sym: This.
4962         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4963         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4965 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4967         [BZ #20073]
4968         * io/sys/stat.h (fchmod): Declare for
4969         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4970         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4971         variable.
4973         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4974         [XPG3] (S_IFSOCK): Likewise.
4975         [XPG3] (S_ISVTX): Likewise.
4976         [XPG3] (S_ISLNK): Likewise.
4977         [XPG3] (S_ISSOCK): Likewise.
4978         [XPG3] (fchmod): Likewise.
4979         [XPG3] (lstat): Likewise.
4980         [XPG3] (mknod): Likewise.
4982         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4983         [XPG3].  Expect type long and XFAIL for [XPG4].
4984         (st_blocks): Likewise.
4986         [BZ #20044]
4987         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4988         (pthread_atfork): New prototype.
4989         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4990         variable.
4992         [BZ #20043]
4993         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4994         prototype.
4996 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4998         [BZ #20017]
4999         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5000         gmtime.
5002 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5004         [BZ #19994]
5005         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5006         flag in _res.options.
5008 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5010         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5011         [XPG3 || XPG4].
5012         (blksize_t): Likewise.
5013         (clockid_t): Likewise.
5014         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5015         variable.
5016         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5018 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5020         * sysdeps/unix/sysv/linux/s390/init-first.c:
5021         Add VDSO_SYMBOL(getcpu).
5022         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5023         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5024         Add VDSO_SYMBOL(getcpu).
5025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5026         New define HAVE_GETCPU_VSYSCALL.
5027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5029 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5031         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5032         instead of <sysdeps/x86_64/cacheinfo.c>.
5033         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5034         * sysdeps/x86/cacheinfo.c: Here.
5036 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5038         * malloc/malloc-internal.h: Adjust header file guard.
5040 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5042         [BZ #19787]
5043         * inet/getnameinfo.c (check_sprintf_result): New function.
5044         (CHECKED_SNPRINTF): New macro.
5045         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5046         to the host buffer.
5047         (gni_host_local): Use checked_copy to copy the host name.
5048         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5049         (gni_serv_local): Use checked_copy to copy the service name.
5050         (getnameinfo): Remove unnecessary truncation of result buffers.
5052 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5054         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5055         in case of inet_ntop failure.
5057 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5059         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5060         avoid long lines.
5061         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5062         variables.
5063         (gni_host_inet, gni_host_local): Add comment.
5064         (gni_host): Add comment.  Use temporary to avoid long lines.
5066 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5068         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5069         registers specifiers where general purpose registers specifiers should
5070         have been used.
5072 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5074         [BZ #19779]
5075         CVE-2016-1234
5076         Avoid copying names of directory entries.
5077         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5078         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5079         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5080         (struct readdir_result): New type.
5081         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5082         (GL_READDIR): New macros.
5083         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5084         (convert_dirent, convert_dirent64): New functions.
5085         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5086         convert_dirent64.  Adjust references to the readdir result.
5087         * sysdeps/unix/sysv/linux/i386/glob64.c:
5088         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5089         * posix/bug-glob2.c (LONG_NAME): Define.
5090         (filesystem): Add LONG_NAME.
5091         (my_DIR): Increase the size of room_for_dirent.
5093 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5095         [BZ #20041]
5096         * misc/sys/select.h (__need_timespec): Only define if
5097         [__USE_XOPEN2K].
5098         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5099         variable.
5100         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5101         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5102         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5104 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5105             Segher Boessenkool  <segher@gcc.gnu.org>
5107         [BZ #20004]
5108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5109         (__novec_swapcontext): Add missing load.
5111 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5113         [BZ #20023]
5114         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5115         <time.h>.
5116         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5117         variable.
5118         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5120 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5123         flags CLONE_VM compare.
5125 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5127         [BZ #20031]
5128         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5129         completely empty.
5131 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5133         [BZ #19573]
5134         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5135         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5136         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5137         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5138         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5139         (hesiod_free_list): Mark as hidden.
5140         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5141         res_set, res_get.
5142         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5143         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5144         (hesiod_init): Remove obsolete res_ninit call.
5145         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5146         (hesiod_bind): Do not call init.
5147         (get_txt_records): Use res_mkquery, res_send instead of
5148         res_nmkquery, res_nsend.
5149         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5150         instead of _nss_hesiod_init.
5151         (_nss_hesiod_initgroups_dyn): Likewise.
5152         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5153         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5154         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5156 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5158         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5159         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5161 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5163         * hesiod/hesiod.h: Remove RCS keyword.
5164         * hesiod/hesiod_p.h: Likewise.
5166         * hesiod/hesiod.c: Likewise.
5168 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5170         [BZ #12450]
5171         * locale/iso-639.def: Add Samogitian/sgs.
5173 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5175         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5177         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5179 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5180             Carlos O'Donell  <carlos@redhat.com>
5182         [BZ #19072]
5183         * grp/Makefile (headers): Add grp-merge.h
5184         (routines): Add grp-merge.
5185         * grp/getgrgid_r.c: Include grp-merge.h.
5186         (DEEPCOPY_FN): Define.
5187         (MERGE_FN): Define.
5188         * grp/getgrname_r.c: Include grp-merge.h.
5189         (DEEPCOPY_FN): Define.
5190         (MERGE_FN): Define.
5191         * grp/grp-merge.c: New file.
5192         * grp/grp-merge.h: New file.
5193         * include/grp-merge.h: New file.
5194         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5195         __copy_grp@GLIBC_PRIVATE.
5196         * manual/nss.texi (Actions in the NSS configuration): Describe
5197         return, continue, and merge.
5198         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5199         (DEEPCOPY_FN): Define.
5200         (MERGE_FN): Define.
5201         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5202         (DEEPCOPY_FN): Define.
5203         (MERGE_FN): Define.
5204         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5205         [!MERGE_FN]: Define __merge_einval.
5206         (CHECK_MERGE): Define.
5207         (REENTRANT_NAME): Process merge if do_merge is true.
5208         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5209         (__nss_getent_r): Likewise.
5210         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5211         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5213 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5215         [BZ #20012]
5216         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5217         length to calculate the buffer to read.
5218         (fmemopen_write): Set the buffer position based on bytes written.
5219         (fmemopen_seek): Return EINVAL for invalid whence modes.
5221         [BZ #19957]
5222         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5223         tst-getpid2.
5224         (test): Add tst-clone2.
5225         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5226         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5227         pid/tid fields for CLONE_VM.
5228         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5229         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5230         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5231         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5232         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5233         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5234         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5235         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5237         Likewise.
5238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5239         Likewise.
5240         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5241         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5242         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5243         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5244         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5245         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5246         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5247         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5249 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5251         [BZ #19642]
5252         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5253         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5254         (gni_serv_local, gni_serv): New functions extracted from
5255         getnameinfo.
5256         (getnameinfo): Call gni_host and gni_serv to perform the
5257         processing.  Always free scratch buffer.
5259 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5261         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5262         remaining bytes in the dest string, with zeros.
5264 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5266         [BZ #20010]
5267         CVE-2016-3706
5268         * sysdeps/posix/getaddrinfo.c
5269         (convert_hostent_to_gaih_addrtuple): New function.
5270         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5271         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5272         AF_INET data.
5274 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5276         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5277         callback function gl_readdir.
5278         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5279         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5280         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5281         memcpy to copy the name.
5282         * manual/pattern.texi (Calling Glob): Document requirements for
5283         implementations of the gl_readdir callback function.
5284         * manual/examples/mkdirent.c: New example.
5285         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5286         per the manual guidance.
5287         * posix/tst-gnuglob.c (my_readdir): Likewise.
5289 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5291         [BZ #20014]
5292         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5293         not [__USE_POSIX].
5294         (getchar_unlocked): Likewise.
5295         (putc_unlocked): Likewise.
5296         (putchar_unlocked): Likewise.
5297         (flockfile): Likewise.
5298         (ftrylockfile): Likewise.
5299         (funlockfile): Likewise.
5300         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5301         variable.
5302         (test-xfail-XPG4/stdio.h/conform): Likewise.
5304         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5305         Expect constant.
5306         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5307         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5308         variable.
5309         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5310         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5312         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5313         [__USE_LARGEFILE64] (off64_t): Likewise.
5314         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5315         variable.
5317 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5319         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5321 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5323         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5324         * resolv/res_init.c: Likewise.
5325         * resolv/res_mkquery.c: Likewise.
5327 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5329         * resolv/res_init.c (isascii): Do not define.  Use definition in
5330         <ctype.h>.
5331         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5332         (LOG_AUTH): Remove.
5333         (SPRINTF): Remove, adjust caller.
5334         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5336 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5338         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5339         SUNSECURITY conditional.
5340         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5342 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5344         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5345         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5346         Remove BSD-related preprocessor conditionals.
5347         * conf/portability.h: Remove.
5349 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5351         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5352         * resolv/res_data.c: Likewise.
5354 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5356         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5357         * resolv/res_data.c: Remove code conditional on ultrix.
5359 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5361         * resolv/res_init.c (RFC1535): Do not define.  Remove
5362         RFC1535 preprocessor conditionals.
5363         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5364         because there configuration options which make the resolver
5365         behavior different.
5367 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5369         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5370         RESOLVSORT preprocessor conditionals.
5371         * resolv/nss_dns/dns-host.c: Likewise.
5372         * resolv/res_init.c: Likewise.
5374 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5376         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5377         is never defined.
5379 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5381         * inet/inet_lnaof.c: Remove SCSS keyword.
5382         * inet/inet_mkadr.c: Likewise.
5383         * inet/inet_net.c: Likewise.
5384         * inet/inet_netof.c: Likewise.
5385         * inet/rcmd.c: Likewise.
5386         * inet/rexec.c: Likewise.
5387         * inet/ruserpass.c: Likewise.
5389 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5391         * resolv/inet_addr.c: Remove _LIBC conditionals.
5392         * resolv/res_data.c: Likewise.
5393         * resolv/res_init.c: Likewise.
5394         * resolv/res_mkquery.c: Likewise.
5395         * resolv/res_libc.c: Update comment.
5396         * resolv/README: Update.
5398 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5400         * resolv/gethnamaddr.c: Remove SCSS keyword.
5401         * resolv/herror.c: Likewise.
5402         * resolv/inet_addr.c: Likewise.
5403         * resolv/inet_net_ntop.c: Likewise.
5404         * resolv/inet_net_pton.c: Likewise.
5405         * resolv/inet_neta.c: Likewise.
5406         * resolv/inet_ntop.c: Likewise.
5407         * resolv/inet_pton.c: Likewise.
5408         * resolv/ns_date.c: Remove RCS keyword.
5409         * resolv/ns_name.c: Likewise.
5410         * resolv/ns_netint.c: Likewise.
5411         * resolv/ns_parse.c: Likewise.
5412         * resolv/ns_print.c: Likewise.
5413         * resolv/ns_samedomain.c: Likewise.
5414         * resolv/ns_ttl.c: Likewise.
5415         * resolv/nsap_addr.c: Likewise.
5416         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5417         * resolv/res_data.c: Remove RCS keyword.
5418         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5419         * resolv/res_init.c: Likewise.
5420         * resolv/res_mkquery.c: Likewise.
5421         * resolv/res_query.c: Likewise.
5422         * resolv/res_send.c: Likewise.
5424 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5426         * conform/data/stdio.h-data (fdopen): Expect also for
5427         [XPG3 || XPG4].
5429         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5430         (fseeko): Likewise.
5431         (ftello): Likewise.
5432         (ftrylockfile): Likewise.
5433         (funlockfile): Likewise.
5434         (getc_unlocked): Likewise.
5435         (getchar_unlocked): Likewise.
5436         (putc_unlocked): Likewise.
5437         (putchar_unlocked): Likewise.
5439 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5441         [BZ #19868]
5442         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5443         DNS packet syntax checks (which were not needed before).  Skip
5444         over non-PTR records.
5446 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5448         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5449         definition.  Include <stddef.h> instead.
5451 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5453         [BZ #19831]
5454         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5455         function.
5456         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5457         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5459 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5461         [BZ #19862]
5462         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5463         (getanswer_r): Do not call syslog.
5464         (gaih_getanswer_slice): Likewise.
5465         * resolv/gethnamaddr.c (AskedForGot): Remove.
5466         (getanswer): Do not call syslog.
5467         (gethostbyaddr): Likewise.
5469 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5471         * conform/data/signal.h-data (union sigval): Expect also if
5472         [XOPEN2K].
5473         (struct sigevent): Likewise.
5474         (SIGEV_NONE): Likewise.
5475         (SIGEV_SIGNAL): Likewise.
5476         (SIGEV_THREAD): Likewise.
5477         (SIGRTMIN): Likewise.
5478         (SIGRTMAX): Likewise.
5479         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5480         variable.
5481         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5483 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5485         [BZ #19830]
5486         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5487         (gaih_getanswer_slice): Likewise.
5488         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5489         Also check for availability of RR metadata.
5491 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5493         [BZ #19825]
5494         * resolv/res_send.c (send_vc): Remove early *resplen2
5495         initialization.  Set *resplen2 on socket error.  Call
5496         close_and_return_error for other errors.
5498 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5500         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5501         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5502         (SCM_IUCV_TRGCLS): New define.
5504 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5506         [BZ #20005]
5507         * libio/fmemopen.c (fmemopen_write): Update internal position after
5508         write.
5509         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5510         * stdio-common/tst-fmemopen4.c: New file..
5512 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5514         [BZ #19996]
5515         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5516         not [__USE_XOPEN2K].
5517         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5518         variable.
5520         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5521         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5522         variable.
5524         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5525         [__USE_XOPEN2K8].
5526         [__USE_LARGEFILE64] (off64_t): Likewise.
5527         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5528         variable.
5530 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5532         [BZ #19989]
5533         * libio/stdio.h (cuserid): Do not declare if
5534         [__USE_XOPEN2K && !__USE_GNU].
5535         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5536         variable.
5538 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5540         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5541         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5543         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5544         ifunc'ed strcspn.
5545         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5546         [EALIGN]: Removed.
5547         [END]: Likewise
5548         [STRSPN]: Define instead of the above to control symbol name.
5549         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5550         New file.
5551         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5552         Likewise.
5553         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5554         Likewise.
5555         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5556         Likewise.
5557         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5558         [INITIAL_MASK]: New macro.
5559         [STRCSPN]: Likewise.
5560         [UPDATE_MASK]: Likewise.
5561         [USE_AS_STRCSPN]: Lisewise.
5563 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5565         [BZ #19931]
5566         * stdio-common/tst-vfprintf-width-prec.c: New file.
5567         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5568         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5569         (generated): Add mtrace-related files.
5570         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5571         (tst-%-mem.out): New pattern rule, replaces
5572         tst-printf-bz18872-mem.out.
5573         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5574         specifier, deallocate any previously allocated work buffer.
5576 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5578         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5579         Add nop before __startcontext, add explaining comments.
5581 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5583         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5584         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5585         completely different API.
5587         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5588         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5589         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5590         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5591         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5592         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5593         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5594         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5595         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5596         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5598 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5600         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5602 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5604         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5605         when it is the default of 0.
5607 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5609         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5610         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5611         (sysdep_routines): Add new strcasestr targets.
5612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5613         (__libc_ifunc_impl_list): Likewise.
5614         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5615         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5616         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5617         * sysdeps/powerpc/powerpc64/power8/Makefile:
5618         New file to add strcasestr-ppc64 to sysdep_routines.
5619         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5620         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5622 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5624         * benchtests/Makefile (wcsmbs-benchset): Include only for
5625         native builds and runs.
5626         (LOCALES): Likewise.
5627         (bench-build): Build timing-type here instead of the bench
5628         target.  Generate locale only for native builds.
5629         * benchtests/README: Add note for cross-building.
5631         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5633         * benchtests/README: Update README to include instructions on
5634         using bench-build.
5636         * Makefile.in (bench-build): New target.
5637         * Rules (PHONY): Add bench-build target.
5638         * benchtests/Makefile (bench): Depend on bench-build.
5639         (bench-build): New target.
5641 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5643         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5644         profil_reply_port.
5645         (profile_waiter): Do not initialize profil_reply_port.
5646         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5647         frequency instead of tick length in us.
5649 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5651         [BZ #18712]
5652         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5653         (__old_mempcpy_small): Likewise.
5654         (__old_strcpy_small): Likewise.
5655         (__old_stpcpy_small): Likewise.
5656         (__old_strpbrk_c2): Fix compat symbol name.
5657         (__old_strpbrk_c3): Likewise.
5658         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5659         (__mempcpy_small): Remove.
5660         (__strcpy_small): Remove.
5661         (__stpcpy_small): Remove.
5663 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5665         [BZ #19400]
5666         * locale/iso-639.def: Add the Talossan/tzl language.
5668 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5670         [BZ #16983]
5671         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5672         comment.  Add "ln" to strchr check on postal_fmt.
5674 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5676         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5677         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5678         tel_dom_fmt.
5680 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5682         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5683         (sysdep_routines): Added __strlen_power8.
5684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5685         __strlen_power8 entry.
5686         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5687         Implementation for POWER8.
5688         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5689         for __strlen_power8.
5690         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5691         Implementation for POWER8.
5693 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5695         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5697 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5699         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5700         Goldmont and Airmont processors.
5702 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5704         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5705         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5706         (__STRING2_SMALL_GET32): Remove.
5707         (memset): Remove.
5708         (__memset_1): Remove.
5709         (__memset_gc): Remove.
5710         (__mempcpy): Remove.
5711         (mempcpy): Remove.
5712         (__mempcpy_args): Remove.
5713         (strchr): Remove.
5714         (strcpy): Remove.
5715         (strcpy_args): Remove.
5716         (__stpcpy_args): Remove.
5717         (__strcmp_cc): Remove.
5718         (__strcmp_gc): Remove.
5719         (strstr): Remove.
5721 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5723         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5724         * nis/nis_call.c (nis_server_cache_add): Likewise.
5726 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5728         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5730 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5732         * malloc/arena.c (__malloc_fork_lock_parent)
5733         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5734         internal_function attribute.
5736 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5738         * stdio-common/printf_fp.c (__printf_fp_l):
5739         Rename ___printf_fp_l to __printf_fp_l and
5740         remove strong alias. Use libc_hidden_def instead
5741         of ldbl_hidden_def macro.
5743 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5745         Remove malloc hooks from fork handler.  They are no longer needed
5746         because malloc runs right before fork, and no malloc calls from
5747         other fork handlers are not possible anymore.
5748         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5749         declarations.
5750         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5751         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5752         (atfork_recursive_cntr): Remove.
5753         (__malloc_fork_lock_parent): Do not override malloc hooks and
5754         thread_arena.
5755         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5756         thread_arena.
5757         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5758         thread_arena instead of save_arena.
5760 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5762         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5763         (thread_atfork, thread_atfork_static): Remove.
5764         * sysdeps/mach/hurd/malloc-machine.h:
5765         (thread_atfork, thread_atfork_static): Remove.
5767 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5769         [BZ #19431]
5770         Run the malloc fork handler as late as possible to avoid deadlocks.
5771         * malloc/malloc-internal.h: New file.
5772         * malloc/malloc.c: Include it.
5773         * malloc/arena.c (ATFORK_MEM): Remove.
5774         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5775         Update comment.
5776         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5777         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5778         Remove outdated comment.
5779         (ptmalloc_init): Do not call thread_atfork.  Remove
5780         thread_atfork_static.
5781         * malloc/tst-malloc-fork-deadlock.c: New file.
5782         * Makefile (tests): Add tst-malloc-fork-deadlock.
5783         (tst-malloc-fork-deadlock): Link against libpthread.
5784         * manual/memory.texi (Aligned Memory Blocks): Update safety
5785         annotation comments.
5786         * sysdeps/nptl/fork.c (__libc_fork): Call
5787         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5788         __malloc_fork_unlock_child.
5789         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5791 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5793         [BZ #19613]
5794         Remove union wait.
5795         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5796         (w_stopsig, w_stopval): Remove.
5797         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5798         stat_loc argument.
5799         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5800         (__WAIT_STATUS_DEFN): Remove.
5801         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5802         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5803         (wait, wait3, wait4): Use int * for the stat_loc argument.
5804         * posix/wait.c (__wait): Likewise.
5805         * posix/wait3.c (__wait3): Likewise.
5806         * posix/wait4.c (__wait4): Likewise.
5807         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5808         (__WAIT_STATUS_DEFN): Remove.
5809         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5810         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5811         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5812         argument.
5813         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5814         * sysdeps/posix/wait3.c (__wait3): Likewise.
5815         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5816         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5817         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5818         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5819         stat_loc argument.
5820         * manual/process.texi (BSD Wait Functions): Remove union wait.
5822 2016-04-13  Andreas Schwab  <schwab@suse.de>
5824         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5825         (test-extras): Add tst-tlsalign-vars.
5826         * math/Makefile: Wrap long lines.
5827         (libm-vec-test-wrappers): Define.
5828         (test-extras): Add $(libm-vec-test-wrappers).
5829         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5830         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5831         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5832         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5833         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5834         (extra-test-objs): Add corresponding objects.
5836 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5838         [BZ #19928]
5839         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5840         New.
5841         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5842         times of shared cache size.
5843         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5844         (VMOVNT): New.
5845         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5846         (VMOVNT): Likewise.
5847         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5848         (VMOVNT): Likewise.
5849         (VMOVU): Changed to movups for smaller code sizes.
5850         (VMOVA): Changed to movaps for smaller code sizes.
5851         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5852         comments.
5853         (PREFETCH): New.
5854         (PREFETCH_SIZE): Likewise.
5855         (PREFETCHED_LOAD_SIZE): Likewise.
5856         (PREFETCH_ONE_SET): Likewise.
5857         Rewrite to use forward and backward loops, which move 4 vector
5858         registers at a time, to support overlapping addresses and use
5859         non temporal store if size is above the threshold and there is
5860         no overlap between destination and source.
5862 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5864         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5865         Include dl-vdso.
5866         * sysdeps/unix/sysv/linux/mips/Versions: Add
5867         __vdso_clock_gettime.
5868         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5869         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5870         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5871         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5872         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5873         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5874         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5875         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5876         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5878 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5880         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5881         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5884         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5885         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5888         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5889         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5890         syscalls generation.
5891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5892         [__NR_pwrite64] (__NR_write): Remove define.
5893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5894         [__NR_pwrite64] (__NR_write): Remove define.
5895         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5896         Remove define.
5897         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5898         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5899         Remove define.
5900         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5901         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5902         Linux implementation as base.
5903         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5905         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5906         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5908         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5911         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5912         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5913         syscall generation.
5914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5915         [__NR_pread64] (__NR_pread): Remove define.
5916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5917         [__NR_pread64] (__NR_pread): Likewise.
5918         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5919         define.
5920         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5921         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5922         Remove define.
5923         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5924         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5925         Linux implementation as base.
5926         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5927         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5928         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5930         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5931         definition.
5932         (__ALIGNMENT_COUNT): Likewise.
5933         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5934         (__ALIGNMENT_COUNT): Likewise.
5935         (SYSCALL_LL): New define.
5936         (SYSCALL_LL64): Likewise.
5937         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5938         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5939         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5940         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5942         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5943         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5945         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5946         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5947         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5949 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5951         [BZ #19865]
5952         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5953         original buffer before retry.
5955 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5957         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5958         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5959         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5960         GLRO(dl_auxv) list.
5961         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5962         including <ldsodefs.h>.
5963         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5965 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5967         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5968         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5969         $(CPPFLAGS).
5971 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5973         [BZ #17950]
5974         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5975         Add -mfpmath=387.
5977 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5979         * sysdeps/i386/configure.ac: Change == to = when calling test.
5980         * sysdeps/x86_64/configure.ac: Likewise.
5981         * sysdeps/i386/configure: Regenerated.
5982         * sysdeps/x86_64/configure: Likewise.
5984 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5986         [BZ #16137]
5987         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5988         * benchtests/bench-strcoll.c (input_files): Likewise.
5989         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5990         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5991         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5993 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5995         [BZ #19929]
5996         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5997         [__USE_XOPEN2K8 && !__USE_GNU].
5998         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5999         variable.
6001         [BZ #19925]
6002         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6003         define if [!__USE_MISC && __USE_XOPEN2K].
6004         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6005         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6006         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6007         Likewise.
6008         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6009         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6010         variable.
6011         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6013 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6015         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6016         (sysdep_routines): Add new strspn targets.
6017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6018         (__libc_ifunc_impl_list): Add strspn.
6019         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6020         New file.
6021         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6022         Likewise.
6023         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6024         Likewise.
6025         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6026         Likewise.
6028 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6030         * misc/hsearch_r.c: Include <limits.h>.
6032 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6034         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6036 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6038         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6039         (MEMCPY_SYMBOL): New.
6040         (MEMPCPY_SYMBOL): Likewise.
6041         (MEMMOVE_CHK_SYMBOL): Likewise.
6042         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6043         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6044         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6045         Provide alias for memcpy in libc.a and ld.so.
6047 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6049         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6050         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6051         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6052         Disabled fro now.
6053         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6054         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6056 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6058         * benchtests/Makefile (string-benchset): Add memcpy-large,
6059         memmove-large and memset-large.
6060         * benchtests/bench-memcpy-large.c: New file.
6061         * benchtests/bench-memmove-large.c: Likewise.
6062         * benchtests/bench-memmove-large.c: Likewise.
6063         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6065 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6067         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6068         32-bit displacement to avoid long nop between instructions.
6070 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6072         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6073         a comment on VMOVU and VMOVA.
6075 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6077         [BZ #19633]
6078         Use specified locale for number formatting in strfmon_l.
6079         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6080         (__nl_lookup_word): New inline functions.
6081         * include/printf.h (__print_fp_l): Declare.
6082         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6083         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6084         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6085         (___printf_fp): New function.
6086         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6087         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6088         * stdlib/tst-strfmon_l.c (do_test): New test.
6089         * stdlib/Makefile (tests): Add kt.
6090         (LOCALES): Build additional locales.
6091         (tst-strfmon_l.out): Require locales.
6093 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6095         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6096         if not in libc.
6097         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6098         Likewise.
6099         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6100         Likewise.
6101         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6102         Likewise.
6104 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6106         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6107         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6108         with unaligned_erms.
6109         (__memmove_erms): Skip if source == destination.
6110         (__memmove_unaligned_erms): Don't check source == destination
6111         first.
6113 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6115         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6116         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6118 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6120         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6121         * string/strspn.c (strspn): Likewise.
6123 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6125         * benchtests/bench-memset.c (do_test): Support 64-byte
6126         alignment.
6127         (test_main): Test 64-byte alignment.
6129 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6131         * benchtests/bench-memmove.c (test_main): Test 64-byte
6132         alignment.
6134 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6136         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6138 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6140         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6141         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6142         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6144         * string/strpbrk.c (strpbrk): Rewrite function.
6145         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6146         (__strpbrk_c2): Likewise.
6147         (__strpbrk_c3): Likewise.
6148         * string/string-inlines.c
6149         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6150         Likewise.
6151         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6152         Likewise.
6154         * string/strspn.c (strcspn): Rewrite function.
6155         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6156         (__strspn_c1): Remove inline function.
6157         (__strspn_c2): Likewise.
6158         (__strspn_c3): Likewise.
6159         * string/string-inlines.c
6160         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6161         compatibility symbol.
6162         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6163         Likewise.
6164         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6165         Likewise.
6166         * string/string-inlines.c: Include generic version.
6168 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6169             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6171         * string/Version (libc): Add GLIBC_2.24.
6172         * string/strcspn.c (strcspn): Rewrite function.
6173         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6174         (__strcspn_c1): Remove inline function.
6175         (__strcspn_c2): Likewise.
6176         (__strcspn_c3): Likewise.
6177         * string/string-inline.c
6178         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6179         compatibility symbol.
6180         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6181         Likewise.
6182         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6183         Likewise.
6184         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6186 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6188         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6189         Use ahi instead of aghi to adjust stack pointer.
6191 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6193         [BZ #19853]
6194         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6195         TEST to take significant digits as second parameter.
6196         [TEST]: Redefine in terms of TEST_N taking 30
6197         significant digits.
6198         (do_test): Add test case to demonstrate precision
6199         failure in the ldbl-128ibm printf.
6200         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6201         (__mpn_extract_long_double): Carry 7 extra intermediate
6202         bits of precision to aide computing difference when
6203         signs differ.
6205 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6207         [BZ #19881]
6208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6209         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6210         memset-avx512-unaligned-erms.
6211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6212         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6213         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6214         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6215         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6216         __memset_sse2_unaligned_erms, __memset_erms,
6217         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6218         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6219         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6220         file.
6221         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6222         Likewise.
6223         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6224         Likewise.
6225         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6226         Likewise.
6228 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6230         [BZ #19776]
6231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6232         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6233         memmove-avx512-unaligned-erms.
6234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6235         (__libc_ifunc_impl_list): Test
6236         __memmove_chk_avx512_unaligned_2,
6237         __memmove_chk_avx512_unaligned_erms,
6238         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6239         __memmove_chk_sse2_unaligned_2,
6240         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6241         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6242         __memmove_avx512_unaligned_erms, __memmove_erms,
6243         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6244         __memcpy_chk_avx512_unaligned_2,
6245         __memcpy_chk_avx512_unaligned_erms,
6246         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6247         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6248         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6249         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6250         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6251         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6252         __mempcpy_chk_avx512_unaligned_erms,
6253         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6254         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6255         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6256         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6257         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6258         __mempcpy_erms.
6259         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6260         file.
6261         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6262         Likwise.
6263         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6264         Likwise.
6265         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6266         Likwise.
6268 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6270         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6271         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6272         (La_s390_64_regs): Likewise.
6273         (La_s390_32_retval): Append vector register lrv_v24.
6274         (La_s390_64_retval): Likeweise.
6275         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6276         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6277         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6278         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6280 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6282         [BZ #19916]
6283         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6284         to create a non-vector/vector version for _dl_runtime_resolve and
6285         _dl_runtime_profile. Move implementation to ...
6286         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6287         (_dl_runtime_resolve) Save and restore fpr/vrs.
6288         (_dl_runtime_profile) Save and restore vrs and fix some issues
6289         if _dl_call_pltexit is called.
6290         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6291         Choose the correct resolver function if running on a machine with vx.
6292         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6293         to create a non-vector/vector version for _dl_runtime_resolve and
6294         _dl_runtime_profile. Move implementation to ...
6295         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6296         (_dl_runtime_resolve) Save and restore fpr/vrs.
6297         (_dl_runtime_profile) Save and restore vrs and fix some issues
6298         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6299         Choose the correct resolver function if running on a machine with vx.
6301 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6303         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6305 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6307         [BZ #19509]
6308         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6309         skip_map != NULL.
6310         * elf/tst-dlsym-error.c: New file.
6311         * elf/Makefile (tests): Add tst-dlsym-error.
6312         (tst-dlsym-error): Link against libdl.
6314 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6317         (__ASSUME_FUTIMESAT): Remove macro.
6318         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6320 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6322         [BZ #19879]
6323         CVE-2016-3075
6324         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6325         copy name.
6327 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6329         [BZ #19837]
6330         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6331         error if parse_line fails.
6333 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6335         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6336         (index_cpu_ERMS): Likewise.
6337         (reg_ERMS): Likewise.
6339 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6341         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6342         PER_LINUX_FDPIC): Add.
6344 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6347         memcpy-avx512-no-vzeroupper.
6348         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6349         to ...
6350         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6351         (MEMCPY): Don't define.
6352         (MEMCPY_CHK): Likewise.
6353         (MEMPCPY): Likewise.
6354         (MEMPCPY_CHK): Likewise.
6355         (MEMPCPY_CHK): Renamed to ...
6356         (__mempcpy_chk_avx512_no_vzeroupper): This.
6357         (MEMPCPY_CHK): Renamed to ...
6358         (__mempcpy_chk_avx512_no_vzeroupper): This.
6359         (MEMCPY_CHK): Renamed to ...
6360         (__memmove_chk_avx512_no_vzeroupper): This.
6361         (MEMCPY): Renamed to ...
6362         (__memmove_avx512_no_vzeroupper): This.
6363         (__memcpy_avx512_no_vzeroupper): New alias.
6364         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6366 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6368         [BZ #18858]
6369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6370         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6371         and mempcpy-avx512-no-vzeroupper.
6372         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6373         New.
6374         (MEMPCPY): Likewise.
6375         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6376         (MEMPCPY_CHK): New.
6377         (MEMPCPY): Likewise.
6378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6379         (MEMPCPY): Likewise.
6380         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6381         (MEMPCPY): Likewise.
6382         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6383         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6384         Likewise.
6385         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6386         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6388 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6389              Amit Pawar  <Amit.Pawar@amd.com>
6391         [BZ #19583]
6392         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6393         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6394         processors.  Set Fast_Copy_Backward for AMD Excavator
6395         processors.
6396         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6397         New.
6398         (index_arch_Fast_Unaligned_Copy): Likewise.
6399         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6400         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6402 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6404         [BZ #19791]
6405         * resolv/res_send.c (close_and_return_error): New function.
6406         (send_dg): Initialize *resplen2 after reopen failure.  Call
6407         close_and_return_error for error returns.  On error paths without
6408         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6409         successful return.
6411 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6413         [BZ# 19860]
6414         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6415         zero if the compiler does not provide the AVX512F bit.
6417 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6419         [BZ #19848]
6420         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6421         from 8 to 4.
6422         (__ieee754_powl): Compare integer exponent against 4 not 8.
6423         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6424         from 8 to 4.
6425         (__ieee754_powl): Compare integer exponent against 4 not 8.
6426         * math/auto-libm-test-in: Add more tests of pow.
6427         * math/auto-libm-test-out: Regenerated.
6428         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6431 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6433         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6434         Make code unconditional.
6435         [!__NR_utimensat]: Remove conditional code.
6436         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6437         Make code unconditional.
6438         [!__NR_utimensat]: Remove conditional code.
6439         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6440         Make code unconditional.
6441         [!__NR_utimensat]: Remove conditional code.
6443 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6445         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6446         Make code unconditional.
6448 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6450         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6451         call-clobbered %eax on retry path.
6452         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6454 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6456         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6457         Don't set %rcx twice before "rep movsb".
6459 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6461         [BZ #19583]
6462         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6463         inline.  Check family before setting family, model and
6464         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6465         bits here.
6466         (init_cpu_features): Replace HAS_CPU_FEATURE and
6467         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6468         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6469         for Intel processors with usable AVX2.  Call get_common_indeces
6470         for other processors with family == NULL.
6471         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6472         (CPU_FEATURES_ARCH_P): Likewise.
6473         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6474         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6476 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6478         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6479         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6480         $(shared-thread-library) instead of hardcoding the path to libpthread.
6482 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6484         * sysdeps/unix/sysv/linux/kernel-features.h
6485         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6486         * sysdeps/unix/sysv/linux/getdents.c
6487         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6488         [!have_no_getdents64_defined]: Likewise.
6489         (__GETDENTS): Remove __have_no_getdents64 conditional.
6491 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6494         Remove macro.
6495         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6496         <kernel-features.h>.
6497         (signalfd) [__NR_signalfd4]: Make code unconditional.
6498         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6500 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6502         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6503         style.
6505 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6507         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6508         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6509         __pthread_unwind.
6510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6511         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6513         (__condvar_cleanup1): Likewise.
6515 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6517         [BZ #19822]
6518         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6519         move it to the final $@ location.
6521 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6523         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6524         access where posix_spawn success and pid argument is null.
6525         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6526         success case.
6528 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6530         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6532         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6534         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6535         and __fcntl.
6536         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6537         __fcntl only.
6538         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6539         adding attribute_hidden to __open and __fcntl.
6541         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6542         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6543         depend on libc-modules.h,
6544         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6546 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6548         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6549         Remove macro.
6550         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6551         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6552         entry.
6554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6555         Remove macro.
6556         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6557         include <kernel-features.h>.
6558         [!__ASSUME_FALLOCATE]: Remove conditional code.
6559         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6561 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6563         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6564         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6566         (_ZGVdN4v_cos_avx2): Likewise.
6567         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6568         (_ZGVdN4v_cos): Likewise.
6569         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6570         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6571         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6572         (_ZGVdN4v_exp_avx2): Likewise.
6573         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6574         (_ZGVdN4v_exp): Likewise.
6575         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6576         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6577         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6578         (_ZGVdN4v_log_avx2): Likewise.
6579         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6580         (_ZGVdN4v_log): Likewise.
6581         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6582         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6583         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6584         (_ZGVdN4vv_pow_avx2): Likewise.
6585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6586         (_ZGVdN4vv_pow): Likewise.
6587         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6588         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6589         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6590         (_ZGVdN4v_sin_avx2): Likewise.
6591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6592         (_ZGVdN4v_sin): Likewise.
6593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6594         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6596         (_ZGVdN4vvv_sincos_avx2): Likewise.
6597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6598         (_ZGVdN4vvv_sincos): Likewise.
6599         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6600         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6601         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6602         (_ZGVbN4v_cosf_sse4): Likewise.
6603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6604         (_ZGVdN8v_cosf_avx2): Likewise.
6605         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6606         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6607         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6608         (_ZGVbN4v_expf_sse4): Likewise.
6609         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6610         (_ZGVdN8v_expf_avx2): Likewise.
6611         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6612         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6614         (_ZGVbN4v_logf_sse4): Likewise.
6615         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6616         (_ZGVdN8v_logf_avx2): Likewise.
6617         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6618         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6619         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6620         (_ZGVbN4vv_powf_sse4): Likewise.
6621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6622         (_ZGVdN8vv_powf_avx2): Likewise.
6623         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6624         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6626         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6628         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6629         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6630         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6631         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6632         (_ZGVbN4v_sinf_sse4): Likewise.
6633         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6634         (_ZGVdN8v_sinf_avx2): Likewise.
6635         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6636         Use JUMPTARGET to call callee.
6637         (WRAPPER_IMPL_SSE2_ff): Likewise.
6638         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6639         (WRAPPER_IMPL_AVX): Likewise.
6640         (WRAPPER_IMPL_AVX_ff): Likewise.
6641         (WRAPPER_IMPL_AVX_fFF): Likewise.
6642         (WRAPPER_IMPL_AVX512): Likewise.
6643         (WRAPPER_IMPL_AVX512_ff): Likewise.
6644         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6645         Likewise.
6646         (WRAPPER_IMPL_SSE2_ff): Likewise.
6647         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6648         (WRAPPER_IMPL_AVX): Likewise.
6649         (WRAPPER_IMPL_AVX_ff): Likewise.
6650         (WRAPPER_IMPL_AVX_fFF): Likewise.
6651         (WRAPPER_IMPL_AVX512): Likewise.
6652         (WRAPPER_IMPL_AVX512_ff): Likewise.
6653         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6655 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6657         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6658         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6659         qualifier.
6660         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6661         internal_function qualifiers.
6663 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6665         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6666         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6667         * math/atest-exp.c (exp_mpn): Mark chk unused.
6668         * math/atest-exp2.c (exp_mpn): Likwise.
6669         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6670         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6672 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6675         Remove macro.
6676         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6677         <kernel-features.h>.
6678         [__NR_ppoll]: Make code unconditional.
6679         [!__ASSUME_PPOLL]: Remove conditional code.
6681         * sysdeps/unix/sysv/linux/kernel-features.h
6682         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6683         (__ASSUME_ACCEPT4): Likewise.
6684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6685         Define.
6686         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6687         Likewise.
6688         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6689         Likewise.
6690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6691         Likewise.
6692         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6693         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6694         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6695         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6696         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6698         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6699         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6700         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6701         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6702         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6703         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6706         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6707         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6708         Likewise.
6709         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6710         Likewise.
6711         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6712         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6713         0x040300].
6714         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6715         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6716         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6717         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6718         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6719         0x030300].
6720         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6721         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6722         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6723         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6724         0x040300].
6725         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6726         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6727         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6728         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6729         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6730         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6731         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6732         0x030300].
6733         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6734         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6735         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6736         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6737         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6738         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6739         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6741         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6742         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6743         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6744         0x040300].
6745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6746         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6747         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6748         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6749         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6751         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6752         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6753         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6754         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6756         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6757         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6759         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6760         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6762         Likewise.
6763         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6764         Likewise.
6766 2016-03-15  Andreas Schwab  <schwab@suse.de>
6768         [BZ #19257]
6769         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6770         statp->_u._ext.nscount as loop count.
6772 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6774         * math/test-signgam-finite-c99.c: Also #undef
6775         __LIBC_INTERNAL_MATH_INLINES.
6776         * math/test-signgam-main.c: Likewise.
6778 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6780         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6781         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6782         (MADV_FREE): Likewise.
6783         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6784         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6785         EPOLLEXCLUSIVE.
6787 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6789         * timezone/README: Remove mention of checktab.awk. Mention wiki
6790         SharedSourceFiles.
6792 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6794         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6795         WUNTRACED.
6797 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6799         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6800         order to match the type of p when calling atomic_exchange_acq().
6802 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6804         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6805         cfi_offset calls.
6806         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6807         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6808         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6809         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6810         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6812 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6814         * timezone/checktab.awk: Removed.
6816 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6818         * manual/math.texi (Errors in Math Functions): Document relaxed
6819         accuracy goals for IBM long double.
6820         * math/libm-test.inc (test_exceptions): Always allow spurious
6821         "underflow" and "inexact" exceptions for IBM long double.
6823 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6825         [BZ #19762]
6826         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6827         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6828         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6829         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6830         (bit_arch_*): This for feature array.
6831         (bit_*): Renamed to ...
6832         (bit_cpu_*): This for cpu array.
6833         (index_*): Renamed to ...
6834         (index_arch_*): This for feature array.
6835         (index_*): Renamed to ...
6836         (index_cpu_*): This for cpu array.
6837         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6838         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6839         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6840         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6841         bit_##name with index_cpu_##name and bit_cpu_##name.
6842         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6843         bit_##name with index_arch_##name and bit_arch_##name.
6845 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6847         [BZ #19792]
6848         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6849         Terminate FDE before return label.
6851 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6853         [BZ #19790]
6854         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6855         (rintl): Define as macro.
6856         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6857         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6858         of fesetround.  Ensure results are evaluated before end of scope.
6859         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6860         USE_AS_NEARBYINTL and include s_rintl.c.
6861         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6862         Disable exception traps in new environment.
6863         (libc_feholdsetround_ppc_ctx): Likewise.
6865 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6867         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6868         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6869         (tst_audit10_aux) [__AVX512F__]: ... here.
6871 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6873         * include/sys/auxv.h: New file.
6875 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6877         [BZ #19759]
6878         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6880 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6882         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6883         operand modifier.
6884         (feclearexcept): Likewise.
6886 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6888         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6889         to reflect the entire 32-bit HWCAP.
6890         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6891         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6893 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6895         [BZ #19783]
6896         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6897         $(test-via-rtld-prefix).
6898         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6900 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6902         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6903         union wait.  Report any non-zero exit status as error.
6905 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6907         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6908         configured with --enable-hardcoded-path-in-tests.
6910 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6912         [BZ #19677]
6913         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6914         (__ieee754_remainderl): Put zero low parts in canonical form.
6915         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6916         file.  Based on
6917         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6918         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6919         with wrapper round test-fmodrem-ldbl-128ibm.c.
6920         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6921         file.
6922         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6923         Likewise.
6924         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6925         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6927 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6929         [BZ #19610]
6930         * elf/ldconfig.c (opt_link): Update comment.
6931         (options): Update help string for option -X.
6932         (search_dir): Unlink stale symbolic link only if updating symbolic
6933         links.
6934         * elf/tst-ldconfig-X.sh: New file.
6935         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6936         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6938 2016-03-07  Andreas Schwab  <schwab@suse.de>
6940         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6941         needed arguments.
6943 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6945         [BZ #15333]
6946         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6947         to lstat64.
6949 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6951         * libio/filedoalloc.c (isatty): Remove.
6952         (local_isatty): Add comment.  Call __isatty directly.
6953         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6954         * libio/wfiledoalloc.c (isatty): Remove.
6955         (_IO_wfile_doallocate): Update comment.
6957 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6959         [BZ #19269]
6960         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6961         tst-audit4-aux.o.
6962         (tst-audit10): Depend on tst-audit10-aux.o.
6963         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6964         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6965         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6966         instead of inline AVX code.
6967         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6968         instead of inline AVX512 code.
6969         * sysdeps/x86_64/tst-audit4-aux.c: New file
6970         * sysdeps/x86_64/tst-audit10-aux.c: New file
6972         [BZ #19648]
6973         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6975 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6977         [BZ #14750]
6978         [BZ #10354]
6979         [BZ #18433]
6980         * include/sched.h (__clone): Add hidden prototype.
6981         (__clone2): Likewise.
6982         * include/unistd.h (__dup): Likewise.
6983         * posix/Makefile (tests): Add tst-spawn2.
6984         * posix/tst-spawn2.c: New file.
6985         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6986         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6987         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6988         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6989         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6990         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6991         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6992         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6993         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6994         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6995         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6997         Likewise.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6999         Likewise.
7000         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7001         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7002         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7003         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7004         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7005         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7006         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7007         * sysdeps/unix/sysv/linux/nptl-signals.h
7008         (____nptl_is_internal_signal): New function.
7009         * sysdeps/unix/sysv/linux/spawni.c: New file.
7011         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7012         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7013         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7014         * posix/tst-execvp2.c (do_test): Likewise.
7015         * posix/tst-execvp3.c (do_test): Likewise.
7016         * posix/tst-execvp4.c (do_test): Likewise.
7017         * posix/tst-execvpe1.c: New file.
7018         * posix/tst-execvpe2.c: Likewise.
7019         * posix/tst-execvpe3.c: Likewise.
7020         * posix/tst-execvpe4.c: Likewise.
7021         * posix/tst-execvpe5.c: Likewise.
7022         * posix/tst-execvpe6.c: Likewise.
7024         [BZ #19534]
7025         * posix/execl.c (execl): Remove dynamic memory allocation.
7026         * posix/execle.c (execle): Likewise.
7027         * posix/execlp.c (execlp): Likewise.
7029 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7031         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7032         Replace .text with .text.avx512.
7033         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7034         Likewise.
7036 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7038         * sysdeps/generic/libnsl.abilist: New file.
7039         * sysdeps/generic/libutil.abilist: New file.
7041 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7043         [BZ #19762]
7044         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7045         HAS_ARCH_FEATURE with Fast_Rep_String.
7046         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7047         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7048         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7049         Likewise.
7050         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7051         Likewise.
7052         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7053         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7054         Likewise.
7055         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7056         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7057         Likewise.
7059 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7061         [BZ #19745]
7062         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7063         with *%rax in call.
7065 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7067         [BZ #19745]
7068         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7069         with *__libc_start_main@GOTPCREL(%rip) in call.
7071 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7073         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7074         inside conditional for nonempty $(CXX).
7076         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7077         nonempty.
7079         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7080         to test for empty $(CXX) rather than $(CXX) of "no".
7082 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7084         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7086 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7087             H.J. Lu  <hongjiu.lu@intel.com>
7089         [BZ #18880]
7090         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7091         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7092         enable __memcpy_ssse3_back.
7094 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7096         [BZ #19758]
7097         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7098         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7100 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7102         [BZ #19490]
7103         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7104         (__fentry__): Likewise.
7106 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7108         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7109         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7111 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7113         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7114         __mcount_internal directly.
7115         (C_LABEL(__fentry__)): Likewise.
7116         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7117         directly.
7119 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7121         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7122         (__start_context): Call __setcontext directly.
7124 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7126         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7127         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7128         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7129         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7131         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7132         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7133         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7134         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7135         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7136         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7137         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7138         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7139         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7140         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7142         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7143         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7144         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7145         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7146         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7147         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7148         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7149         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7150         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7151         Remove conditional code.
7152         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7153         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7154         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7155         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7156         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7157         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7158         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7159         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7160         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7161         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7162         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7163         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7165 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7167         * NEWS (2.23): Fix typo in bug 19048 text.
7169 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7171         [BZ #14259]
7172         * Makeconfig: Rename msgcatdir to localedir.
7173         Rename inst_msgcatdir to inst_localedir.
7174         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7175         * config.make.in: Add localedir.
7176         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7177         (ldd-rewrite): Likewise.
7178         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7179         (install-others): Use inst_localedir.
7180         (CPPFLAGS): Use localedir.
7181         * locale/Makefile (locale-CPPFLAGS): Likewise.
7182         * po/Makefile (mo-installed): Use inst_localedir.
7184         [BZ #19575]
7185         * localedata/charmaps/GB18030: Update comments regarding PAU to
7186         non-PUA mappings.
7188 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7190         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7191         test for header.
7192         * sysdeps/unix/sysv/linux/configure: Regenerated.
7193         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7194         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7195         Remove conditional code.
7196         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7198         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7199         Define to 3.2.0.
7200         (arch_minimum_kernel): Likewise.
7201         * sysdeps/unix/sysv/linux/configure: Regenerated.
7202         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7203         Define to 2.6.32.
7204         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7205         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7206         (arch_minimum_kernel): Define to 2.6.32.
7207         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7208         * README: Document Linux 3.2 requirement.
7209         * manual/install.texi (Linux): Document Linux 3.2 headers
7210         requirement.
7211         * INSTALL: Regenerated.
7213 2016-02-24  Andreas Schwab  <schwab@suse.de>
7215         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7216         if !NO_LONG_DOUBLE.
7218 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7220         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7221         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7223 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7225         [BZ #19512]
7226         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7228 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7230         * posix/tst-dir.c: Include libc-internal.h.
7232 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7234         [BZ #19056]
7235         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7236         * manual/filesys.texi (Reading/Closing Directory): Mention
7237         deprecaion.
7238         * posix/tst-dir.c (main): Disable deprecation warning in test.
7240 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7242         [BZ #19679]
7243         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7244         Renamed to ...
7245         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7246         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7247         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7248         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7249         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7250         * sysdeps/x86_64/dl-trampoline.h
7251         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7252         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7254 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7256         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7258 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7260         * elf/elf.h (R_386_GOT32X): New.
7261         (R_386_NUM): Update.
7262         (R_X86_64_GOTPCRELX: New.
7263         (R_X86_64_REX_GOTPCRELX): New.
7264         (R_X86_64_NUM): Update.
7266 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7268         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7270 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7272         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7273         assign attr->stackaddr to it, and adjust it down when
7274         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7275         [_STACK_GROWS_UP]: Delete assert.
7276         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7277         Implement stack grows up logic.
7278         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7279         stack grows up logic.
7281 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7283         * NEWS: Update with 2.24 template.
7285 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7287         [BZ #19678]
7288         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7289         Ensure +0.0 is returned when taking the next value below the least
7290         positive value.
7292 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7294         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7295         available.  Do not define NO_THREADS.
7296         * malloc/malloc.c: Do not check NO_THREADS.
7297         * malloc/arena.c: Likewise.
7299 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7301         * malloc/malloc.c (__libc_mallinfo): Update comment.
7302         (struct malloc_par): Remove max_total_mem member, it was always 0.
7303         (int_mallinfo): Store 0 into usmblks (no functional change).
7304         * malloc/hooks.c (struct malloc_state): Document that
7305         max_total_mem is always 0.
7306         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7307         always 0.
7308         * manual/memory.texi (Statistics of Malloc): Likewise.
7310 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7312         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7313         * malloc/arena.c (arena_max): Remove.
7314         (heap_trim, _int_new_arena): Do not update arena_max.
7316 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7318         * resolv/res_init.c (res_ninit): Update comment.
7320 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7322         [BZ #19505]
7323         * posix/spawn_int.h: Add headers and include guard.
7324         (__spawn_valid_fd): New function.
7325         * posix/spawn_faction_addopen.c
7326         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7327         * posix/spawn_faction_addclose.c
7328         (posix_spawn_file_actions_addclose): Likewise.
7329         * posix/spawn_faction_adddup2.c
7330         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7331         second file descriptor.
7332         * posix/spawn_valid_fd.c: New file.
7333         * posix/tst-posix_spawn-fd.c: New file.
7334         * posix/Makefile (routines): Add spawn_valid_fd.
7335         (tests): Add tst-posix_spawn-fd.
7337 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7339         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7340         (do_test): Limit the number of arenas, so that we can use fewer
7341         outer threads.  Limit timeout to 3 seconds, in preparation for a
7342         larger TIMEOUT value.
7344 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7346         [BZ #19674]
7347         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7348         sign in overflowing and underflowing results when overflow or
7349         underflow is detected early.  Include sign in result before rather
7350         than after scaling.
7352         [BZ #19603]
7353         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7354         (__ieee754_remainderl): Adjust sign of integer version of low part
7355         when taking absolute value of high part.
7356         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7357         * math/libm-test.inc (remainder_test_data): Add another test.
7358         (remquo_test_data): Likewise.
7360 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7362         [BZ #19602]
7363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7364         equal high parts and both low parts zero specially.
7365         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7366         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7367         Add test-fmodl-ldbl-128ibm.
7369         [BZ #19595]
7370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7371         common logic for all cases of shifting subnormal results.  Do not
7372         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7373         exponent to ldbl_insert_mantissa in subnormal case.
7375         [BZ #19594]
7376         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7377         on high and low parts then adjust result and use
7378         ldbl_canonicalize_int if needed.
7380         [BZ #19593]
7381         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7382         on high part and __floor or __ceil on low part then use
7383         ldbl_canonicalize_int if needed.
7385         [BZ #19592]
7386         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7387         high and low parts then use ldbl_canonicalize_int if needed.
7389         [BZ #17899]
7390         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7391         New function.
7392         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7393         on high and low parts then use ldbl_canonicalize_int if needed.
7395 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7397         * configure: Regenerated.
7399         * po/libc.pot: Regenerated.
7401         * po/be.po: Updated translation.
7402         * po/bg.po: Likewise.
7403         * po/ca.po: Likewise.
7404         * po/cs.po: Likewise.
7405         * po/da.po: Likewise.
7406         * po/el.po: Likewise.
7407         * po/eo.po: Likewise.
7408         * po/es.po: Likewise.
7409         * po/fi.po: Likewise.
7410         * po/fr.po: Likewise.
7411         * po/gl.po: Likewise.
7412         * po/hr.po: Likewise.
7413         * po/hu.po: Likewise.
7414         * po/ia.po: Likewise.
7415         * po/id.po: Likewise.
7416         * po/it.po: Likewise.
7417         * po/ja.po: Likewise.
7418         * po/lt.po: Likewise.
7419         * po/nb.po: Likewise.
7420         * po/nl.po: Likewise.
7421         * po/pt_BR.po: Likewise.
7422         * po/rw.po: Likewise.
7423         * po/sk.po: Likewise.
7424         * po/sl.po: Likewise.
7425         * po/sv.po: Likewise.
7426         * po/tr.po: Likewise.
7427         * po/zh_CN.po: Likewise.
7428         * po/zh_TW.po: Likewise.
7430         * version.h (RELEAES): Set to "development".
7431         (VERSION): Set to 2.23.90.
7433         * version.h (RELEASE): Set to "stable".
7434         (VERSION): Set to 2.23.
7435         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7437         * NEWS: Updated fixed bugs.
7439 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7440             Wilco Dijkstra  <wdijkstr@arm.com>
7442         [BZ #19462]
7443         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7444         (_STRING_INLINE_unaligned): This.
7445         * include/string.h: Include <string_private.h>.
7446         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7447         _STRING_INLINE_unaligned.
7448         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7449         (_STRING_INLINE_unaligned): New.
7450         * sysdeps/aarch64/string_private.h: New file.
7451         * sysdeps/generic/string_private.h: Likewise.
7452         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7453         * sysdeps/s390/string_private.h: Likewise.
7454         * sysdeps/x86/string_private.h: Likewise.
7455         * sysdeps/m68k/m680x0/m68020/bits/string.h
7456         (_STRING_ARCH_unaligned): Renamed to ...
7457         (_STRING_INLINE_unaligned): This.
7458         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7459         to ...
7460         (_STRING_INLINE_unaligned): This.
7461         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7462         to ...
7463         (_STRING_INLINE_unaligned): This.
7464         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7465         to ...
7466         (_STRING_INLINE_unaligned): This.
7468 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7469             H.J. Lu  <hongjiu.lu@intel.com>
7471         [BZ #19590]
7472         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7473         relocation.
7475 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7477         [BZ #18665]
7478         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7479         *herrno_p.
7480         (gaih_getanswer): Document functional behviour. Return tryagain
7481         if any result is tryagain.
7482         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7483         when freed.
7484         * resolv/res_send.c: Add copyright text.
7485         (__libc_res_nsend): Document that MAXPACKET is expected.
7486         (send_vc): Document. Remove buffer reuse.
7487         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7488         size of the buffer. Add Dprint for truncated UDP buffer.
7490 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7492         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7493         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7494         * INSTALL: Regenerate.
7496 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7497             Jonathan Wakely  <jwakely@redhat.com>
7498             Carlos O'Donell  <carlos@redhat.com>
7500         [BZ 19439]
7501         * math/Makefile (tests): Add test-math-isinff.
7502         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7503         * math/bits/mathcalls.h [__USE_MISC]: Use
7504         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7505         functions not in C++11 and which don't conflict e.g. isinff,
7506         isinfl etc.
7507         * math/test-math-isinff.cc: New file.
7509 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7511         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7513 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7515         [BZ #19529]
7516         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7518 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7520         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7522 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7524         [BZ #19550]
7525         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7526         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7527         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7528         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7529         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7530         New syscall entry.
7531         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7532         New syscall entry.
7533         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7534         syscall entry.
7536 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7538         [BZ #18240]
7539         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7540         unsigned int wraparound.
7542 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7544         [BZ #18240]
7545         * misc/bug18240.c: New test.
7546         * misc/Makefile (tests): Add it.
7548 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7549             Joseph Myers  <joseph@codesourcery.com>
7551         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7552         load in branch delay slot when less than a word of input left.
7554 2016-01-27  Andreas Schwab  <schwab@suse.de>
7556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7557         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7558         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7559         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7561 2016-01-26  David S. Miller  <davem@davemloft.net>
7563         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7565 2016-01-25  David S. Miller  <davem@davemloft.net>
7567         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7568         __sqrtl_finite.
7569         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7570         instead using versioned_symbol.
7571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7572         of entries.
7574         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7575         __sqrtl_finite to GLIBC_2.23
7577 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7579         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7581 2016-01-25  Andreas Schwab  <schwab@suse.de>
7583         [BZ #17514]
7584         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7585         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7586         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7587         * nptl/tst-mutex-errorcheck.c: New file.
7589 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7591         [BZ #18560]
7592         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7593         (IPCOP_semop): Likewise.
7594         (IPCOP_semget): Likewise.
7595         (IPCOP_semctl): Likewise.
7596         (IPCOP_msgsnd): Likewise.
7597         (IPCOP_msgrcv): Likewise.
7598         (IPCOP_msgget): Likewise.
7599         (IPCOP_msgctl): Likewise.
7600         (IPCOP_shmat): Likewise.
7601         (IPCOP_shmdt): Likewise.
7602         (IPCOP_shmget): Likewise.
7603         (IPCOP_shmctl): Likewise.
7605 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7607         * string/tst-endian.c: Include <libc-internal.h>.
7608         (do_test): Ignore tautological-compare warnings around
7609         "htobeXX (beXXtoh (i)) != i" and
7610         "htoleXX (leXXtoh (i)) != i" if-statements.
7612 2016-01-24  David S. Miller  <davem@davemloft.net>
7614         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7615         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7616         alias.
7617         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7618         __sqrtl_finite.
7620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7622 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7624         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7625         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7626         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7628 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7630         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7631         (thread_func): Use new function to simplify barrier check.
7632         (do_test): Use new function to simplify checking barrier exit
7633         code, and actually join the child thread.
7635 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7637         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7638         semicolon.
7639         (__libc_tend): Likewise.
7640         (__libc_tabort): Likewise.
7642 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7644         * sysdeps/nios2/libm-test-ulps: Update.
7645         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7646         (__gtsf2): Likewise.
7647         (__unorddf2): Likewise.
7648         (__unordsf2): Likewise.
7649         (__ledf2): Likewise.
7651 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7653         * nis/nis_table.c (__follow_path): Disable diagnostic for
7654         uninitialized variable that is a false positive for gcc 4.7.
7655         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7657 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7659         * sysdeps/nacl/lowlevellock-futex.h
7660         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7661         Always evaluate PRIVATE argument.
7663 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7665         [BZ #19490]
7666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7667         (pthread_cond_broadcast): Use ENTRY/END
7668         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7669         (pthread_cond_signal): Likewise.
7670         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7671         Likewise.
7672         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7673         Likewise.
7674         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7675         Likewise.
7677 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7679         * sysdeps/ieee754/dbl-64/s_finite.c
7680         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7681         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7682         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7683         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7684         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7687         (__gtsf2): Add as optional for libc.so.
7688         (__unordsf2): Likewise.
7689         (__signbit): Remove for libc.so.
7690         (__signbitl): Likewise.
7692 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7694         * iconvdata/bug-iconv11.c (test_ibm93x):
7695         Use %zu printf format specifier for size_t argument.
7697 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7699         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7700         already-recorded ulps.
7701         * sysdeps/arm/libm-test-ulps: Regenerated.
7702         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7703         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7704         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7706 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7707             Paul Pluzhnikov  <ppluzhnikov@google.com>
7709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7710         assembler not supporting AVX-512.
7712 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7714         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7716 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7718         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7719         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7721         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7723         * sysdeps/arm/libm-test-ulps: Regenerated.
7725 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7727         [BZ #19451]
7728         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7730 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7732         [BZ #19486]
7733         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7734         * sysdeps/generic/fix-fp-int-convert-overflow.h
7735         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7736         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7737         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7738         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7739         Likewise.
7740         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7741         Avoid conversions to long int where inexact exceptions
7742         could be raised.
7743         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7744         Likewise.
7745         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7746         Avoid conversions to long long int where inexact exceptions
7747         could be raised.
7748         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7749         Likewise.
7751 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7753         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7754         * configure: Regenerated.
7756 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7758         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7760 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7762         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7763         outside of comment.
7765 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7767         * nptl/tst-barrier1.c: Add description on first line.
7768         * nptl/tst-barrier2.c: Likewise.
7769         * nptl/tst-barrier3.c: Likewise.
7770         * nptl/tst-barrier4.c: Likewise.
7771         * nptl/tst-barrier5.c: Likewise.
7773 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7775         [BZ #18868]
7776         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7778 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7782         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7783         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7784         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7785         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7786         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7787         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7788         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7789         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7792 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7794         [BZ #13065]
7795         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7796         new implementation.
7797         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7798         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7799         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7800         (BARRIER_IN_THRESHOLD): New macro.
7801         * nptl/pthread_barrierattr_setpshared.c
7802         (pthread_barrierattr_setpshared): Clean up.
7803         * nptl/tst-barrier4.c: Correct comment.
7804         * nptl/tst-barrier5.c: New file.
7805         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7806         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7807         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7808         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7809         * nptl/lowlevelbarrier.sym: Remove.
7810         * nptl/DESIGN-barrier.txt: Remove.
7811         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7812         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7813         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7814         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7815         error.
7816         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7817         implementation.
7819 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7821         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7822         (do_child): Mask SIGRTMIN while thr is running.
7824 2016-01-15  Martin Sebor  <msebor@redhat.com>
7826         [BZ #19432]
7827         * iconvdata/Makefile: Add bug-iconv11.
7828         * iconvdata/bug-iconv11.c: New test.
7829         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7830         * iconvdata/ibm933.c: Same.
7831         * iconvdata/ibm935.c: Same.
7832         * iconvdata/ibm937.c: Same.
7833         * iconvdata/ibm939.c: Same.
7835 2016-01-15  Martin Sebor  <msebor@redhat.com>
7837         [BZ #19443]
7838         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7839         [DEBUG] (_ufc_set_bits): Declare used.
7840         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7841         [DEBUG] (print_all): Declare used.
7842         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7843         operands of the ternary ?: expression to target type.
7844         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7845         calling the undeclared abort.
7846         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7848 2016-01-15  Martin Sebor  <msebor@redhat.com>
7850         [BZ #18755]
7851         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7852         warnings.
7853         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7854         (__gai_create_helper_thread): Same.
7855         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7856         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7857         to suppress -Wmaybe-uninitialized warnings.
7859 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7861         [BZ #19465]
7862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7863         inside if.
7864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7868 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7870         [BZ #19466]
7871         * time/tst-mktime2.c (time_t_max): Removed.
7872         (time_t_min): Likewise.
7873         (TYPE_SIGNED): New.
7874         (TYPE_MINIMUM): Likewise.
7875         (TYPE_MAXIMUM): Likewise.
7876         (TIME_T_MIN): Likewise.
7877         (TIME_T_MAX): Likewise.
7878         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7879         and TIME_T_MIN.
7880         (do_test): Likewise.
7882 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7884         [BZ #19467]
7885         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7886         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7888 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7890         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7892 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7894         * benchtests/Makefile (PYTHON): Define.
7895         (bench-func): Use $(PYTHON) to run python scripts.
7896         ($(objpfx)bench-%.c): Likewise.
7898 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7900         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7901         leading slash when `file_name' is "/".
7903 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7905         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7906         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7907         Likewise.
7908         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7909         Likewise.
7910         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7911         Likewise.
7912         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7913         enum constant and macro.
7914         (PTRACE_SETSIGMASK): Likewise.
7915         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7916         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7917         (PTRACE_GETSIGMASK): Likewise.
7918         (PTRACE_SETSIGMASK): Likewise.
7919         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7920         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7921         Likewise.
7922         (PTRACE_SETSIGMASK): Likewise.
7923         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7924         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7925         (PTRACE_GETSIGMASK): Likewise.
7926         (PTRACE_SETSIGMASK): Likewise.
7927         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7928         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7929         Likewise.
7930         (PTRACE_SETSIGMASK): Likewise.
7931         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7932         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7933         Likewise.
7934         (PTRACE_SETSIGMASK): Likewise.
7935         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7936         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7937         Likewise.
7938         (PTRACE_SETSIGMASK): Likewise.
7939         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7941 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7942             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7944         [BZ #19439]
7945         * math/bits/mathcalls.h
7946         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7947         prototype.
7948         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7950 2016-01-11  Andreas Schwab  <schwab@suse.de>
7952         [BZ #19253]
7953         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7954         cache when TZDEFRULES was used.
7955         * time/tst-tzname.c: New file.
7956         * time/Makefile (test): Add tst-tzname.
7957         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7958         * timezone/Makefile (test-zones): Add $(posixrules-file).
7959         ($(testdata)/$(posixrules-file)): New rule.
7961 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7963         Fix doc quoting problems with Texinfo 5
7964         Without this change, in the info file output, Texinfo 5 quotes code
7965         in text with undirected single quotes 'like this' and generates
7966         code examples that with many PDF readers cannot be cut out of PDFs
7967         and pasted into code.
7968         * manual/libc.texinfo: Configure the libc manual like the GNU
7969         Emacs manual, by using @documentencoding and setting
7970         txicodequoteundirected and txicodequotebacktick.  This way,
7971         Texinfo 5 quotes code in text with directed single quotes ‘like
7972         this’ and produces examples that can be cut out of PDFs.  This
7973         change causes Texinfo 5 to generate info files that contain UTF-8
7974         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7975         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7977 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7979         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7980         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7981         barriers to their respective compiler built-ins.
7982         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7983         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7984         * sysdeps/powerpc/sysdep.h: Likewise.
7985         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7986         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7987         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7989 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7991         * scripts/config.guess: Revert previous shebang change.
7992         * scripts/config.sub: Likewise.
7993         * scripts/mkinstalldirs: Likewise.
7995 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7997         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7998         PPC_FEATURE2_HAS_IEEE128.
7999         * sysdeps/powerpc/dl-procinfo.c:
8000         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8002 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8004         [BZ #19415]
8005         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8006         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8007         (_dl_lookup_address): Rewrite using function resolver trampoline.
8008         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8009         two bits in address.
8011 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8013         * longlong.h: Change !__SHMEDIA__ to
8014         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8015         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8017 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8018             Joseph Myers  <joseph@codesourcery.com>
8019             Mark Shinwell  <shinwell@codesourcery.com>
8020             Andrew Stubbs  <ams@codesourcery.com>
8021             Rich Felker <dalias@libc.org>
8023         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8025 2016-01-07  Richard Henderson  <rth@redhat.com>
8027         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8029 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8031         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8032         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8033         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8034         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8035         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8037 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8038             Joseph Myers  <joseph@codesourcery.com>
8040         * timezone/private.h: Update from tzcode 2015g.
8041         * timezone/tzfile.h: Likewise.
8042         * timezone/tzselect.ksh: Likewise.
8043         * timezone/zdump.c: Likewise.
8044         * timezone/zic.c: Likewise.
8045         * timezone/ialloc.c: Remove file.
8046         * timezone/scheck.c: Likewise.
8047         * timezone/Makefile (extra-objs): Remove variable.
8048         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8049         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8050         -Wno-maybe-uninitialized.
8051         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8052         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8053         (CFLAGS-ialloc.c): Remove variable.
8054         (CFLAGS-scheck.c): Likewise.
8055         * timezone/README: Update list of files from tzcode.
8057 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8059         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8060         instead of __fxprintf when _LIBC is undefined.
8062 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8064         * catgets/test-gencat.sh: Remove space after shebang.
8065         * conform/GlibcConform.pm: Likewise.
8066         * conform/check-header-lists.sh: Likewise.
8067         * conform/conformtest.pl: Likewise.
8068         * conform/linknamespace.pl: Likewise.
8069         * conform/list-header-symbols.pl: Likewise.
8070         * debug/catchsegv.sh: Likewise.
8071         * elf/genrtldtbl.awk: Likewise.
8072         * elf/tst-pathopt.sh: Likewise.
8073         * elf/tst-rtld-load-self.sh: Likewise.
8074         * grp/tst_fgetgrent.sh: Likewise.
8075         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8076         * iconvdata/gen-8bit-gap.sh: Likewise.
8077         * iconvdata/gen-8bit.sh: Likewise.
8078         * iconvdata/run-iconv-test.sh: Likewise.
8079         * intl/tst-gettext.sh: Likewise.
8080         * intl/tst-gettext2.sh: Likewise.
8081         * intl/tst-gettext4.sh: Likewise.
8082         * intl/tst-gettext6.sh: Likewise.
8083         * intl/tst-translit.sh: Likewise.
8084         * io/ftwtest-sh: Likewise.
8085         * libio/test-freopen.sh: Likewise.
8086         * locale/gen-translit.pl: Likewise.
8087         * malloc/tst-mtrace.sh: Likewise.
8088         * manual/check-safety.sh: Likewise.
8089         * manual/libc-texinfo.sh: Likewise.
8090         * manual/tsort.awk: Likewise.
8091         * manual/xtract-typefun.awk: Likewise.
8092         * nptl/tst-cancel-wrappers.sh: Likewise.
8093         * nptl/tst-tls6.sh: Likewise.
8094         * posix/globtest.sh: Likewise.
8095         * posix/tst-getconf.sh: Likewise.
8096         * posix/wordexp-tst.sh: Likewise.
8097         * scripts/check-c++-types.sh: Likewise.
8098         * scripts/check-local-headers.sh: Likewise.
8099         * scripts/config.guess: Likewise.
8100         * scripts/config.sub: Likewise.
8101         * scripts/cpp: Likewise.
8102         * scripts/cross-test-ssh.sh: Likewise.
8103         * scripts/documented.sh: Likewise.
8104         * scripts/evaluate-test.sh: Likewise.
8105         * scripts/gen-libc-abis: Likewise.
8106         * scripts/gen-sorted.awk: Likewise.
8107         * scripts/list-fixed-bugs.py: Likewise.
8108         * scripts/merge-test-results.sh: Likewise.
8109         * scripts/mkinstalldirs: Likewise.
8110         * scripts/rellns-sh: Likewise.
8111         * scripts/test-installation.pl: Likewise.
8112         * scripts/update-copyrights: Likewise.
8113         * stdio-common/tst-printf.sh: Likewise.
8114         * stdio-common/tst-unbputc.sh: Likewise.
8115         * stdlib/tst-fmtmsg.sh: Likewise.
8116         * stdlib/tst-setcontext3.sh: Likewise.
8117         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8118         * sysdeps/unix/make-syscalls.sh: Likewise.
8120 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8122         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8123         asm stw with atomic_exchange_rel.  Add explanatory comment.
8124         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8125         Likewise.
8127 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8129         [BZ #19122]
8130         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8131         * sysdeps/generic/dl-unistd.h: New file.
8132         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8134 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8136          [BZ #19122]
8137          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8138          * sysdeps/generic/dl-mman.h: New file.
8139          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8141 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8143         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8144         trailing whitespace removed.
8145         * scripts/config.guess: Update to version 2016-01-01.
8146         * scripts/config.sub: Update to version 2016-01-01.
8147         * scripts/move-if-change: Update from gnulib.
8149 2016-01-04  Anton Blanchard  <anton@samba.org>
8151         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8152         for array indices.
8153         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8155 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8157         * NEWS: Update copyright dates.
8158         * catgets/gencat.c (print_version): Likewise.
8159         * csu/version.c (banner): Likewise.
8160         * debug/catchsegv.sh: Likewise.
8161         * debug/pcprofiledump.c (print_version): Likewise.
8162         * debug/xtrace.sh (do_version): Likewise.
8163         * elf/ldconfig.c (print_version): Likewise.
8164         * elf/ldd.bash.in: Likewise.
8165         * elf/pldd.c (print_version): Likewise.
8166         * elf/sotruss.sh: Likewise.
8167         * elf/sprof.c (print_version): Likewise.
8168         * iconv/iconv_prog.c (print_version): Likewise.
8169         * iconv/iconvconfig.c (print_version): Likewise.
8170         * locale/programs/locale.c (print_version): Likewise.
8171         * locale/programs/localedef.c (print_version): Likewise.
8172         * login/programs/pt_chown.c (print_version): Likewise.
8173         * malloc/memusage.sh (do_version): Likewise.
8174         * malloc/memusagestat.c (print_version): Likewise.
8175         * malloc/mtrace.pl: Likewise.
8176         * manual/libc.texinfo: Likewise.
8177         * nptl/version.c (banner): Likewise.
8178         * nscd/nscd.c (print_version): Likewise.
8179         * nss/getent.c (print_version): Likewise.
8180         * nss/makedb.c (print_version): Likewise.
8181         * posix/getconf.c (main): Likewise.
8182         * scripts/test-installation.pl: Likewise.
8183         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8185         * All files with FSF copyright notices: Update copyright dates
8186         using scripts/update-copyrights.
8187         * intl/plural.c: Regenerated.
8188         * locale/programs/charmap-kw.h: Likewise.
8189         * locale/programs/locfile-kw.h: Likewise.
8191 2016-01-02  Helge Deller  <deller@gmx.de>
8193         [BZ #19285]
8194         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8195         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8196         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8197         (MADV_xxK_PAGES): Remove.
8199 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8201         [BZ #15421]
8202         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8203         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8204         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8205         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8207 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8209         [BZ #19408]
8210         * sysdeps/unix/sysv/linux/personality.c: New file.
8211         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8212         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8213         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8214         (sysdep_routines): Add personality.
8215         (tests): Add tst-personality.
8216         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8218         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8219         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8220         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8221         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8222         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8223         Likewise.
8224         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8225         Likewise.
8226         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8227         Likewise.
8228         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8229         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8230         Likewise.
8232 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8234         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8235         (PATH_ARM_SYSTYPE): Remove.
8236         (PATH_CPUINFO): Likewise.
8237         (IO_BASE_FOOTBRIDGE): Likewise.
8238         (IO_SHIFT_FOOTBRIDGE): Likewise.
8239         (struct platform): Likewise.
8240         (init_iosys): Remove compatibility code for 2.4 kernels.
8241         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8243 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8245         * malloc/tst-malloc-thread-fail.c: New file.
8246         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8247         (tst-malloc-thread-fail): Link against libpthread.
8249 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8251         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8252         (get_parser): New function.
8253         (main): New function.
8255 2015-12-29  Rob Wu  <rob@robwu.nl>
8257         [BZ #19369]
8258         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8260 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8262         [BZ #19270]
8263         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8265 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8267         [BZ #15421]
8268         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8270 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8272         [BZ #13690]
8273         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8274         after releasing it.
8275         (__lll_robust_unlock): Likewise.
8276         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8277         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8278         (lll_robust_unlock): Likewise.
8279         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8280         Prevent warnings in callers.
8282 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8284         * malloc/arena.c (list_lock): Update comment.
8286 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8288         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8289         __parse_hwcap_and_convert_at_platform to libc.a.
8291 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8293         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8294         platform and feature support for POWER9.
8295         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8296         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8297         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8298         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8299         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8300         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8301         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8302         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8304 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8306         Harmonize generic stdio-lock support with nptl
8308         This fixes build when _IO_funlockfile is a macro, fixes build where
8309         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8310         stack unwind.
8312         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8313         _IO_release_lock ): Use cleanup attribute on new
8314         _IO_acquire_lock_file variable instead of assuming that
8315         _IO_release_lock will be called.
8316         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8317         _IO_acquire_lock_needs_exceptions_enabled.
8318         (_IO_acquire_lock_clear_flags2): New macro.
8320 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8322         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8324 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8326         [BZ #19182]
8327         * malloc/arena.c (list_lock): Document lock ordering requirements.
8328         (free_list_lock): New lock.
8329         (ptmalloc_lock_all): Comment on free_list_lock.
8330         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8331         (detach_arena): Update comment.  free_list_lock is now needed.
8332         (_int_new_arena): Use free_list_lock around detach_arena call.
8333         Acquire arena lock after list_lock.  Add comment, including FIXME
8334         about incorrect synchronization.
8335         (get_free_list): Switch to free_list_lock.
8336         (reused_arena): Acquire free_list_lock around detach_arena call
8337         and attached threads counter update.  Add two FIXMEs about
8338         incorrect synchronization.
8339         (arena_thread_freeres): Switch to free_list_lock.
8340         * malloc/malloc.c (struct malloc_state): Update comments to
8341         mention free_list_lock.
8343 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8345         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8346         Remove functions.
8347         (sloww, sloww1): Accept argument to offset quadrant.
8348         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8349         quadrant.
8350         (__sin, __cos): Consolidate common code into new functions.
8351         (reduce_sincos_1, do_sincos_1): New functions.
8352         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8355         code to new functions.
8356         (reduce_sincos_2, do_sincos_2): New functions.
8357         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8359         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8360         common code for sincos.
8361         (__cos) [!IN_SINCOS]: Likewise.
8362         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8363         New function.
8364         (__sincos): Use it.
8366 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8368         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8369         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8370         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8372 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8374         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8377         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8378         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8379         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8380         index_Prefer_No_VZEROUPPER): New feature.
8381         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8382         Prefer_No_VZEROUPPER for Knights Landing.
8384 015-12-18  Torvald Riegel  <triegel@redhat.com>
8386         * math/atest-exp2.c (mp_exp_m1): Remove.
8388 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8390         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8391         syscalls.
8392         (__SYSCALL0): New macro.
8393         (__SYSCALL1): Likewise.
8394         (__SYSCALL2): Likewise.
8395         (__SYSCALL3): Likewise.
8396         (__SYSCALL4): Likewise.
8397         (__SYSCALL5): Likewise.
8398         (__SYSCALL6): Likewise.
8399         (__SYSCALL_CONCAT_X): Likewise.
8400         (__SYSCALL_CONCAT): Likewise.
8401         (__SYSCALL_DIST): Likewise.
8402         (__SYSCALL_CALL): Likewise.
8404 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8406         [BZ #19363]
8407         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8409 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8411         [BZ #19375]
8412         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8413         negative subnormals.
8415 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8418         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8419         (INTERNAL_SYSCALL_NCS): Use it.
8420         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8422 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8424         [BZ #19243]
8425         * malloc/arena.c (get_free_list): Remove assert and adjust
8426         reference count handling.  Add comment about reused_arena
8427         interaction.
8428         (reused_arena): Add comments abount get_free_list interaction.
8429         * malloc/tst-malloc-thread-exit.c: New file.
8430         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8431         (tst-malloc-thread-exit): Link against libpthread.
8433 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8435         [BZ #19367]
8436         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8437         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8438         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8439         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8440         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8442 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8444         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8445         Silvermont optimizations for Knights Landing.
8447 2015-12-15  Andreas Schwab  <schwab@suse.de>
8449         [BZ #17197]
8450         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8451         immediately after emitting SI.
8452         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8453         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8454         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8455         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8456         * iconvdata/bug-iconv10.c: New file.
8457         * iconvdata/Makefile (tests): Add bug-iconv10.
8458         ($(objpfx)bug-iconv10.out): New rule.
8460 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8462         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8463         aliasing violation.
8465 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8467         [BZ #18472]
8468         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8469         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8470         conditionals for them.
8471         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8472         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8474         sys/kdaemon.h.
8475         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8476         compat-only syscall, obsoleted in glibc 2.23.
8477         (create_module): Likewise.
8478         (get_kernel_syms): Likewise.
8479         (query_module): Likewise.
8480         (uselib): Likewise.
8481         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8483 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8485         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8486         <linux/version.h>.
8487         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8488         conditional code.
8489         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8490         and ioshift_name initialization.
8492 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8494         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8495         Fix indentation.
8497 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8499         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8501 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8503         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8505 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8506             Jakub Wilk  <jwilk@debian.org>
8508         [BZ #19347]
8509         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8510         to change the group of the device to the tty group.
8512 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8514         Split large string section; add truncation advice
8515         * manual/examples/strncat.c: Remove.
8516         This example was misleading, as the code would have undefined
8517         behavior if "hello" was longer than SIZE.  Anyway, the manual
8518         shouldn't encourage strncpy+strncat for this sort of thing.
8519         * manual/string.texi (Copying Strings and Arrays): Split into
8520         three sections Copying Strings and Arrays, Concatenating Strings,
8521         and Truncating Strings, as this section was way too long.  All
8522         cross-referenced changed.  Add advice about string-truncation
8523         functions.  Remove misleading strncat example.
8525 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8527         * manual/nss.texi (NSS Modules Interface): Document
8528         NSS_STATUS_NOTFOUND and SUCCESS.
8530 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8532         [BZ 18568]
8533         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8534         201505L, for Unicode 8.
8536 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8538         * locale/C-translit.h: Regenerate.
8540 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8542         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8543         and U+0153.
8545 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8547         [BZ #19351]
8548         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8549         expanding log(1+z), compare z rather than its square with epsilon
8550         to determine when to avoid evaluating the expansion.
8552         [BZ #19350]
8553         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8554         Increase overflow threshold.
8556         [BZ #19349]
8557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8558         when small.
8560         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8562         New macro.
8563         [__LINUX_KERNEL_VERSION >= 0x040300]
8564         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8566         Likewise.
8567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8568         Likewise.
8569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8570         Likewise.
8571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8572         Likewise.
8573         [__LINUX_KERNEL_VERSION >= 0x040300]
8574         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8575         [__LINUX_KERNEL_VERSION >= 0x040300]
8576         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8577         [__LINUX_KERNEL_VERSION >= 0x040300]
8578         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8579         [__LINUX_KERNEL_VERSION >= 0x040300]
8580         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8581         [__LINUX_KERNEL_VERSION >= 0x040300]
8582         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8583         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8584         Likewise.
8585         [__LINUX_KERNEL_VERSION >= 0x040300]
8586         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8588         Likewise.
8589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8590         Likewise.
8591         [__LINUX_KERNEL_VERSION >= 0x040300]
8592         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8594         Likewise.
8595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8596         Likewise.
8597         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8598         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8599         Likewise.
8600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8601         Likewise.
8602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8603         Likewise.
8604         [__LINUX_KERNEL_VERSION >= 0x040300]
8605         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8607         Likewise.
8608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8609         Likewise.
8610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8611         Likewise.
8612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8613         Likewise.
8614         [__LINUX_KERNEL_VERSION >= 0x040300]
8615         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8616         [__LINUX_KERNEL_VERSION >= 0x040300]
8617         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8618         [__LINUX_KERNEL_VERSION >= 0x040300]
8619         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8620         [__LINUX_KERNEL_VERSION >= 0x040300]
8621         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8622         [__LINUX_KERNEL_VERSION >= 0x040300]
8623         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8624         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8625         Likewise.
8626         [__LINUX_KERNEL_VERSION >= 0x040300]
8627         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8628         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8629         Likewise.
8630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8631         Likewise.
8632         [__LINUX_KERNEL_VERSION >= 0x040300]
8633         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8635         Likewise.
8636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8637         Likewise.
8638         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8639         (__ASSUME_SOCKET_SYSCALL): Likewise.
8640         (__ASSUME_BIND_SYSCALL): Likewise.
8641         (__ASSUME_CONNECT_SYSCALL): Likewise.
8642         (__ASSUME_LISTEN_SYSCALL): Likewise.
8643         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8644         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8645         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8646         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8647         (__ASSUME_SEND_SYSCALL): Likewise.
8648         (__ASSUME_SENDTO_SYSCALL): Likewise.
8649         (__ASSUME_RECV_SYSCALL): Likewise.
8650         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8651         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8652         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8653         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8654         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8655         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8656         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8657         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8658         Likewise.
8659         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8660         Likewise.
8661         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8662         Likewise.
8663         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8664         Likewise.
8665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8666         Likewise.
8667         [__LINUX_KERNEL_VERSION >= 0x020625]
8668         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8669         [__LINUX_KERNEL_VERSION >= 0x020625]
8670         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8671         [__LINUX_KERNEL_VERSION >= 0x020625]
8672         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8673         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8674         Likewise.
8675         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8676         Likewise.
8677         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8678         Likewise.
8679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8680         Likewise.
8681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8682         Likewise.
8683         [__LINUX_KERNEL_VERSION >= 0x020625]
8684         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8685         [__LINUX_KERNEL_VERSION >= 0x020625]
8686         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8687         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8688         Likewise.
8689         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8690         Likewise.
8692 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8694         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8695         record the current if the current ABI and CPU support the FP64
8696         extension.
8697         (has-modd-spreg): Define to record the current if the current ABI and
8698         CPU support 32-bit floating point values in odd FPU registers.
8699         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8700         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8701         $(has-modd-spreg) equals yes.
8702         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8703         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8704         $(has-modd-spreg) equal yes.
8706 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8708         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8709         basename.
8711 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8713         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8714         (bench-string): ... here.
8715         (bench): Add bench-string.
8716         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8717         to *-benchset to reflect what they are.
8718         (benchset): Adjust.
8720         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8721         cos-inputs.
8723 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8725         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8726         __attribute__ ((__simd__)) for vector math function declarations.
8728 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8730         Fix typo in strncat, wcsncat manual entries
8731         * manual/string.texi (Copying and Concatenation): Fix typos in
8732         sample implementations of strncat and wcsncat, by having them use
8733         the old value of the destination length, not the new one.
8735 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8737         [BZ #16961]
8738         [BZ #16962]
8739         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8740         string on the stack for strtod.
8741         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8742         a string on the stack for strtof.
8743         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8744         constructing a string on the stack for strtold.
8745         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8746         __strtold_nan to GLIBC_PRIVATE.
8747         * math/test-nan-overflow.c: New file.
8748         * math/test-nan-payload.c: Likewise.
8749         * math/Makefile (tests): Add test-nan-overflow and
8750         test-nan-payload.
8752 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8754         Consistency about byte vs character in string.texi
8755         * manual/string.texi (String and Array Utilities):
8756         Distinguish more carefully among bytes, multibyte characters,
8757         and wide characters.  Use "byte" when talking about C 'char',
8758         to distinguish it more clearly from multibyte characters.
8759         Say "wide character" or "multibyte character" instead of
8760         "character", when a wide or multibyte character is intended.
8761         Similarly for "multibyte string" versus "string".
8762         Define these terms more carefully.
8764 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8766         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8767         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8768         Likewise.
8769         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8770         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8771         * sysdeps/sh/math_private.h: New file.
8772         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8773         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8774         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8775         long double function name.
8776         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8777         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8778         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8782         Remove __finitel, __isinfl, and __isnanl.
8783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8784         Likewise.
8785         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8787         Remove __finitel.
8788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8789         Likewise.
8790         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8792 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8794         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8795         installed libmvec_nonshared.a.
8797 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8799         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8800         (sysdep_routines): Likewise.
8801         (sysdep-rtld-routines): Likewise.
8802         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8803         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8804         * sysdeps/powerpc/Versions: Added new
8805         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8806         * sysdeps/powerpc/hwcapinfo.c: New file.
8807         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8808         and parse hwcap, hwcap2 and platform number information.
8809         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8810         to store HWCAP+HWCAP2 and platform number.
8811         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8812         for HWCAP+HWCAP2 and platform number in the TCB.
8813         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8814         the HWCAP, HWCAP2 and platform number in the TCB.
8815         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8816         (TLS_INIT_TP): Included calls to add the hwcap and
8817         at_platform values in the TCB in TP initialization.
8818         (TLS_DEFINE_INIT_TP): Likewise.
8819         (THREAD_GET_HWCAP): New macro.
8820         (THREAD_SET_HWCAP): Likewise.
8821         (THREAD_GET_AT_PLATFORM): Likewise.
8822         (THREAD_SET_AT_PLATFORM): Likewise.
8823         * sysdeps/powerpc/powerpc32/dl-machine.h:
8824         (dl_platform_init): New function that calls
8825         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8826         powerpc32.
8827         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8828         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8829         this functionality, static linking case.
8830         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8831         linking case.
8832         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8833         __parse_hwcap_and_convert_at_platform for the static linking case.
8834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8835         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8836         ABI list for GLIBC 2.23.
8837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8838         Likewise.
8839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8840         Likewise.
8842 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8844         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8845         * configure: Regenerate.
8846         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8847         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8849 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8851         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8852         * iconvdata/ibm933.c: Likewise.
8853         * iconvdata/ibm935.c: Likewise.
8854         * iconvdata/ibm937.c: Likewise.
8855         * iconvdata/ibm939.c: Likewise.
8857 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8859         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8860         pthread_join.
8861         * nptl/tst-cancel21.c (tf): Likewise.
8863 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8865         [BZ #19313]
8866         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8867         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8868         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8869         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8870         Likewise.
8871         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8872         Likewise.
8873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8874         Likewise.
8875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8876         Likewise.
8877         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8878         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8879         unsigned long int with __CPU_MASK_TYPE.
8881 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8883         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8885 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8887         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8888         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8889         t512.x.
8890         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8892 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8894         [BZ #19214]
8895         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8896         argument to return extended model.  Update family and model
8897         with extended family and model when family == 0x0f.
8898         (init_cpu_features): Updated.
8900 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8902         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8903         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8905         * sysdeps/mach/hurd/mmap64.c: New file.
8907 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8909         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8910         rights for its main user thread in NEWTASK.
8912 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8914         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8915         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8917 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8919         [BZ #14259]
8920         * Makeconfig: Rename localedir to complocaledir.
8921         Rename inst_localedir to inst_complocaledir.
8922         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8923         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8924         * configure.ac: Use libc_cv_complocaledir.
8925         * configure: Regenerate.
8926         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8927         -DCOMPLOCALEDIR.
8928         * locale/findlocale.c: Use COMPLOCALEDIR.
8929         * locale/loadarchive.c: Likewise.
8930         * locale/programs/locale.c: Likewise.
8931         * locale/programs/localedef.c: Likewise.
8932         * locale/programs/locarchive.c: Likewise.
8933         * localedata/Makefile: Use inst_complocaledir.
8934         * sysdeps/gnu/configure: Regenerate.
8935         * sysdeps/hppa/configure: Regenerate.
8936         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8937         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8939         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8940         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8941         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8942         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8944 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8946         [BZ #19058]
8947         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8948         AS_NEEDED.
8949         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8950         workaround.
8951         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8952         libmvec-static-only-routines): Added new file.
8953         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8955 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8957         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8958         of interrupted RPC instead of restoring it.
8960         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8961         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8962         libc_hidden_def.
8963         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8964         into initialized data instead of common. Define rtld_hidden_data_def.
8965         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8966         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8967         libc_hidden_def.
8968         (if_freenameindex): Add libc_hidden_weak.
8969         (if_nameindex): Add libc_hidden_weak.
8970         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8971         __open64.
8972         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8973         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8974         * sysdeps/mach/nanosleep.c: Include <time.h>
8975         (__nanosleep): Rename to __libc_nanosleep.
8976         (__nanosleep): Add weak_alias.
8977         (nanosleep): Update alias.
8979 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8981         * stdlib/strtod_nan.c: New file.
8982         * stdlib/strtod_nan_double.h: Likewise.
8983         * stdlib/strtod_nan_float.h: Likewise.
8984         * stdlib/strtod_nan_main.c: Likewise.
8985         * stdlib/strtod_nan_narrow.h: Likewise.
8986         * stdlib/strtod_nan_wide.h: Likewise.
8987         * stdlib/strtof_nan.c: Likewise.
8988         * stdlib/strtold_nan.c: Likewise.
8989         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8990         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8991         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8992         * wcsmbs/wcstod_nan.c: Likewise.
8993         * wcsmbs/wcstof_nan.c: Likewise.
8994         * wcsmbs/wcstold_nan.c: Likewise.
8995         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8996         strtold_nan.
8997         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8998         wcstof_nan.
8999         * include/stdlib.h (__strtof_nan): Declare and use
9000         libc_hidden_proto.
9001         (__strtod_nan): Likewise.
9002         (__strtold_nan): Likewise.
9003         (__wcstof_nan): Likewise.
9004         (__wcstod_nan): Likewise.
9005         (__wcstold_nan): Likewise.
9006         * include/wchar.h (____wcstoull_l_internal): Declare.
9007         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9008         (____strtoull_l_internal): Remove declaration.
9009         (STRTOF_NAN): Define macro.
9010         (SET_MANTISSA): Remove macro.
9011         (STRTOULL): Likewise.
9012         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9013         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9014         (STRTOF_NAN): Define macro.
9015         (SET_MANTISSA): Remove macro.
9016         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9017         (SET_MANTISSA): Remove macro.
9018         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9019         macro.
9020         (SET_MANTISSA): Remove macro.
9021         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9022         macro.
9023         (SET_MANTISSA): Remove macro.
9024         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9025         (SET_MANTISSA): Remove macro.
9026         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9027         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9028         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9030         [BZ #19266]
9031         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9032         upper case and lower case letters inside NAN(), not using TOLOWER.
9033         * stdlib/tst-strtod-nan-locale-main.c: New file.
9034         * stdlib/tst-strtod-nan-locale.c: Likewise.
9035         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9036         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9037         Depend on $(gen-locales).
9038         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9039         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9040         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9041         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9042         Depend on $(gen-locales).
9043         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9045 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9047         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9049         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9051         __finitel, __isinfl, and __isnanl.
9052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9053         Likewise.
9054         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9056         __finitel.
9057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9058         Likewise.
9059         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9061 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9063         * malloc/memusage.c (me): Remove redundant getenv call.
9065 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9067         [BZ #19143]
9068         [BZ #19164]
9069         * nptl/check-cpuset.h: Remove.
9070         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9071         Remove CPU set size check.
9072         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9073         Likewise.
9074         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9075         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9076         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9077         (__pthread_setaffinity_new): Remove CPU set size check.
9078         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9079         (__kernel_cpumask_size): Remove.
9080         (__sched_setaffinity_new): Remove CPU set size check.
9081         * manual/threads.texi (Default Thread Attributes): Remove stale
9082         reference to check_cpuset_attr, determine_cpumask_size in comment.
9083         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9084         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9085         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9086         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9087         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9088         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9089         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9090         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9091         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9092         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9093         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9094         skeleton test file.
9095         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9096         tst-affinity-pid.
9098 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9100         * scripts/update-abilist.sh: New file.
9101         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9102         * Makerules (update-all-abi-%, update-all-abi)
9103         (subdir_update-all-abi): New targets.
9104         * elf/Makefile (update-all-abi): New target.
9106 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9108         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9109         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9110         (__libc_lock_define_initialized): Use it.
9111         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9112         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9113         * malloc/malloc.c (main_arena): Likewise.
9114         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9115         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9117 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9119         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9120         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9121         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9122         (PTRACE_O_MASK): Update value.
9123         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9124         New value in enum __ptrace_setoptions.
9125         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9126         (PTRACE_O_MASK): Update value.
9127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9128         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9129         (PTRACE_O_MASK): Update value.
9130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9131         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9132         (PTRACE_O_MASK): Update value.
9133         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9134         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9135         (PTRACE_O_MASK): Update value.
9136         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9137         New value in enum __ptrace_setoptions.
9138         (PTRACE_O_MASK): Update value.
9139         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9140         New value in enum __ptrace_setoptions.
9141         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9142         (PTRACE_O_MASK): Update value.
9144         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9145         New macro.
9146         (PACKET_AUXDATA): Likewise.
9147         (PACKET_ORIGDEV): Likewise.
9148         (PACKET_VERSION): Likewise.
9149         (PACKET_HDRLEN): Likewise.
9150         (PACKET_RESERVE): Likewise.
9151         (PACKET_TX_RING): Likewise.
9152         (PACKET_LOSS): Likewise.
9153         (PACKET_VNET_HDR): Likewise.
9154         (PACKET_TX_TIMESTAMP): Likewise.
9155         (PACKET_TIMESTAMP): Likewise.
9156         (PACKET_FANOUT): Likewise.
9157         (PACKET_TX_HAS_OFF): Likewise.
9158         (PACKET_QDISC_BYPASS): Likewise.
9159         (PACKET_ROLLOVER_STATS): Likewise.
9160         (PACKET_FANOUT_DATA): Likewise.
9161         (PACKET_MR_UNICAST): Likewise.
9163         [BZ #19242]
9164         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9165         (TOUPPER): Likewise.
9166         * stdlib/tst-strtol-locale-main.c: New file.
9167         * stdlib/tst-strtol-locale.c: Likewise.
9168         * stdlib/Makefile (tests): Add tst-strtol-locale.
9169         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9170         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9171         Depend on $(gen-locales).
9172         * wcsmbs/tst-wcstol-locale.c: New file.
9173         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9174         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9175         tr_TR.ISO-8859-9.
9176         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9177         Depend on $(gen-locales).
9179 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9181         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9182         __glibc_likely instead of __builtin_expect.  After falling back to
9183         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9184         system interface to register the code pages as occupied.
9186 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9188         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9189         [!ARM_MATH_PRIVATE_H].
9190         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9191         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9192         [!HPPA_MATH_PRIVATE_H].
9193         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9194         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9195         to [!I386_MATH_PRIVATE_H].
9196         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9197         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9198         Change guard to [!M68K_MATH_PRIVATE_H].
9199         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9200         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9201         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9202         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9203         macro.
9204         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9205         [!MIPS_MATH_PRIVATE_H].
9206         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9207         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9208         [!NIO2_MATH_PRIVATE_H].
9209         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9210         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9211         [!TILE_MATH_PRIVATE_H].
9212         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9214         [BZ #15421]
9215         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9216         initialize with 0 and define as weak alias of __signgam.
9217         * include/math.h [!_ISOMAC] (__signgam): Declare.
9218         * math/Makefile (libm-calls): Add w_lgamma_compat.
9219         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9220         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9221         test-signgam-ullong-init.
9222         (tests-static): Add test-signgam-uchar-static,
9223         test-signgam-uchar-init-static, test-signgam-uint-static,
9224         test-signgam-uint-init-static, test-signgam-ullong-static and
9225         test-signgam-ullong-init-static.
9226         (CFLAGS-test-signgam-uchar.c): New variable.
9227         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9228         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9229         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9230         (CFLAGS-test-signgam-uint.c): Likewise.
9231         (CFLAGS-test-signgam-uint-init.c): Likewise.
9232         (CFLAGS-test-signgam-uint-static.c): Likewise.
9233         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9234         (CFLAGS-test-signgam-ullong.c): Likewise.
9235         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9236         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9237         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9238         * math/Versions (libm): Add GLIBC_2.23.
9239         * math/lgamma-compat.h: New file.
9240         * math/test-signgam-main.c: Likewise.
9241         * math/test-signgam-uchar-init-static.c: Likewise.
9242         * math/test-signgam-uchar-init.c: Likewise.
9243         * math/test-signgam-uchar-static.c: Likewise.
9244         * math/test-signgam-uchar.c: Likewise.
9245         * math/test-signgam-uint-init-static.c: Likewise.
9246         * math/test-signgam-uint-init.c: Likewise.
9247         * math/test-signgam-uint-static.c: Likewise.
9248         * math/test-signgam-uint.c: Likewise.
9249         * math/test-signgam-ullong-init-static.c: Likewise.
9250         * math/test-signgam-ullong-init.c: Likewise.
9251         * math/test-signgam-ullong-static.c: Likewise.
9252         * math/test-signgam-ullong.c: Likewise.
9253         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9254         wrapper of w_lgamma_main.c.
9255         * math/w_lgamma_compat.c: New file.
9256         * math/w_lgamma_compatf.c: Likewise.
9257         * math/w_lgamma_compatl.c: Likewise.
9258         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9259         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9260         defining compatibility symbols.
9261         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9262         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9263         wrapper of w_lgammaf_main.c.
9264         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9265         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9266         defining compatibility symbols.
9267         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9268         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9269         wrapper of w_lgammal_main.c.
9270         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9271         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9272         defining compatibility symbols.
9273         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9274         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9275         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9276         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9277         <lgamma-compat.h>.
9278         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9279         (__ieee754_gamma): Define as alias.
9280         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9281         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9282         <lgamma-compat.h>.
9283         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9284         (__ieee754_gammaf): Define as alias.
9285         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9286         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9287         <lgamma-compat.h>.
9288         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9289         (__ieee754_gammal): Define as alias.
9290         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9291         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9292         <math/w_lgamma_compat.c>.
9293         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9294         Define as alias of __lgamma_compat and use in defining lgammal.
9295         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9296         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9297         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9298         (USE_AS_COMPAT): New macro.
9299         (LGAMMA_OLD_VER): Undefine and redefine.
9300         (lgammal): Do not define here.
9301         (gammal): Only define here if [GAMMA_ALIAS].
9302         * conform/linknamespace.pl (@whitelist): Remove signgam.
9303         * sysdeps/nacl/libm.abilist: Update.
9304         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9305         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9306         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9307         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9308         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9309         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9310         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9311         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9312         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9313         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9314         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9315         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9317         Likewise.
9318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9319         Likewise.
9320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9321         Likewise.
9322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9323         Likewise.
9324         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9325         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9326         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9327         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9328         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9330         Likewise.
9331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9332         Likewise.
9333         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9334         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9335         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9337 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9339         [BZ #16364]
9340         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9341         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9343 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9345         * sysdeps/s390/fpu/bits/mathinline.h:
9346         Use __asm__ [__volatile__] instead of asm [volatile].
9347         * sysdeps/s390/abort-instr.h: Likewise.
9348         * sysdeps/s390/atomic-machine.h: Likewise.
9349         * sysdeps/s390/bits/string.h: Likewise.
9350         * sysdeps/s390/dl-tls.h: Likewise.
9351         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9352         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9353         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9354         * sysdeps/s390/fpu/fesetround.c: Likewise.
9355         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9356         * sysdeps/s390/fpu/s_fma.c: Likewise.
9357         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9358         * sysdeps/s390/memusage.h: Likewise.
9359         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9360         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9361         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9362         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9363         * sysdeps/s390/nptl/tls.h: Likewise.
9364         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9365         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9366         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9367         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9368         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9369         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9370         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9371         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9372         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9373         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9374         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9375         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9376         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9377         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9378         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9379         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9380         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9381         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9382         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9384         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9386         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9388 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9389             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9391         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9392         Add lwarx hint, and use macro for acquire instruction.
9393         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9394         Likewise.
9395         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9396         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9397         update to use new atomic macros.
9399 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9401         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9402         (__lll_trylock_elision): Fix setting of adapt_count.
9403         * sysdeps/unix/sysv/linux/powerpc/htm.h
9404         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9405         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9406         (_ABORT_SYSCALL): Renumber, and clarify definition.
9407         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9409 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9411         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9412         after system headers to prevent MIN/MAX redefinition.  Define
9413         HAVE_ALLOCA to preserve builtin alloca usage.
9415 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9417         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9418         static and don't set or restore rounding.
9419         (__cos)[IN_SINCOS]: Likewise.
9420         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9421         (__sincos): Set and restore rounding mode.  Remove check for infinite
9422         or NaN input.
9424         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9426         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9427         as used.
9429 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9431         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9433 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9435         * config.make.in (have-glob-dat-reloc): New.
9436         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9437         target supports GLOB_DAT relocaton. AC_SUBST.
9438         * configure: Regenerated.
9439         * elf/Makefile (tests): Add tst-prelink.
9440         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9441         (tst-prelink-ENV): New.
9442         ($(objpfx)tst-prelink-conflict.out): Likewise.
9443         ($(objpfx)tst-prelink-cmp.out): Likewise.
9444         * sysdeps/x86/tst-prelink.c: Moved to ...
9445         * elf/tst-prelink.c: Here.
9446         * sysdeps/x86/tst-prelink.exp: Moved to ...
9447         * elf/tst-prelink.exp: Here.
9448         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9449         (tst-prelink-ENV): Removed.
9450         ($(objpfx)tst-prelink-conflict.out): Likewise.
9451         ($(objpfx)tst-prelink-cmp.out): Likewise.
9452         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9454 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9456         [BZ #14551]
9457         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9458         (__mpn_construct_long_double): If high part overflows to infinity,
9459         set errno and recompute overflowed result of the correct sign.
9460         * sysdeps/ieee754/ldbl-128ibm/Makefile
9461         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9462         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9463         $(libm).
9464         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9466 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9468         [BZ #15479]
9469         [BZ #19238]
9470         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9471         floating-point state after first operation on input.  Restore full
9472         state rather than just rounding mode.
9473         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9474         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9475         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9477         [BZ #19235]
9478         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9479         add 0.5 to integer arguments.
9480         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9481         Likewise.
9482         (.LC2): New object.
9484 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9486         * scripts/pylintrc (reports): Set to no.
9488 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9490         * elf/dl-load.c (open_verify): Take new argument FD.
9491         Skip __open call if passed FD is not -1.
9492         (_dl_map_object, open_path): Update callers.
9493         * elf/dl-sysdep-open.h: New file.
9494         * elf/dl-load.c: Include it.
9495         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9496         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9497         * sysdeps/nacl/dl-sysdep-open.h: New file.
9498         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9499         from libc to rtld.
9501 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9503         [BZ #19228]
9504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9505         and restore full floating-point state.
9506         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9507         Likewise.
9508         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9509         Likewise.
9510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9511         Likewise.
9512         * math/test-nearbyint-except-2.c: New file.
9513         * math/Makefile (tests): Add test-nearbyint-except-2.
9515 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9517         [BZ #19178]
9518         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9519         (tst-prelink-ENV): New.
9520         ($(objpfx)tst-prelink-conflict.out): Likewise.
9521         ($(objpfx)tst-prelink-cmp.out): Likewise.
9522         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9523         * sysdeps/x86/tst-prelink.c: New file.
9524         * sysdeps/x86/tst-prelink.exp: Likewise.
9526 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9528         * math/auto-libm-test-in: Add another test of pow.
9529         * math/auto-libm-test-out: Regenerated.
9530         * math/libm-test.inc (pow_test_data): Add another test.
9532 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9534         [BZ #19219]
9535         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9536         weak_alias to nearbyintl.
9538 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9540         * sysdeps/aarch64/bits/string.h: New file.
9541         (_STRING_ARCH_unaligned): Define.
9543 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9545         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9546         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9547         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9548         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9551 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9553         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9554         for original name of the DSO.  Add it to the name list of the DSO
9555         if it is actually given.
9556         (_dl_map_object): Keep track of whether an audit module rewrote
9557         the file name.  If yes, pass the original name to
9558         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9559         debugging is enabled, log the change of the file name.
9560         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9561         _dl_map_object_from_fd.
9562         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9563         * elf/tst-audit11.c: New file
9564         * elf/tst-auditmod11.c: New file.
9565         * elf/tst-audit11mod1.c: New file.
9566         * elf/tst-audit11mod2.c: New file.
9567         * elf/tst-audit11mod2.map: New file.
9568         * elf/tst-audit12.c: New file
9569         * elf/tst-auditmod12.c: New file.
9570         * elf/tst-audit12mod1.c: New file.
9571         * elf/tst-audit12mod2.c: New file.
9572         * elf/tst-audit12mod2.map: New file.
9573         * elf/tst-audit12mod3.c: New file.
9575 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9577         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9578         Don't create weak aliases,
9579         because versioned symbols are created later.
9580         * sysdeps/s390/s390-32/setjmp.S
9581         (setjmp, _setjmp): Remove weak and rename to an unique name
9582         in SHARED case due to existing versioned symbols.
9583         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9585         (getcontext): Create weak alias only in non SHARED case.
9586         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9588 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9590         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9591         (__ASSUME_*_SYSCALL) Define new macros.
9592         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9593         Remove socketcall syscalls.
9594         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9595         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9596         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9597         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9598         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9599         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9601 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9603         [BZ #12926]
9604         Terminate process on invalid netlink response.
9605         * sysdeps/unix/sysv/linux/netlinkaccess.h
9606         (__netlink_assert_response): Declare.
9607         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9608         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9609         (sysdep_routines): Add netlink_assert_response.
9610         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9611         __netlink_assert_response.
9612         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9613         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9614         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9615         __netlink_assert_response.
9617 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9619         [BZ #19178]
9620         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9621         (RTYPE_CLASS_PLT): Likewise.
9622         (RTYPE_CLASS_COPY): Likewise.
9623         (RTYPE_CLASS_TLS): Likewise.
9624         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9625         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9626         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9627         DL_DEBUG_PRELINK.
9629 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9631         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9632         calls with argument -0.5.
9633         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9635         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9636         (libc_cv_z_nodlopen): Likewise.
9637         (libc_cv_z_initfirst): Likewise.
9638         * configure: Regenerated.
9640 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9642         Simplify abilist format to be line-based.
9643         * scripts/abilist.awk: Collect descriptors in the descs variable.
9644         (emit): Write descs variable and sort it
9645         externally, with sort.
9646         * sysdeps/**/*.abilist: Convert to new format.
9648 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9650         [BZ #11460]
9651         * io/Makefile (routines): Add fts64.
9652         (tests): Add tst-fts and tst-fts-lfs.
9653         (CFLAGS-fts64.c): New.
9654         * io/Versions (GLIBC_2.23): New.
9655         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9656         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9657         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9658         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9659         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9660         (FTSENT64): Likewise.
9661         (fts64_children): Likewise.
9662         (fts64_close): Likewise.
9663         (fts64_open): Likewise.
9664         (fts64_read): Likewise.
9665         (fts64_set): Likewise.
9666         * io/fts64.c: New file.
9667         * io/tst-fts.c: New test.
9668         * io/tst-fts-lfs.c: Likewise.
9669         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9670         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9671         fts64_set.
9672         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9674         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9675         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9676         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9677         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9678         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9679         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9680         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9681         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9682         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9684         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9686         Likewise.
9687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9688         Likewise.
9689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9693         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9694         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9695         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9698         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9699         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9700         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9701         * sysdeps/wordsize-64/fts.c: New file.
9702         * sysdeps/wordsize-64/fts64.c: Likewise.
9703         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9704         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9705         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9706         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9708 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9710         * math/libm-test.inc (NON_FINITE): New macro.
9711         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9712         * math/gen-libm-test.pl (show_exceptions): Add argument
9713         $non_finite.
9714         (parse_args): Update call to show_exceptions.
9715         * math/test-math-finite.h: New file.
9716         * math/test-math-no-finite.h: Likewise.
9717         * math/test-double-finite.c: Likewise.
9718         * math/test-float-finite.c: Likewise.
9719         * math/test-ldouble-finite.c: Likewise.
9720         * math/test-double.c: Include "test-math-no-finite.h".
9721         * math/test-float.c: Include "test-math-no-finite.h".
9722         * math/test-ldouble.c: Include "test-math-no-finite.h".
9723         * math/test-math-inline.h (TEST_FINITE): New macro.
9724         * math/test-math-vector.h (TEST_FINITE): Likewise.
9725         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9726         (libm-tests): Add test-float-finite and test-double-finite.
9727         ($(objpfx)test-float-finite.o): New dependency on
9728         $(objpfx)libm-test.stmp.
9729         ($(objpfx)test-double-finite.o): Likewise.
9730         ($(objpfx)test-ldouble-finite.o): Likewise.
9731         (libm-test-no-inline-cflags): New variable.
9732         (libm-test-finite-cflags): Likewise.
9733         (CFLAGS-test-float-finite.c): Likewise.
9734         (CFLAGS-test-double-finite.c): Likewise.
9735         (CFLAGS-test-ldouble-finite.c): Likewise.
9736         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9737         (CFLAGS-test-double.c): Likewise.
9738         (CFLAGS-test-ldouble.c): Likewise.
9740 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9742         * io/fcntl.c (__fcntl): Add ... to prototype.
9743         * misc/ioctl.c (__ioctl): Likewise.
9744         * misc/syscall.c (syscall): Likewise.
9746 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9748         * scripts/list-fixed-bugs.py: New file.
9750         [BZ #19213]
9751         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9752         returned for argument 1.
9753         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9754         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9755         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9756         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9757         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9758         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9760         [BZ #19211]
9761         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9762         __USE_XOPEN], not if [!__USE_ISOC99].
9763         (lgammaf): Likewise.
9764         (lgammal): Likewise.
9765         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9766         (gammaf): Likewise.
9767         (gammal): Likewise.
9768         * math/test-signgam-finite-c11.c: New file.
9769         * math/test-signgam-finite-c99.c: Likewise.
9770         * math/test-signgam-finite.c: Likewise.
9771         * math/Makefile (tests): Add test-signgam-finite,
9772         test-signgam-finite-c99 and test-signgam-finite-c11.
9773         (CFLAGS-test-signgam-finite.c): New variable.
9774         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9775         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9777         [BZ #19212]
9778         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9779         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9780         500].
9781         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9782         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9783         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9784         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9785         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9786         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9787         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9788         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9789         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9790         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9792         [BZ #19209]
9793         * math/bits/math-finite.h (ldexp): Remove declaration.
9794         (ldexpf): Likewise.
9795         (ldexpl): Likewise.
9797         [BZ #19205]
9798         * math/bits/math-finite.h (acosf): Condition declaration on
9799         [__USE_ISOC99].
9800         (acosl): Likewise.
9801         (acoshf): Likewise.
9802         (acoshl): Likewise.
9803         (asinf): Likewise.
9804         (asinl): Likewise.
9805         (atan2f): Likewise.
9806         (atan2l): Likewise.
9807         (atanhf): Likewise.
9808         (atanhl): Likewise.
9809         (coshf): Likewise.
9810         (coshl): Likewise.
9811         (expf): Likewise.
9812         (expl): Likewise.
9813         (fmodf): Likewise.
9814         (fmodl): Likewise.
9815         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9816         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9817         (j0l): Likewise.
9818         (y0f): Likewise.
9819         (y0l): Likewise.
9820         (j1f): Likewise.
9821         (j1l): Likewise.
9822         (y1f): Likewise.
9823         (y1l): Likewise.
9824         (jnf): Likewise.
9825         (jnl): Likewise.
9826         (ynf): Likewise.
9827         (ynl): Likewise.
9828         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9829         (lgammal_r): Likewise.
9830         (__lgamma_r_finite): New declaration.
9831         (__lgammaf_r_finite): Likewise.
9832         (__lgammal_r_finite): Likewise.
9833         (lgamma): Use __lgamma_r_finite.
9834         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9835         __lgammaf_r_finite.
9836         (lgammal): Condition definition on [__USE_ISOC99].  Use
9837         __lgammal_r_finite.
9838         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9839         __lgamma_r_finite.
9840         (gammaf): Condition definition on [__USE_ISOC99].  Use
9841         __lgammaf_r_finite.
9842         (gammal): Condition definition on [__USE_ISOC99].  Use
9843         __lgammal_r_finite.
9844         (logf): Condition declaration on [__USE_ISOC99].
9845         (logl): Likewise.
9846         (log10f): Likewise.
9847         (log10l): Likewise.
9848         (ldexpf): Likewise.
9849         (ldexpl): Likewise.
9850         (powf): Likewise.
9851         (powl): Likewise.
9852         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9853         __USE_ISOC99].
9854         (remainderf): Condition declaration on [__USE_ISOC99].
9855         (remainderl): Likewise.
9856         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9857         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9858         (scalbl): Likewise.
9859         (sinhf): Condition declaration on [__USE_ISOC99].
9860         (sinhl): Likewise.
9861         (sqrtf): Likewise.
9862         (sqrtl): Likewise.
9864 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9866         * sysdeps/arm/atomic-machine.h
9867         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9868         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9869         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9870         Remove conditional code.
9871         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9872         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9873         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9874         Change conditional to [__ASSEMBLER__].
9875         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9876         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9877         [!__ASSEMBLER__].
9878         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9879         code.
9880         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9881         conditional macro definitions.
9882         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9883         (__arch_compare_and_exchange_val_16_acq): Likewise.
9884         (__arch_compare_and_exchange_val_32_acq): Likewise.
9885         (atomic_exchange_and_add): Likewise.
9886         (atomic_add): Likewise.
9887         (atomic_add_negative): Likewise.
9888         (atomic_add_zero): Likewise.
9889         (atomic_bit_set): Likewise.
9890         (atomic_bit_test_set): Likewise.
9891         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9892         code unconditional.
9893         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9895         * math/test-math-errno.h: New file.
9896         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9897         empty.
9898         (TEST_ERRNO): New macro.
9899         (TEST_EXCEPTIONS): Likewise.
9900         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9901         (TEST_EXCEPTIONS): Likewise.
9902         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9903         * math/test-double.c: Include "test-math-errno.h".
9904         * math/test-float.c: Likewise.
9905         * math/test-ldouble.c: Likewise.
9906         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9907         code unconditional.
9908         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9909         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9910         unconditional.
9911         (test_errno): Only run code if TEST_ERRNO.
9912         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9914 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9916         * nptl/tst-once5.cc: Remove attribution.
9918 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9920         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9921         sqrt, tan, tanh, y0, y1 and yn.
9922         * math/auto-libm-test-out: Regenerated.
9923         * math/libm-test.inc (scalb_test_data): Add more tests.
9924         (scalbn_test_data): Likewise.
9925         (scalbln_test_data): Likewise.
9926         (signbit_test_data): Likewise.
9927         (sin_test_data): Likewise.
9928         (sincos_test_data): Likewise.
9929         (sinh_test_data): Likewise.
9930         (sqrt_test_data): Likewise.
9931         (tan_test_data): Likewise.
9932         (tanh_test_data): Likewise.
9933         (tgamma_test_data): Likewise.
9934         (y0_test_data): Likewise.
9935         (y1_test_data): Likewise.
9936         (yn_test_data): Likewise.
9937         (significand_test_data): Likewise.
9938         * sysdeps/i386/fpu/libm-test-ulps: Update.
9940 2015-11-03  David Kastrup  <dak@gnu.org>
9942         [BZ #18604]
9943         * assert/assert.h (assert): Don't macro-expand failed assertion
9944         expression in error message.
9945         * malloc/malloc.c (assert): Likewise.
9947 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9949         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9950         test.
9951         * configure: Regenerated.
9953 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9955         * math/libm-test.inc (modf_test_data): Add more tests.
9956         (nearbyint_test_data): Likewise.
9957         (nextafter_test_data): Likewise.
9958         (nexttoward_test_data): Likewise.
9959         (pow_test_data): Likewise.
9960         (remainder_test_data): Likewise.
9961         (remquo_test_data): Likewise.
9962         (rint_test_data): Likewise.
9964         [BZ #19201]
9965         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9966         Check for zero remainder in case of large exponents and ensure
9967         correct sign of result in that case.
9968         * math/libm-test.inc (remainder_test_data): Add more tests.
9970         [BZ #6799]
9971         * math/s_nextafter.c: Include <errno.h>.
9972         (__nextafter): Set errno on overflow and underflow.
9973         * math/s_nexttowardf.c: Include <errno.h>.
9974         (__nexttowardf): Set errno on overflow and underflow.
9975         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9976         (__nextafterl): Set errno on overflow and underflow.
9977         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9978         (__nexttoward): Set errno on overflow and underflow.
9979         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9980         (__nexttowardf): Set errno on overflow and underflow.
9981         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9982         (__nextafterf): Set errno on overflow and underflow.
9983         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9984         (__nextafterl): Set errno on overflow and underflow.
9985         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9986         (__nexttoward): Set errno on overflow and underflow.
9987         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9988         (__nexttowardf): Set errno on overflow and underflow.
9989         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9990         (__nextafterl): Set errno on overflow and underflow.
9991         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9992         (__nexttoward): Set errno on overflow and underflow.
9993         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9994         (__nexttowardf): Set errno on overflow and underflow.
9995         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9996         (__nexttoward): Set errno on overflow and underflow.
9997         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9998         (__nexttowardf): Set errno on overflow and underflow.
9999         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10000         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10001         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10002         (__nextafterl): Set errno on overflow and underflow.
10003         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10004         setting to be missing on overflow.  Add more tests.
10005         (nexttoward_test_data): Likewise.
10007         * configure.ac (libc_cv_initfini_array): Remove configure test.
10008         * configure: Regenerated.
10010 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10012         [BZ #19189]
10013         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10014         non-finite argument handle arguments with negative sign.
10016         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10017         result from infinite argument.
10018         (j1_test_data): Likewise.
10019         (jn_test_data): Likewise.
10020         (y0_test_data): Likewise.
10021         (y1_test_data): Likewise.
10022         (yn_test_data): Likewise.
10024         [BZ #16171]
10025         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10026         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10027         * math/w_remainderf.c (dremf): Define as weak alias of
10028         __remainderf.
10029         * math/w_remainderl.c (dreml): Define as weak alias of
10030         __remainderl.
10031         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10032         __remainder.
10033         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10034         __remainderf.
10035         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10036         __remainderl.
10037         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10038         weak alias of remainderl.
10039         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10040         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10041         alias of __remainder.
10042         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10043         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10044         strong alias of __remainderl.
10045         (dreml): Use long_double_symbol.
10046         * math/Makefile (libm-calls): Remove w_drem.
10047         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10048         (CFLAGS-nldbl-drem.c): Remove variable.
10049         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10050         * math/w_drem.c: Remove file.
10051         * math/w_dremf.c: Likewise.
10052         * math/w_dreml.c: Likewise.
10053         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10054         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10055         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10057         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10058         * sysdeps/i386/configure: Regenerated.
10059         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10060         * sysdeps/x86_64/configure: Regenerated.
10062         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10063         test.
10064         (libc_cv_visibility_attribute): Likewise.
10065         (libc_cv_protected_data): Test unconditionally.
10066         (libc_cv_broken_visibility_attribute): Remove configure test.
10067         (libc_cv_have_sdata_section): Test unconditionally.
10068         * configure: Regenerated.
10070         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10071         * include/scratch_buffer.h: Include <stddef.h> instead of
10072         <libc-internal.h>.
10073         (struct scratch_buffer): Use max_align_t instead of
10074         libc_max_align_t.
10076 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10078         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10079         instead of extend_alloca.  Change control flow to avoid a goto.
10080         Remove assert which is trivially always true.
10082 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10084         [BZ #16068]
10085         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10086         (FE_ALL_EXCEPT_X86): New macro.
10087         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10088         FE_ALL_EXCEPT.  Ensure precision control is included in
10089         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10090         handle "denormal operand exception" and clear FZ and DAZ bits.
10091         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10092         (FE_ALL_EXCEPT_X86): New macro.
10093         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10094         FE_ALL_EXCEPT.  Ensure precision control is included in
10095         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10096         handle "denormal operand exception" and clear FZ and DAZ bits.
10097         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10098         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10099         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10100         test-fenv-x87 and test-fenv-sse-2.
10101         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10103         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10104         * math/test-double.h (BUILD_COMPLEX): New macro.
10105         * math/test-float.h (BUILD_COMPLEX): Likewise.
10106         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10108         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10109         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10110         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10112         instead of DBL_DENORM_MIN in comment.
10113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10114         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10115         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10116         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10118         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10120 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10122         [BZ# 19048]
10123         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10124         attached_threads member.
10125         (main_arena): Initialize attached_threads.
10126         * malloc/arena.c (list_lock): Update comment.
10127         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10128         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10129         (deattach_arena): New function.
10130         (_int_new_arena): Initialize arena reference count and deattach
10131         replaced arena.
10132         (get_free_list, reused_arena): Update reference count and deattach
10133         replaced arena.
10134         (arena_thread_freeres): Update arena reference count and only put
10135         unreferenced arenas on the free list.
10137 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10139         [BZ #19181]
10140         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10141         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10142         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10143         * math/test-fenv-clear-main.c: New file.
10144         * math/test-fenv-clear.c: Likewise.
10145         * math/Makefile (tests): Add test-fenv-clear.
10146         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10147         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10148         test-fenv-clear-sse.
10149         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10151         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10152         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10153         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10155 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10157         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10158         static libc.
10160 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10162         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10163         test.
10164         * sysdeps/i386/configure: Regenerated.
10165         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10166         test.
10167         * sysdeps/x86_64/configure: Regenerated.
10168         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10170         memset-avx2 unconditionally instead of conditionally on
10171         [$(config-cflags-avx2) = yes].
10172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10173         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10174         unconditional.
10175         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10176         * sysdeps/x86_64/multiarch/memset_chk.S
10177         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10178         to [IS_IN (libc) && SHARED].
10180 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10182         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10183         configure test.
10184         * sysdeps/arm/configure: Regenerated.
10185         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10186         Define variable if not already defined.
10188         [BZ #17404]
10189         * sysdeps/mips/atomic-machine.h
10190         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10191         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10192         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10194         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10195         unconditional.
10196         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10197         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10198         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10199         unconditional.
10200         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10201         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10202         unconditional.
10203         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10204         * stdlib/setenv.c
10205         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10206         code unconditional.
10207         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10208         Remove conditional code.
10209         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10210         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10211         unconditional.
10212         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10213         code.
10214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10215         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10216         unconditional.
10217         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10218         code.
10219         * sysdeps/ieee754/ldbl-128/k_tanl.c
10220         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10221         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10222         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10223         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10224         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10225         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10226         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10227         unconditional.
10228         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10229         code.
10230         * sysdeps/ieee754/ldbl-96/k_tanl.c
10231         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10232         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10234         * nptl/tst-initializers1-c11.c: New file.
10235         * nptl/tst-initializers1-gnu11.c: Likewise.
10236         * nptl/Makefile (tests): Add these new tests.
10237         (CFLAGS-tst-initializers1-c11.c): New variable.
10238         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10240         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10241         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10242         instead of -std=gnu99.
10243         * configure.ac (systemtap): Test with -std=gnu11 instead of
10244         -std=gnu99.
10245         * configure: Regenerated.
10246         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10247         in compilation command in comment.
10249         * sysdeps/nptl/configure.ac: Remove file.
10250         * sysdeps/nptl/configure: Remove generated file.
10251         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10252         * configure: Regenerated.
10253         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10254         * config.make.in (have-forced-unwind): Remove variable.
10255         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10256         unconditional.
10257         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10258         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10259         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10260         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10261         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10262         unconditional.
10264 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10266         [BZ #19174]
10267         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10268         .skip_lock_out_of_tbegin_retries.
10269         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10270         (__lll_lock_elision): Likewise, and respect a value of
10271         try_tbegin <= 0.
10273 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10275         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10276         statement.
10278 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10280         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10281         variable.
10282         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10283         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10285         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10286         of -std=c1x -D_ISOC11_SOURCE.
10288         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10289         * configure: Regenerated.
10290         * manual/install.texi (Tools for Compilation): Document
10291         requirement for GCC 4.7 or later.
10292         * INSTALL: Regenerated.
10294 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10296         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10297         on CNT to a conditional jump to 'puntdata'.
10299 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10301         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10302         (libc_cv_gcc_tls_model_attr): Likewise.
10303         * configure: Regenerated.
10305         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10306         * configure: Regenerated.
10307         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10309 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10311         * configure.ac (old_glibc_headers): Remove configure test.
10312         * configure: Regenerated.
10313         * config.make.in (old-glibc-headers): Remove variable.
10314         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10315         (install): Remove dependency on remove-old-headers.
10316         (headers2_0): Remove variable.
10317         (remove-old-headers): Remove rule.
10319         * configure.ac (libc_cv_dot_text): Remove configure test.
10320         (libc_cv_asm_set_directive): Use .text instead of
10321         ${libc_cv_dot_text} in configure test.
10322         * configure: Regenerated.
10324 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10326         [BZ #19168]
10327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10329 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10331         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10332         not support static linking.
10333         * configure: Regenerate.
10335 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10337         * math/libm-test.inc (check_float_internal): Do not special-case
10338         errors up to 0.5 ulp.
10340         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10341         log2.
10342         * math/auto-libm-test-out: Regenerated.
10343         * math/libm-test.inc (MAX_EXP): New macro.
10344         (ilogb_test_data): Add more tests.
10345         (isfinite_test_data): Likewise.
10346         (isgreater_test_data): Likewise.
10347         (isgreaterequal_test_data): Likewise.
10348         (isinf_test_data): Likewise.
10349         (isless_test_data): Likewise.
10350         (islessequal_test_data): Likewise.
10351         (islessgreater_test_data): Likewise.
10352         (isnan_test_data): Likewise.
10353         (isnormal_test_data): Likewise.
10354         (issignaling_test_data): Likewise.
10355         (isunordered_test_data): Likewise.
10356         (j0_test_data): Likewise.
10357         (j1_test_data): Likewise.
10358         (jn_test_data): Likewise.
10359         (lgamma_test_data): Likewise.
10360         (log_test_data): Likewise.
10361         (log10_test_data): Likewise.
10362         (log1p_test_data): Likewise.
10363         (log2_test_data): Likewise.
10364         (logb_test_data): Likewise.
10365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10367         [BZ #18611]
10368         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10369         avoid excess range and precision on underflow.
10370         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10371         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10372         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10373         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10374         underflow.
10375         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10376         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10377         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10378         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10379         * math/auto-libm-test-in: Do not allow missing errno setting for
10380         tests of j1 and jn.
10381         * math/auto-libm-test-out: Regenerated.
10383 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10385         [BZ #15491]
10386         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10387         floating-point environment instead of clearing all exceptions.
10388         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10389         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10390         merging in "invalid" exceptions from frndint.
10391         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10392         * math/test-nearbyint-except.c: New file.
10393         * math/Makefile (tests): Add test-nearbyint-except.
10395 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10397         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10399         * sysdeps/tile/libm-test-ulps: Regenerated.
10401 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10404         (__NR_sync_file_range2): Assume it is always defined.
10405         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10406         (__NR_sync_file_range): Assume it is always defined.
10408 2015-10-22  Andreas Schwab  <schwab@suse.de>
10410         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10411         INTERNAL_SYSCALL_ERRNO.
10412         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10413         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10414         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10415         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10416         Likewise.
10417         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10419 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10421         * io/tst-fcntl.c (fd): New static variable.
10422         (do_prepare): Open temporary file here....
10423         (do_test): ...not here.
10425         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10427 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10429         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10430         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10431         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10432         Moved before "#ifdef __ASSEMBLER__".
10434 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10436         [BZ #19156]
10437         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10438         arguments very close to 0.
10440 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10442         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10443         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10445 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10447         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10448         New.  Defined for GCC 5 and above when not compiling for
10449         profiling.
10450         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10452         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10453         Renamed to ...
10454         (CFLAGS-epoll_pwait.o): This.
10455         (CFLAGS-mmap.c): Renamed to ...
10456         (CFLAGS-mmap.o): This.
10457         (CFLAGS-mmap64.c): Renamed to ...
10458         (CFLAGS-mmap64.o): This.
10459         (CFLAGS-epoll_pwait.os): New.
10460         (CFLAGS-mmap.os): Likewise.
10461         (CFLAGS-mmap64.os): Likewise.
10462         (CFLAGS-semtimedop.os): Likewise.
10463         (CFLAGS-semtimedop.c): Renamed to ...
10464         (CFLAGS-semtimedop.o): This.
10466 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10468         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10469         warning message.
10471 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10473         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10474         * Makefile ($(objpfx)c++-types-check.out): Filter out
10475         $(+gccwarn-c) instead of -Wstrict-prototypes.
10477         * io/fts.c (fts_open): Convert to prototype-style function
10478         definition.
10479         * malloc/mcheck.c (mcheck): Likewise.
10480         (mcheck_pedantic): Likewise.
10481         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10482         internal_function.
10483         (re_search_internal): Likewise.
10484         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10485         prototype-style function definition.
10486         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10487         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10488         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10489         (xdr_utmpptr): Likewise.
10490         (xdr_utmparr): Likewise.
10491         (xdr_utmpidle): Likewise.
10492         (xdr_utmpidleptr): Likewise.
10493         (xdr_utmpidlearr): Likewise.
10495         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10496         log, log10 and log2.
10497         * math/auto-libm-test-out: Regenerated.
10498         * math/libm-test.inc (fmod_test_data): Add more tests.
10499         (fpclassify_test_data): Likewise.
10500         (frexp_test_data): Likewise.
10501         (hypot_test_data): Likewise.
10502         (ilogb_test_data): Likewise.
10504 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10506         * debug/fortify_fail.c (__fortify_fail): Convert to
10507         prototype-style function definition.  Use internal_function.
10508         * libio/genops.c (save_for_backup): Convert to prototype-style
10509         function definition.
10510         * libio/wgenops.c (save_for_wbackup): Likewise.
10511         * login/grantpt.c (grantpt): Likewise.
10512         * login/ptsname.c (ptsname): Likewise.
10513         (__ptsname_r): Likewise.
10514         * login/unlockpt.c (unlockpt): Likewise.
10515         * mach/msgserver.c (__mach_msg_server): Likewise.
10516         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10517         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10518         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10519         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10520         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10521         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10522         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10523         Likewise.
10524         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10525         internal_function.
10526         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10527         prototype-style function definition.
10528         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10529         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10530         (__pthread_create_2_0): Likewise.
10531         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10532         * nptl/register-atfork.c (__register_atfork): Likewise.
10533         * posix/glob.c (glob): Likewise.
10534         * posix/regcomp.c (re_comp): Likewise.
10535         * posix/regexec.c (re_exec): Likewise.
10536         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10537         [!__STDC__]: Remove conditional code.
10538         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10539         [!__STDC__]: Remove conditional code.
10540         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10541         [!__STDC__]: Remove conditional code.
10542         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10543         [!__STDC__]: Remove conditional code.
10544         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10545         [!__STDC__]: Remove conditional code.
10546         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10547         [!__STDC__]: Remove conditional code.
10548         * stdlib/mul.c [__STDC__]: Make code unconditional.
10549         [!__STDC__]: Remove conditional code.
10550         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10551         [!__STDC__]: Remove conditional code.
10552         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10553         [!__STDC__]: Remove conditional code.
10554         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10555         function definition.
10556         (STRTOF): Likewise.
10557         * stdlib/strtod_l.c (__STRTOF): Likewise.
10558         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10559         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10560         (__strtol_l): Likewise.
10561         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10562         [!__STDC__]: Remove conditional code.
10563         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10564         definition.
10565         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10566         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10567         type.
10568         (__strcasecmp): Convert to prototype-style function definition.
10569         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10570         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10571         type.
10572         (__strncasecmp): Convert to prototype-style function definition.
10573         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10574         * sunrpc/xdr.c (xdr_union): Likewise.
10575         * sunrpc/xdr_array.c (xdr_array): Likewise.
10576         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10577         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10578         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10579         Likewise.
10580         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10581         Likewise.
10582         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10583         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10584         Likewise.
10585         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10586         (LOCALE_PARAM_PROTO): Likewise.
10587         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10588         argument type.
10589         (ut_argument_spec): Remove macro.
10590         (ut_argument_spec_iso): Rename to ut_argument_spec.
10591         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10592         prototype-style function definition.
10593         (memcpy_uppcase): Likewise.
10594         (__strftime_internal): Likewise.
10595         (my_strftime): Likewise.
10596         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10597         (LOCALE_PARAM_DECL): Likewise.
10598         [_LIBC] (LOCALE_PARAM): Include argument type.
10599         (__strptime_internal): Convert to prototype-style function
10600         definition.
10601         (strptime): Likewise.
10602         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10603         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10604         type.
10605         (__wcscasecmp): Convert to prototype-style function definition.
10606         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10607         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10608         type.
10609         (__wcsncasecmp): Convert to prototype-style function definition.
10611         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10612         function definition.
10613         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10614         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10615         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10616         * elf/dl-minimal.c (_itoa): Likewise.
10617         * hurd/hurdmalloc.c (malloc): Likewise.
10618         (free): Likewise.
10619         (realloc): Likewise.
10620         * inet/inet6_option.c (inet6_option_space): Likewise.
10621         (inet6_option_init): Likewise.
10622         (inet6_option_append): Likewise.
10623         (inet6_option_alloc): Likewise.
10624         (inet6_option_next): Likewise.
10625         (inet6_option_find): Likewise.
10626         * io/ftw.c (FTW_NAME): Likewise.
10627         (NFTW_NAME): Likewise.
10628         (NFTW_NEW_NAME): Likewise.
10629         (NFTW_OLD_NAME): Likewise.
10630         * libio/iofwide.c (_IO_fwide): Likewise.
10631         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10632         (_IO_str_init_static): Likewise.
10633         (_IO_str_init_readonly): Likewise.
10634         (_IO_str_overflow): Likewise.
10635         (_IO_str_underflow): Likewise.
10636         (_IO_str_count): Likewise.
10637         (_IO_str_seekoff): Likewise.
10638         (_IO_str_pbackfail): Likewise.
10639         (_IO_str_finish): Likewise.
10640         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10641         (_IO_wstr_overflow): Likewise.
10642         (_IO_wstr_underflow): Likewise.
10643         (_IO_wstr_count): Likewise.
10644         (_IO_wstr_seekoff): Likewise.
10645         (_IO_wstr_pbackfail): Likewise.
10646         (_IO_wstr_finish): Likewise.
10647         * locale/programs/localedef.c (normalize_codeset): Likewise.
10648         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10649         (add_locales_to_archive): Likewise.
10650         (delete_locales_from_archive): Likewise.
10651         * malloc/malloc.c (__libc_mallinfo): Likewise.
10652         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10653         * misc/tsearch.c (__tfind): Likewise.
10654         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10655         * nptl/pthread_attr_getdetachstate.c
10656         (__pthread_attr_getdetachstate): Likewise.
10657         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10658         Likewise.
10659         * nptl/pthread_attr_getinheritsched.c
10660         (__pthread_attr_getinheritsched): Likewise.
10661         * nptl/pthread_attr_getschedparam.c
10662         (__pthread_attr_getschedparam): Likewise.
10663         * nptl/pthread_attr_getschedpolicy.c
10664         (__pthread_attr_getschedpolicy): Likewise.
10665         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10666         Likewise.
10667         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10668         Likewise.
10669         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10670         Likewise.
10671         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10672         Likewise.
10673         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10674         (__pthread_attr_init_2_0): Likewise.
10675         * nptl/pthread_attr_setdetachstate.c
10676         (__pthread_attr_setdetachstate): Likewise.
10677         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10678         Likewise.
10679         * nptl/pthread_attr_setinheritsched.c
10680         (__pthread_attr_setinheritsched): Likewise.
10681         * nptl/pthread_attr_setschedparam.c
10682         (__pthread_attr_setschedparam): Likewise.
10683         * nptl/pthread_attr_setschedpolicy.c
10684         (__pthread_attr_setschedpolicy): Likewise.
10685         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10686         Likewise.
10687         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10688         Likewise.
10689         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10690         Likewise.
10691         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10692         Likewise.
10693         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10694         Likewise.
10695         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10696         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10697         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10698         use internal_function.
10699         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10700         prototype-style function definition.
10701         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10702         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10703         internal_function.
10704         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10705         Convert to prototype-style function definition.
10706         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10707         Likewise.
10708         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10709         Likewise.
10710         (__pthread_mutex_unlock): Likewise.
10711         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10712         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10713         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10714         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10715         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10716         * nss/makedb.c (process_input): Likewise.
10717         * posix/fnmatch.c (__strchrnul): Likewise.
10718         (__wcschrnul): Likewise.
10719         (fnmatch): Likewise.
10720         * posix/fnmatch_loop.c (FCT): Likewise.
10721         * posix/glob.c (globfree): Likewise.
10722         (__glob_pattern_type): Likewise.
10723         (__glob_pattern_p): Likewise.
10724         * posix/regcomp.c (re_compile_pattern): Likewise.
10725         (re_set_syntax): Likewise.
10726         (re_compile_fastmap): Likewise.
10727         (regcomp): Likewise.
10728         (regerror): Likewise.
10729         (regfree): Likewise.
10730         * posix/regexec.c (regexec): Likewise.
10731         (re_match): Likewise.
10732         (re_search): Likewise.
10733         (re_match_2): Likewise.
10734         (re_search_2): Likewise.
10735         (re_search_stub): Likewise.  Use internal_function
10736         (re_copy_regs): Likewise.
10737         (re_set_registers): Convert to prototype-style function
10738         definition.
10739         (prune_impossible_nodes): Likewise.  Use internal_function.
10740         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10741         prototype-style function definition.
10742         (inet_net_pton_ipv4): Likewise.
10743         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10744         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10745         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10746         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10747         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10748         Make variadic.
10749         * time/strptime_l.c (localtime_r): Convert to prototype-style
10750         function definition.
10751         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10752         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10753         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10754         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10756         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10757         definition.
10758         (_ufc_doit_r): Likewise.
10759         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10760         (_ufc_output_conversion_r): Likewise.
10761         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10762         * inet/rcmd.c (rcmd_af): Likewise.
10763         (rcmd): Likewise.
10764         (ruserok_af): Likewise.
10765         (ruserok): Likewise.
10766         (ruserok2_sa): Likewise.
10767         (ruserok_sa): Likewise.
10768         (iruserok_af): Likewise.
10769         (iruserok): Likewise.
10770         (__ivaliduser): Likewise.
10771         (__validuser2_sa): Likewise.
10772         * inet/rexec.c (rexec_af): Likewise.
10773         (rexec): Likewise.
10774         * inet/ruserpass.c (ruserpass): Likewise.
10775         * locale/programs/xmalloc.c (xcalloc): Likewise.
10776         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10777         * math/w_drem.c (__drem): Likewise.
10778         * math/w_dremf.c (__dremf): Likewise.
10779         * math/w_dreml.c (__dreml): Likewise.
10780         * misc/daemon.c (daemon): Likewise.
10781         * resolv/res_debug.c (p_fqnname): Likewise.
10782         * stdlib/div.c (div): Likewise.
10783         * string/memcmp.c (memcmp_bytes): Likewise.
10784         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10785         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10787         * crypt/cert.c (main): Convert to prototype-style function
10788         definition.
10789         * io/pipe.c (__pipe): Likewise.
10790         * io/pipe2.c (__pipe2): Likewise.
10791         * misc/futimesat.c (futimesat): Likewise.
10792         * misc/utimes.c (__utimes): Likewise.
10793         * posix/execve.c (__execve): Likewise.
10794         * posix/execvp.c (execvp): Likewise.
10795         * posix/execvpe.c (__execvpe): Likewise.
10796         * posix/fexecve.c (fexecve): Likewise.
10797         * socket/socketpair.c (socketpair): Likewise.
10798         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10799         * stdlib/erand48.c (erand48): Likewise.
10800         * stdlib/erand48_r.c (__erand48_r): Likewise.
10801         * stdlib/jrand48.c (jrand48): Likewise.
10802         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10803         * stdlib/lcong48.c (lcong48): Likewise.
10804         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10805         * stdlib/nrand48.c (nrand48): Likewise.
10806         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10807         * stdlib/seed48.c (seed48): Likewise.
10808         * stdlib/seed48_r.c (__seed48_r): Likewise.
10809         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10810         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10811         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10813 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10815         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10816         * configure: Regenerated.
10817         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10818         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10819         unconditional.
10820         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10821         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10822         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10823         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10824         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10825         unconditional.
10826         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10828         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10829         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10831         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10832         function definition.
10833         * crypt/crypt_util.c (__encrypt_r): Likewise.
10834         * libio/genops.c (_IO_no_init): Likewise.
10835         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10836         (_IO_old_fopencookie): Likewise.
10837         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10838         * libio/iogetline.c (_IO_getline): Likewise.
10839         (_IO_getline_info): Likewise.
10840         * libio/iogetwline.c (_IO_getwline): Likewise.
10841         (_IO_getwline_info): Likewise.
10842         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10843         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10844         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10845         (find_entry): Likewise.
10846         (iterate_table): Likewise.
10847         (lookup): Likewise.
10848         * login/forkpty.c (forkpty): Likewise.
10849         * misc/hsearch_r.c (__hsearch_r): Likewise.
10850         * misc/select.c (__select): Likewise.
10851         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10852         Likewise.
10853         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10854         Likewise.
10855         * nptl/old_pthread_cond_timedwait.c
10856         (__pthread_cond_timedwait_2_0): Likewise.
10857         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10858         * nptl/pthread_barrierattr_getpshared.c
10859         (pthread_barrierattr_getpshared): Likewise.
10860         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10861         Likewise.
10862         * nptl/pthread_mutex_setprioceiling.c
10863         (pthread_mutex_setprioceiling): Likewise.
10864         * nptl/pthread_mutexattr_getprioceiling.c
10865         (pthread_mutexattr_getprioceiling): Likewise.
10866         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10867         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10868         Likewise.
10869         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10870         Likewise.
10871         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10872         Likewise.
10873         * socket/recvfrom.c (__recvfrom): Likewise.
10874         * socket/sendto.c (__sendto): Likewise.
10875         * socket/setsockopt.c (__setsockopt): Likewise.
10876         * stdio-common/_itoa.c (_itoa): Likewise.
10877         * stdio-common/_itowa.c (_itowa): Likewise.
10878         * stdio-common/reg-printf.c (__register_printf_specifier):
10879         Likewise.
10880         (__register_printf_function): Likewise.
10881         * stdio-common/tempname.c (__path_search): Likewise.
10882         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10883         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10884         * stdlib/random_r.c (__initstate_r): Likewise.
10885         * stdlib/setenv.c (__add_to_environ): Likewise.
10886         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10887         * streams/getpmsg.c (getpmsg): Likewise.
10888         * streams/putmsg.c (putmsg): Likewise.
10889         * streams/putpmsg.c (putpmsg): Likewise.
10890         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10891         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10892         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10893         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10894         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10895         * sunrpc/svc_udp.c (cache_get): Likewise.
10896         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10897         * sysdeps/mach/hurd/getcwd.c
10898         (__canonicalize_directory_name_internal): Likewise.
10899         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10900         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10901         * sysdeps/mach/hurd/select.c (__select): Likewise.
10902         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10903         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10904         * sysdeps/sparc/nptl/pthread_barrier_init.c
10905         (__pthread_barrier_init): Likewise.
10906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10907         (__pthread_cond_timedwait): Likewise.
10908         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10909         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10910         Likewise.
10911         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10912         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10913         Likewise.
10914         * sysvipc/semtimedop.c (semtimedop): Likewise.
10915         * time/setitimer.c (__setitimer): Likewise.
10916         * time/strftime_l.c (emacs_strftime): Likewise.
10918 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10920         * config.make.in (have-ssp): Delete.
10921         (stack-protector): New variable.
10922         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10923         cache test for -fstack-protector-strong.  Export stack_protector to
10924         the best ssp flag.
10925         * configure: Regenerated.
10926         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10927         * nscd/Makefile (CFLAGS-nscd): Likewise.
10928         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10930 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10932         [BZ #19122]
10933         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10934         attribute_hidden.
10936 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10938         [BZ #18743]
10939         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10940         code to...
10941         (ELIDE_LOCK): ...here.
10942         (__get_new_count): New function with part of the code from
10943         __elide_lock that updates the value of adapt_count after a
10944         transaction abort.
10945         (__elided_trylock): Moved this code to...
10946         (ELIDE_TRYLOCK): ...here.
10948 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10950         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10951         * configure: Regenerate.
10952         * INSTALL: Regenerate.
10953         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10954         and tweak grammar.
10956 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10958         * login/programs/pt_chown.c: Include signal.h
10959         (main): Clear any signal mask from the parent process.
10961 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10963         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10964         * configure: Regenerated.
10965         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10966         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10967         $(gnu89-inline-CFLAGS).
10969         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10970         test.
10971         (libc_cv_asm_weakext_directive): Likewise.
10972         * configure: Regenerated.
10973         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10974         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10975         * include/libc-symbols.h
10976         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10977         #error.
10978         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10979         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10981         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10982         prototype-style function definition.
10983         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10984         * sysdeps/i386/ffs.c (__ffs): Likewise.
10985         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10986         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10987         Likewise.
10988         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10989         Likewise.
10990         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10991         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10992         Likewise.
10993         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10994         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10995         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10996         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10997         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10998         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10999         * sysdeps/mach/hurd/access.c (__access): Likewise.
11000         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11001         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11002         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11003         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11004         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11005         (cthread_getspecific): Likewise.
11006         (cthread_setspecific): Likewise.
11007         (__libc_getspecific): Likewise.
11008         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11009         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11010         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11011         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11012         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11013         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11014         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11015         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11016         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11017         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11018         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11019         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11020         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11021         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11022         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11023         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11024         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11025         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11026         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11027         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11028         * sysdeps/mach/hurd/link.c (__link): Likewise.
11029         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11030         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11031         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11032         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11033         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11034         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11035         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11036         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11037         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11038         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11039         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11040         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11041         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11042         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11043         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11044         * sysdeps/mach/hurd/send.c (__send): Likewise.
11045         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11046         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11047         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11048         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11049         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11050         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11051         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11052         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11053         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11054         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11055         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11056         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11057         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11058         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11059         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11060         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11061         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11062         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11063         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11064         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11065         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11066         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11067         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11068         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11069         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11070         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11071         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11072         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11073         * sysdeps/posix/alarm.c (alarm): Likewise.
11074         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11075         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11076         * sysdeps/posix/dup.c (__dup): Likewise.
11077         * sysdeps/posix/dup2.c (__dup2): Likewise.
11078         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11079         (main): Likewise.
11080         * sysdeps/posix/flock.c (__flock): Likewise.
11081         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11082         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11083         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11084         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11085         * sysdeps/posix/isatty.c (__isatty): Likewise.
11086         * sysdeps/posix/killpg.c (killpg): Likewise.
11087         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11088         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11089         * sysdeps/posix/raise.c (raise): Likewise.
11090         * sysdeps/posix/remove.c (remove): Likewise.
11091         * sysdeps/posix/rename.c (rename): Likewise.
11092         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11093         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11094         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11095         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11096         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11097         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11098         * sysdeps/posix/sigset.c (sigset): Likewise.
11099         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11100         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11101         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11102         * sysdeps/posix/time.c (time): Likewise.
11103         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11104         (ttyname): Likewise.
11105         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11106         * sysdeps/posix/utime.c (utime): Likewise.
11107         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11108         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11109         Likewise.
11110         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11111         (pthread_spin_trylock): Likewise.
11112         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11113         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11114         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11115         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11116         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11117         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11118         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11119         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11120         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11121         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11122         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11123         * sysdeps/s390/ffs.c (__ffs): Likewise.
11124         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11125         Likewise.
11126         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11127         Likewise.
11128         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11129         Likewise.
11130         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11131         (pthread_barrier_destroy): Likewise.
11132         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11133         (__pthread_barrier_wait): Likewise.
11134         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11135         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11136         (__pthread_barrier_wait): Likewise.
11137         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11138         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11139         (memcmp_not_common_alignment): Likewise.
11140         (MEMCMP): Likewise.
11141         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11142         (_wordcopy_fwd_dest_aligned): Likewise.
11143         (_wordcopy_bwd_aligned): Likewise.
11144         (_wordcopy_bwd_dest_aligned): Likewise.
11145         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11146         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11147         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11148         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11149         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11150         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11151         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11152         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11153         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11154         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11155         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11156         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11157         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11158         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11159         * sysdeps/unix/stime.c (stime): Likewise.
11160         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11161         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11162         Likewise.  Use internal_function.
11163         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11164         Convert to prototype-style function definition.
11165         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11166         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11167         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11168         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11169         Likewise.  Use internal_function.
11170         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11171         prototype-style function definition
11172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11173         Likewise.
11174         (__getlogin_r): Likewise.
11175         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11176         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11177         (__pthread_cond_broadcast): Likewise.
11178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11179         (__pthread_cond_destroy): Likewise.
11180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11181         (__pthread_cond_init): Likewise.
11182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11183         (__pthread_cond_signal): Likewise.
11184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11185         (__pthread_cond_wait): Likewise.
11186         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11187         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11188         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11189         Likewise.
11190         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11191         Likewise.
11192         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11193         Likewise.
11194         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11195         Likewise.
11196         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11198         (__ftruncate64): Likewise.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11200         (truncate64): Likewise.
11201         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11202         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11203         (pthread_getcpuclockid): Likewise.
11204         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11207         Likewise.
11208         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11211         Likewise.
11212         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11213         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11214         (__libc_sigaction): Likewise.
11215         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11216         Likewise.
11217         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11218         (__sigprocmask): Likewise.
11219         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11220         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11221         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11222         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11223         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11224         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11225         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11226         Likewise.
11227         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11228         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11229         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11230         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11231         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11232         Likewise.
11233         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11234         (__sigprocmask): Likewise.
11235         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11236         (cfgetispeed): Likewise.
11237         (cfsetospeed): Likewise.
11238         (cfsetispeed): Likewise.
11239         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11240         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11241         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11242         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11243         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11244         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11245         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11246         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11247         Likewise.
11248         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11249         Likewise.
11250         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11251         Likewise.
11252         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11253         Likewise.
11254         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11256 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11258         sunrpc: Rewrite with explicit TLS access using __thread.
11259         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11260         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11261         directly.
11262         (__rpc_thread_variables): Access thread_rpc_vars directly.
11263         Eliminate redundant assignment of the tvp variable.
11265 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11267         malloc: Rewrite with explicit TLS access using __thread.
11268         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11269         (tsd_setspecific, tsd_getspecific): Remove.
11270         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11271         (tsd_setspecific, tsd_getspecific): Likewise.
11272         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11273         (tsd_setspecific, tsd_getspecific): Likewise.
11274         * malloc/arena.c (thread_arena): New TLS variable.
11275         (arena_key): Remove variable.
11276         (arena_get): Use thread_arena.
11277         (arena_lookup): Remove macro.
11278         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11279         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11280         (_int_new_arena, get_free_list, reused_arena)
11281         (arena_thread_freeres): Use thread_arena.
11282         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11283         tsd_getspecific, tsd_setspecific from safety annotations.
11284         (Allocating Cleared Space): Remove arena_lookup from safety
11285         annotations.
11287 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11289         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11290         struct scratch_buffer instead of extend_alloca.
11292 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11294         * sysdeps/unix/sysv/linux/kernel-features.h
11295         (__ASSUME_SOCK_CLOEXEC): Remove.
11296         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11297         (__have_paccept): Remove unused macro.
11298         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11299         * misc/syslog.c (openlog_internal): Remove fallback code for
11300         !__ASSUME_SOCK_CLOEXEC.
11301         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11302         missing SOCK_CLOEXEC.
11303         * nscd/connections.c (have_sock_cloexec): Remove definition.
11304         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11305         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11306         !__ASSUME_SOCK_CLOEXEC.
11307         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11308         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11309         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11310         definition.
11311         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11312         code for !__ASSUME_SOCK_CLOEXEC.
11314 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11316         [BZ #18982]
11317         * manual/stdio.texi (Variable Arguments Output): Add portability
11318         note, explaining that vfprintf clobbers the va_list pointer.
11320 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11322         * math/libm-test.inc (fabs_test_data): Add more tests.
11323         (fdim_test_data): Likewise.
11324         (fma_test_data): Likewise.
11325         (fmax_test_data): Likewise.
11326         (fmin_test_data): Likewise.
11327         (fmod_test_data): Likewise.
11329 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11331         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11332         data.
11334 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11336         * math/libm-test.inc (ceil_test_data): Add more tests and more
11337         expectations for "inexact".
11338         (floor_test_data): Add more tests.
11339         (round_test_data): Likewise.
11340         (trunc_test_data): Likewise.
11342         * crypt/cert.c (good_bye): Convert to prototype-style function
11343         definition.
11344         (get8): Likewise.
11345         (put8): Likewise.
11346         * crypt/crypt-entry.c (crypt): Likewise.
11347         (__fcrypt): Likewise.
11348         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11349         (_ufc_set_bits): Likewise.
11350         (_ufc_clearmem): Likewise.
11351         (__init_des_r): Likewise.
11352         (shuffle_sb): Likewise.
11353         (shuffle_sb): Likewise.
11354         (_ufc_setup_salt_r): Likewise.
11355         (_ufc_mk_keytab_r): Likewise.
11356         (_ufc_dofinalperm_r): Likewise.
11357         (encrypt): Likewise.
11358         (__setkey_r): Likewise.
11359         (setkey): Likewise.
11360         * crypt/md5.c (md5_init_ctx): Likewise.
11361         (md5_read_ctx): Likewise.
11362         (md5_finish_ctx): Likewise.
11363         (md5_stream): Likewise.
11364         (md5_buffer): Likewise.
11365         (md5_process_bytes): Likewise.
11366         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11367         (__sha256_finish_ctx): Likewise.
11368         (__sha256_process_bytes): Likewise.
11369         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11370         (__sha512_finish_ctx): Likewise.
11371         (__sha512_process_bytes): Likewise.
11372         * ctype/isctype.c (__isctype): Likewise.
11373         * debug/backtrace.c (__backtrace): Likewise.
11374         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11375         * debug/fgets_chk.c (__fgets_chk): Likewise.
11376         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11377         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11378         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11379         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11380         * debug/memset_chk.c (__memset_chk): Likewise.
11381         * debug/strcat_chk.c (__strcat_chk): Likewise.
11382         * debug/strncat_chk.c (__strncat_chk): Likewise.
11383         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11384         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11385         * dirent/dirfd.c (dirfd): Likewise.
11386         * dirent/getdents.c (__getdirentries): Likewise.
11387         * dirent/getdents64.c (getdirentries64): Likewise.
11388         * dirent/rewinddir.c (__rewinddir): Likewise.
11389         * dirent/seekdir.c (seekdir): Likewise.
11390         * dirent/telldir.c (telldir): Likewise.
11391         * elf/sln.c (makesymlinks): Likewise.
11392         (makesymlink): Likewise.
11393         * gmon/gmon.c (__moncontrol): Likewise.
11394         (__monstartup): Likewise.
11395         (write_hist): Likewise.
11396         (write_call_graph): Likewise.
11397         (write_bb_counts): Likewise.
11398         * grp/setgroups.c (setgroups): Likewise.
11399         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11400         * inet/inet_net.c (inet_network): Likewise.
11401         * inet/inet_netof.c (inet_netof): Likewise.
11402         * inet/rcmd.c (rresvport_af): Likewise.
11403         (rresvport): Likewise.
11404         * io/access.c (__access): Likewise.
11405         * io/chdir.c (__chdir): Likewise.
11406         * io/chmod.c (__chmod): Likewise.
11407         * io/chown.c (__chown): Likewise.
11408         * io/close.c (__close): Likewise.
11409         * io/creat.c (creat): Likewise.
11410         * io/creat64.c (creat64): Likewise.
11411         * io/dup.c (__dup): Likewise.
11412         * io/dup2.c (__dup2): Likewise.
11413         * io/dup3.c (__dup3): Likewise.
11414         * io/euidaccess.c (__euidaccess): Likewise.
11415         * io/faccessat.c (faccessat): Likewise.
11416         * io/fchmod.c (__fchmod): Likewise.
11417         * io/fchmodat.c (fchmodat): Likewise.
11418         * io/fchown.c (__fchown): Likewise.
11419         * io/fchownat.c (fchownat): Likewise.
11420         * io/fcntl.c (__fcntl): Likewise.
11421         * io/flock.c (__flock): Likewise.
11422         * io/fts.c (fts_load): Likewise.
11423         (fts_close): Likewise.
11424         (fts_read): Likewise.
11425         (fts_set): Likewise.
11426         (fts_children): Likewise.
11427         (fts_build): Likewise.
11428         (fts_stat): Likewise.
11429         (fts_sort): Likewise.
11430         (fts_alloc): Likewise.
11431         (fts_lfree): Likewise.
11432         (fts_palloc): Likewise.
11433         (fts_padjust): Likewise.
11434         (fts_maxarglen): Likewise.
11435         (fts_safe_changedir): Likewise.
11436         * io/getwd.c (getwd): Likewise.
11437         * io/isatty.c (__isatty): Likewise.
11438         * io/lchown.c (__lchown): Likewise.
11439         * io/link.c (__link): Likewise.
11440         * io/linkat.c (linkat): Likewise.
11441         * io/lseek.c (__libc_lseek): Likewise.
11442         * io/mkdir.c (__mkdir): Likewise.
11443         * io/mkdirat.c (mkdirat): Likewise.
11444         * io/mkfifo.c (mkfifo): Likewise.
11445         * io/mkfifoat.c (mkfifoat): Likewise.
11446         * io/open.c (__libc_open): Likewise.
11447         * io/open64.c (__libc_open64): Likewise.
11448         * io/readlink.c (__readlink): Likewise.
11449         * io/readlinkat.c (readlinkat): Likewise.
11450         * io/rmdir.c (__rmdir): Likewise.
11451         * io/symlink.c (__symlink): Likewise.
11452         * io/symlinkat.c (symlinkat): Likewise.
11453         * io/ttyname.c (ttyname): Likewise.
11454         * io/ttyname_r.c (__ttyname_r): Likewise.
11455         * io/umask.c (__umask): Likewise.
11456         * io/unlink.c (__unlink): Likewise.
11457         * io/unlinkat.c (unlinkat): Likewise.
11458         * io/utime.c (utime): Likewise.
11459         * libio/clearerr.c (clearerr): Likewise.
11460         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11461         * libio/feof.c (_IO_feof): Likewise.
11462         * libio/feof_u.c (feof_unlocked): Likewise.
11463         * libio/ferror.c (_IO_ferror): Likewise.
11464         * libio/ferror_u.c (ferror_unlocked): Likewise.
11465         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11466         * libio/fileno.c (__fileno): Likewise.
11467         * libio/fputc.c (fputc): Likewise.
11468         * libio/fputc_u.c (fputc_unlocked): Likewise.
11469         * libio/fputwc.c (fputwc): Likewise.
11470         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11471         * libio/freopen.c (freopen): Likewise.
11472         * libio/freopen64.c (freopen64): Likewise.
11473         * libio/fseek.c (fseek): Likewise.
11474         * libio/fseeko.c (fseeko): Likewise.
11475         * libio/fseeko64.c (fseeko64): Likewise.
11476         * libio/ftello.c (__ftello): Likewise.
11477         * libio/ftello64.c (ftello64): Likewise.
11478         * libio/fwide.c (fwide): Likewise.
11479         * libio/genops.c (_IO_un_link): Likewise.
11480         (_IO_link_in): Likewise.
11481         (_IO_least_marker): Likewise.
11482         (_IO_switch_to_main_get_area): Likewise.
11483         (_IO_switch_to_backup_area): Likewise.
11484         (_IO_switch_to_get_mode): Likewise.
11485         (_IO_free_backup_area): Likewise.
11486         (_IO_switch_to_put_mode): Likewise.
11487         (__overflow): Likewise.
11488         (__underflow): Likewise.
11489         (__uflow): Likewise.
11490         (_IO_setb): Likewise.
11491         (_IO_doallocbuf): Likewise.
11492         (_IO_default_underflow): Likewise.
11493         (_IO_default_uflow): Likewise.
11494         (_IO_default_xsputn): Likewise.
11495         (_IO_sgetn): Likewise.
11496         (_IO_default_xsgetn): Likewise.
11497         (_IO_sync): Likewise.
11498         (_IO_default_setbuf): Likewise.
11499         (_IO_default_seekpos): Likewise.
11500         (_IO_default_doallocate): Likewise.
11501         (_IO_init): Likewise.
11502         (_IO_old_init): Likewise.
11503         (_IO_default_sync): Likewise.
11504         (_IO_default_finish): Likewise.
11505         (_IO_default_seekoff): Likewise.
11506         (_IO_sputbackc): Likewise.
11507         (_IO_sungetc): Likewise.
11508         (_IO_set_column): Likewise.
11509         (_IO_set_column): Likewise.
11510         (_IO_adjust_column): Likewise.
11511         (_IO_get_column): Likewise.
11512         (_IO_init_marker): Likewise.
11513         (_IO_remove_marker): Likewise.
11514         (_IO_marker_difference): Likewise.
11515         (_IO_marker_delta): Likewise.
11516         (_IO_seekmark): Likewise.
11517         (_IO_unsave_markers): Likewise.
11518         (_IO_nobackup_pbackfail): Likewise.
11519         (_IO_default_pbackfail): Likewise.
11520         (_IO_default_seek): Likewise.
11521         (_IO_default_stat): Likewise.
11522         (_IO_default_read): Likewise.
11523         (_IO_default_write): Likewise.
11524         (_IO_default_showmanyc): Likewise.
11525         (_IO_default_imbue): Likewise.
11526         (_IO_iter_next): Likewise.
11527         (_IO_iter_file): Likewise.
11528         * libio/getc.c (_IO_getc): Likewise.
11529         * libio/getwc.c (_IO_getwc): Likewise.
11530         * libio/iofclose.c (_IO_new_fclose): Likewise.
11531         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11532         * libio/iofflush.c (_IO_fflush): Likewise.
11533         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11534         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11535         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11536         * libio/iofgets.c (_IO_fgets): Likewise.
11537         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11538         * libio/iofgetws.c (fgetws): Likewise.
11539         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11540         * libio/iofopen64.c (_IO_fopen64): Likewise.
11541         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11542         (_IO_cookie_write): Likewise.
11543         (_IO_cookie_seek): Likewise.
11544         (_IO_cookie_close): Likewise.
11545         (_IO_cookie_seekoff): Likewise.
11546         (_IO_old_cookie_seek): Likewise.
11547         * libio/iofputs.c (_IO_fputs): Likewise.
11548         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11549         * libio/iofputws.c (fputws): Likewise.
11550         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11551         * libio/iofread.c (_IO_fread): Likewise.
11552         * libio/iofread_u.c (__fread_unlocked): Likewise.
11553         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11554         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11555         * libio/ioftell.c (_IO_ftell): Likewise.
11556         * libio/iofwrite.c (_IO_fwrite): Likewise.
11557         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11558         * libio/iogets.c (_IO_gets): Likewise.
11559         * libio/iopadn.c (_IO_padn): Likewise.
11560         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11561         (_IO_new_popen): Likewise.
11562         (_IO_new_proc_close): Likewise.
11563         * libio/ioputs.c (_IO_puts): Likewise.
11564         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11565         (_IO_seekoff): Likewise.
11566         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11567         (_IO_seekpos): Likewise.
11568         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11569         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11570         * libio/ioungetc.c (_IO_ungetc): Likewise.
11571         * libio/ioungetwc.c (ungetwc): Likewise.
11572         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11573         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11574         * libio/iowpadn.c (_IO_wpadn): Likewise.
11575         * libio/libc_fatal.c (__libc_fatal): Likewise.
11576         * libio/memstream.c (__open_memstream): Likewise.
11577         (_IO_mem_sync): Likewise.
11578         (_IO_mem_finish): Likewise.
11579         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11580         (_IO_old_file_close_it): Likewise.
11581         (_IO_old_file_finish): Likewise.
11582         (_IO_old_file_fopen): Likewise.
11583         (_IO_old_file_attach): Likewise.
11584         (_IO_old_file_setbuf): Likewise.
11585         (_IO_old_do_write): Likewise.
11586         (old_do_write): Likewise.
11587         (_IO_old_file_underflow): Likewise.
11588         (_IO_old_file_overflow): Likewise.
11589         (_IO_old_file_sync): Likewise.
11590         (_IO_old_file_seekoff): Likewise.
11591         (_IO_old_file_write): Likewise.
11592         (_IO_old_file_xsputn): Likewise.
11593         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11594         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11595         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11596         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11597         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11598         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11599         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11600         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11601         (_IO_old_popen): Likewise.
11602         (_IO_old_proc_close): Likewise.
11603         * libio/oldpclose.c (__old_pclose): Likewise.
11604         * libio/pclose.c (__new_pclose): Likewise.
11605         * libio/peekc.c (_IO_peekc_locked): Likewise.
11606         * libio/putc.c (_IO_putc): Likewise.
11607         * libio/putc_u.c (putc_unlocked): Likewise.
11608         * libio/putchar.c (putchar): Likewise.
11609         * libio/putchar_u.c (putchar_unlocked): Likewise.
11610         * libio/putwc.c (putwc): Likewise.
11611         * libio/putwc_u.c (putwc_unlocked): Likewise.
11612         * libio/putwchar.c (putwchar): Likewise.
11613         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11614         * libio/rewind.c (rewind): Likewise.
11615         * libio/setbuf.c (setbuf): Likewise.
11616         * libio/setlinebuf.c (setlinebuf): Likewise.
11617         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11618         * libio/vscanf.c (_IO_vscanf): Likewise.
11619         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11620         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11621         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11622         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11623         (_IO_switch_to_main_wget_area): Likewise.
11624         (_IO_switch_to_wbackup_area): Likewise.
11625         (_IO_wsetb): Likewise.
11626         (_IO_wdefault_pbackfail): Likewise.
11627         (_IO_wdefault_finish): Likewise.
11628         (_IO_wdefault_uflow): Likewise.
11629         (__woverflow): Likewise.
11630         (__wuflow): Likewise.
11631         (__wunderflow): Likewise.
11632         (_IO_wdefault_xsputn): Likewise.
11633         (_IO_wdefault_xsgetn): Likewise.
11634         (_IO_wdoallocbuf): Likewise.
11635         (_IO_wdefault_doallocate): Likewise.
11636         (_IO_switch_to_wget_mode): Likewise.
11637         (_IO_free_wbackup_area): Likewise.
11638         (_IO_switch_to_wput_mode): Likewise.
11639         (_IO_sputbackwc): Likewise.
11640         (_IO_sungetwc): Likewise.
11641         (_IO_adjust_wcolumn): Likewise.
11642         (_IO_init_wmarker): Likewise.
11643         (_IO_wmarker_delta): Likewise.
11644         (_IO_seekwmark): Likewise.
11645         (_IO_unsave_wmarkers): Likewise.
11646         * libio/wmemstream.c (open_wmemstream): Likewise.
11647         (_IO_wmem_sync): Likewise.
11648         (_IO_wmem_finish): Likewise.
11649         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11650         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11651         * locale/programs/simple-hash.c (init_hash): Likewise.
11652         (delete_hash): Likewise.
11653         (insert_entry): Likewise.
11654         (set_entry): Likewise.
11655         (next_prime): Likewise.
11656         (is_prime): Likewise.
11657         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11658         (xmalloc): Likewise.
11659         (xrealloc): Likewise.
11660         * locale/programs/xstrdup.c (xstrdup): Likewise.
11661         * localedata/collate-test.c (xstrcoll): Likewise.
11662         * localedata/xfrm-test.c (xstrcmp): Likewise.
11663         * login/getlogin_r.c (__getlogin_r): Likewise.
11664         * login/getpt.c (__posix_openpt): Likewise.
11665         * login/login_tty.c (login_tty): Likewise.
11666         * login/setlogin.c (setlogin): Likewise.
11667         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11668         (mach_msg_destroy_port): Likewise.
11669         (mach_msg_destroy_memory): Likewise.
11670         * malloc/mcheck.c (flood): Likewise.
11671         * misc/acct.c (acct): Likewise.
11672         * misc/brk.c (__brk): Likewise.
11673         * misc/chflags.c (chflags): Likewise.
11674         * misc/chroot.c (chroot): Likewise.
11675         * misc/fchflags.c (fchflags): Likewise.
11676         * misc/fstab.c (getfsspec): Likewise.
11677         (getfsfile): Likewise.
11678         * misc/fsync.c (fsync): Likewise.
11679         * misc/ftruncate.c (__ftruncate): Likewise.
11680         * misc/ftruncate64.c (__ftruncate64): Likewise.
11681         * misc/getdomain.c (getdomainname): Likewise.
11682         (getdomainname): Likewise.
11683         * misc/gethostname.c (__gethostname): Likewise.
11684         * misc/getpass.c (getpass): Likewise.
11685         * misc/getttyent.c (skip): Likewise.
11686         (value): Likewise.
11687         * misc/gtty.c (gtty): Likewise.
11688         * misc/hsearch.c (hsearch): Likewise.
11689         (hcreate): Likewise.
11690         * misc/hsearch_r.c (__hcreate_r): Likewise.
11691         (__hdestroy_r): Likewise.
11692         * misc/ioctl.c (__ioctl): Likewise.
11693         * misc/mkdtemp.c (mkdtemp): Likewise.
11694         * misc/mkostemp.c (mkostemp): Likewise.
11695         * misc/mkostemp64.c (mkostemp64): Likewise.
11696         * misc/mkostemps.c (mkostemps): Likewise.
11697         * misc/mkostemps64.c (mkostemps64): Likewise.
11698         * misc/mkstemp.c (mkstemp): Likewise.
11699         * misc/mkstemp64.c (mkstemp64): Likewise.
11700         * misc/mkstemps.c (mkstemps): Likewise.
11701         * misc/mkstemps64.c (mkstemps64): Likewise.
11702         * misc/mktemp.c (__mktemp): Likewise.
11703         * misc/preadv.c (preadv): Likewise.
11704         * misc/preadv64.c (preadv64): Likewise.
11705         * misc/pwritev.c (pwritev): Likewise.
11706         * misc/pwritev64.c (pwritev64): Likewise.
11707         * misc/readv.c (__readv): Likewise.
11708         * misc/revoke.c (revoke): Likewise.
11709         * misc/setdomain.c (setdomainname): Likewise.
11710         * misc/setegid.c (setegid): Likewise.
11711         * misc/seteuid.c (seteuid): Likewise.
11712         * misc/sethostid.c (sethostid): Likewise.
11713         * misc/sethostname.c (sethostname): Likewise.
11714         * misc/setregid.c (__setregid): Likewise.
11715         * misc/setreuid.c (__setreuid): Likewise.
11716         * misc/sstk.c (sstk): Likewise.
11717         * misc/stty.c (stty): Likewise.
11718         * misc/syscall.c (syscall): Likewise.
11719         * misc/syslog.c (setlogmask): Likewise.
11720         * misc/truncate.c (__truncate): Likewise.
11721         * misc/truncate64.c (truncate64): Likewise.
11722         * misc/ualarm.c (ualarm): Likewise.
11723         * misc/usleep.c (usleep): Likewise.
11724         * misc/ustat.c (ustat): Likewise.
11725         * misc/writev.c (__writev): Likewise.
11726         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11727         * nptl/old_pthread_cond_broadcast.c
11728         (__pthread_cond_broadcast_2_0): Likewise.
11729         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11730         Likewise.
11731         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11732         Likewise.
11733         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11734         Likewise.
11735         * nptl/pt-raise.c (raise): Likewise.
11736         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11737         Likewise.
11738         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11739         * nptl/pthread_barrierattr_destroy.c
11740         (pthread_barrierattr_destroy): Likewise.
11741         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11742         Likewise.
11743         * nptl/pthread_barrierattr_setpshared.c
11744         (pthread_barrierattr_setpshared): Likewise.
11745         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11746         Likewise.
11747         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11748         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11749         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11750         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11751         Likewise.
11752         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11753         Likewise.
11754         * nptl/pthread_condattr_getpshared.c
11755         (pthread_condattr_getpshared): Likewise.
11756         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11757         Likewise.
11758         * nptl/pthread_condattr_setpshared.c
11759         (pthread_condattr_setpshared): Likewise.
11760         * nptl/pthread_detach.c (pthread_detach): Likewise.
11761         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11762         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11763         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11764         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11765         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11766         Likewise.
11767         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11768         Likewise.
11769         * nptl/pthread_mutex_getprioceiling.c
11770         (pthread_mutex_getprioceiling): Likewise.
11771         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11772         Likewise.
11773         * nptl/pthread_mutexattr_getprotocol.c
11774         (pthread_mutexattr_getprotocol): Likewise.
11775         * nptl/pthread_mutexattr_getpshared.c
11776         (pthread_mutexattr_getpshared): Likewise.
11777         * nptl/pthread_mutexattr_getrobust.c
11778         (pthread_mutexattr_getrobust): Likewise.
11779         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11780         Likewise.
11781         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11782         Likewise.
11783         * nptl/pthread_mutexattr_setprioceiling.c
11784         (pthread_mutexattr_setprioceiling): Likewise.
11785         * nptl/pthread_mutexattr_setprotocol.c
11786         (pthread_mutexattr_setprotocol): Likewise.
11787         * nptl/pthread_mutexattr_setpshared.c
11788         (pthread_mutexattr_setpshared): Likewise.
11789         * nptl/pthread_mutexattr_setrobust.c
11790         (pthread_mutexattr_setrobust): Likewise.
11791         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11792         Likewise.
11793         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11794         Likewise.
11795         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11796         Likewise.
11797         * nptl/pthread_rwlockattr_getkind_np.c
11798         (pthread_rwlockattr_getkind_np): Likewise.
11799         * nptl/pthread_rwlockattr_getpshared.c
11800         (pthread_rwlockattr_getpshared): Likewise.
11801         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11802         Likewise.
11803         * nptl/pthread_rwlockattr_setkind_np.c
11804         (pthread_rwlockattr_setkind_np): Likewise.
11805         * nptl/pthread_rwlockattr_setpshared.c
11806         (pthread_rwlockattr_setpshared): Likewise.
11807         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11808         Likewise.
11809         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11810         Likewise.
11811         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11812         Likewise.
11813         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11814         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11815         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11816         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11817         * nptl/sem_close.c (sem_close): Likewise.
11818         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11819         * nptl/sem_init.c (__old_sem_init): Likewise.
11820         * nptl/sigaction.c (__sigaction): Likewise.
11821         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11822         * posix/_exit.c (_exit): Likewise.
11823         * posix/alarm.c (alarm): Likewise.
11824         * posix/confstr.c (confstr): Likewise.
11825         * posix/fpathconf.c (__fpathconf): Likewise.
11826         * posix/getgroups.c (__getgroups): Likewise.
11827         * posix/getpgid.c (__getpgid): Likewise.
11828         * posix/group_member.c (__group_member): Likewise.
11829         * posix/pathconf.c (__pathconf): Likewise.
11830         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11831         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11832         * posix/setgid.c (__setgid): Likewise.
11833         * posix/setpgid.c (__setpgid): Likewise.
11834         * posix/setuid.c (__setuid): Likewise.
11835         * posix/sleep.c (__sleep): Likewise.
11836         * posix/sysconf.c (__sysconf): Likewise.
11837         * posix/times.c (__times): Likewise.
11838         * posix/uname.c (__uname): Likewise.
11839         * posix/waitid.c (__waitid): Likewise.
11840         * pwd/getpw.c (__getpw): Likewise.
11841         * resolv/base64.c (b64_pton): Likewise.
11842         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11843         * resolv/gethnamaddr.c (Dprintf): Likewise.
11844         (gethostbyname): Likewise.
11845         (gethostbyname2): Likewise.
11846         (gethostbyaddr): Likewise.
11847         (_sethtent): Likewise.
11848         (_gethtbyname): Likewise.
11849         (_gethtbyname2): Likewise.
11850         (_gethtbyaddr): Likewise.
11851         (map_v4v6_address): Likewise.
11852         (map_v4v6_hostent): Likewise.
11853         (addrsort): Likewise.
11854         (ht_sethostent): Likewise.
11855         (ht_gethostbyname): Likewise.
11856         (ht_gethostbyaddr): Likewise.
11857         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11858         (inet_net_ntop_ipv4): Likewise.
11859         * resolv/inet_neta.c (inet_neta): Likewise.
11860         * resolv/inet_ntop.c (inet_ntop): Likewise.
11861         (inet_ntop4): Likewise.
11862         (inet_ntop6): Likewise.
11863         * resolv/inet_pton.c (__inet_pton): Likewise.
11864         (inet_pton4): Likewise.
11865         (inet_pton6): Likewise.
11866         * resolv/res_debug.c (loc_aton): Likewise.
11867         (loc_ntoa): Likewise.
11868         * resource/getpriority.c (__getpriority): Likewise.
11869         * resource/getrusage.c (__getrusage): Likewise.
11870         * resource/nice.c (nice): Likewise.
11871         * resource/setpriority.c (__setpriority): Likewise.
11872         * resource/setrlimit64.c (setrlimit64): Likewise.
11873         * resource/vlimit.c (vlimit): Likewise.
11874         * resource/vtimes.c (vtimes): Likewise.
11875         * rt/aio_error.c (aio_error): Likewise.
11876         * rt/aio_return.c (aio_return): Likewise.
11877         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11878         * signal/kill.c (__kill): Likewise.
11879         * signal/killpg.c (killpg): Likewise.
11880         * signal/raise.c (raise): Likewise.
11881         * signal/sigaction.c (__sigaction): Likewise.
11882         * signal/sigaddset.c (sigaddset): Likewise.
11883         * signal/sigaltstack.c (sigaltstack): Likewise.
11884         * signal/sigandset.c (sigandset): Likewise.
11885         * signal/sigblock.c (__sigblock): Likewise.
11886         * signal/sigdelset.c (sigdelset): Likewise.
11887         * signal/sigempty.c (sigemptyset): Likewise.
11888         * signal/sigfillset.c (sigfillset): Likewise.
11889         * signal/sighold.c (sighold): Likewise.
11890         * signal/sigignore.c (sigignore): Likewise.
11891         * signal/sigintr.c (siginterrupt): Likewise.
11892         * signal/sigisempty.c (sigisemptyset): Likewise.
11893         * signal/sigismem.c (sigismember): Likewise.
11894         * signal/signal.c (signal): Likewise.
11895         * signal/sigorset.c (sigorset): Likewise.
11896         * signal/sigpause.c (__sigpause): Likewise.
11897         * signal/sigpending.c (sigpending): Likewise.
11898         * signal/sigprocmask.c (__sigprocmask): Likewise.
11899         * signal/sigrelse.c (sigrelse): Likewise.
11900         * signal/sigreturn.c (__sigreturn): Likewise.
11901         * signal/sigset.c (sigset): Likewise.
11902         * signal/sigsetmask.c (__sigsetmask): Likewise.
11903         * signal/sigstack.c (sigstack): Likewise.
11904         * signal/sigsuspend.c (__sigsuspend): Likewise.
11905         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11906         * signal/sysv_signal.c (__sysv_signal): Likewise.
11907         * socket/accept.c (accept): Likewise.
11908         * socket/accept4.c (__libc_accept4): Likewise.
11909         * socket/bind.c (__bind): Likewise.
11910         * socket/connect.c (__connect): Likewise.
11911         * socket/getpeername.c (getpeername): Likewise.
11912         * socket/getsockname.c (__getsockname): Likewise.
11913         * socket/getsockopt.c (getsockopt): Likewise.
11914         * socket/listen.c (__listen): Likewise.
11915         * socket/recv.c (__recv): Likewise.
11916         * socket/recvmsg.c (__recvmsg): Likewise.
11917         * socket/send.c (__send): Likewise.
11918         * socket/sendmsg.c (__sendmsg): Likewise.
11919         * socket/shutdown.c (shutdown): Likewise.
11920         * socket/sockatmark.c (sockatmark): Likewise.
11921         * socket/socket.c (__socket): Likewise.
11922         * stdio-common/ctermid.c (ctermid): Likewise.
11923         * stdio-common/cuserid.c (cuserid): Likewise.
11924         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11925         * stdio-common/remove.c (remove): Likewise.
11926         * stdio-common/rename.c (rename): Likewise.
11927         * stdio-common/renameat.c (renameat): Likewise.
11928         * stdio-common/tempname.c (__gen_tempname): Likewise.
11929         * stdio-common/xbug.c (InitBuffer): Likewise.
11930         (AppendToBuffer): Likewise.
11931         (ReadFile): Likewise.
11932         * stdlib/a64l.c (a64l): Likewise.
11933         * stdlib/drand48_r.c (drand48_r): Likewise.
11934         * stdlib/getcontext.c (getcontext): Likewise.
11935         * stdlib/getenv.c (getenv): Likewise.
11936         * stdlib/l64a.c (l64a): Likewise.
11937         * stdlib/llabs.c (llabs): Likewise.
11938         * stdlib/lldiv.c (lldiv): Likewise.
11939         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11940         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11941         * stdlib/putenv.c (putenv): Likewise.
11942         * stdlib/random.c (__srandom): Likewise.
11943         (__initstate): Likewise.
11944         (__setstate): Likewise.
11945         * stdlib/random_r.c (__srandom_r): Likewise.
11946         (__setstate_r): Likewise.
11947         (__random_r): Likewise.
11948         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11949         * stdlib/setcontext.c (setcontext): Likewise.
11950         * stdlib/setenv.c (setenv): Likewise.
11951         (unsetenv): Likewise.
11952         * stdlib/srand48.c (srand48): Likewise.
11953         * stdlib/srand48_r.c (__srand48_r): Likewise.
11954         * stdlib/swapcontext.c (swapcontext): Likewise.
11955         * stdlib/system.c (__libc_system): Likewise.
11956         * stdlib/tst-strtod.c (expand): Likewise.
11957         * stdlib/tst-strtol.c (expand): Likewise.
11958         * stdlib/tst-strtoll.c (expand): Likewise.
11959         * streams/fattach.c (fattach): Likewise.
11960         * streams/fdetach.c (fdetach): Likewise.
11961         * streams/getmsg.c (getmsg): Likewise.
11962         * streams/isastream.c (isastream): Likewise.
11963         * string/ffs.c (__ffs): Likewise.
11964         * string/ffsll.c (ffsll): Likewise.
11965         * string/memcmp.c (memcmp_common_alignment): Likewise.
11966         (memcmp_not_common_alignment): Likewise.
11967         (MEMCMP): Likewise.
11968         * string/memcpy.c (memcpy): Likewise.
11969         * string/memmove.c (MEMMOVE): Likewise.
11970         * string/memset.c (memset): Likewise.
11971         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11972         * string/strchrnul.c (STRCHRNUL): Likewise.
11973         * string/strerror.c (strerror): Likewise.
11974         * string/strndup.c (__strndup): Likewise.
11975         * string/strverscmp.c (__strverscmp): Likewise.
11976         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11977         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11978         (clnttcp_freeres): Likewise.
11979         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11980         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11981         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11982         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11983         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11984         (xdr_callhdr): Likewise.
11985         * sunrpc/rpcinfo.c (udpping): Likewise.
11986         (tcpping): Likewise.
11987         (pstatus): Likewise.
11988         (pmapdump): Likewise.
11989         (brdcst): Likewise.
11990         (deletereg): Likewise.
11991         (getprognum): Likewise.
11992         (getvers): Likewise.
11993         (get_inet_address): Likewise.
11994         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11995         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11996         (svcudp_stat): Likewise.
11997         (svcudp_recv): Likewise.
11998         (svcudp_reply): Likewise.
11999         (svcudp_getargs): Likewise.
12000         (svcudp_freeargs): Likewise.
12001         (svcudp_destroy): Likewise.
12002         * sunrpc/xdr.c (xdr_bytes): Likewise.
12003         (xdr_netobj): Likewise.
12004         (xdr_string): Likewise.
12005         (xdr_wrapstring): Likewise.
12006         * sunrpc/xdr_float.c (xdr_float): Likewise.
12007         (xdr_double): Likewise.
12008         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12009         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12010         * sysvipc/ftok.c (ftok): Likewise.
12011         * sysvipc/msgctl.c (msgctl): Likewise.
12012         * sysvipc/msgget.c (msgget): Likewise.
12013         * sysvipc/msgrcv.c (msgrcv): Likewise.
12014         * sysvipc/msgsnd.c (msgsnd): Likewise.
12015         * sysvipc/semget.c (semget): Likewise.
12016         * sysvipc/semop.c (semop): Likewise.
12017         * sysvipc/shmat.c (shmat): Likewise.
12018         * sysvipc/shmctl.c (shmctl): Likewise.
12019         * sysvipc/shmdt.c (shmdt): Likewise.
12020         * sysvipc/shmget.c (shmget): Likewise.
12021         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12022         * termios/speed.c (cfgetospeed): Likewise.
12023         (cfgetispeed): Likewise.
12024         (cfsetospeed): Likewise.
12025         (cfsetispeed): Likewise.
12026         * termios/tcflow.c (tcflow): Likewise.
12027         * termios/tcflush.c (tcflush): Likewise.
12028         * termios/tcgetattr.c (__tcgetattr): Likewise.
12029         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12030         * termios/tcgetsid.c (tcgetsid): Likewise.
12031         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12032         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12033         * time/adjtime.c (__adjtime): Likewise.
12034         * time/dysize.c (dysize): Likewise.
12035         * time/ftime.c (ftime): Likewise.
12036         * time/getitimer.c (__getitimer): Likewise.
12037         * time/gettimeofday.c (__gettimeofday): Likewise.
12038         * time/gmtime.c (__gmtime_r): Likewise.
12039         (gmtime): Likewise.
12040         * time/localtime.c (__localtime_r): Likewise.
12041         (localtime): Likewise.
12042         * time/offtime.c (__offtime): Likewise.
12043         * time/settimeofday.c (__settimeofday): Likewise.
12044         * time/stime.c (stime): Likewise.
12045         * time/strftime_l.c (tm_diff): Likewise.
12046         (iso_week_days): Likewise.
12047         * time/strptime.c (strptime): Likewise.
12048         * time/time.c (time): Likewise.
12049         * time/timespec_get.c (timespec_get): Likewise.
12050         * time/tzset.c (tzset_internal): Likewise.
12051         (compute_change): Likewise.
12052         (__tz_compute): Likewise.
12053         * wcsmbs/btowc.c (__btowc): Likewise.
12054         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12055         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12056         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12057         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12058         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12059         * wcsmbs/wcscat.c (__wcscat): Likewise.
12060         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12061         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12062         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12063         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12064         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12065         * wcsmbs/wcslen.c (__wcslen): Likewise.
12066         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12067         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12068         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12069         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12070         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12071         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12072         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12073         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12074         * wcsmbs/wcstok.c (wcstok): Likewise.
12075         * wcsmbs/wctob.c (wctob): Likewise.
12076         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12077         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12078         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12079         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12080         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12081         * wcsmbs/wmemset.c (__wmemset): Likewise.
12082         * wctype/wcfuncs.c (__towlower): Likewise.
12083         (__towupper): Likewise.
12085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12086         (lll_unlock_elision): Add adapt_count parameter.
12088 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12090         * sysdeps/nptl/configure.ac: Do not give errors based on the
12091         results of top-level configure tests.
12092         * sysdeps/nptl/configure: Regenerated.
12094         * configure.ac (libc_cv_Bgroup): Remove configure test.
12095         * configure: Regenerated.
12096         * config.make.in (have-Bgroup): Remove variable.
12098         * configure.ac (sizeof_long_double): Remove configure test.
12099         * configure: Regenerated.
12100         * config.make.in (sizeof-long-double): Remove variable.
12102         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12103         * configure: Regenerated.
12104         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12105         variable.
12106         (exceptions): Likewise.
12107         * sysdeps/arm/configure: Regenerated.
12108         * config.make.in (exceptions): Remove variable.
12109         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12110         $(exceptions).
12111         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12112         (CFLAGS-vdprintf_chk.c): Likewise.
12113         (CFLAGS-printf_chk.c): Likewise.
12114         (CFLAGS-fprintf_chk.c): Likewise.
12115         (CFLAGS-vprintf_chk.c): Likewise.
12116         (CFLAGS-vfprintf_chk.c): Likewise.
12117         (CFLAGS-gets_chk.c): Likewise.
12118         (CFLAGS-fgets_chk.c): Likewise.
12119         (CFLAGS-fgets_u_chk.c): Likewise.
12120         (CFLAGS-fread_chk.c): Likewise.
12121         (CFLAGS-fread_u_chk.c): Likewise.
12122         (CFLAGS-wprintf_chk.c): Likewise.
12123         (CFLAGS-fwprintf_chk.c): Likewise.
12124         (CFLAGS-vwprintf_chk.c): Likewise.
12125         (CFLAGS-vfwprintf_chk.c): Likewise.
12126         (CFLAGS-fgetws_chk.c): Likewise.
12127         (CFLAGS-fgetws_u_chk.c): Likewise.
12128         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12129         (CFLAGS-fputc.c): Likewise.
12130         (CFLAGS-fputwc.c): Likewise.
12131         (CFLAGS-freopen64.c): Likewise.
12132         (CFLAGS-freopen.c): Likewise.
12133         (CFLAGS-fseek.c): Likewise.
12134         (CFLAGS-fseeko64.c): Likewise.
12135         (CFLAGS-fseeko.c): Likewise.
12136         (CFLAGS-ftello64.c): Likewise.
12137         (CFLAGS-ftello.c): Likewise.
12138         (CFLAGS-fwide.c): Likewise.
12139         (CFLAGS-genops.c): Likewise.
12140         (CFLAGS-getc.c): Likewise.
12141         (CFLAGS-getchar.c): Likewise.
12142         (CFLAGS-getwc.c): Likewise.
12143         (CFLAGS-getwchar.c): Likewise.
12144         (CFLAGS-iofclose.c): Likewise.
12145         (CFLAGS-iofflush.c): Likewise.
12146         (CFLAGS-iofgetpos64.c): Likewise.
12147         (CFLAGS-iofgetpos.c): Likewise.
12148         (CFLAGS-iofgets.c): Likewise.
12149         (CFLAGS-iofgetws.c): Likewise.
12150         (CFLAGS-iofputs.c): Likewise.
12151         (CFLAGS-iofputws.c): Likewise.
12152         (CFLAGS-iofread.c): Likewise.
12153         (CFLAGS-iofsetpos64.c): Likewise.
12154         (CFLAGS-iofsetpos.c): Likewise.
12155         (CFLAGS-ioftell.c): Likewise.
12156         (CFLAGS-iofwrite.c): Likewise.
12157         (CFLAGS-iogetdelim.c): Likewise.
12158         (CFLAGS-iogetline.c): Likewise.
12159         (CFLAGS-iogets.c): Likewise.
12160         (CFLAGS-iogetwline.c): Likewise.
12161         (CFLAGS-ioputs.c): Likewise.
12162         (CFLAGS-ioseekoff.c): Likewise.
12163         (CFLAGS-ioseekpos.c): Likewise.
12164         (CFLAGS-iosetbuffer.c): Likewise.
12165         (CFLAGS-iosetvbuf.c): Likewise.
12166         (CFLAGS-ioungetc.c): Likewise.
12167         (CFLAGS-ioungetwc.c): Likewise.
12168         (CFLAGS-oldfileops.c): Likewise.
12169         (CFLAGS-oldiofclose.c): Likewise.
12170         (CFLAGS-oldiofgetpos64.c): Likewise.
12171         (CFLAGS-oldiofgetpos.c): Likewise.
12172         (CFLAGS-oldiofsetpos64.c): Likewise.
12173         (CFLAGS-oldiofsetpos.c): Likewise.
12174         (CFLAGS-peekc.c): Likewise.
12175         (CFLAGS-putc.c): Likewise.
12176         (CFLAGS-putchar.c): Likewise.
12177         (CFLAGS-putwc.c): Likewise.
12178         (CFLAGS-putwchar.c): Likewise.
12179         (CFLAGS-rewind.c): Likewise.
12180         (CFLAGS-wfileops.c): Likewise.
12181         (CFLAGS-wgenops.c): Likewise.
12182         (CFLAGS-oldiofopen.c): Likewise.
12183         (CFLAGS-iofopen.c): Likewise.
12184         (CFLAGS-iofopen64.c): Likewise.
12185         (CFLAGS-oldtmpfile.c): Likewise.
12186         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12187         (CFLAGS-fprintf.c): Likewise.
12188         (CFLAGS-printf.c): Likewise.
12189         (CFLAGS-vfwprintf.c): Likewise.
12190         (CFLAGS-vfscanf.c): Likewise.
12191         (CFLAGS-vfwscanf.c): Likewise.
12192         (CFLAGS-fscanf.c): Likewise.
12193         (CFLAGS-scanf.c): Likewise.
12194         (CFLAGS-isoc99_vfscanf.c): Likewise.
12195         (CFLAGS-isoc99_vscanf.c): Likewise.
12196         (CFLAGS-isoc99_fscanf.c): Likewise.
12197         (CFLAGS-isoc99_scanf.c): Likewise.
12198         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12199         (CFLAGS-isoc99_fwscanf.c): Likewise.
12200         (CFLAGS-isoc99_vwscanf.c): Likewise.
12201         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12203         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12204         after mkstemp64.
12205         * login/tst-utmp.c (do_prepare): Likewise.
12206         * rt/tst-aio.c (do_prepare): Likewise.
12207         * rt/tst-aio64.c (do_prepare): Likewise.
12209 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12211         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12212         (__lll_lock_elision): Remove adapt_count decrement...
12213         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12214         (__lll_trylock_elision): Likewise.
12215         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12216         (__lll_unlock_elision): ... to here. And utilize
12217         new adapt_count parameter.
12218         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12219         (__lll_unlock_elision): Update to include adapt_count
12220         parameter.
12221         (lll_unlock_elision): Pass pointer to adapt_count
12222         variable.
12224 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12226         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12227         Add elision adapt_count parameter to list of arguments.
12228         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12229         (lll_unlock_elision): Update with new parameter list
12230         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12231         (lll_unlock_elision): Likewise.
12232         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12233         (lll_unlock_elision): Likewise.
12235 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12237         [BZ #19122]
12238         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12239         attribute_hidden.
12241         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12242         attribute_hidden.
12243         [IS_IN (rtld)] (__strdup): Likewise.
12244         [IS_IN (rtld)] (__strerror_r): Likewise.
12245         [IS_IN (rtld)] (__strsep_g): Likewise.
12246         [IS_IN (rtld)] (memchr): Likewise.
12247         [IS_IN (rtld)] (memcmp): Likewise.
12248         [IS_IN (rtld)] (memcpy): Likewise.
12249         [IS_IN (rtld)] (memmove): Likewise.
12250         [IS_IN (rtld)] (memset): Likewise.
12251         [IS_IN (rtld)] (rawmemchr): Likewise.
12252         [IS_IN (rtld)] (stpcpy): Likewise.
12253         [IS_IN (rtld)] (strchr): Likewise.
12254         [IS_IN (rtld)] (strcmp): Likewise.
12255         [IS_IN (rtld)] (strlen): Likewise.
12256         [IS_IN (rtld)] (strnlen): Likewise.
12257         [IS_IN (rtld)] (strsep): Likewise.
12259         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12260         attribute_hidden.
12261         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12263         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12264         attribute_hidden.
12265         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12267         * include/setjmp.h (__longjmp): Add attribute_hidden.
12268         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12270         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12271         Add attribute_hidden.
12273         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12274         [IS_IN (rtld)] (__open): Likewise.
12275         [IS_IN (rtld)] (__fcntl): Likewise.
12277         * include/dirent.h (__opendirat): Add attribute_hidden.
12278         (__getdents): Likewise.
12279         (__getdents64): Likewise.
12280         (__alloc_dir): Likewise.
12281         [IS_IN (rtld)] (__closedir): Likewise.
12282         [IS_IN (rtld)] (__fdopendir): Likewise.
12283         [IS_IN (rtld)] (__readdir): Likewise.
12284         [IS_IN (rtld)] (__readdir64): Likewise.
12285         [IS_IN (rtld)] (__rewinddir): Likewise.
12287         * include/dlfcn.h (_dl_catch_error): Moved to ...
12288         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12289         attribute_hidden.
12291         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12292         (_itoa_word): Likewise.
12294         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12295         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12296         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12297         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12298         (_dl_higher_prime_number): Likewise.
12299         (_dl_debug_printf_c): Likewise.
12300         (_dl_signal_cerror): Likewise.
12301         (_dl_receive_error): Likewise.
12302         (_dl_reloc_bad_type): Likewise.
12303         (_dl_resolve_conflicts): Likewise.
12304         (_dl_check_all_versions): Likewise.
12305         (_dl_check_map_versions): Likewise.
12306         (_dl_sort_fini): Likewise.
12307         (_dl_debug_initialize): Likewise.
12308         (_dl_init_paths): Likewise.
12309         (_dl_show_auxv): Likewise.
12310         (_dl_next_ld_env_entry): Likewise.
12311         (_dl_important_hwcaps): Likewise.
12312         (_dl_load_cache_lookup): Likewise.
12313         (_dl_update_slotinfo): Likewise.
12314         (_dl_show_scope): Likewise.
12316         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12317         attribute_hidden.
12318         (_wordcopy_fwd_dest_aligned): Likewise.
12319         (_wordcopy_bwd_aligned): Likewise.
12320         (_wordcopy_bwd_dest_aligned): Likewise.
12322         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12323         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12324         Likewise.
12325         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12326         Likewise.
12327         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12329 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12331         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12332         GCC 5 requirement.
12334 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12336         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12337         test.
12338         * sysdeps/i386/configure: Regenerated.
12339         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12340         code unconditional.
12342         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12343         test.
12344         (libc_cv_asm_popsection_directive): Likewise.
12345         * configure: Regenerated.
12346         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12347         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12348         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12349         (__make_section_unallocated): Make definition unconditional.
12350         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12351         Remove conditional definition.
12352         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12353         (__make_section_unallocated): Likewise.
12355         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12356         * configure: Regenerated.
12357         * config.make.in (static-libgcc): Remove variable.
12358         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12359         $(static-libgcc).
12360         (build-module-helper): Likewise.
12362         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12363         * configure: Regenerated.
12365 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12367         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12368         (struct char_buffer): New type.
12369         (char_buffer_start, char_buffer_size, char_buffer_error)
12370         (char_buffer_rewind, char_buffer_add): New functions.
12371         (ADDW): Remove macro, replaced by the char_buffer_add function.
12372         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12373         of extend_alloca.  Make control flow more explicit.
12375 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12377         [BZ #19137]
12378         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12379         Add -fomit-frame-pointer.
12380         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12382 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12384         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12385         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12386         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12387         only if !__GNUC_PREREQ (5,0).
12388         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12389         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12390         (INTERNAL_SYSCALL_NCS): Likewise.
12391         (LOADREGS_0): New macro for GCC 5.
12392         (ASMARGS_0): Likewise.
12393         (LOADREGS_1): Likewise.
12394         (ASMARGS_1): Likewise.
12395         (LOADREGS_2): Likewise.
12396         (ASMARGS_2): Likewise.
12397         (LOADREGS_3): Likewise.
12398         (ASMARGS_3): Likewise.
12399         (LOADREGS_4): Likewise.
12400         (ASMARGS_4): Likewise.
12401         (LOADREGS_5): Likewise.
12402         (ASMARGS_5): Likewise.
12403         (LOADREGS_6): Likewise.
12404         (ASMARGS_6): Likewise.
12406 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12408         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12409         -fomit-frame-pointer.
12410         (CFLAGS-mmap64.c): Likewise.
12411         (CFLAGS-semtimedop.c): Likewise.
12412         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12413         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12414         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12415         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12417 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12419         [BZ #18928]
12420         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12421         _dl_pointer_guard member.
12422         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12423         initializer.
12424         (security_init): Always set up pointer guard.
12425         (process_envvars): Do not process LD_POINTER_GUARD.
12427 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12429         [BZ #19134]
12430         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12431         (.LC2): Likewise.
12432         (.LC3): Likewise.
12433         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12435 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12437         [BZ #19129]
12438         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12439         r0 and r1.
12441 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12443         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12445 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12447         * include/stap-probe.h: Fix macro definition formatting.
12449 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12451         [BZ #19074]
12452         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12453         load and store num_ifs.
12455 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12457         [BZ #18822]
12458         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12459         (__sched_getaffinity_new): Add libc_hidden_proto and
12460         libc_hidden_def.
12462 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12464         [BZ #19007]
12465         * scripts/localplt.awk: Also allow GOT references.
12466         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12467         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12468         with "+ REL R_386_GLOB_DAT".
12469         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12470         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12472 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12474         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12475         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12476         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12477         Likewise.
12478         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12479         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12480         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12481         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12482         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12483         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12484         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12485         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12486         Likewise.
12487         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12489 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12491         [BZ #19125]
12492         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12493         <math_private.h> and <stdint.h>.
12494         (__llround): Avoid conversions to and from long long int, and
12495         subtractions, where those might raise spurious exceptions.
12496         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12497         <math_private.h> and <stdint.h>.
12498         (__llroundf): Avoid conversions to and from long long int, and
12499         subtractions, where those might raise spurious exceptions.
12501 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12503         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12504         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12505         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12506         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12507         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12508         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12509         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12510         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12511         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12512         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12513         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12514         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12515         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12516         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12517         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12518         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12519         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12520         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12521         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12522         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12523         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12524         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12525         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12526         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12527         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12528         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12529         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12530         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12531         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12532         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12533         (__xstat64_conv): Likewise.
12534         (__xstat32_conv): Likewise.
12536 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12538         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12539         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12540         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12541         <sysdeps/unix/sysv/linux/sysdep.h>.
12542         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12543         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12544         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12545         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12546         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12547         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12548         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12549         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12550         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12555         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12556         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12558         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12559         (sysdep-dl-routines): Add sysdep.
12560         [$(subdir) == nptl] (libpthread-routines): Likewise.
12561         [$(subdir) == rt] (librt-routines): Likewise.
12562         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12563         PIC when branching to SYSCALL_ERROR_LABEL.
12564         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12566         <sysdeps/unix/sysv/linux/sysdep.h>.
12567         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12568         (SYSCALL_ERROR_ERRNO): Removed.
12569         (SYSCALL_ERROR_HANDLER): Changed to empty.
12570         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12571         (__syscall_error): New prototype.
12572         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12573         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12575 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12577         [BZ #19124]
12578         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12579         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12580         _dl_runtime_resolve_avx.
12581         (_dl_runtime_profile_avx512): Make it a hidden alias of
12582         _dl_runtime_profile_avx.
12584 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12586         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12587         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12588         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12589         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12591         [BZ #16422]
12592         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12593         New configure test.
12594         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12595         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12596         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12597         <math_private.h> and <stdint.h>.
12598         (__llrint): Avoid conversions to long long int where those might
12599         raise spurious exceptions.
12600         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12601         <math_private.h> and <stdint.h>.
12602         (__llrintf): Avoid conversions to long long int where those might
12603         raise spurious exceptions.
12605 2015-10-12  Andreas Schwab  <schwab@suse.de>
12607         [BZ #18969]
12608         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12609         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12610         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12611         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12612         $(gen-locales).
12613         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12614         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12615         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12616         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12617         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12618         $(gen-locales).
12619         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12620         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12621         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12622         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12623         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12624         ($(objpfx)tst-ftell-active-handler.out)
12625         ($(objpfx)tst-ftell-append.out)
12626         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12627         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12628         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12629         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12630         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12631         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12632         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12633         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12634         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12635         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12636         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12637         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12638         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12639         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12640         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12641         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12642         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12643         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12644         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12645         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12646         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12647         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12648         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12649         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12650         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12651         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12652         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12653         $(gen-locales).
12654         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12655         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12656         $(gen-locales).
12657         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12658         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12659         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12660         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12661         $(gen-locales).
12662         * libio/tst_wprintf2.c (main): Use explicit locale.
12663         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12665 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12667         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12668         __msg_sig_post.
12669         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12671 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12673         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12674         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12676         * sysdeps/arm/libm-test-ulps: Regenerated.
12678         [BZ #15470]
12679         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12681         [BZ #16399]
12682         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12683         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12684         and <fix-fp-int-convert-overflow.h>.
12685         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12686         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12687         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12688         and <fix-fp-int-convert-overflow.h>.
12689         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12690         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12691         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12692         <fix-fp-int-convert-overflow.h>.
12693         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12694         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12695         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12696         <fix-fp-int-convert-overflow.h>.
12697         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12698         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12699         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12700         and <fix-fp-int-convert-overflow.h>.
12701         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12702         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12703         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12704         <limits.h> and <fix-fp-int-convert-overflow.h>.
12705         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12706         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12707         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12708         and <fix-fp-int-convert-overflow.h>.
12709         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12710         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12711         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12712         and <fix-fp-int-convert-overflow.h>.
12713         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12714         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12715         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12717 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12719         [BZ #18589]
12720         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12721         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12722         $(gen-locales).
12724 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12725             Phil Blundell <pb@pbcl.net>
12727         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12728         * nptl/tst-cancel26.c: New file.
12729         * nptl/tst-cancel27.c: Likewise.
12731 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12733         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12734         __ILP32__ isn't defined.
12735         (lrint): Likewise.
12736         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12737         (lrintf): Likewise.
12738         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12739         (lrintl): Likewise.
12740         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12741         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12742         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12744 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12746         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12747         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12749         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12750         file.
12751         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12752         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12754 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12756         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12757         configure test.
12758         * sysdeps/i386/configure: Regenerated.
12759         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12760         configure test.
12761         * sysdeps/x86_64/configure: Regenerated.
12762         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12763         Make code unconditional.
12765         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12766         test.
12767         * sysdeps/i386/configure: Regenerated.
12768         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12769         test.
12770         * sysdeps/x86_64/configure: Regenerated.
12771         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12772         Make code unconditional.
12773         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12774         Likewise.
12775         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12776         Likewise.
12777         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12778         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12779         code unconditional.
12780         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12781         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12782         code unconditional.
12783         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12784         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12785         code unconditional.
12786         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12787         code unconditional.
12788         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12789         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12790         code unconditional.
12791         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12792         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12793         code unconditional.
12794         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12795         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12796         code unconditional.
12797         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12798         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12799         code unconditional.
12800         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12801         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12803         [BZ #19095]
12804         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12805         mantissa to long int before shifting left.
12807 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12809         [BZ #19094]
12810         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12811         <limits.h>.
12812         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12813         when result overflows but exception would not result from cast.
12814         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12815         <limits.h>.
12816         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12817         when result overflows but exception would not result from cast.
12818         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12819         <limits.h>.
12820         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12821         when result overflows but exception would not result from cast.
12822         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12823         <limits.h>.
12824         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12825         when result overflows but exception would not result from cast.
12826         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12827         <limits.h>.
12828         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12829         when result overflows but exception would not result from cast.
12830         * math/libm-test.inc (lrint_test_data): Add more tests.
12831         (llrint_test_data): Likewise.
12833 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12835         [BZ #18872]
12836         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12837         Move out from under [$(run-built-tests) = yes] conditional.
12838         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12839         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12841 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12843         [BZ #18589]
12844         * string/Makefile (tests): Add bug-strcoll2.
12845         (LOCALES): Add cs_CZ.UTF-8.
12846         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12848         [BZ #18589]
12849         * string/bug-strcoll2.c: New file.
12850         * locale/categories.def: Revert commit
12851         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12852         * locale/langinfo.h: Likewise.
12853         * locale/localeinfo.h: Likewise.
12854         * locale/C-collate.c: Likewise.
12855         * locale/programs/ld-collate.c (collate_output): Likewise.
12856         * string/strcoll_l.c (STRDIFF): Likewise.
12857         (STRCOLL): Likewise.
12858         * wcsmbs/wcscoll_l.c: Likewise.
12860 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12862         * math/libm-test.inc (lround_test_data): Do not expect the absence
12863         of "inexact" for some tests with non-integer arguments.
12864         (llround_test_data): Likewise.
12866         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12867         test.
12868         (libc_cv_cc_sse2avx): Likewise.
12869         * sysdeps/i386/configure: Regenerated.
12870         * sysdeps/i386/i686/multiarch/Makefile
12871         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12872         [$(subdir) = math].
12873         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12874         code unconditional.
12875         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12876         Likewise.
12877         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12878         Likewise.
12879         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12880         Likewise.
12881         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12882         test.
12883         (libc_cv_cc_sse2avx): Likewise.
12884         * sysdeps/x86_64/configure: Regenerated.
12885         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12886         unconditional.
12887         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12888         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12889         unconditional.
12890         (_dl_runtime_profile)
12891         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12892         conditional code.
12893         * sysdeps/x86_64/fpu/multiarch/Makefile
12894         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12895         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12896         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12897         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12898         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12899         * sysdeps/x86_64/fpu/multiarch/e_log.c
12900         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12901         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12903         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12904         Likewise.
12905         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12906         Likewise.
12907         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12908         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12909         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12910         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12911         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12912         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12913         (HAVE_SSE2AVX_SUPPORT): Likewise.
12915 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12917         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12918         instead of #pragma optimize.
12920 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12922         [BZ #17195]
12923         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12924         as is similarly done in systrim and _int_free already.
12926 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12928         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12930 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12932         [BZ #19088]
12933         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12934         <limits.h>.
12935         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12936         overflows but exception would not result from cast.
12937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12938         and <limits.h>.
12939         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12940         overflows but exception would not result from cast.
12941         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12942         <limits.h>.
12943         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12944         overflows but exception would not result from cast.
12945         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12946         <limits.h>.
12947         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12948         overflows but exception would not result from cast.
12949         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12950         <limits.h>.
12951         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12952         overflows but exception would not result from cast.
12953         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12954         <limits.h>.
12955         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12956         overflows but exception would not result from cast.
12957         * math/libm-test.inc (lround_test_data): Add more tests.
12958         (llround_test_data): Likewise.
12960 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12962         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12963         (CFLAGS-ialloc.c): Ditto.
12964         (CFLAGS-scheck.c): Ditto.
12966 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12968         [BZ #19086]
12969         * manual/filesys.texi (Storage Allocation): Fix argument order for
12970         posix_fallocate64.
12972 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12974         [BZ #19085]
12975         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12976         exponent below 48 inside case for non-overflowing exponent.
12977         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12979 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12981         * iconvdata/cp737.h (from_idx): Add const.
12982         * iconvdata/cp775.h (from_idx): Likewise.
12984 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12986         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12987         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12988         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12990         [BZ #19079]
12991         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12992         file, conditioned on [!_LP64].
12993         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12994         [!_LP64] (__lround): Do not define as function or alias.
12995         [!_LP64] (lround): Likewise.
12996         [!_LP64] (__lroundl): Likewise.
12997         [!_LP64] (lroundl): Likewise.
12998         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12999         macro.
13000         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13001         Likewise.
13003 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13005         * math/libm-test.inc (lrint_test_data): Add more tests.
13006         (llrint_test_data): Likewise.
13007         (lround_test_data): Likewise.
13008         (llround_test_data): Likewise.
13010         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13011         (llrint_test_data): Add tests used for lrint.
13013         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13014         test.
13015         * sysdeps/i386/configure: Regenerated.
13016         * sysdeps/i386/i686/multiarch/Makefile
13017         [$(config-cflags-sse4) = yes]: Make code unconditional.
13018         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13019         Likewise.
13020         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13021         Likewise.
13022         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13023         test.
13024         * sysdeps/x86_64/configure: Regenerated.
13025         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13026         Make code unconditional.
13027         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13028         Likewise.
13029         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13030         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13032         * scripts/rpm2dynsym.sh: Remove file.
13034 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13036         * configure.ac (libc_cv_cxx_thread_local): Define.
13037         * configure: Regenerate.
13038         * config.make.in (have-cxx-thread_local): Define.
13039         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13040         (LDLIBS-tst-thread_local1): Define.
13041         (tests): Add tst-thread_local1.
13042         [have-cxx-thread_local != yes] (tests-unsupported): Add
13043         tst-thread_local1.
13044         * nptl/tst-thread_local1.cc: New file.
13046 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13048         [BZ #19078]
13049         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13050         (u_thres): Likewise.
13051         (__expl): Determine whether to call __kernel_standard_l based on
13052         value of result, not argument.
13054         * math/libm-test.inc (scalb_test_data): Add more expectations for
13055         the "inexact" exception.
13057         [BZ #19077]
13058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13059         0.0L for argument 1.0L.
13061         [BZ #19076]
13062         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13063         constant 0.0L when computing infinite result.
13065 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13067         [BZ #10432]
13068         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13069         malloc_usable_size.
13071 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13073         [BZ #19018]
13074         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13075         Mangle function pointer before storing it.
13076         (__call_tls_dtors): Demangle function pointer before calling it.
13078 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13080         [BZ #19012]
13081         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13082         Clean up on failure.
13084 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13086         [BZ #19071]
13087         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13088         long int variable to store possibly incremented high part of
13089         mantissa.
13090         * math/libm-test.inc (lround_test_data): Add tests used for
13091         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13092         for tests requiring 64-bit long.  Do not condition tests on
13093         [TEST_FLOAT] unnecessarily.
13094         (llround_test_data): Add tests used for lround.  Add another
13095         expectation for the "inexact" exception.  Do not condition tests
13096         on [TEST_FLOAT] unnecessarily.
13098         [BZ #887]
13099         [BZ #19049]
13100         [BZ #19050]
13101         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13102         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13103         <fix-int-fp-convert-zero.h>.
13104         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13105         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13106         <fix-int-fp-convert-zero.h>.
13107         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13108         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13109         <fix-int-fp-convert-zero.h>.
13110         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13111         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13112         <fix-int-fp-convert-zero.h>.
13113         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13114         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13115         <fix-int-fp-convert-zero.h>.
13116         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13117         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13118         <fix-int-fp-convert-zero.h>.
13119         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13120         * sysdeps/ieee754/flt-32/s_erff.c: Include
13121         <fix-int-fp-convert-zero.h>.
13122         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13123         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13124         <fix-int-fp-convert-zero.h>.
13125         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13126         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13127         <fix-int-fp-convert-zero.h>.
13128         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13130         <fix-int-fp-convert-zero.h>.
13131         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13132         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13133         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13134         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13135         file.
13136         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13138 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13140         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13142 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13144         [BZ #19059]
13145         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13146         overflowing computation.
13147         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13148         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13149         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13150         Likewise.
13151         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13152         Likewise.
13153         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13154         Likewise.
13155         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13156         Likewise.
13157         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13158         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13159         Likewise.
13160         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13161         Likewise.
13162         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13164         * nss/rewrite_field.c (__nss_rewrite_field): Use
13165         internal_function.
13166         * nss/valid_field.c (__nss_valid_field): Likewise.
13167         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13169 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13171         [BZ #18724]
13172         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13173         (__nss_invalid_field_characters, __nss_valid_field)
13174         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13175         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13176         tst-field.c: New file.
13177         * nss/Makefile (routines): Add valid_field, rewrite_field.
13178         (tests-static): Define unconditionally.
13179         (tests): Include tests-static.
13180         [build-static-nss] (tests-static): Use append.
13181         [build-static-nss] (tests): Remove modification.
13182         * nss/getent.c (print_group): Call putgrent.  Report error.
13183         (print_gshadow): Call putsgent.  Report error.
13184         (print_passwd): Call putpwent.  Report error.
13185         (print_shadow): Call putspent.  Report error.
13186         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13187         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13188         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13189         name, password, directory, shell fields for valid syntax.  Rewrite
13190         GECOS field to match syntax.
13191         * pwd/Makefile (tests): Add tst-putpwent.
13192         * pwd/tst-putpwent.c: New file.
13193         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13194         Check grName, grpasswd, gr_mem fields for valid syntax.
13195         Change loop variable i to size_t.
13196         * grp/Makefile (tests): Add tst-putgrent.
13197         * grp/tst-putgrent.c: New file.
13198         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13199         valid syntax.
13200         * shadow/Makefile (tests): Add tst-putspent.
13201         * shadow/tst-putspent.c: New file.
13202         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13203         sg_mem fields for valid syntax.
13204         * gshadow/Makefile (tests): Add tst-putsgent.
13205         * gshadow/tst-putsgent.c: New file.
13207 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13209         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13210         assembly instructions.
13212 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13214         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13215         prefix from operands.
13217 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13219         [BZ #16347]
13220         [BZ #19046]
13221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13222         <libc-internal.h>.
13223         (MAXLGM): Do not use diagnostic control macros.
13224         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13225         threshold for ldbl-128ibm.
13226         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13227         instead of multiplying by log then subtracting.
13228         * math/auto-libm-test-in: Add more tests of lgamma.
13229         * math/auto-libm-test-out: Regenerated.
13231         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13232         (TYPE_HEX_DIG): Likewise.
13233         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13234         precisions when printing floating-point numbers.
13235         (check_float_internal): Likewise.
13237 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13239         [BZ #16620]
13240         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13241         of log (10) rounded downward to 48 bits.
13242         (log10_low): Use corresponding low part of log (10).
13244         [BZ #19032]
13245         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13246         compute result as (x - x) / (x - x) not as 0 / 0.
13247         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13248         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13250         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13251         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13252         and expm1.
13253         * math/auto-libm-test-out: Regenerated.
13254         * math/libm-test.inc (acos_test_data): Add more tests.
13255         (asin_test_data): Likewise.
13256         (asinh_test_data): Likewise.
13257         (atan_test_data): Likewise.
13258         (atanh_test_data): Likewise.
13259         (atan2_test_data): Likewise.
13260         (cbrt_test_data): Likewise.
13261         (ceil_test_data): Likewise.
13262         (copysign_test_data): Likewise.
13263         (cos_test_data): Likewise.
13264         (cosh_test_data): Likewise.
13265         (erf_test_data): Likewise.
13266         (erfc_test_data): Likewise.
13267         (exp_test_data): Likewise.
13268         (exp10_test_data): Likewise.
13269         (exp2_test_data): Likewise.
13270         (expm1_test_data): Likewise.
13271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13273 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13275         [BZ #19006]
13276         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13277         to ...
13278         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13279         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13280         to ...
13281         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13282         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13283         to ...
13284         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13285         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13286         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13287         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13288         to ...
13289         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13290         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13291         Moved to ...
13292         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13293         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13294         Moved to ...
13295         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13296         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13297         to ...
13298         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13299         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13300         Moved to ...
13301         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13302         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13303         to ...
13304         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13305         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13306         Removed.
13307         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13308         Likewise.
13309         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13310         Likewise.
13311         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13312         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13313         Likewise.
13314         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13315         Likewise.
13316         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13317         Likewise.
13318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13319         Likewise.
13320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13321         Likewise.
13322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13323         Likewise.
13324         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13325         Likewise.
13326         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13327         Likewise.
13328         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13329         Likewise.
13330         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13331         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13332         Likewise.
13333         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13334         Likewise.
13335         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13336         Likewise.
13337         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13338         Likewise.
13339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13340         Likewise.
13341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13342         Replace ../i486/pthread_cond_timedwait.S with
13343         ../pthread_cond_timedwait.S.
13345 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13347         * math/libm-test.inc (acos_test_data): Refine expectations for
13348         errno and "inexact" exceptions.
13349         (acosh_test_data): Likewise.
13350         (asin_test_data): Likewise.
13351         (asinh_test_data): Likewise.
13352         (atan_test_data): Likewise.
13353         (atanh_test_data): Likewise.
13354         (atan2_test_data): Likewise.
13355         (cbrt_test_data): Likewise.
13356         (ceil_test_data): Likewise.
13357         (copysign_test_data): Likewise.
13358         (cosh_test_data): Likewise.
13359         (erf_test_data): Likewise.
13360         (erfc_test_data): Likewise.
13361         (exp_test_data): Likewise.
13362         (exp10_test_data): Likewise.
13363         (exp2_test_data): Likewise.
13364         (expm1_test_data): Likewise.
13365         (fabs_test_data): Likewise.
13366         (floor_test_data): Likewise.
13367         (fma_test_data): Likewise.
13368         (fmax_test_data): Likewise.
13369         (fmin_test_data): Likewise.
13370         (fmod_test_data): Likewise.
13371         (fpclassify_test_data): Likewise.
13372         (frexp_test_data): Likewise.
13373         (hypot_test_data): Likewise.
13374         (ilogb_test_data): Likewise.
13375         (isgreater_test_data): Likewise.
13376         (isgreaterequal_test_data): Likewise.
13377         (isinf_test_data): Likewise.
13378         (isless_test_data): Likewise.
13379         (islessequal_test_data): Likewise.
13380         (islessgreater_test_data): Likewise.
13381         (isnan_test_data): Likewise.
13382         (isnormal_test_data): Likewise.
13383         (issignaling_test_data): Likewise.
13384         (isunordered_test_data): Likewise.
13385         (j0_test_data): Likewise.
13386         (j1_test_data): Likewise.
13387         (jn_test_data): Likewise.
13388         (lgamma_test_data): Likewise.
13389         (lrint_test_data): Likewise.
13390         (llrint_test_data): Likewise.
13391         (log_test_data): Likewise.
13392         (log10_test_data): Likewise.
13393         (log1p_test_data): Likewise.
13394         (log2_test_data): Likewise.
13395         (logb_test_data): Likewise.
13396         (lround_test_data): Likewise.
13397         (llround_test_data): Likewise.
13398         (modf_test_data): Likewise.
13399         (nearbyint_test_data): Likewise.
13400         (nextafter_test_data): Likewise.
13401         (nexttoward_test_data): Likewise.
13402         (pow_test_data): Likewise.
13403         (remainder_test_data): Likewise.
13404         (remquo_test_data): Likewise.
13405         (rint_test_data): Likewise.
13406         (round_test_data): Likewise.
13407         (signbit_test_data): Likewise.
13408         (sinh_test_data): Likewise.
13409         (sqrt_test_data): Likewise.
13410         (tanh_test_data): Likewise.
13411         (tgamma_test_data): Likewise.
13412         (trunc_test_data): Likewise.
13413         (y0_test_data): Likewise.
13414         (y1_test_data): Likewise.
13415         (yn_test_data): Likewise.
13416         (significand_test_data): Likewise.
13418 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13420         * manual/filesys.texi (Storage Allocation): Document that
13421         posix_fallocate emulation fails when fd is open with O_WRONLY.
13423 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13425         [BZ #19016]
13426         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13427         allow more cases with X^2 + Y^2 >= 0.5.
13428         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13429         normal element in sum instead of special-casing based on values of
13430         arguments.
13431         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13432         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13433         -1 as normal element in sum instead of special-casing based on
13434         values of arguments.
13435         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13436         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13437         (__x2y2m1): Update comment.
13438         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13439         as normal element in sum instead of special-casing based on values
13440         of arguments.
13441         * math/s_clog.c (__clog): Handle more cases using log1p without
13442         hypot.
13443         * math/s_clog10.c (__clog10): Likewise.
13444         * math/s_clog10f.c (__clog10f): Likewise.
13445         * math/s_clog10l.c (__clog10l): Likewise.
13446         * math/s_clogf.c (__clogf): Likewise.
13447         * math/s_clogl.c (__clogl): Likewise.
13448         * math/auto-libm-test-in: Add more tests of clog and clog10.
13449         * math/auto-libm-test-out: Regenerated.
13450         * sysdeps/i386/fpu/libm-test-ulps: Update.
13451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453 2015-09-28  Martin Sebor  <msebor@redhat.com>
13455         [BZ #18969]
13456         * string/Makefile (LOCALES): Define.
13457         (gen-locales.mk): Include.
13458         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13459         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13460         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13461         on setlocale failure.
13463 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13465         [BZ #18985]
13466         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13467         (__strftime_internal): Likewise.
13468         * time/tst-strftime.c (do_bz18985): New test.
13469         (do_test): Call it.
13471 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13473         [BZ #18956]
13474         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13475         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13476         extracting high part.
13477         * math/auto-libm-test-in: Add another test of pow.
13478         * math/auto-libm-test-out: Regenerated.
13479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13481 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13483         [BZ #18825]
13484         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13485         New macro.
13486         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13487         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13488         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13489         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13490         DBL_NARROW_EVAL, reloading the PIC register as needed.
13491         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13492         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13493         FLT_NARROW_EVAL.  Use separate return path for case when first
13494         argument is NaN.
13495         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13496         DEFINE_LDBL_MIN.
13497         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13498         PIC register.
13499         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13500         math_check_force_underflow_nonneg.
13501         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13502         underflow for subnormal result.
13503         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13505         math_check_force_underflow_nonneg.
13506         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13507         math_check_force_underflow.
13508         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13509         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13510         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13511         DEFINE_LDBL_MIN.
13512         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13513         * math/auto-libm-test-in: Add more tests of pow.
13514         * math/auto-libm-test-out: Regenerated.
13516 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13518         * nss/bug17079.c (init_test_items): Add diagnostic for
13519         inconsistent entries.
13520         (test_buffer_size): Skip inconsistent entries.
13522 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13524         [BZ #13304]
13525         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13526         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13527         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13529         [BZ #13304]
13530         * sysdeps/microblaze/s_fma.c: New file.
13531         * sysdeps/microblaze/s_fmaf.c: Likewise.
13532         * sysdeps/microblaze/sfp-machine.h: Likewise.
13534 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13536         [BZ #17250]
13537         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13538         member.
13540 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13542         [BZ #18803]
13543         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13544         (MO): New macro.
13545         (__ieee754_hypot) [PIC]: Load PIC register.
13546         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13547         DBL_NARROW_EVAL.
13548         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13549         math_check_force_underflow_nonneg in case where result might be
13550         tiny.
13551         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13552         Likewise.
13553         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13554         Likewise.
13555         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13556         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13557         * math/auto-libm-test-in: Add more tests of hypot.
13558         * math/auto-libm-test-out: Regenerated.
13560 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13562         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13564 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13566         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13567         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13568         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13569         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13570         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13571         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13572         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13574         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13575         LOAD_PIC_REG.
13577         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13578         (FLT_CHECK_FORCE_UFLOW): Likewise.
13579         (DBL_CHECK_FORCE_UFLOW): Likewise.
13580         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13581         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13582         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13583         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13584         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13585         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13586         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13587         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13588         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13589         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13590         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13591         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13592         (flt_min): Replace with use of DEFINE_FLT_MIN.
13593         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13594         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13595         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13596         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13597         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13598         (flt_min): Replace with use of DEFINE_FLT_MIN.
13599         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13600         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13601         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13602         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13603         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13604         (flt_min): Replace with use of DEFINE_FLT_MIN.
13605         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13606         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13607         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13608         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13609         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13610         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13611         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13612         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13613         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13614         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13615         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13616         (flt_min): Replace with use of DEFINE_FLT_MIN.
13617         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13618         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13619         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13620         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13621         main computation.
13622         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13623         (flt_min): Replace with use of DEFINE_FLT_MIN.
13624         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13625         main computation.
13626         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13627         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13628         (MO): New macro.
13629         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13630         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13631         (flt_min): Replace with use of DEFINE_FLT_MIN.
13632         (MO): New macro.
13633         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13634         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13635         (__log1pl): Use MO.
13637         [BZ #19003]
13638         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13639         $(config-cflags-nofma).
13641 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13643         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13645 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13647         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13648         (TWO127): Likewise.
13650         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13651         (min_of_type): Likewise.
13652         (math_check_force_underflow): Likewise.
13653         (math_check_force_underflow_nonneg): Likewise.
13654         (math_check_force_underflow_complex): Likewise.
13655         * math/e_exp2l.c (__ieee754_exp2l): Use
13656         math_check_force_underflow_nonneg.
13657         * math/k_casinh.c (__kernel_casinh): Likewise.
13658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13660         * math/s_catan.c (__catan): Use
13661         math_check_force_underflow_complex.
13662         * math/s_catanf.c (__catanf): Likewise.
13663         * math/s_catanh.c (__catanh): Likewise.
13664         * math/s_catanhf.c (__catanhf): Likewise.
13665         * math/s_catanhl.c (__catanhl): Likewise.
13666         * math/s_catanl.c (__catanl): Likewise.
13667         * math/s_ccosh.c (__ccosh): Likewise.
13668         * math/s_ccoshf.c (__ccoshf): Likewise.
13669         * math/s_ccoshl.c (__ccoshl): Likewise.
13670         * math/s_cexp.c (__cexp): Likewise.
13671         * math/s_cexpf.c (__cexpf): Likewise.
13672         * math/s_cexpl.c (__cexpl): Likewise.
13673         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13674         * math/s_clog10.c (__clog10): Likewise.
13675         * math/s_clog10f.c (__clog10f): Likewise.
13676         * math/s_clog10l.c (__clog10l): Likewise.
13677         * math/s_clogf.c (__clogf): Likewise.
13678         * math/s_clogl.c (__clogl): Likewise.
13679         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13680         * math/s_csinf.c (__csinf): Likewise.
13681         * math/s_csinh.c (__csinh): Likewise.
13682         * math/s_csinhf.c (__csinhf): Likewise.
13683         * math/s_csinhl.c (__csinhl): Likewise.
13684         * math/s_csinl.c (__csinl): Likewise.
13685         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13686         * math/s_csqrtf.c (__csqrtf): Likewise.
13687         * math/s_csqrtl.c (__csqrtl): Likewise.
13688         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13689         * math/s_ctanf.c (__ctanf): Likewise.
13690         * math/s_ctanh.c (__ctanh): Likewise.
13691         * math/s_ctanhf.c (__ctanhf): Likewise.
13692         * math/s_ctanhl.c (__ctanhl): Likewise.
13693         * math/s_ctanl.c (__ctanl): Likewise.
13694         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13695         instead of volatile.
13696         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13697         math_check_force_underflow.
13698         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13699         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13700         volatile when forcing underflow.
13701         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13702         math_check_force_underflow_nonneg.
13703         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13704         Likewise.
13705         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13706         math_check_force_underflow.
13707         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13708         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13709         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13710         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13711         math_check_force_underflow_nonneg.
13712         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13713         math_check_force_underflow.
13714         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13716         instead of volatile.
13717         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13718         math_check_force_underflow.
13719         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13720         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13721         math_check_force_underflow_nonneg.
13722         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13723         math_check_force_underflow.
13724         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13725         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13726         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13727         math_check_force_underflow_nonneg.
13728         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13729         Likewise.
13730         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13731         math_check_force_underflow.
13732         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13733         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13734         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13735         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13736         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13737         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13738         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13739         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13740         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13741         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13742         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13743         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13744         Likewise.
13745         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13746         math_check_force_underflow_nonneg.
13747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13748         Likewise.
13749         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13750         math_check_force_underflow.
13751         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13752         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13753         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13754         Likewise.
13755         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13756         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13757         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13758         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13759         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13760         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13762         instead of volatile.
13763         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13764         math_check_force_underflow.
13765         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13767         math_check_force_underflow.
13768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13769         Likewise.
13770         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13771         Use math_check_force_underflow_nonneg.
13772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13773         math_check_force_underflow.
13774         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13775         Likewise.
13776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13777         Likewise.
13778         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13779         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13780         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13781         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13783         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13784         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13785         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13786         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13787         math_check_force_underflow_nonneg.
13788         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13789         math_check_force_underflow.
13790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13791         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13792         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13793         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13794         math_check_force_underflow_nonneg.
13795         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13796         math_check_force_underflow.
13797         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13799         instead of volatile.
13800         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13801         math_check_force_underflow.
13803         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13804         * stdlib/strtod_l.c: Include <math_private.h>.
13805         (overflow_value): Use math_narrow_eval.
13806         (underflow_value): Likewise.
13807         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13808         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13809         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13810         (__ieee754_gamma_r): Likewise.
13811         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13812         Likewise.
13813         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13814         Likewise.
13815         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13816         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13817         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13818         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13819         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13820         (__ieee754_gammaf_r): Likewise.
13821         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13822         Likewise.
13823         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13824         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13825         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13826         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13827         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13828         volatile.
13829         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13830         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13831         math_narrow_eval.
13832         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13833         Likewise.
13834         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13835         Likewise.
13836         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13837         Likewise.
13838         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13839         volatile.
13840         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13841         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13842         math_narrow_eval.
13843         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13844         Likewise.
13845         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13846         Likewise.
13848 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13850         * nptl/Versions: Remove ignored symbols.
13852 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13854         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13855         * nss/Makefile (tests): Update.
13857 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13859         * nss/bug18287.c: New file.
13860         * nss/Makefile (tests): Add bug18287.
13862 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13864         * mach/Versions (__mach_host_self_): Add symbol.
13866 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13868         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13869         vm_page_size.
13871 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13873         Really fix sysdeps/i386/fpu/s_scalbn.S build
13875         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13876         (libc: GLIBC_2_22): Remove unused version set.
13878 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13880         * config.make.in (enable-timezone-tools): New variable.
13881         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13882         (enable_timezone_tools): Export to generated files.
13883         * configure: Regenerate.
13884         * INSTALL: Regenerate.
13885         * manual/install.texi (--disable-timezone-tools): Document new flag.
13886         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13887         ifeq ($(enable-timezone-tools),yes) check.
13889 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13891         * timezone/Makefile: Revert previous change.
13893         [BZ #18980]
13894         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13895         (DEFINE_DBL_MIN): Likewise.
13896         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13897         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13898         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13899         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13900         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13901         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13902         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13903         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13904         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13905         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13906         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13907         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13908         (flt_min): Replace with use of DEFINE_FLT_MIN.
13909         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13910         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13912         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13913         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13914         (flt_min): Replace with use of DEFINE_FLT_MIN.
13915         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13916         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13917         (flt_min): Replace with use of DEFINE_FLT_MIN.
13918         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13919         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13920         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13921         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13922         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13923         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13924         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13925         (__ieee754_pow): Use DBL_NARROW_EVAL.
13926         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13927         (__ieee754_powf): Use FLT_NARROW_EVAL.
13928         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13929         (__ieee754_expf_sse2): Convert double-precision result to single
13930         precision.
13931         * sysdeps/i386/fpu/libm-test-ulps: Update.
13933 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13935         * timezone/Makefile: Ignore unused variable errors due to private.h
13936         (time_t_min) and (time_t_max).
13937         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13938         Likewise.
13940 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13942         [BZ #18981]
13943         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13944         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13945         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13946         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13947         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13948         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13949         (__scalbn): Use DBL_NARROW_EVAL.
13950         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13951         (__scalbnf): Use FLT_NARROW_EVAL.
13953 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13955         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13956         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13957         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13958         * stdio-common/printf_fp.c (___printf_fp):
13959         Use signbit to get the sign. Use isinf macro to allow inlining.
13960         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13961         * stdio-common/printf_size.c (__printf_size): Likewise.
13963 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13965         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13967 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13969         [BZ #18980]
13970         * sysdeps/generic/math_private.h: Include <float.h>.
13971         (math_narrow_eval): New macro.
13972         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13973         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13974         math_narrow_eval on overflowing return value.
13975         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13976         Likewise.
13977         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13978         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13979         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13980         Likewise.
13981         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13983 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13985         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13986         * math/Makefile: Remove isinf_ns.c.
13987         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13988         * math/multc3.c (__multc3): Likewise.
13989         * math/s_casin.c (__casin): Likewise.
13990         * math/s_casinf.c (__casinf): Likewise.
13991         * math/s_casinl.c (__casinl): Likewise.
13992         * math/s_cproj.c (__cproj): Likewise.
13993         * math/s_cprojf.c (__cprojf): Likewise.
13994         * math/s_cprojl.c (__cprofl): Likewise.
13995         * math/s_ctan.c (__ctan): Likewise.
13996         * math/s_ctanf.c (__ctanf): Likewise.
13997         * math/s_ctanh.c (__ctanh): Likewise.
13998         * math/s_ctanhf.c (__ctanhf): Likewise.
13999         * math/s_ctanhl.c (__ctanhl): Likewise.
14000         * math/s_ctanl.c (__ctanl): Likewise.
14001         * math/w_fmod.c (__fmod): Likewise.
14002         * math/w_fmodf.c (__fmodf): Likewise.
14003         * math/w_fmodl.c (_fmodl): Likewise.
14004         * math/w_remainder.c (__remainder): Likewise.
14005         * math/w_remainderf.c (__remainderf): Likewise.
14006         * math/w_remainderl.c (__remainderl): Likewise.
14007         * math/w_scalb.c (__scalb): Likewise.
14008         * math/w_scalbf.c (__scalbf): Likewise.
14009         * math/w_scalbl.c (__scalbl): Likewise.
14010         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14011         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14012         with isinf.
14013         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14014         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14015         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14016         __isinf_nsf with isinf.
14017         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14018         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14019         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14020         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14021         with isinf.
14022         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14023         __isinf_nsl with isinf.
14024         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14025         with isinf.
14026         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14027         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14028         __isinf_nsl with isinf.
14029         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14030         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14031         with isinf.
14033 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14035         * resolv/base64.c (rcsid): Remove unused static.
14036         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14037         static.  (tqpi1): Likewise.
14038         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14039         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14040         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14041         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14043         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14044         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14045         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14046         Likewise.
14048 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14050         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14051         <nptl/pthreadP.h>.
14052         (_longjmp_unwind): Use __libc_ptf_call.
14053         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14055 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14057         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14058         * sysdeps/arm/__longjmp.S: Likewise.
14060 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14062         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14063         Use __builtin_signbit.
14064         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14065         Use __builtin_signbitf.
14066         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14067         Use __builtin_signbitl.
14068         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14069         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14071 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14073         [BZ #15367]
14074         [BZ #17441]
14076         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14077         * math/math.h (fpclassify): Use __builtin_fpclassify when
14078         available.  (signbit): Use __builtin_signbit(f/l).
14079         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14080         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14081         (isinf): Use __builtin_isinf_sign.
14083 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14085         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14086         * benchtests/bench-math-inlines.c: New benchmark.
14087         * benchtests/bench-util.h: New file.
14088         * benchtests/bench-util.c: New file.
14089         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14091 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14093         * elf/tst-dlmopen1.c: Define TEST_SO.
14094         (do_test): Use TEST_SO.
14096         * elf/dl-load.c: Include libc-internal.h.
14097         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14099 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14101         [BZ #17887]
14102         * time/strptime_l.c (__strptime_internal): Make %z accept
14103         [+-]HH:MM time zones.
14105 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14107         [BZ #17886]
14108         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14109         valid time zone.
14111 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14113         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14114         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14115         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14116         (__ASSUME_FDATASYNC): Delete.
14118 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14120         * conform/linknamespace.pl: Require weak undefined symbols to be
14121         in the standard namespace.
14122         (%strong_syms): Rename to %seen_syms.
14123         (%strong_seen): Rename to %seen_where.
14125 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14127         [BZ #18970]
14128         * misc/error.c (error): Replace pthread_setcancelstate with
14129         __pthread_setcancelstate.
14130         (error_at_line): Likewise.
14131         * posix/wordexp.c (parse_comm): Likewise.
14132         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14133         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14134         (__pthread_setcancelstate): This.
14135         (pthread_setcancelstate): Add an alias.
14136         * nptl/nptl-init.c (pthread_functions): Replace
14137         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14138         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14139         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14140         hidden_proto.
14141         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14142         it with hidden_def.
14143         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14144         (pthread_setcancelstate): Renamed to ...
14145         (__pthread_setcancelstate): This.
14146         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14147         __libc_ptf_call with __pthread_setcancelstate.
14149 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14150             Andreas Schwab  <schwab@suse.de>
14152         [BZ #17118]
14153         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14154         result when imaginary part of argument is infinite using sine and
14155         cosine.
14156         * math/s_ctanf.c (__ctanf): Likewise.
14157         * math/s_ctanl.c (__ctanl): Likewise.
14158         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14159         of result when real part of argument is infinite using sine and
14160         cosine.
14161         * math/s_ctanhf.c (__ctanhf): Likewise.
14162         * math/s_ctanhl.c (__ctanhl): Likewise.
14163         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14164         (ctanh_test_data): Add more tests of ctanh.
14166 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14168         [BZ #15384]
14169         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14170         bit-mask as in subtraction.
14171         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14172         Likewise.
14173         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14174         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14175         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14177         [BZ #18951]
14178         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14179         underflow exception for small results.
14180         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14181         Likewise.
14182         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14183         Likewise.
14184         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14185         Likewise.
14186         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14187         Likewise.
14188         * math/auto-libm-test-in: Add more tests of tgamma.
14189         * math/auto-libm-test-out: Regenerated.
14191 2015-09-17  Andreas Schwab  <schwab@suse.de>
14193         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14195 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14197         [BZ #18977]
14198         * math/bits/mathcalls.h
14199         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14200         not declare.
14201         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14202         Likewise.
14203         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14204         Likewise.
14205         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14206         Likewise.
14207         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14208         Likewise.
14209         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14210         Likewise.
14211         * conform/data/math.h-data
14212         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14213         function.
14214         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14215         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14216         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14217         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14218         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14219         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14220         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14221         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14222         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14223         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14224         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14226         [BZ #6803]
14227         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14228         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14229         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14230         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14231         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14232         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14233         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14234         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14235         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14236         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14237         Likewise.
14238         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14239         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14240         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14241         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14242         long_double_symbol calls.
14243         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14244         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14245         strong alias of __ldexpl.
14246         (scalbnl): Define using long_double_symbol.
14247         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14248         Remove alias.
14249         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14250         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14251         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14252         (scalbln_test_data): Add more errno expectations.
14254 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14256         Cache the host port like we cache the task port.  This way we do not
14257         need to call the kernel just to get the port.  Furthermore, we no
14258         longer increase the reference count on every invocation of
14259         `mach_host_self'.
14261         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14262         Protect declarations against the macro expansion.
14263         * mach/mach_init.c (__mach_host_self_): New variable.
14264         (mach_init): Initialize `__mach_host_self_'.
14265         * mach/mach_init.h (__mach_host_self_): New declaration.
14266         (__mach_host_self, mach_host_self): New macros.
14267         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14268         Release reference.
14270 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14272         [BZ #4404]
14273         * po/de.po: Update from Translation Project.
14275         [BZ #16415]
14276         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14277         (__expm1l): Remove code to handle positive infinity and overflow.
14278         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14279         variable.
14280         (__expm1l): Remove code to handle positive infinity and overflow.
14282 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14283             Paul Pluzhnikov  <ppluzhnikov@google.com>
14285         [BZ #18872]
14286         * stdio-common/Makefile (tst-printf-bz18872): New test.
14287         (tst-printf-bz18872-mem.out): Likewise.
14288         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14289         * stdio-common/vfprintf.c: Fix memory leaks.
14291 2015-09-16  Andreas Schwab  <schwab@suse.de>
14293         [BZ #17244]
14294         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14295         Remove extra va_start/va_end calls.
14297         [BZ #17243]
14298         * posix/execl.c (execl): Add missing va_end.
14299         * posix/execle.c (execle): Likewise.
14300         * posix/execlp.c (execlp): Likewise.
14302 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14304         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14305         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14307 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14309         [BZ #18967]
14310         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14311         undefine around includes of <bits/mathcalls.h>.
14312         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14313         not declare function.
14314         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14315         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14316         (scalb): Likewise.
14317         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14318         not define macro.
14319         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14320         variable.
14321         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14322         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14323         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14325         [BZ #18857]
14326         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14327         return non-finite argument without doing ordered comparisons on
14328         it.
14330         [BZ #16296]
14331         * math/fenv.h (fegetround): Use __attribute_pure__.
14332         * include/fenv.h (__fegetround): Likewise.
14334         [BZ #18595]
14335         * math/s_ctan.c (__ctan): Force underflow exception for results
14336         whose real or imaginary part has small absolute value.
14337         * math/s_ctanf.c (__ctanf): Likewise.
14338         * math/s_ctanh.c (__ctanh): Likewise.
14339         * math/s_ctanhf.c (__ctanhf): Likewise.
14340         * math/s_ctanhl.c (__ctanhl): Likewise.
14341         * math/s_ctanl.c (__ctanl): Likewise.
14342         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14343         and ctanh.  Add more tests of ctan and ctanh.
14345         [BZ #15918]
14346         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14347         handling of cases where one argument is an infinity.
14349         [BZ #18875]
14350         [BZ #18966]
14351         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14352         (MO): New macro.
14353         (__ieee754_exp10): For small results, force underflow exception
14354         and remove excess range and precision from return value.
14355         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14356         (MO): New macro.
14357         (__ieee754_exp10f): For small results, force underflow exception
14358         and remove excess range and precision from return value.
14359         * math/auto-libm-test-in: Add more tests of exp10.
14360         * math/auto-libm-test-out: Regenerated.
14362 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14364         [BZ #18875]
14365         [BZ #18961]
14366         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14367         (MO): New macro.
14368         (__ieee754_exp): For small results, force underflow exception and
14369         remove excess range and precision from return value.
14370         (__exp_finite): Likewise.
14371         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14372         (MO): New macro.
14373         (__ieee754_expf): For small results, force underflow exception and
14374         remove excess range and precision from return value.
14375         (__expf_finite): Likewise.
14376         * math/auto-libm-test-in: Add more tests of exp.
14377         * math/auto-libm-test-out: Regenerated.
14379         [BZ #16521]
14380         [BZ #18875]
14381         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14382         small results.
14383         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14384         (MO): New macro.
14385         (__ieee754_exp2): For small results, force underflow exception and
14386         remove excess range and precision from return value.
14387         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14388         (MO): New macro.
14389         (__ieee754_exp2f): For small results, force underflow exception
14390         and remove excess range and precision from return value.
14391         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14392         (MO): New macro.
14393         (__ieee754_exp2l): Force underflow exception for small results.
14394         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14395         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14396         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14397         (MO): New macro.
14398         (__ieee754_exp2l): Force underflow exception for small results.
14399         * math/auto-libm-test-in: Add more tests or exp2.
14400         * math/auto-libm-test-out: Regenerated.
14402 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14404         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14406         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14407         /dev/null.
14409 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14411         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14412         io fs process)): Drop spurious backslash.
14414 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14417         Use sysinfo system call instead of parsing /proc/meminfo.
14418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14419         Likewise.
14421 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14423         [BZ #16985]
14424         * programs/localedef.c (main): Display argv[remaining] when
14425         output_path is NULL.
14427 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14429         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14430         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14431         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14432         tanh.
14433         * math/auto-libm-test-out: Regenerated.
14434         * sysdeps/i386/fpu/libm-test-ulps: Update.
14435         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14436         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14439 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14441         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14442         Use 'override' keyword to freeze the value here, preventing
14443         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14445 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14447         [BZ #14912]
14448         * sysdeps/aarch64/bits/atomic.h: Move to ...
14449         * sysdeps/aarch64/atomic-machine.h: ...here.
14450         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14451         _AARCH64_ATOMIC_MACHINE_H.
14452         * sysdeps/alpha/bits/atomic.h: Move to ...
14453         * sysdeps/alpha/atomic-machine.h: ...here.
14454         * sysdeps/arm/bits/atomic.h: Move to ...
14455         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14456         * bits/atomic.h: Move to ...
14457         * sysdeps/generic/atomic-machine.h: ...here.
14458         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14459         * sysdeps/i386/bits/atomic.h: Move to ...
14460         * sysdeps/i386/atomic-machine.h: ...here.
14461         * sysdeps/ia64/bits/atomic.h: Move to ...
14462         * sysdeps/ia64/atomic-machine.h: ...here.
14463         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14464         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14465         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14466         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14467         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14468         * sysdeps/microblaze/bits/atomic.h: Move to ...
14469         * sysdeps/microblaze/atomic-machine.h: ...here.
14470         * sysdeps/mips/bits/atomic.h: Move to ...
14471         * sysdeps/mips/atomic-machine.h: ...here.
14472         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14473         * sysdeps/powerpc/bits/atomic.h: Move to ...
14474         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14475         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14476         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14477         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14478         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14479         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14480         <atomic-machine.h> instead of <bits/atomic.h>.
14481         * sysdeps/s390/bits/atomic.h: Move to ...
14482         * sysdeps/s390/atomic-machine.h: ...here.
14483         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14484         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14485         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14486         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14487         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14488         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14489         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14490         * sysdeps/tile/bits/atomic.h: Move to ...
14491         * sysdeps/tile/atomic-machine.h: ...here.
14492         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14493         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14494         <sysdeps/tile/atomic-machine.h> instead of
14495         <sysdeps/tile/bits/atomic.h>.
14496         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14497         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14498         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14499         <sysdeps/tile/atomic-machine.h> instead of
14500         <sysdeps/tile/bits/atomic.h>.
14501         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14502         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14503         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14504         <sysdeps/arm/atomic-machine.h> instead of
14505         <sysdeps/arm/bits/atomic.h>.
14506         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14507         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14508         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14509         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14510         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14511         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14512         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14513         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14514         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14515         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14516         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14517         * sysdeps/x86_64/bits/atomic.h: Move to ...
14518         * sysdeps/x86_64/atomic-machine.h: ...here.
14519         * include/atomic.h: Include <atomic-machine.h> instead of
14520         <bits/atomic.h>.
14522         * sysdeps/mips/mips32/libm-test-ulps: Update.
14523         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14525         [BZ #18952]
14526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14527         not convert non-integer negative arguments to int to determine the
14528         value of signgam.
14529         * math/auto-libm-test-in: Add more tests of lgamma.
14530         * math/auto-libm-test-out: Regenerated.
14532         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14533         cosh, csqrt, erfc, expm1 and lgamma.
14534         * math/auto-libm-test-out: Regenerated.
14535         * sysdeps/i386/fpu/libm-test-ulps: Update.
14536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14538 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14540         [BZ #2542]
14541         [BZ #2543]
14542         [BZ #2558]
14543         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14544         __lgamma_neg for arguments from -28.0 to -2.0.
14545         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14546         __lgamma_negf for arguments from -15.0 to -2.0.
14547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14548         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14549         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14550         Call __lgamma_negl for arguments from -33.0 to -2.0.
14551         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14552         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14553         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14554         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14555         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14556         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14557         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14558         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14559         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14560         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14561         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14562         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14563         (__lgamma_neg): Likewise.
14564         (__lgamma_negl): Likewise.
14565         (__lgamma_product): Likewise.
14566         (__lgamma_productl): Likewise.
14567         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14568         * math/auto-libm-test-in: Add more tests of lgamma.
14569         * math/auto-libm-test-out: Regenerated.
14570         * sysdeps/i386/fpu/libm-test-ulps: Update.
14571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14573 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14575         [BZ #18675]
14576         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14578 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14580         [BZ #14912]
14581         * bits/libc-lock.h: Move to ...
14582         * sysdeps/generic/libc-lock.h: ...here.
14583         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14584         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14585         * sysdeps/mach/hurd/libc-lock.h: ...here.
14586         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14587         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14588         * sysdeps/mach/bits/libc-lock.h: Move to ...
14589         * sysdeps/mach/libc-lock.h: ...here.
14590         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14591         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14592         * sysdeps/nptl/libc-lock.h: ...here.
14593         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14594         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14595         * sysdeps/nptl/libc-lockP.h: ...here.
14596         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14597         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14598         <bits/libc-lock.h>.
14599         * dirent/scandir-tail.c: Likewise.
14600         * dlfcn/dlerror.c: Likewise.
14601         * elf/dl-close.c: Likewise.
14602         * elf/dl-iteratephdr.c: Likewise.
14603         * elf/dl-lookup.c: Likewise.
14604         * elf/dl-open.c: Likewise.
14605         * elf/dl-support.c: Likewise.
14606         * elf/dl-writev.h: Likewise.
14607         * elf/rtld.c: Likewise.
14608         * grp/fgetgrent.c: Likewise.
14609         * gshadow/fgetsgent.c: Likewise.
14610         * gshadow/sgetsgent.c: Likewise.
14611         * iconv/gconv_conf.c: Likewise.
14612         * iconv/gconv_db.c: Likewise.
14613         * iconv/gconv_dl.c: Likewise.
14614         * iconv/gconv_int.h: Likewise.
14615         * iconv/gconv_trans.c: Likewise.
14616         * include/link.h: Likewise.
14617         * inet/getnameinfo.c: Likewise.
14618         * inet/getnetgrent.c: Likewise.
14619         * inet/getnetgrent_r.c: Likewise.
14620         * intl/bindtextdom.c: Likewise.
14621         * intl/dcigettext.c: Likewise.
14622         * intl/finddomain.c: Likewise.
14623         * intl/gettextP.h: Likewise.
14624         * intl/loadmsgcat.c: Likewise.
14625         * intl/localealias.c: Likewise.
14626         * intl/textdomain.c: Likewise.
14627         * libidn/idn-stub.c: Likewise.
14628         * libio/libioP.h: Likewise.
14629         * locale/duplocale.c: Likewise.
14630         * locale/freelocale.c: Likewise.
14631         * locale/newlocale.c: Likewise.
14632         * locale/setlocale.c: Likewise.
14633         * login/getutent_r.c: Likewise.
14634         * login/getutid_r.c: Likewise.
14635         * login/getutline_r.c: Likewise.
14636         * login/utmp-private.h: Likewise.
14637         * login/utmpname.c: Likewise.
14638         * malloc/mtrace.c: Likewise.
14639         * misc/efgcvt.c: Likewise.
14640         * misc/error.c: Likewise.
14641         * misc/fstab.c: Likewise.
14642         * misc/getpass.c: Likewise.
14643         * misc/mntent.c: Likewise.
14644         * misc/syslog.c: Likewise.
14645         * nis/nis_call.c: Likewise.
14646         * nis/nis_callback.c: Likewise.
14647         * nis/nss-default.c: Likewise.
14648         * nis/nss_compat/compat-grp.c: Likewise.
14649         * nis/nss_compat/compat-initgroups.c: Likewise.
14650         * nis/nss_compat/compat-pwd.c: Likewise.
14651         * nis/nss_compat/compat-spwd.c: Likewise.
14652         * nis/nss_nis/nis-alias.c: Likewise.
14653         * nis/nss_nis/nis-ethers.c: Likewise.
14654         * nis/nss_nis/nis-grp.c: Likewise.
14655         * nis/nss_nis/nis-hosts.c: Likewise.
14656         * nis/nss_nis/nis-network.c: Likewise.
14657         * nis/nss_nis/nis-proto.c: Likewise.
14658         * nis/nss_nis/nis-pwd.c: Likewise.
14659         * nis/nss_nis/nis-rpc.c: Likewise.
14660         * nis/nss_nis/nis-service.c: Likewise.
14661         * nis/nss_nis/nis-spwd.c: Likewise.
14662         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14663         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14664         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14665         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14666         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14667         * nis/nss_nisplus/nisplus-network.c: Likewise.
14668         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14669         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14670         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14671         * nis/nss_nisplus/nisplus-service.c: Likewise.
14672         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14673         * nis/ypclnt.c: Likewise.
14674         * nptl/libc_pthread_init.c: Likewise.
14675         * nss/getXXbyYY.c: Likewise.
14676         * nss/getXXent.c: Likewise.
14677         * nss/getXXent_r.c: Likewise.
14678         * nss/nss_db/db-XXX.c: Likewise.
14679         * nss/nss_db/db-netgrp.c: Likewise.
14680         * nss/nss_db/nss_db.h: Likewise.
14681         * nss/nss_files/files-XXX.c: Likewise.
14682         * nss/nss_files/files-alias.c: Likewise.
14683         * nss/nsswitch.c: Likewise.
14684         * posix/regex_internal.h: Likewise.
14685         * posix/wordexp.c: Likewise.
14686         * pwd/fgetpwent.c: Likewise.
14687         * resolv/res_hconf.c: Likewise.
14688         * resolv/res_libc.c: Likewise.
14689         * shadow/fgetspent.c: Likewise.
14690         * shadow/lckpwdf.c: Likewise.
14691         * shadow/sgetspent.c: Likewise.
14692         * socket/opensock.c: Likewise.
14693         * stdio-common/reg-modifier.c: Likewise.
14694         * stdio-common/reg-printf.c: Likewise.
14695         * stdio-common/reg-type.c: Likewise.
14696         * stdio-common/vfprintf.c: Likewise.
14697         * stdio-common/vfscanf.c: Likewise.
14698         * stdlib/abort.c: Likewise.
14699         * stdlib/cxa_atexit.c: Likewise.
14700         * stdlib/fmtmsg.c: Likewise.
14701         * stdlib/random.c: Likewise.
14702         * stdlib/setenv.c: Likewise.
14703         * string/strsignal.c: Likewise.
14704         * sunrpc/auth_none.c: Likewise.
14705         * sunrpc/bindrsvprt.c: Likewise.
14706         * sunrpc/create_xid.c: Likewise.
14707         * sunrpc/key_call.c: Likewise.
14708         * sunrpc/rpc_thread.c: Likewise.
14709         * sysdeps/arm/backtrace.c: Likewise.
14710         * sysdeps/generic/ldsodefs.h: Likewise.
14711         * sysdeps/generic/stdio-lock.h: Likewise.
14712         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14713         * sysdeps/i386/backtrace.c: Likewise.
14714         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14715         * sysdeps/m68k/backtrace.c: Likewise.
14716         * sysdeps/mach/hurd/cthreads.c: Likewise.
14717         * sysdeps/mach/hurd/dirstream.h: Likewise.
14718         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14719         * sysdeps/nptl/malloc-machine.h: Likewise.
14720         * sysdeps/nptl/stdio-lock.h: Likewise.
14721         * sysdeps/posix/dirstream.h: Likewise.
14722         * sysdeps/posix/getaddrinfo.c: Likewise.
14723         * sysdeps/posix/system.c: Likewise.
14724         * sysdeps/pthread/aio_suspend.c: Likewise.
14725         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14726         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14727         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14728         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14729         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14730         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14731         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14732         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14733         * sysdeps/unix/sysv/linux/system.c: Likewise.
14734         * sysdeps/x86_64/backtrace.c: Likewise.
14735         * time/alt_digit.c: Likewise.
14736         * time/era.c: Likewise.
14737         * time/tzset.c: Likewise.
14738         * wcsmbs/wcsmbsload.c: Likewise.
14739         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14740         instead of <bits/libc-lock.h> in comment.
14742 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14744         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14745         Only use .set mips2 if the current ISA is below mips2.
14746         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14747         Likewise.
14748         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14749         mips32r2 if the current ISA is below mips32r2.
14750         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14751         (TLS_IE): Updated to use the TLD_RDHWR macro.
14752         (TLS_LE): Likewise.
14753         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14754         __ASSEMBLER__ condition.
14756 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14758         Fix parallel build of before-compile targets.
14760         * sysdeps/mach/Makefile ($(patsubst
14761         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14762         mach-before-compile target.
14763         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14764         io fs process)): Move rule to dedicated hurd-before-compile target.
14766 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14768         Fix rules generating headers in hurd/ and mach/ when initial make call
14769         has subdir= explicitly set.
14771         * sysdeps/mach/Makefile ($(patsubst
14772         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14773         calling $(MAKE).
14774         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14775         io fs process)): Force subdir to hurd when calling $(MAKE).
14776         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14777         subdir to mach when calling $(MAKE).
14779 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14781         Check sysheaders when looking for Mach and Hurd headers
14783         * sysdeps/mach/configure.ac: Add sysheaders check.
14784         * sysdeps/mach/configure: Regenerate.
14785         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14786         * sysdeps/mach/hurd/configure: Regenerate.
14788 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14790         [BZ #18921]
14791         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14792         Fix inverted sense of test of 'o_directory_works' value.
14793         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14794         Bernhard Voelker <mail@bernhard-voelker.de>.
14796 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14798         [BZ #14912]
14799         * bits/linkmap.h: Move to ...
14800         * sysdeps/generic/linkmap.h: ...here.
14801         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14802         * sysdeps/aarch64/linkmap.h: ...here.
14803         * sysdeps/arm/bits/linkmap.h: Move to ...
14804         * sysdeps/arm/linkmap.h: ...here.
14805         * sysdeps/hppa/bits/linkmap.h: Move to ...
14806         * sysdeps/hppa/linkmap.h: ...here.
14807         * sysdeps/ia64/bits/linkmap.h: Move to ...
14808         * sysdeps/ia64/linkmap.h: ...here.
14809         * sysdeps/mips/bits/linkmap.h: Move to ...
14810         * sysdeps/mips/linkmap.h: ...here.
14811         * sysdeps/s390/bits/linkmap.h: Move to ...
14812         * sysdeps/s390/linkmap.h: ...here.
14813         * sysdeps/sh/bits/linkmap.h: Move to ...
14814         * sysdeps/sh/linkmap.h: ...here.
14815         * sysdeps/x86/bits/linkmap.h: Move to ...
14816         * sysdeps/x86/linkmap.h: ...here.
14817         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14819 2015-09-04  Andreas Schwab  <schwab@suse.de>
14821         [BZ #18635]
14822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14823         (__makecontext): Terminate FDE before return label.
14824         (__novec_makecontext): Likewise.
14826 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14828         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14829         first member of struct sv in syscall macro.
14831 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14833         [BZ #14912]
14834         * bits/stdio-lock.h: Move to ...
14835         * sysdeps/generic/stdio-lock.h: ...here.
14836         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14837         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14838         * sysdeps/nptl/stdio-lock.h: ...here.
14839         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14840         * include/libio.h: Include <stdio-lock.h> instead of
14841         <bits/stdio-lock.h>.
14842         * sysdeps/nptl/fork.c: Likewise.
14843         * sysdeps/pthread/flockfile.c: Likewise.
14844         * sysdeps/pthread/ftrylockfile.c: Likewise.
14845         * sysdeps/pthread/funlockfile.c: Likewise.
14847         [BZ #14912]
14848         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14849         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14850         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14851         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14852         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14853         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14854         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14856 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14858         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14859         (test-xfail-tst-protected1b): New variable.
14861 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14863         [BZ #14912]
14864         * bits/libc-tsd.h: Move to ...
14865         * sysdeps/generic/libc-tsd.h: ...here.
14866         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14867         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14868         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14869         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14870         * include/ctype.h: Include <libc-tsd.h> instead of
14871         <bits/libc-tsd.h>.
14872         * include/rpc/rpc.h: Likewise.
14873         * locale/localeinfo.h: Likewise.
14874         * sunrpc/rpc_thread.c: Likewise.
14875         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14876         * sysdeps/nptl/malloc-machine.h: Likewise.
14878         * Makefile (headers): Remove bits/libc-lock.h.
14879         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14881         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14882         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14883         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14884         <bits/stdio-lock.h>.
14885         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14886         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14888 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14890         [BZ #18757]
14891         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14892         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14893         BZ #18757.
14895 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14897         * malloc/mtrace.pl: Filter out NULL entries.
14899 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14901         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14902         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14903         macro.
14905         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14906         (TCP_CC_INFO): Likewise.
14907         (TCP_SAVE_SYN): Likewise.
14908         (TCP_SAVED_SYN): Likewise.
14910 2015-08-31  Brett Neumeier <brett@neumeier.us>
14912         [BZ #18870]
14913         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14915 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14917         [BZ #18873]
14918         Fix broken overflow check in posix_fallocate
14919         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14920         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14921         Fix parenthesization typo.
14923 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14925         [BZ #18887]
14926         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14927         tst-mntent-blank-passno.
14928         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14929         * misc/tst-mntent-blank-corrupt.c: New test.
14930         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14931         * misc/tst-mntent.c (do_test): ... here.
14933 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14935         [BZ #4404]
14936         * po/de.po: Fix SIGALRM typo.
14938 2015-08-28  James Perkins  <james@loowit.net>
14940         * time/tst-strptime2.c (tests): Replace short list of test
14941         strings for strptime %z specifier with code which exhaustively
14942         tests every combination of sign and 0 to 5 digits. Tests for
14943         rejection of invalid strings.
14945 2015-08-28  James Perkins  <james@loowit.net>
14947         [BZ #16141]
14948         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14949         calculation, removing incorrect decimal time rounding, so that
14950         all minute values result in a valid seconds value.
14951         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14952         offset range limits to UTC-99:59 through UTC+99:59 to parse
14953         current and historical use cases.
14954         * time/tst-strptime2.c (tests): Modify and add tests for the
14955         strptime %z input field descriptor, specifically conversion of
14956         minutes to seconds and validating an offset range of -9959 to
14957         +9959.
14959 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14960             Dmitry V. Levin  <ldv@altlinux.org>
14962         [BZ #18877]
14963         * posix/Makefile (tests): Add tst-mmap-offset.
14964         * posix/tst-mmap.c: New file.
14965         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14966         offset calculation for negative values.
14968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14970         * sysdeps/i386/init-arch.h: New file.
14971         * sysdeps/i386/i586/init-arch.h: Likewise.
14972         * sysdeps/i386/i686/init-arch.h: Likewise.
14973         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14974         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14975         * sysdeps/x86/cpu-features.h (bit_I586): New.
14976         (bit_I686): Likewise.
14977         (bit_CX8): Likewise.
14978         (bit_CMOV): Likewise.
14979         (index_CX8): Likewise.
14980         (index_CMOV): Likewise.
14981         (index_I586): Likewise.
14982         (index_I686): Likewise.
14983         (reg_CX8): Likewise.
14984         (reg_CMOV): Likewise.
14985         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14986         available at compile-time.
14987         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14988         available at compile-time.
14989         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14990         (USE_I686): Likewise.
14992 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14994         * sysdeps/i386/bcopy.S: New file.
14995         * sysdeps/i386/bzero.S: Likewise.
14996         * sysdeps/i386/memcpy.S: Likewise.
14997         * sysdeps/i386/memmove.S: Likewise.
14998         * sysdeps/i386/mempcpy.S: Likewise.
14999         * sysdeps/i386/memset.S: Likewise.
15000         * sysdeps/i386/bzero.c: Removed.
15001         * sysdeps/i386/memset.c: Likewise.
15002         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15003         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15004         * sysdeps/i386/i586/memset_chk.S: Likewise.
15005         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15006         * sysdeps/i386/memcpy_chk.S: Here.
15007         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15008         * sysdeps/i386/memmove_chk.S: Here.
15009         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15010         * sysdeps/i386/mempcpy_chk.S: Likewise.
15011         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15012         * sysdeps/i386/memset_chk.S: Likewise.
15014 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15016         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15017         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15018         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15019         * soft-fp/fmadf4.c: Ditto.
15020         * soft-fp/fmatf4.c: Ditto.
15022 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15024         * sysdeps/i386/i586/Implies: Removed.
15025         * sysdeps/i386/i686/Implies: Likewise.
15027 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15029         * sysdeps/i386/i486/strlen.S: Moved to ...
15030         * sysdeps/i386/strlen.S: Here.
15032 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15034         * sysdeps/i386/i486/strcat.S: Moved to ...
15035         * sysdeps/i386/strcat.S: Here.
15037 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15039         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15040         * sysdeps/i386/pthread_spin_trylock.S: Here.
15041         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15042         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15044 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15046         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15047         * sysdeps/i386/string-inlines.c: Here.
15049 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15051         * sysdeps/i386/i486/htonl.S: Moved ...
15052         * sysdeps/i386/htonl.S: here.
15054 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15056         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15057         * sysdeps/i386/bits/atomic.h: Here.
15059 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15061         * sysdeps/i386/i486/Versions: Removed.
15063 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15065         [BZ #2898]
15066         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15067         Based on patch by Aurelien Jarno.
15069 2015-08-26  Stan Shebs  <stanshebs@google.com>
15071         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15072         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15074 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15076         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15077         * sysdeps/powerpc/dl-procinfo.c:
15078         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15079         feature so it shows when LD_SHOW_AUXV=1.
15081 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15083         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15084         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15085         definition.  ISA 2.07B no longer requires full sync.
15087 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15089         [BZ #18863]
15090         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15091         (si_call_addr): Define.
15092         (si_syscall): Define.
15093         (si_arch): Define.
15095 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15097         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15098         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15099         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15100         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15101         (__memset_zero_constant_len_parameter): New.
15102         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15103         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15104         (__memset_zero_constant_len_parameter): Don't define if
15105         __memset_chk or USE_AS_BZERO are defined.
15107         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15108         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15109         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15111         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15112         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15113         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15114         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15115         comments.
15116         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15117         -mno-mmx for $(all-rtld-routines).
15118         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15119         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15120         i386.
15122 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15124         * sysdeps/generic/unwind.h
15125         (_Unwind_Word): Use __mode__(__unwind_word__)
15126         instead of __mode__(__word__).
15127         (_Unwind_Sword): Likewise.
15129         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15130         (MAX_NEEDED_INPUT): New define.
15131         (MAX_NEEDED_OUTPUT): New define.
15133         * NEWS: New item for IBM z13 string optimizations.
15135         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15136         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15137         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15138         * sysdeps/s390/multiarch/Makefile
15139         (sysdep_routines): Add memrchr functions.
15140         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15141         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15143         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15144         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15145         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15146         * sysdeps/s390/multiarch/Makefile
15147         (sysdep_routines): Add wmemcmp functions.
15148         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15149         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15150         * benchtests/bench-wmemcmp.c: New File.
15151         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15153         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15154         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15155         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15156         * sysdeps/s390/multiarch/Makefile
15157         (sysdep_routines): Add wmemset functions.
15158         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15159         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15160         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15161         * string/test-memset.c: Add wmemset support.
15162         * wcsmbs/test-wmemset.c: New File.
15163         * wcsmbs/Makefile (strop-tests): Add wmemset.
15164         * benchtests/bench-memset.c: Add wmemset support.
15165         * benchtests/bench-wmemset.c: New File.
15166         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15168         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15169         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15170         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15171         * sysdeps/s390/multiarch/Makefile
15172         (sysdep_routines): Add memccpy functions.
15173         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15174         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15175         * string/memccpy.c: Use MEMCCPY if defined.
15177         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15178         * sysdeps/s390/multiarch/memchr.c: Likewise.
15179         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15180         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15181         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15182         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15183         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15184         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15185         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15186         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15188         and rawmemchr functions.
15189         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15190         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15191         and wmemchr.
15192         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15193         * string/test-memchr.c: Add wmemchr support.
15194         * wcsmbs/test-wmemchr.c: New File.
15195         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15196         * benchtests/bench-memchr.c: Add wmemchr support.
15197         * benchtests/bench-wmemchr.c: New File.
15198         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15200         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15201         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15202         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15203         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15204         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15205         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15206         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15207         wcscspn functions.
15208         * sysdeps/s390/multiarch/ifunc-impl-list.c
15209         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15210         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15211         * string/test-strcspn.c: Add wcscspn support.
15212         * wcsmbs/test-wcscspn.c: New File.
15213         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15214         * benchtests/bench-strcspn.c: Add wcscspn support.
15215         * benchtests/bench-wcscspn.c: New File.
15216         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15218         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15219         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15220         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15221         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15222         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15223         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15224         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15225         wcspbrk functions.
15226         * sysdeps/s390/multiarch/ifunc-impl-list.c
15227         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15228         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15229         * string/test-strpbrk.c: Add wcspbrk support.
15230         * wcsmbs/test-wcspbrk.c: New File.
15231         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15232         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15233         * benchtests/bench-wcspbrk.c: New File.
15234         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15236         * sysdeps/s390/multiarch/strspn-c.c: New File.
15237         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15238         * sysdeps/s390/multiarch/strspn.c: Likewise.
15239         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15240         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15241         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15242         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15243         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15244         wcsspn functions.
15245         * sysdeps/s390/multiarch/ifunc-impl-list.c
15246         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15247         * string/test-strspn.c: Add wcsspn support.
15248         * wcsmbs/test-wcsspn.c: New File.
15249         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15250         * benchtests/bench-strspn.c: Add wcsspn support.
15251         * benchtests/bench-wcsspn.c: New File.
15252         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15254         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15255         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15256         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15257         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15258         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15259         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15260         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15261         wcsrchr functions.
15262         * sysdeps/s390/multiarch/ifunc-impl-list.c
15263         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15264         * benchtests/bench-wcsrchr.c: New File.
15265         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15267         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15268         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15269         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15270         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15271         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15272         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15274         wcschrnul functions.
15275         * sysdeps/s390/multiarch/ifunc-impl-list.c
15276         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15277         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15278         * string/test-strchr.c: Add wcschrnul support.
15279         * wcsmbs/test-wcschrnul.c: New File.
15280         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15281         * benchtests/bench-strchr.c: Add wcschrnul support.
15282         * benchtests/bench-wcschrnul.c: New File.
15283         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15285         * sysdeps/s390/multiarch/strchr-c.c: New File.
15286         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15287         * sysdeps/s390/multiarch/strchr.c: Likewise.
15288         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15289         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15290         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15292         wcschr functions.
15293         * sysdeps/s390/multiarch/ifunc-impl-list.c
15294         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15295         * string/strchr.c (STRCHR): Define and use macro.
15296         * benchtests/bench-wcschr.c: New File.
15297         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15299         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15300         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15301         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15302         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15303         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15304         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15305         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15306         wcsncmp functions.
15307         * sysdeps/s390/multiarch/ifunc-impl-list.c
15308         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15309         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15310         * benchtests/bench-strncmp.c: Add wcsncmp support.
15311         * benchtests/bench-wcsncmp.c: New File.
15312         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15314         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15315         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15316         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15317         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15318         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15319         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15320         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15322         wcscmp functions.
15323         * sysdeps/s390/multiarch/ifunc-impl-list.c
15324         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15325         * string/strcmp.c (STRCMP): Define and use macro.
15326         * benchtests/bench-wcscmp.c: New File.
15327         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15328         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15329         instead of _HAVE_STRING_ARCH_memchr.
15331         * sysdeps/s390/multiarch/strncat-c.c: New File.
15332         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15333         * sysdeps/s390/multiarch/strncat.c: Likewise.
15334         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15335         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15336         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15338         wcsncat functions.
15339         * sysdeps/s390/multiarch/ifunc-impl-list.c
15340         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15341         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15342         * string/test-strncat.c: Add wcsncat support.
15343         * wcsmbs/test-wcsncat.c: New File.
15344         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15345         * benchtests/bench-strncat.c: Add wcsncat support.
15346         * benchtests/bench-wcsncat.c: New File.
15347         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15349         * sysdeps/s390/multiarch/strcat-c.c: New File.
15350         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15351         * sysdeps/s390/multiarch/strcat.c: Likewise.
15352         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15353         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15354         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15356         wcscat functions.
15357         * sysdeps/s390/multiarch/ifunc-impl-list.c
15358         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15359         * string/strcat.c (STRCAT): Define and use macro.
15360         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15361         * string/test-strcat.c: Add wcscat support.
15362         * wcsmbs/test-wcscat.c: New File.
15363         * wcsmbs/Makefile (strop-tests): Add wcscat.
15364         * benchtests/bench-strcat.c: Add wcscat support.
15365         * benchtests/bench-wcscat.c: New File.
15366         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15368         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15369         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15370         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15371         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15372         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15373         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15374         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15375         wcpncpy functions.
15376         * sysdeps/s390/multiarch/ifunc-impl-list.c
15377         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15378         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15379         * string/test-stpncpy.c: Add wcpncpy support.
15380         * wcsmbs/test-wcpncpy.c: New File.
15381         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15382         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15383         * benchtests/bench-wcpncpy.c: New File.
15384         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15386         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15387         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15388         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15389         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15390         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15391         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15392         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15394         wcsncpy functions.
15395         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15396         * sysdeps/s390/multiarch/ifunc-impl-list.c
15397         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15398         * string/test-strncpy.c: Add wcsncpy support.
15399         * wcsmbs/test-wcsncpy.c: New File.
15400         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15401         * benchtests/bench-strncpy.c: Add wcsncpy support.
15402         * benchtests/bench-wcsncpy.c: New File.
15403         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15405         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15406         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15407         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15408         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15409         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15410         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15411         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15412         wcpcpy functions.
15413         * string/stpcpy.c: Use STPCPY if defined.
15414         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15415         * sysdeps/s390/multiarch/ifunc-impl-list.c
15416         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15417         * string/test-stpcpy.c: Add wcpcpy support.
15418         * wcsmbs/test-wcpcpy.c: New File.
15419         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15420         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15421         * benchtests/bench-wcpcpy.c: New File.
15422         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15424         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15425         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15426         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15427         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15428         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15429         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15430         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15431         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15432         wcscpy functions.
15433         * sysdeps/s390/multiarch/ifunc-impl-list.c
15434         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15435         * benchtests/bench-wcscpy.c: New File.
15436         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15438         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15439         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15440         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15441         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15442         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15443         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15444         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15445         wcsnlen functions.
15446         * sysdeps/s390/multiarch/ifunc-impl-list.c
15447         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15448         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15449         * string/test-strnlen.c: Add wcsnlen support.
15450         * wcsmbs/test-wcsnlen.c: New File.
15451         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15452         * benchtests/bench-strnlen.c: Add wcsnlen support.
15453         * benchtests/bench-wcsnlen.c: New File.
15454         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15456         * sysdeps/s390/multiarch/Makefile: New File.
15457         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15458         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15459         * sysdeps/s390/multiarch/strlen.c: Likewise.
15460         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15461         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15462         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15463         * string/strlen.c (STRLEN): Define and use macro.
15464         * sysdeps/s390/multiarch/ifunc-impl-list.c
15465         (IFUNC_VX_IMPL): New macro function.
15466         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15467         * benchtests/Makefile (wcsmbs-bench): New variable.
15468         (string-bench-all): Added wcsmbs-bench.
15469         * benchtests/bench-wcslen.c: New File.
15471         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15472         s390_vx_libc_ifunc2): New macro function.
15474         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15475         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15476         assembler support.
15477         * sysdeps/s390/configure: Regenerated.
15479         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15480         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15482         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15483         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15484         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15486         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15487         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15488         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15489         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15490         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15491         (memcmp, bcmp): Use __memcmp_default as alias source.
15492         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15493         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15494         Rename to __memcmp_default.
15495         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15496         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15497         (memcpy): Use __memcpy_default as alias source.
15498         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15499         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15500         Rename to __memcpy_default.
15501         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15502         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15503         (memset): Use __memset_default as alias source.
15504         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15505         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15506         Rename to __memset_default.
15507         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15508         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15509         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15510         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15511         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15512         (memcmp, bcmp): Use __memcmp_default as alias source.
15513         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15514         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15515         Rename to __memcmp_default.
15516         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15517         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15518         (memcpy): Use __memcpy_default as alias source.
15519         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15520         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15521         Rename to __memcpy_default.
15522         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15523         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15524         (memset): Use __memset_default as alias source.
15525         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15526         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15527         Rename to __memset_default.
15528         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15529         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15531         [BZ #18610]
15532         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15533         __ieee_instruction_pointer to __unused.
15534         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15535         __ieee_instruction_pointer.
15536         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15537         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15538         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15539         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15540         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15541         Mark dxc-field as reserved.
15543 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15545         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15546         if the weak reference is not null.
15548 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15550         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15552         [BZ #11214]
15553         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15555 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15557         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15558         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15559         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15560         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15561         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15562         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15563         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15564         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15565         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15566         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15567         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15568         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15569         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15570         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15571         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15572         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15573         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15574         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15576 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15578         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15579         register other than r0 for tabort, it has special meaning.
15580         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15581         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15582         transaction before starting syscall.
15584 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15586         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15588 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15590         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15592         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15593         * sysdeps/x86_64/rtld-memset.S: Likewise.
15594         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15595         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15596         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15597         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15599         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15601 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15603         * debug/strcpy_chk.c: Improve performance.
15604         * debug/stpcpy_chk.c: Likewise.
15605         * sysdeps/x86_64/strcpy_chk.S: Remove.
15606         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15608         [BZ #18240]
15609         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15611 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15613         [BZ #15128]
15614         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15615         ifuncmain8.
15616         (modules-names): Add ifuncmod8.
15617         ($(objpfx)ifuncmain8): New rule.
15618         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15619         <cpuid.h>.
15620         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15621         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15622         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15623         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15624         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15625         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15626         * sysdeps/x86_64/ifuncmain8.c: New file.
15627         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15628         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15629         Removed.
15630         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15631         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15632         Change rtld_savespace_sse to __glibc_unused2.
15633         (RTLD_CHECK_FOREIGN_CALL): Removed.
15634         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15635         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15636         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15638 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15640         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15642 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15644         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15645         Unconditionally set __fpcr to avoid uninialized warning.
15646         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15648 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15650         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15651         is corrupt.
15653         * malloc/arena.c (arena_get2): Drop unused argument.
15654         (arena_lock): Adjust.
15655         (arena_get_retry): Likewise.
15657 2015-08-24  Andreas Schwab  <schwab@suse.de>
15659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15660         Don't define.
15661         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15662         (__ASSUME_IPC64): Don't undef.
15663         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15664         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15665         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15666         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15667         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15668         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15669         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15670         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15671         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15672         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15673         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15674         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15675         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15676         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15677         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15678         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15679         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15680         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15681         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15682         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15683         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15685 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15687         * manual/Makefile (install): Only build manual when perl is available.
15689 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15691         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15692         '#undef memcpy' by '#undef memchr'.
15694 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15696         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15697         memchr not point to the internal __GI_memchr implementation.
15699 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15701         * timezone/Makefile (CFLAGS-zdump.c): Remove
15702         -Wno-strict-prototypes.
15703         (CFLAGS-zic.c): Likewise.
15704         (CFLAGS-ialloc.c): Likewise.
15705         (CFLAGS-scheck.c): Likewise.
15707         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15708         -Wno-error=undef.
15710 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15712         * i386/i686/multiarch/strcasestr-c.c: Removed.
15713         * x86_64/multiarch/strcasestr.c: Likewise.
15714         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15715         Remove strcasestr.
15717 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15719         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15721         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15722         variables for high and low parts before possibly modifying them.
15724 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15726         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15727         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15728         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15729         of "multiarch/init-arch.h".
15730         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15731         * sysdeps/x86/init-arch.h: This.
15733 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15735         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15736         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15738 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15740         [BZ #17787]
15741         * manual/macros.texi: Add twoexp macro.
15742         * manual/filesys.texi: Fix exponents.
15743         * manual/llio.texi: Likewise.
15744         * manual/stdio.texi: Likewise.
15746 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15748         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15749         incorrect use.
15751 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15753         [BZ #18370]
15754         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15755         whose real or imaginary part has small absolute value.
15756         * math/s_csqrtf.c (__csqrtf): Likewise.
15757         * math/s_csqrtl.c (__csqrtl): Likewise.
15758         * math/auto-libm-test-in: Add more tests of csqrt.
15759         * math/auto-libm-test-out: Regenerated.
15760         * sysdeps/i386/fpu/libm-test-ulps: Update.
15762 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15764         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15765         __ppc_set_ppr_very_low): New functions.
15766         * manual/platform.texi: Add documentation about
15767         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15769 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15771         * string/stpncpy.c (stpncpy): Improve performance using
15772         __strnlen/memcpy/memset.
15774 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15776         [BZ #18796]
15777         * scripts/test-installation.pl: Don't add -lmvec to build options if
15778         libmvec wasn't built.
15780 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15782         [BZ #14341]
15783         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15784         case when there is a gap between DT_REL and DT_JMPREL sections.
15785         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15786         (LDFLAGS-tst-split-dynreloc): New.
15787         (tst-split-dynreloc-ENV): Likewise.
15788         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15789         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15791 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15793         [BZ #18822]
15794         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15795         attribute_hidden.
15796         (__xstat64_conv): Likewise.
15797         (__xstat32_conv): Likewise.
15799 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15801         [BZ #18822]
15802         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15803         Don't load %ebx when calling __setcontext.  Call __setcontext
15804         with HIDDEN_JUMPTARGET.
15805         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15806         libc_hidden_def.
15808 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15810         * sysdeps/i386/i686/Makefile
15811         [$(subdir) == string] (sysdep_routines): Moved to ...
15812         * sysdeps/i386/Makefile: Here.
15813         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15814         * sysdeps/i386/cacheinfo.c: Here.
15815         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15816         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15817         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15818         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15820 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15822         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15823         __i586__ is defined.
15824         (HAS_I686): Defined to 1 if __i686__ is defined.
15826 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15828         * elf/Makefile [$(have-z-execstack) = yes]
15829         (CPPFLAGS-tst-execstack.c): New variable.
15831         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15832         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15833         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15834         UTMPX || _HAVE_UT_TV].
15835         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15836         UTMPX || _HAVE_UT_TV - 0].
15838 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15840         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15841         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15842         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15844 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15846         * sysdeps/powerpc/dl-procinfo.c:
15847         (_dl_powerpc_cap_flags): Added missing strings for some
15848         hwcap features.
15849         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15851 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15853         Port the 0x7efe...feff pattern to GCC 6.
15854         See Steve Ellcey's bug report in:
15855         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15856         * string/memrchr.c (MEMRCHR):
15857         * string/rawmemchr.c (RAWMEMCHR):
15858         * string/strchr.c (strchr):
15859         * string/strchrnul.c (STRCHRNUL):
15860         Rewrite code to avoid issues with signed shift overflow.
15862 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15864         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15865         whether cpuid is available only if HAS_CPUID is 0.
15866         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15867         (HAS_I586): Likewise.
15868         (HAS_I686): Likewise.
15870 2015-08-18  Zack Weinberg  <zackw@panix.com>
15872         * misc/Versions (libc): Add GLIBC_2.23.
15874 2015-08-18  Alan Modra  <amodra@gmail.com>
15876         [BZ #18421]
15877         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15878         .Lp__global.
15879         (_start): Load %dp via .Lp__global.
15880         [!SHARED]: Use .section .rodata.
15882 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15884         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15885         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15887 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15889         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15890         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15892 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15894         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15895         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15897 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15899         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15900         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15902 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15904         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15905         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15907 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15909         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15910         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15912 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15914         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15916 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15918         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15919         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15920         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15921         (__ASSUME_LWS_CAS): Delete.
15923 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15925         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15926         * sysdeps/hppa/configure: Regenerated.
15927         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15928         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15929         * sysdeps/hppa/nptl/tls.h: Likewise.
15931 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15933         [BZ #18823]
15934         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15935         for scaling up small arguments.
15936         * math/s_csqrtf.c (__csqrtf): Likewise.
15937         * math/s_csqrtl.c (__csqrtl): Likewise.
15938         * math/auto-libm-test-in: Add more tests of csqrt.
15939         * math/auto-libm-test-out: Regenerated.
15941 2015-08-17  Andreas Schwab  <schwab@suse.de>
15943         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15944         version set GLIBC_2.19.
15946 2015-08-16  Zack Weinberg  <zackw@panix.com>
15948         [BZ #18681]
15949         * misc/regexp.h: This interface is no longer supported.
15950         Remove all contents, leaving only an #error directive.
15951         * misc/regexp.c (loc1, loc2, locs, step, advance):
15952         Demote to compatibility symbols.
15954 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15956         [BZ #18084]
15957         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15958         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15959         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15960         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15961         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15962         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15963         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15964         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15965         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15967 2015-08-15  Zack Weinberg  <zackw@panix.com>
15969         [BZ #18795]
15970         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15971         buffer length is known to be too large, not if it's known to be
15972         small enough.
15973         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15974         overflow at runtime, involving a length parameter, twice: once
15975         with a compile-time constant length parameter, once without.
15977 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15979         [BZ #18824]
15980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15981         scaling x * y up instead of down.
15982         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15983         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15984         * math/auto-libm-test-in: Add more tests of fma.
15985         * math/auto-libm-test-out: Regenerated.
15987 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15991 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15993         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15994         unnecessary movq.
15995         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15996         Likewise.
15998 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16000         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16001         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16002         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16003         and tgamma.
16004         * math/auto-libm-test-out: Regenerated.
16005         * sysdeps/i386/fpu/libm-test-ulps: Update.
16006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16008         [BZ #16520]
16009         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16010         (__tanh): Force underflow exception for arguments with small
16011         absolute value.
16012         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16013         (__tanhf): Force underflow exception for arguments with small
16014         absolute value.
16015         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16016         (__tanhl): Force underflow exception for arguments with small
16017         absolute value.
16018         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16019         (__tanhl): Force underflow exception for arguments with small
16020         absolute value.
16021         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16022         (__tanhl): Force underflow exception for arguments with small
16023         absolute value.
16024         * math/auto-libm-test-in: Add more tests of tanh.
16025         * math/auto-libm-test-out: Regenerated.
16026         * sysdeps/i386/fpu/libm-test-ulps: Update.
16028 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16030         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16031         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16033 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16035         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16036         <cpuid.h>.
16038 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16040         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16041         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16043 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16045         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16046         Remove $(objpfx)init-arch.o.
16047         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16048         init-arch.
16049         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16050         (INIT_ARCH_EXT): Defined as empty.
16051         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16053         __init_cpu_features call.  Replace HAS_XXX with
16054         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16055         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16057         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16058         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16059         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16060         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16061         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16062         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16063         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16064         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16065         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16067         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16069         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16070         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16071         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16073         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16077         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16078         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16079         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16080         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16081         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16082         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16083         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16085         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16087         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16091 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16093         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16094         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16095         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16096         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16097         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16098         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16099         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16100         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16101         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16102         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16103         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16104         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16105         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16106         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16107         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16108         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16109         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16110         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16111         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16112         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16113         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16114         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16115         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16116         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16117         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16118         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16119         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16120         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16121         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16122         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16123         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16124         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16125         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16126         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16127         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16128         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16129         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16130         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16131         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16132         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16133         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16134         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16135         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16137 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16139         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16140         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16141         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16142         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16143         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16144         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16145         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16146         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16147         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16148         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16149         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16150         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16151         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16152         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16153         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16154         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16155         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16156         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16157         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16158         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16160         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16161         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16162         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16163         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16164         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16165         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16166         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16167         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16168         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16169         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16170         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16174         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16175         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16176         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16177         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16178         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16179         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16180         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16181         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16183 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16185         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16186         (dl_platform_init): Call init_cpu_features.
16187         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16188         * sysdeps/i386/i686/cacheinfo.c
16189         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16190         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16191         * sysdeps/i386/i686/multiarch/Versions: Removed.
16192         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16193         Removed.
16194         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16195         * sysdeps/unix/sysv/linux/x86/Makefile
16196         (libpthread-sysdep_routines): Remove init-arch.
16197         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16198         <sysdeps/x86_64/dl-procinfo.c> instead of
16199         sysdeps/generic/dl-procinfo.c>.
16200         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16201         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16202         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16203         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16204         [$(subdir) == elf] (tests-static): Add
16205         tst-get-cpu-features-static.
16206         * sysdeps/x86/Versions: New file.
16207         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16208         * sysdeps/x86/cpu-features.c: Likewise.
16209         * sysdeps/x86/cpu-features.h: Likewise.
16210         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16211         * sysdeps/x86/libc-start.c: Likewise.
16212         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16213         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16214         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16215         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16216         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16217         Assume USE_MULTIARCH is defined and don't check it.
16218         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16219         (is_amd): Likewise.
16220         (max_cpuid): Likewise.
16221         (intel_check_word): Likewise.
16222         (__cache_sysconf): Don't call __init_cpu_features.
16223         (__x86_preferred_memory_instruction): Removed.
16224         (init_cacheinfo): Don't call __init_cpu_features. Replace
16225         __cpu_features with GLRO(dl_x86_cpu_features).
16226         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16227         (dl_platform_init): Call init_cpu_features.
16228         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16229         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16230         * sysdeps/x86_64/multiarch/Versions: Removed.
16231         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16232         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16233         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16234         Removed.
16235         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16237 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16239         [BZ #18820]
16240         * libio/Makefile (test-fmemopen-mem): New test.
16241         * libio/test-fmemopen.c (do_bz18820): New test.
16242         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16243         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16245 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16247         [BZ #16734]
16248         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16249         (FREE_BUF): Delete.
16250         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16251         * libio/genops.c (_IO_setb): Use malloc and free directly.
16252         (_IO_default_doallocate, _IO_default_finish): Likewise.
16253         ( _IO_unbuffer_all): Likewise.
16254         ( libc_freeres_fn): Likewise.
16255         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16256         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16257         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16258         (_IO_wdefault_doallocate): Likewise.
16260 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16262         [BZ #18086]
16263         * sysdeps/posix/nice.c (nice): Restore old errno.
16264         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16266 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16270 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16272         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16273         __bcopy and add a weak_alias to bcopy.
16274         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16275         for static build.
16277         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16278         cleanup macro usage.
16279         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16280         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16281         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16282         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16283         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16284         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16285         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16286         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16287         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16288         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16289         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16290         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16292         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16293         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16294         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16295         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16296         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16297         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16299         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16300         libc_hidden_def.
16301         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16303         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16304         (sysdep_routines): Add strstr-ppc64.
16305         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16307 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16309         [BZ #18778]
16310         * elf/Makefile (tests): Add Add tst-nodelete2.
16311         (modules-names): Add tst-nodelete2mod.
16312         (tst-nodelete2mod.so-no-z-defs): New.
16313         ($(objpfx)tst-nodelete2): Likewise.
16314         ($(objpfx)tst-nodelete2.out): Likewise.
16315         (LDFLAGS-tst-nodelete2): Likewise.
16316         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16317         out of loop through all loaded libraries.
16318         * elf/tst-nodelete2.c: New file.
16319         * elf/tst-nodelete2mod.c: Likewise.
16320         * elf/tst-znodelete-zlib.cc: Delete.
16322 2015-08-11  Andreas Schwab  <schwab@suse.de>
16324         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16325         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16326         (__openat64_nocancel): Likewise.
16328 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16330         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16331         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16332         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16333         * math/auto-libm-test-out: Regenerated.
16334         * sysdeps/i386/fpu/libm-test-ulps: Update.
16335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16337 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16339         [BZ #18790]
16340         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16341         threshold for returning +/- 1.
16342         * math/auto-libm-test-in: Add more tests of tanh.
16343         * math/auto-libm-test-out: Regenerated.
16344         * sysdeps/i386/fpu/libm-test-ulps: Update.
16346 2015-08-10  Andreas Schwab  <schwab@suse.de>
16348         [BZ #18781]
16349         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16350         MORE_OFLAGS to oflag.
16351         * io/test-lfs.c (do_test): Test openat64.
16353 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16355         [BZ #18789]
16356         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16357         smaller threshold for returning the argument.
16358         * math/auto-libm-test-in: Add more tests of sinh.
16359         * math/auto-libm-test-out: Regenerated.
16360         * sysdeps/i386/fpu/libm-test-ulps: Update.
16362 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16364         [BZ #18674]
16365         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16366         break.
16368 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16370         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16371         (generated): Don't add $(addprefix z.,$(tzfiles)).
16373 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16375         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16376         * scripts/sysd-rules.awk: Likewise.
16378 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16380         * iconvdata/tst-tables.sh: Change echo -n to printf.
16381         * nss/db-Makefile: Likewise.
16382         * posix/tst-getconf.sh: Likewise.
16383         * stdio-common/tst-unbputc.sh: Likewise.
16385 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16387         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16388         MADV_*_PAGES defines behind this feature check.
16390 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16392         [BZ #18480]
16393         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16394         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16395         Define.
16396         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16397         LOAD_REGS_5, LOAD_REGS_6): Update.
16398         (INTERNAL_SYSCALL): Update using new LOAD defines.
16399         (INTERNAL_SYSCALL_NCS): Likewise.
16400         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16402 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16404         [BZ #16734]
16405         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16407 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16409         [BZ #17905]
16410         * catgets/Makefile (tst-catgets-mem): New test.
16411         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16412         * catgets/open_catalog.c (__open_catalog): Likewise.
16413         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16415 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16417         [BZ #18787]
16418         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16419         clobber registers.
16420         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16421         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16422         Cast return to __typeof (oldval).
16424 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16426         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16427         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16428         and delete sys/syscall.h include.
16430 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16432         [BZ #16517]
16433         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16434         (tan): Force underflow exception for arguments with small absolute
16435         value.
16436         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16437         (__kernel_tanf): Force underflow exception for arguments with
16438         small absolute value.
16439         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16440         (__kernel_tanl): Force underflow exception for arguments with
16441         small absolute value.
16442         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16443         (__kernel_tanl): Force underflow exception for arguments with
16444         small absolute value.
16445         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16446         (__kernel_tanl): Force underflow exception for arguments with
16447         small absolute value.
16448         * math/auto-libm-test-in: Add more tests of tan.
16449         * math/auto-libm-test-out: Regenerated.
16451 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16453         Fix sysdeps/i386/fpu/s_scalbn.S build
16455         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16457 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16459         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16461 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16463         Fix gcrt0.o compilation
16465         When static-start-installed-name is different from
16466         start-installed-name, we must not use the shared objects.
16468         * csu/Makefile
16469         (extra-objs): Add gmon-start.o when building shared library and
16470         $(static-start-installed-name) is different from
16471         $(start-installed-name).
16472         $(objpfx)g$(static-start-installed-name): When building shared
16473         library and $(static-start-installed-name) is different from
16474         $(static-start-installed-name), revert to non-shared rule,
16475         i.e. using $(objpfx)% and gmon-start.o.
16477 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16479         [BZ #16519]
16480         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16481         (__ieee754_sinh): Force underflow exception for arguments with
16482         small absolute value.
16483         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16484         (__ieee754_sinhf): Force underflow exception for arguments with
16485         small absolute value.
16486         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16487         (__ieee754_sinhl): Force underflow exception for arguments with
16488         small absolute value.
16489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16490         (__ieee754_sinhl): Force underflow exception for arguments with
16491         small absolute value.
16492         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16493         (__ieee754_sinhl): Force underflow exception for arguments with
16494         small absolute value.
16495         * math/auto-libm-test-in: Add more tests of sinh.
16496         * math/auto-libm-test-out: Regenerated.
16497         * sysdeps/i386/fpu/libm-test-ulps: Update.
16499 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16501         * libio/oldfileops.c: Include unistd.h.
16503 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16505         * stdlib/isomac.c: Include ctype.h.
16507 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16509         * dirent/tst-seekdir.c (main): Converted to ...
16510         (do_test): ... this.
16511         (TEST_FUNCTION): New macro.
16512         Include test-skeleton.c.
16513         * elf/tst-dlmodcount.c (main): Converted to ...
16514         (do_test): ... this.
16515         (TEST_FUNCTION): New macro.
16516         Include test-skeleton.c.
16517         * elf/tst-order-main.c (main): Converted to ...
16518         (do_test): ... this.
16519         (TEST_FUNCTION): New macro.
16520         Include test-skeleton.c.
16521         * elf/tst-pie2.c (main): Converted to ...
16522         (do_test): ... this.
16523         (TEST_FUNCTION): New macro.
16524         Include test-skeleton.c.
16525         * inet/tst-ether_aton.c (main): Converted to ...
16526         (do_test): ... this.
16527         (TEST_FUNCTION): New macro.
16528         Include test-skeleton.c.
16529         * misc/tst-mntent.c (main): Converted to ...
16530         (do_test): ... this.
16531         (TEST_FUNCTION): New macro.
16532         Include test-skeleton.c.
16533         * misc/tst-tsearch.c (main): Converted to ...
16534         (do_test): ... this.
16535         (TEST_FUNCTION): New macro.
16536         Include test-skeleton.c.
16537         * posix/tst-regexloc.c (main): Converted to ...
16538         (do_test): ... this.
16539         (TEST_FUNCTION): New macro.
16540         Include test-skeleton.c.
16541         * resolv/tst-aton.c (main): Converted to ...
16542         (do_test): ... this.
16543         (TEST_FUNCTION): New macro.
16544         Include test-skeleton.c.
16545         * stdio-common/test-fwrite.c (main): Converted to ...
16546         (do_test): ... this.
16547         (TEST_FUNCTION): New macro.
16548         Include test-skeleton.c.
16549         * stdio-common/tst-ferror.c (main): Converted to ...
16550         (do_test): ... this.
16551         (TEST_FUNCTION): New macro.
16552         Include test-skeleton.c.
16553         * stdio-common/tst-printf.c (main): Converted to ...
16554         (do_test): ... this.
16555         (TEST_FUNCTION): New macro.
16556         Include test-skeleton.c.
16557         * stdio-common/tst-printfsz.c (main): Converted to ...
16558         (do_test): ... this.
16559         (TEST_FUNCTION): New macro.
16560         Include test-skeleton.c.
16561         * stdlib/tst-strtod.c (main): Converted to ...
16562         (do_test): ... this.
16563         (TEST_FUNCTION): New macro.
16564         Include test-skeleton.c.
16565         * string/tst-strlen.c (main): Converted to ...
16566         (do_test): ... this.
16567         (TEST_FUNCTION): New macro.
16568         Include test-skeleton.c.
16569         * string/tst-svc.c (main): Converted to ...
16570         (do_test): ... this.
16571         (TEST_FUNCTION): New macro.
16572         Include test-skeleton.c.
16573         * time/tst-strptime.c (main): Converted to ...
16574         (do_test): ... this.
16575         (TEST_FUNCTION): New macro.
16576         Include test-skeleton.c.
16577         * timezone/tst-timezone.c (main): Converted to ...
16578         (do_test): ... this.
16579         (TEST_FUNCTION): New macro.
16580         Include test-skeleton.c.
16582 2015-08-05  Zack Weinberg  <zackw@panix.com>
16584         * misc/regexp.h: Update comments.
16586 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16588         [BZ #18635]
16589         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16590         before return label.
16592 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16594         [BZ #18661]
16595         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16596         when calling __errno_location.
16597         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16598         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16600 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16602         [BZ #18661]
16603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16604         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16605         __gettimeofday.
16607 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16609         [BZ #18661]
16610         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16611         (__start_context): Don't use pop to restore %rdi so that stack
16612         is aligned to 16 bytes when calling __setcontext.
16614 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16616         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16617         only for libc.
16618         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16620 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16622         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16623         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16624         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16626 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16628         * string/memccpy.c (memccpy):
16629         Improve performance by using memchr/memcpy/__mempcpy.
16631 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16633         * string/strncpy.c (strncpy):
16634         Improve performance by using __strnlen/memcpy.
16636 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16638         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16639         Optimize to avoid an unnecessary FPCR read.
16641 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16643         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16644         Optimize to reduce FPCR/FPSR accesses.
16646 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16648         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16649         dead->data[category] != NULL.
16651 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16653         [BZ #18647]
16654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16655         and |x| close to 1, use absolute value of x when computing log.
16656         * math/auto-libm-test-in: Add more tests of pow.
16657         * math/auto-libm-test-out: Regenerated.
16659 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16661         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16662         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16663         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16665 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16667         [BZ #18525]
16668         * locales/km_KH: Remove timezone definition.
16669         * locales/lo_LA: Likewise.
16670         * locales/my_MM: Likewise.
16671         * locales/nan_TW@latin: Likewise.
16672         * locales/th_TH: Likewise.
16673         * locales/uk_UA: Likewise.
16675 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16677         [BZ #18265]
16678         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16679         (wcsncat): Likewise.
16680         (wcscmp): Likewise.
16681         (wcsncmp): Likewise.
16683 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16685         * test-skeleton.c (usage): New function.
16686         (main): Call usage when opt is '?'.
16688 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16690         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16691         before first use.
16693 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16695         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16696         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16697         in there too.
16699 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16701         * version.h (RELEASE): Set to "development".
16702         (VERSION): Set to "2.22.90"
16704         * version.h (RELEASE): Set to "stable".
16705         (VERSION): Set to "2.22"
16706         * include/features.h (__GLIBC_MINOR__): Set to 22.
16708 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16710         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16711         Restructure macro to avoid "value computed is not used" warning.
16712         (atomic_compare_and_exchange_val_acq): Likewise.
16714 2015-08-04  Andreas Schwab  <schwab@suse.de>
16716         [BZ #18635]
16717         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16718         ret.
16719         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16721 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16723         * po/pl.po: Updated translation.
16724         * po/uk.po: Likewise.
16725         * po/fi.po: Likewise.
16726         * po/ko.po: Likewise.
16727         * po/ru.po: Likewise.
16728         * po/vi.po: Likewise.
16730 2015-07-31  Zack Weinberg  <zackw@panix.com>
16732         [BZ #18681]
16733         * regexp.h: Add unconditional #warning stating that this header
16734         will be removed soon.  Revise banner comment to match.
16735         (compile): Consistently use ERROR instead of RETURN to report
16736         errors (partial fix for bz#18681).
16737         * regexp.c: Don't include regexp.h. Remove some unnecessary
16738         declarations.
16740 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16742         * po/libc.pot: Regenerated.
16744 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16746         [BZ #18740]
16747         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16748         float-vlen4-arch-ext-cflags): Removed.
16749         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16750         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16752 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16754         [BZ #14113]
16755         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16756         aligned to __aligned__.
16757         (pthread_cond_t, pthread_rwlock_t): Likewise.
16759 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16761         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16763 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16765         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16766         (struct sigaction): Change sa_flags from a long to an int, and add
16767         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16769 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16771         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16772         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16773         sysdeps/generic/sysdep.h include.
16774         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16775         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16776         sysdeps/hppa/sysdep.h.
16777         (ENTRY, PSEUDO): Undefine before defining.
16779 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16781         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16782         from scratch to use INTERNAL_SYSCALL.
16784 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16786         [BZ #18078]
16787         * scripts/check-localplt.awk: Support alternate relocations.
16788         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16789         sections.
16790         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16791         malloc entries with + REL R_386_GLOB_DAT.
16792         * sysdeps/x86_64/localplt.data: New file.
16794 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16796         [BZ #18731]
16797         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16798         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16799         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16801 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16803         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16805 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16807         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16808         directly in terms of __sync_fetch_and_add and delete (int) cast.
16810 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16812         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16813         the -D_ASM_IA64_CURRENT_H flag.
16815 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16817         [BZ #18641]
16818         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16820 2015-07-27  Andreas Schwab  <schwab@suse.de>
16822         * conform/conformtest.pl (checknamespace): Filter out string
16823         literals while tokenizing.
16825 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16827         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16828         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16829         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16831 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16833         * nptl/tst-join7mod.c: Add #include <string.h>.
16835 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16837         * sysdeps/nios2/libm-test-ulps: Update.
16839 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16841         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16842         Fix order of arguments to the rt_sigprocmask syscall.
16843         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16844         Likewise.
16846 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16848         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16850 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16852         [BZ #18457]
16853         * nptl/Makefile (tests): New test case tst-join7.
16854         (modules-names): New test case module tst-join7mod.
16855         * nptl/tst-join7.c: New file.
16856         * nptl/tst-join7mod.c: New file.
16857         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16858         all translation units in libc.so, libpthread.so and rtld.
16860 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16864 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16868         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16869         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16870         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16871         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16872         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16878         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16879         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16881         implementation.
16883 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16885         [BZ #17711]
16886         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16887         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16888         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16889         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16890         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16891         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16893 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16895         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16896         instead of just saying load lock in the comments.
16898 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16900         * sysdeps/unix/Subdirs: Moved ...
16901         * sysdeps/posix/Subdirs: ... here.
16902         * login/pty.h (struct termios, struct winsize): Add forward decls.
16903         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16904         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16905         * sysdeps/arm/nacl/libc.abilist: Updated.
16906         * sysdeps/nacl/libutil.abilist: New file.
16908         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16909         (SIGWINCH): New macro.
16911         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16912         * sysdeps/arm/nacl/libc.abilist: Add it.
16914 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16916         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16918 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16920         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16921         Swap __glibc_reserved0 and sa_flags order.
16923 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16925         [BZ #18657]
16926         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16927         are pending TLS destructor calls.
16928         * include/link.h (struct link_map): Add concurrency note for
16929         L_TLS_DTOR_COUNT.
16930         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16931         Don't touch the link map flag.  Atomically increment
16932         l_tls_dtor_count.
16933         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16934         Avoid taking the load lock and don't touch the link map flag.
16935         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16936         * stdlib/Makefile (tests): Use it.
16937         * stdlib/tst-tls-atexit.c (do_test): dlopen
16938         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16939         to allow tst-tls-atexit-nodelete test case to use it.
16941 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16943         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16944         to bits/types.h.
16945         (msgqnum_t): New typedef.
16946         (msglen_t): Likewise.
16947         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16948         and msg_qbytes type to msglen_t.
16950 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16952         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16953         pad0 to __glibc_reserved0.
16954         (struct stat64): Likewise.
16956 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16958         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16959         Change sa_flags from a long to an int and add __glibc_reserved0 before
16960         it for padding.
16962 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16964         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16965         anonymous by deleting "siginfo" name.
16967 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16969         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16970         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16971         rather than __nacl_irt_filename.
16972         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16974         * NEWS: New item for arm-nacl port.
16975         * sysdeps/arm/nacl/libc.abilist: New file.
16976         * sysdeps/nacl/ld.abilist: New file.
16977         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16978         * sysdeps/nacl/libanl.abilist: New file.
16979         * sysdeps/nacl/libcrypt.abilist: New file.
16980         * sysdeps/nacl/libdl.abilist: New file.
16981         * sysdeps/nacl/libm.abilist: New file.
16982         * sysdeps/nacl/libpthread.abilist: New file.
16983         * sysdeps/nacl/libresolv.abilist: New file.
16984         * sysdeps/nacl/librt.abilist: New file.
16986 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16988         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16989         __startcontext to initialize the new context.
16990         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16991         up CFI directive to forbid further backtracing.
16993 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16995         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16996         reference.
16997         * charmaps/ANSI_X3.4-1968: Likewise.
16998         * charmaps/BS_4730: Likewise.
16999         * charmaps/BS_VIEWDATA: Likewise.
17000         * charmaps/CP1250: Likewise.
17001         * charmaps/CP1251: Likewise.
17002         * charmaps/CP1252: Likewise.
17003         * charmaps/CP1253: Likewise.
17004         * charmaps/CP1254: Likewise.
17005         * charmaps/CP1255: Likewise.
17006         * charmaps/CP1256: Likewise.
17007         * charmaps/CSN_369103: Likewise.
17008         * charmaps/EBCDIC-DK-NO: Likewise.
17009         * charmaps/GB_1988-80: Likewise.
17010         * charmaps/GREEK-CCITT: Likewise.
17011         * charmaps/GREEK7: Likewise.
17012         * charmaps/INIS-8: Likewise.
17013         * charmaps/ISIRI-3342: Likewise.
17014         * charmaps/ISO_2033-1983: Likewise.
17015         * charmaps/ISO_5427-EXT: Likewise.
17016         * locales/POSIX: Likewise.
17017         * locales/ar_SA: Likewise.
17018         * locales/be_BY: Likewise.
17019         * locales/be_BY@latin: Likewise.
17020         * locales/ca_ES: Likewise.
17021         * locales/cs_CZ: Likewise.
17022         * locales/da_DK: Likewise.
17023         * locales/de_BE: Likewise.
17024         * locales/de_CH: Likewise.
17025         * locales/de_LU: Likewise.
17026         * locales/en_AU: Likewise.
17027         * locales/en_BW: Likewise.
17028         * locales/en_CA: Likewise.
17029         * locales/en_DK: Likewise.
17030         * locales/en_GB: Likewise.
17031         * locales/en_IE: Likewise.
17032         * locales/en_NZ: Likewise.
17033         * locales/en_ZA: Likewise.
17034         * locales/en_ZW: Likewise.
17035         * locales/es_AR: Likewise.
17036         * locales/es_BO: Likewise.
17037         * locales/es_CL: Likewise.
17038         * locales/es_CO: Likewise.
17039         * locales/es_DO: Likewise.
17040         * locales/es_EC: Likewise.
17041         * locales/es_ES: Likewise.
17042         * locales/es_HN: Likewise.
17043         * locales/es_MX: Likewise.
17044         * locales/es_PA: Likewise.
17045         * locales/es_PE: Likewise.
17046         * locales/es_PY: Likewise.
17047         * locales/es_SV: Likewise.
17048         * locales/es_US: Likewise.
17049         * locales/es_UY: Likewise.
17050         * locales/es_VE: Likewise.
17051         * locales/et_EE: Likewise.
17052         * locales/fa_IR: Likewise.
17053         * locales/fo_FO: Likewise.
17054         * locales/fr_CA: Likewise.
17055         * locales/fr_CH: Likewise.
17056         * locales/gv_GB: Likewise.
17057         * locales/he_IL: Likewise.
17058         * locales/hr_HR: Likewise.
17059         * locales/id_ID: Likewise.
17060         * locales/is_IS: Likewise.
17061         * locales/it_CH: Likewise.
17062         * locales/iw_IL: Likewise.
17063         * locales/kl_GL: Likewise.
17064         * locales/ko_KR: Likewise.
17065         * locales/kw_GB: Likewise.
17066         * locales/lg_UG: Likewise.
17067         * locales/lt_LT: Likewise.
17068         * locales/lv_LV: Likewise.
17069         * locales/mi_NZ: Likewise.
17070         * locales/nhn_MX: Likewise.
17071         * locales/nl_BE: Likewise.
17072         * locales/pl_PL: Likewise.
17073         * locales/sk_SK: Likewise.
17074         * locales/sl_SI: Likewise.
17075         * locales/sv_FI: Likewise.
17076         * locales/tl_PH: Likewise.
17077         * locales/tr_TR: Likewise.
17078         * locales/vi_VN: Likewise.
17080 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17082         [BZ #17475]
17083         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17084         of tu_IN and bh_IN.
17086 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17088         [BZ #18694]
17089         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17090         bits/wordsize.h.
17091         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17093 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17095         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17096         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17097         (spawn_thread): New function.
17098         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17099         (do_test): ... here.  Use IS_LOADED to test for its
17100         availability.
17102 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17104         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17106 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17108         [BZ #18696]
17109         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17110         si_addr_bnd.
17111         (si_lower): New.
17112         (si_upper): Likewise.
17114 2015-07-16  David S. Miller  <davem@davemloft.net>
17116         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17118 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17120         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17121         buffer.
17122         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17123         fail output information.
17125 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17128         and strstr-ppc64..
17129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17130         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17131         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17132         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17133         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17135 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17137         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17138         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17139         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17140         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17142 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17144         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17145         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17146         rtld_hidden_proto.
17147         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17149 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17151         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17152         the test can fail.
17154         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17156         [BZ #18676]
17157         * elf/tst-nodelete-opened.c: New test case.
17158         * elf/tst-nodelete-opened-lib.c: New test case module.
17159         * elf/Makefile (tests, modules-names): Use them.
17160         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17161         early.
17163 2015-07-15  David S. Miller  <davem@davemloft.net>
17165         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17166         futex-intenal.h
17167         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17168         * sysdeps/sparc/sparc64/Makefile: Likewise.
17169         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17170         Remove space from macro define.
17171         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17173 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17175         [BZ #17475]
17176         * locale/iso-639.def: Update Bhili and Tulu language codes as
17177         per iso639-3.
17179 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17181         * elf/tst-leaks1.c (main): Converted to ...
17182         (do_test): ... this.
17183         (TEST_FUNCTION): New macro.
17184         Include test-skeleton.c.
17185         * localedata/tst-langinfo.c (main): Converted to ...
17186         (do_test): ... this.
17187         (TEST_FUNCTION): New macro.
17188         Include test-skeleton.c.
17189         * math/test-fpucw.c (main): Converted to ...
17190         (do_test): ... this.
17191         (TEST_FUNCTION): New macro.
17192         Include test-skeleton.c.
17193         * math/test-tgmath.c (main): Converted to ...
17194         (do_test): ... this.
17195         (TEST_FUNCTION): New macro.
17196         Include test-skeleton.c.
17197         * math/test-tgmath2.c (main): Converted to ...
17198         (do_test): ... this.
17199         (TEST_FUNCTION): New macro.
17200         Include test-skeleton.c.
17201         * setjmp/tst-setjmp.c (main): Converted to ...
17202         (do_test): ... this.
17203         (TEST_FUNCTION): New macro.
17204         Include test-skeleton.c.
17205         * stdio-common/tst-sscanf.c (main): Converted to ...
17206         (do_test): ... this.
17207         (TEST_FUNCTION): New macro.
17208         Include test-skeleton.c.
17209         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17210         (do_test): ... this.
17211         (TEST_FUNCTION): New macro.
17212         Include test-skeleton.c.
17214         * elf/tst-audit9.c (main): Converted to ...
17215         (do_test): ... this.
17216         (TEST_FUNCTION): New macro.
17217         Include test-skeleton.c.
17219 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17221         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17223 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17225         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17226         New variable.
17228 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17230         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17232 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17234         * sysdeps/generic/dl-fileid.h: New file.
17235         * sysdeps/posix/dl-fileid.h: New file.
17236         * sysdeps/nacl/dl-fileid.h: New file.
17237         * include/link.h: Include <dl-fileid.h>.
17238         (struct link_map): Replace l_dev and l_ino with l_file_id.
17239         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17240         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17241         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17243 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17245         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17247 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17249         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17250         Add iff $CXX is set.
17251         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17252         Likewise.
17253         (tst-nodelete-zmodiff): Likewise.
17254         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17256 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17258         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17260 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17262         * sysdeps/aarch64/fpu/math_private.h
17263         (define math_opt_barrier): Add AArch64 version.
17264         (math_force_eval): Likewise.
17266 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17268         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17270 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17272         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17273         %ld with %jd and cast to intmax_t.
17274         (do_test_length_zero): Likewise.
17276 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17278         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17280 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17282         * sysdeps/tile/libm-test-ulps: Regenerated.
17284         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17285         Comment out the whole function, not just its body.
17287 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17289         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17290         locks.
17292         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17294 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17296         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17297         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17299 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17301         * sysdeps/nptl/futex-internal.h: New file.
17302         * sysdeps/nacl/futex-internal.h: New file.
17303         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17304         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17305         error checking.
17306         (setxid_unmark_thread): Likewise.
17307         (__nptl_setxid): Likewise.
17308         (__wait_lookup_done): Likewise.
17309         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17310         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17311         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17312         * nptl/pthread_once.c (clear_once_control): Likewise.
17313         (__pthread_once_slow): Likewise.
17314         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17315         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17316         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17317         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17318         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17319         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17320         Likewise.
17321         (__pthread_rwlock_rdlock): Likewise.
17322         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17323         Likewise.
17324         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17325         Likewise.
17326         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17327         Likewise.
17328         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17329         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17330         Likewise.
17331         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17332         __ASSUME_PRIVATE_FUTEX check.
17333         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17334         Check that shared futexes are supported.
17335         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17336         wrappers with error checking.
17337         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17338         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17339         * nptl/pthread_barrierattr_setpshared.c
17340         (pthread_barrierattr_setpshared): Check that shared futexes are
17341         supported.
17342         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17343         Likewise.
17344         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17345         Likewise.
17346         * nptl/sem_init.c (futex_private_if_supported): Remove.
17347         (__new_sem_init): Adapt and check that shared futexes are supported.
17348         * nptl/sem_open.c (sem_open): Likewise.
17349         * nptl/sem_post.c (futex_wake): Remove.
17350         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17351         (do_futex_wait): Use futex wrappers with error checking.
17352         * nptl/sem_wait.c: Include lowlevellock.h.
17353         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17354         Use futex_supports_pshared.
17355         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17356         Use futex wrappers with error checking.
17357         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17358         Likewise.
17359         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17360         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17361         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17362         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17363         (futex_wake): Likewise.
17364         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17365         (do_futex_wait): Use futex wrappers with error checking.
17366         (__new_sem_wait_slow): Update EINTR handling.
17367         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17369 2015-07-09  Martin Sebor  <msebor@redhat.com>
17371         [BZ #18435]
17372         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17373         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17374         * nptl/Makefile (test-xfail-tst-once5): Define.
17376 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17378         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17379         * elf/dl-minimal.c: For readability, reorder some definitions and
17380         introduce more page breaks.  Include <stdio.h>.
17381         (__libc_fatal): New function.
17383         * include/unistd.h: Add rtld_hidden_proto for _exit.
17384         * posix/_exit.c: Add rtld_hidden_def.
17385         * sysdeps/mach/hurd/_exit.c: Likewise.
17386         * sysdeps/nacl/_exit.c: Likewise.
17387         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17388         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17390 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17393         bndmov encoding with zero displacement.
17395 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17396             H.J. Lu  <hongjiu.lu@intel.com>
17398         [BZ #18134]
17399         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17400         * sysdeps/i386/configure: Regenerated.
17401         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17402         (_dl_runtime_profile): Save and restore Intel MPX return bound
17403         registers when calling _dl_call_pltexit.  Add
17404         PRESERVE_BND_REGS_PREFIX before return.
17405         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17406         (LRV_BND1_OFFSET): Likewise.
17407         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17408         lrv_bnd1.
17409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17410         typo in bndmov encoding.
17411         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17412         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17413         branch instructions to preserve bounds.
17415 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17418         [GLIBC_2.22]: Add fmemopen.
17420 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17422         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17423         returns an error, also try to use host port from __mach_host_self for
17424         the __vm_wire call.
17425         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17427 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17429         [BZ #18400]
17430         [BZ #18648]
17431         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17432         Fix pr_uid and pr_gid members.
17433         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17434         definition to elf_greg_t.
17436 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17438         [BZ #18383]
17439         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17440         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17441         * sysdeps/arm/configure: Regenerated.
17442         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17443         (test-xfail-tst-tlsalign-static): Variable removed.
17445         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17446         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17447         rather than explicit 'ln -s'.
17449         * resolv/rpc/netdb.h: New file.
17450         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17452 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17454         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17455         length buffers.
17456         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17457         test-skeleton.c.
17459         [BZ #6544]
17460         [BZ #11216]
17461         [BZ #12836]
17462         [BZ #13151]
17463         [BZ #13152]
17464         [BZ #14292]
17465         * include/stdio.h (fmemopen): Remove hidden prototype.
17466         (__fmemopen): Add new hidden prototype.
17467         * libio/Makefile: Add oldfmemopen object.
17468         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17469         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17470         compliance.
17471         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17472         symbol compatibility.
17473         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17474         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17475         fmemopen.
17476         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17477         on append and read mode.
17478         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17479         fmemopen.
17480         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17481         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17482         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17483         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17484         Likewise.
17485         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17486         [GLIBC_2.22]: Likewise.
17487         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17488         Likewise.
17489         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17490         Likewise.
17491         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17492         [GLIBC_2.22]: Likewise.
17493         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17494         [GLIBC_2.22]: Likewise.
17495         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17496         [GLIBC_2.22]: Likewise.
17497         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17498         [GLIBC_2.22]: Likewise.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17500         [GLIBC_2.22]: Likewise.
17501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17502         [GLIBC_2.22]: Likewise.
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17504         [GLIBC_2.22]: Likewise.
17505         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17506         Likewise.
17507         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17508         Likewise.
17509         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17510         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17511         [GLIBC_2.22]: Likewise.
17512         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17513         [GLIBC_2.22]: Likewise.
17514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17515         [GLIBC_2.22]: Likewise.
17516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17517         [GLIBC_2.22]: Likewise.
17518         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17519         Likewise.
17520         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17521         Likewise.
17522         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17523         Likewise.
17524         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17525         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17527 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17529         [BZ #18643]
17530         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17531         IPV6_PATHMTU, and IPV6_DONTFRAG.
17533 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17535         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17536         and _IO_UNBUFFERED.
17537         * libio/oldfileops.c: Likewise.
17538         * libio/wfileops.c: Likewise.
17540 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17542         * nscd/selinux.c: Delete selinux/flask.h include.
17544 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17546         [BZ #18641]
17547         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17548         (putpwent): Likewise.
17549         (getpwnam): Likewise.
17550         (getpwent_r): Likewise.
17551         (getpwuid_r): Likewise.
17552         (getpwnam_r): Likewise.
17553         (fgetpwent_r): Likewise.
17555 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17557         [BZ #18557]
17558         * inet/rcmd.c (__validuser2_sa): Check user first to
17559         short-circuit host check.
17561 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17562             Mikhail Ilin  <m.ilin@samsung.com>
17564         [BZ #17833]
17565         * elf/Makefile (tests): Add tst-nodelete.
17566         (modules-names): Add tst-nodelete-uniquemod.
17567         (tst-nodelete-uniquemod.so-no-z-defs): New.
17568         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17569         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17570         ($(objpfx)tst-nodelete): Likewise.
17571         ($(objpfx)tst-nodelete.out): Likewise.
17572         (LDFLAGS-tst-nodelete): Likewise.
17573         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17574         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17575         implement forced object deletion.
17576         (_dl_close): Pass false to _dl_close_worker.
17577         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17578         * elf/tst-nodelete.cc: New file.
17579         * elf/tst-nodeletelib.cc: Likewise.
17580         * elf/tst-znodeletelib.cc: Likewise.
17581         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17583 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17585         [BZ #18508]
17586         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17587         Depend on $(libdl).
17588         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17589         is not called infinitely times.
17590         (backtrace_helper): New function.
17591         (trace_arg): New struct.
17592         (st1): Enlarge stack size.
17593         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17594         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17595         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17596         Likewise.
17598 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17600         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17602 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17604         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17605         Include sys/types.h instead of bits/types.h.
17606         Remove inclusion of bits/wordsize.h.
17608 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17610         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17611         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17612         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17613         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17614         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17615         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17617 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17619         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17620         link-defines.sym.
17621         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17622         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17623         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17624         and LR_SIZE.
17625         * sysdeps/i386/link-defines.sym: New file.
17627 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17629         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17630         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17631         ($(objpfx)tst-audit3): New rule.
17632         ($(objpfx)tst-audit3.out): Likewise.
17633         * sysdeps/i386/tst-audit3.c: New file.
17634         * sysdeps/i386/tst-audit3.h: Likewise.
17635         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17636         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17638 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17640         [BZ #18633]
17641         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17642         pointer in C code.
17643         (__strcat_c): Likewise.
17644         (__strcat_g): Likewise.
17646 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17648         [BZ #18592]
17649         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17651 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17653         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17654         New function.  (__ieee754_sqrtf): New function.
17655         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17656         New function.
17657         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17658         New function.
17660 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17662         * sysdeps/ieee754/support.c: Remove unused file.
17664 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17666         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17667         registers instead of d ones so the layout is kernel abi compatible.
17668         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17669         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17670         Likewise.
17672 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17674         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17676 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17678         [BZ #18619]
17679         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17680         and return argument in case of subnormal argument.
17682 2015-07-01  Martin Sebor  <msebor@redhat.com>
17684         [BZ #18435]
17685         * nptl/Makefile: Add tst-once5.cc.
17686         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17687         Remove macro redefinitions.
17688         * nptl/tst-once5.cc: New test.
17690 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17692         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17694         * sysdeps/arm/libm-test-ulps: Regenerated.
17696         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17697         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17699 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17701         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17702         lll_lock_wait_private and lll_futex_wake probes.
17704         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17705         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17706         Likewise.
17707         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17708         atomic_spin_nop.
17709         * sysdeps/x86_64/bits/atomic.h: Likewise.
17710         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17711         to atomic_spin_nop and move ...
17712         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17713         ... here and ...
17714         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17715         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17716         atomic_spin_nop instead of BUSY_WAIT_NOP.
17717         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17718         Likewise.
17719         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17720         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17721         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17722         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17723         instead of atomic_delay.
17725 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17727         [BZ #18613]
17728         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17729         X_ADJ not X when adjusting exponent.
17730         (__ieee754_gamma_r): Do intermediate computations in
17731         round-to-nearest then adjust overflowing and underflowing results
17732         as needed.
17733         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17734         of X_ADJ not X when adjusting exponent.
17735         (__ieee754_gammaf_r): Do intermediate computations in
17736         round-to-nearest then adjust overflowing and underflowing results
17737         as needed.
17738         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17739         log of X_ADJ not X when adjusting exponent.
17740         (__ieee754_gammal_r): Do intermediate computations in
17741         round-to-nearest then adjust overflowing and underflowing results
17742         as needed.  Use 1.0L not 1.0f as numerator of division.
17743         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17744         log of X_ADJ not X when adjusting exponent.
17745         (__ieee754_gammal_r): Do intermediate computations in
17746         round-to-nearest then adjust overflowing and underflowing results
17747         as needed.  Use 1.0L not 1.0f as numerator of division.
17748         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17749         of X_ADJ not X when adjusting exponent.
17750         (__ieee754_gammal_r): Do intermediate computations in
17751         round-to-nearest then adjust overflowing and underflowing results
17752         as needed.  Use 1.0L not 1.0f as numerator of division.
17753         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17754         to auto-libm-test-in.
17755         (tgamma_test): Use ALL_RM_TEST.
17756         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17757         tests of tgamma with spurious-overflow.
17758         * math/auto-libm-test-out: Regenerated.
17759         * math/gen-libm-have-vector-test.sh: Do not check for START.
17760         * sysdeps/i386/fpu/libm-test-ulps: Update.
17761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17763         [BZ #18612]
17764         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17765         arguments, just return 0.5 times the argument, with underflow
17766         forced as needed.
17767         * math/auto-libm-test-in: Add more tests of j1.
17768         * math/auto-libm-test-out: Regenerated.
17770         [BZ #16559]
17771         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17772         (__ieee754_j1): Force underflow exception for small results.
17773         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17774         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17775         (__ieee754_j1f): Force underflow exception for small results.
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_j1l.c: Include <float.h>.
17780         (__ieee754_j1l): Force underflow exception for small results.
17781         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17782         * math/auto-libm-test-in: Add more tests of j1 and jn.
17783         * math/auto-libm-test-out: Regenerated.
17785         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17786         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17787         (PF_MPLS): Likewise.
17788         (AF_IB): Likewise.
17789         (AF_MPLS): Likewise.
17790         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17791         value and macro.
17792         (MS_RMT_MASK): Include MS_LAZYTIME.
17794 2015-06-26  Mel Gorman  <mgorman@suse.de>
17796         [BZ #18502]
17797         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17798         already minimal.
17800 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17802         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17803         (DT_MIPS_NUM): Update.
17804         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17805         DT_MIPS_RLD_MAP_REL.
17807 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17809         [BZ #16559]
17810         [BZ #18602]
17811         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17812         round-to-nearest internally then recompute results that
17813         underflowed to zero in the original rounding mode.
17814         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17815         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17816         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17817         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17818         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17819         * sysdeps/i386/fpu/libm-test-ulps: Update.
17820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17822 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17824         * NEWS: Fixed description of link with vector math library.
17826 2015-06-25  Andreas Schwab  <schwab@suse.de>
17828         [BZ #18549]
17829         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17830         * libio/test-fmemopen.c (do_test): Add test for it.
17832 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17834         [BZ #17841]
17835         * Makeconfig (no-pie-ldflag): New.
17836         (+link): Set to $(+link-pie) if default to PIE.
17837         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17838         * config.make.in (build-pie-default): New.
17839         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17840         is default.  AC_SUBST.
17841         * configure: Regenerated.
17842         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17844 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17846         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17847         to 'unsigned int'.
17849         * resolv/gai_misc.h (struct waitlist): Change type of field
17850         counterp to 'volatile unsigned int *'.
17851         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17852         FUTEXADDR and OLDVAL.
17853         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17854         Give local variable TOTAL type 'volatile unsigned int'.
17855         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17856         * resolv/gai_suspend.c (gai_suspend):
17857         Give local variable CNTR type 'unsigned int'.
17859         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17860         counterp to 'volatile unsigned int *'.
17861         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17862         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17863         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17864         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17865         Give local variable TOTAL type 'volatile unsigned int'.
17866         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17868 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17870         [BZ #18383]
17871         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17872         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17873         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17874         comment for i386/x86-64.
17875         (test-xfail-tst-tlsalign-extern-static): Removed.
17877 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17879         * math/test-double.h: New file.
17880         * math/test-float.h: Likewise.
17881         * math/test-ldouble.h: Likewise.
17882         * math/test-math-inline.h: Likewise.
17883         * math/test-math-no-inline.h: Likewise.
17884         * math/test-math-scalar.h: Likewise.
17885         * math/test-math-vector.h: Likewise.
17886         * math/test-vec-loop.h: Remove file.  Contents moved into
17887         test-math-vector.h.
17888         * math/libm-test.inc (MATHCONST): Do not document macro.
17889         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17890         and test-math-scalar.h.
17891         (FUNC): Remove macro.
17892         (FUNC_TEST): Likewise.
17893         (FLOAT): Likewise.
17894         (MATHCONST): Likewise.
17895         (PRINTF_EXPR): Likewise.
17896         (PRINTF_XEXPR): Likewise.
17897         (PRINTF_NEXPR): Likewise.
17898         (TEST_DOUBLE): Likewise.
17899         (TEST_MATHVEC): Likewise.
17900         (__NO_MATH_INLINES): Likewise.
17901         * math/test-float.c: Include test-float.h, test-math-no-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_FLOAT): Likewise.
17911         (TEST_MATHVEC): Likewise.
17912         (__NO_MATH_INLINES): Likewise.
17913         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17914         and test-math-scalar.h.
17915         (FUNC): Remove macro.
17916         (FUNC_TEST): Likewise.
17917         (FLOAT): Likewise.
17918         (MATHCONST): Likewise.
17919         (PRINTF_EXPR): Likewise.
17920         (PRINTF_XEXPR): Likewise.
17921         (PRINTF_NEXPR): Likewise.
17922         (TEST_DOUBLE): Likewise.
17923         (TEST_MATHVEC): Likewise.
17924         (TEST_INLINE): Likewise.
17925         (__NO_MATH_INLINES): Likewise.
17926         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17927         test-math-scalar.h.
17928         (FUNC): Remove macro.
17929         (FUNC_TEST): Likewise.
17930         (FLOAT): Likewise.
17931         (MATHCONST): Likewise.
17932         (PRINTF_EXPR): Likewise.
17933         (PRINTF_XEXPR): Likewise.
17934         (PRINTF_NEXPR): Likewise.
17935         (TEST_FLOAT): Likewise.
17936         (TEST_MATHVEC): Likewise.
17937         (TEST_INLINE): Likewise.
17938         (__NO_MATH_INLINES): Likewise.
17939         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17940         and test-math-scalar.h.
17941         (FUNC): Remove macro.
17942         (FUNC_TEST): Likewise.
17943         (FLOAT): Likewise.
17944         (MATHCONST): Likewise.
17945         (PRINTF_EXPR): Likewise.
17946         (PRINTF_XEXPR): Likewise.
17947         (PRINTF_NEXPR): Likewise.
17948         (TEST_LDOUBLE): Likewise.
17949         (TEST_MATHVEC): Likewise.
17950         (TEST_INLINE): Likewise.
17951         (__NO_MATH_INLINES): Likewise.
17952         * math/test-ldouble.c: Include test-ldouble.h,
17953         test-math-no-inline.h and test-math-scalar.h.
17954         (FUNC): Remove macro.
17955         (FUNC_TEST): Likewise.
17956         (FLOAT): Likewise.
17957         (MATHCONST): Likewise.
17958         (PRINTF_EXPR): Likewise.
17959         (PRINTF_XEXPR): Likewise.
17960         (PRINTF_NEXPR): Likewise.
17961         (TEST_LDOUBLE): Likewise.
17962         (TEST_MATHVEC): Likewise.
17963         (__NO_MATH_INLINES): Likewise.
17964         * math/test-double-vlen2.h: Include test-double.h,
17965         test-math-no-inline.h and test-math-vector.h.
17966         (FLOAT): Remove macro.
17967         (FUNC): Likewise.
17968         (MATHCONST): Likewise.
17969         (PRINTF_EXPR): Likewise.
17970         (PRINTF_XEXPR): Likewise.
17971         (PRINTF_NEXPR): Likewise.
17972         (TEST_DOUBLE): Likewise.
17973         (TEST_MATHVEC): Likewise.
17974         (__NO_MATH_INLINES): Likewise.
17975         (CNCT): Likewise.
17976         (CONCAT): Likewise.
17977         (WRAPPER_NAME): Likewise.
17978         (WRAPPER_DECL): Likewise.
17979         (WRAPPER_DECL_ff): Likewise.
17980         (WRAPPER_DECL_fFF): Likewise.
17981         (VECTOR_WRAPPER): Likewise.
17982         (VECTOR_WRAPPER_ff): Likewise.
17983         (VECTOR_WRAPPER_fFF): Likewise.
17984         (VEC_LEN): New macro.
17985         * math/test-double-vlen4.h: Include test-double.h,
17986         test-math-no-inline.h and test-math-vector.h.
17987         (FLOAT): Remove macro.
17988         (FUNC): Likewise.
17989         (MATHCONST): Likewise.
17990         (PRINTF_EXPR): Likewise.
17991         (PRINTF_XEXPR): Likewise.
17992         (PRINTF_NEXPR): Likewise.
17993         (TEST_DOUBLE): Likewise.
17994         (TEST_MATHVEC): Likewise.
17995         (__NO_MATH_INLINES): Likewise.
17996         (CNCT): Likewise.
17997         (CONCAT): Likewise.
17998         (WRAPPER_NAME): Likewise.
17999         (WRAPPER_DECL): Likewise.
18000         (WRAPPER_DECL_ff): Likewise.
18001         (WRAPPER_DECL_fFF): Likewise.
18002         (VECTOR_WRAPPER): Likewise.
18003         (VECTOR_WRAPPER_ff): Likewise.
18004         (VECTOR_WRAPPER_fFF): Likewise.
18005         (VEC_LEN): New macro.
18006         * math/test-double-vlen8.h: Include test-double.h,
18007         test-math-no-inline.h and test-math-vector.h.
18008         (FLOAT): Remove macro.
18009         (FUNC): Likewise.
18010         (MATHCONST): Likewise.
18011         (PRINTF_EXPR): Likewise.
18012         (PRINTF_XEXPR): Likewise.
18013         (PRINTF_NEXPR): Likewise.
18014         (TEST_DOUBLE): Likewise.
18015         (TEST_MATHVEC): Likewise.
18016         (__NO_MATH_INLINES): Likewise.
18017         (CNCT): Likewise.
18018         (CONCAT): Likewise.
18019         (WRAPPER_NAME): Likewise.
18020         (WRAPPER_DECL): Likewise.
18021         (WRAPPER_DECL_ff): Likewise.
18022         (WRAPPER_DECL_fFF): Likewise.
18023         (VECTOR_WRAPPER): Likewise.
18024         (VECTOR_WRAPPER_ff): Likewise.
18025         (VECTOR_WRAPPER_fFF): Likewise.
18026         (VEC_LEN): New macro.
18027         * math/test-float-vlen4.h: Include test-float.h,
18028         test-math-no-inline.h and test-math-vector.h.
18029         (FLOAT): Remove macro.
18030         (FUNC): Likewise.
18031         (MATHCONST): Likewise.
18032         (PRINTF_EXPR): Likewise.
18033         (PRINTF_XEXPR): Likewise.
18034         (PRINTF_NEXPR): Likewise.
18035         (TEST_FLOAT): Likewise.
18036         (TEST_MATHVEC): Likewise.
18037         (__NO_MATH_INLINES): Likewise.
18038         (CNCT): Likewise.
18039         (CONCAT): Likewise.
18040         (WRAPPER_NAME): Likewise.
18041         (WRAPPER_DECL): Likewise.
18042         (WRAPPER_DECL_ff): Likewise.
18043         (WRAPPER_DECL_fFF): Likewise.
18044         (VECTOR_WRAPPER): Likewise.
18045         (VECTOR_WRAPPER_ff): Likewise.
18046         (VECTOR_WRAPPER_fFF): Likewise.
18047         (VEC_LEN): New macro.
18048         * math/test-float-vlen8.h: Include test-float.h,
18049         test-math-no-inline.h and test-math-vector.h.
18050         (FLOAT): Remove macro.
18051         (FUNC): Likewise.
18052         (MATHCONST): Likewise.
18053         (PRINTF_EXPR): Likewise.
18054         (PRINTF_XEXPR): Likewise.
18055         (PRINTF_NEXPR): Likewise.
18056         (TEST_FLOAT): Likewise.
18057         (TEST_MATHVEC): Likewise.
18058         (__NO_MATH_INLINES): Likewise.
18059         (CNCT): Likewise.
18060         (CONCAT): Likewise.
18061         (WRAPPER_NAME): Likewise.
18062         (WRAPPER_DECL): Likewise.
18063         (WRAPPER_DECL_ff): Likewise.
18064         (WRAPPER_DECL_fFF): Likewise.
18065         (VECTOR_WRAPPER): Likewise.
18066         (VECTOR_WRAPPER_ff): Likewise.
18067         (VECTOR_WRAPPER_fFF): Likewise.
18068         (VEC_LEN): New macro.
18069         * math/test-float-vlen16.h: Include test-float.h,
18070         test-math-no-inline.h and test-math-vector.h.
18071         (FLOAT): Remove macro.
18072         (FUNC): Likewise.
18073         (MATHCONST): Likewise.
18074         (PRINTF_EXPR): Likewise.
18075         (PRINTF_XEXPR): Likewise.
18076         (PRINTF_NEXPR): Likewise.
18077         (TEST_FLOAT): Likewise.
18078         (TEST_MATHVEC): Likewise.
18079         (__NO_MATH_INLINES): Likewise.
18080         (CNCT): Likewise.
18081         (CONCAT): Likewise.
18082         (WRAPPER_NAME): Likewise.
18083         (WRAPPER_DECL): Likewise.
18084         (WRAPPER_DECL_ff): Likewise.
18085         (WRAPPER_DECL_fFF): Likewise.
18086         (VECTOR_WRAPPER): Likewise.
18087         (VECTOR_WRAPPER_ff): Likewise.
18088         (VECTOR_WRAPPER_fFF): Likewise.
18089         (VEC_LEN): New macro.
18090         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18091         test-vec-loop.h.
18092         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18094         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18095         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18096         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18097         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18098         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18100 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18102         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18103         (__getlogin_r): ... this.
18105 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18107         [BZ #18594]
18108         * math/s_ccosh.c (__ccosh): Compare with least normal value
18109         instead of comparing class with FP_SUBNORMAL.
18110         * math/s_ccoshf.c (__ccoshf): Likewise.
18111         * math/s_ccoshl.c (__ccoshl): Likewise.
18112         * math/s_cexp.c (__cexp): Likewise.
18113         * math/s_cexpf.c (__cexpf): Likewise.
18114         * math/s_cexpl.c (__cexpl): Likewise.
18115         * math/s_csin.c (__csin): Likewise.
18116         * math/s_csinf.c (__csinf): Likewise.
18117         * math/s_csinh.c (__csinh): Likewise.
18118         * math/s_csinhf.c (__csinhf): Likewise.
18119         * math/s_csinhl.c (__csinhl): Likewise.
18120         * math/s_csinl.c (__csinl): Likewise.
18121         * math/s_ctan.c (__ctan): Likewise.
18122         * math/s_ctanf.c (__ctanf): Likewise.
18123         * math/s_ctanh.c (__ctanh): Likewise.
18124         * math/s_ctanhf.c (__ctanhf): Likewise.
18125         * math/s_ctanhl.c (__ctanhl): Likewise.
18126         * math/s_ctanl.c (__ctanl): Likewise.
18127         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18128         csin, csinh, ctan and ctanh.
18129         * math/auto-libm-test-out: Regenerated.
18130         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18131         * sysdeps/i386/fpu/libm-test-ulps: Update.
18132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18134 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18136         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18137         return value is wrong, print the expected value too.
18139 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18141         [BZ #18585]
18142         * elf/readlib.c (is_gdb_python_file): New.
18143         (process_file): Don't issue errors on filenames with -gdb.py
18144         suffix.
18146 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18148         * math/auto-libm-test-in: Add more tests of csin and csinh.
18149         * math/auto-libm-test-out: Regenerated.
18150         * math/libm-test.inc (csin_test_data): Remove tests moved to
18151         auto-libm-test-in.
18152         (csinh_test_data): Likewise.
18154         [BZ #18593]
18155         * math/s_csin.c (__csin): Negate before rather than after possibly
18156         overflowing multiplication.
18157         * math/s_csinf.c (__csinf): Likewise.
18158         * math/s_csinh.c (__csinh): Likewise.
18159         * math/s_csinhf.c (__csinhf): Likewise.
18160         * math/s_csinhl.c (__csinhl): Likewise.
18161         * math/s_csinl.c (__csinl): Likewise.
18162         * math/auto-libm-test-in: Add some tests of csin and csinh.
18163         * math/auto-libm-test-out: Regenerated.
18164         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18165         (csinh_test_data): Likewise.
18166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18168         [BZ #18586]
18169         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18170         underflow exception for small results.
18172 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18174         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18176         variable and included header.
18177         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18179         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18180         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18182         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18183         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18184         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18185         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18186         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18187         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18188         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18189         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18190         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18191         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18192         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18194 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18196         [BZ #16526]
18197         [BZ #16538]
18198         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18199         (__sin): Force underflow exception for arguments with small
18200         absolute value.
18201         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18202         (__kernel_sinf): Force underflow exception for arguments with
18203         small absolute value.
18204         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18205         (__kernel_sincosl): Force underflow exception for arguments with
18206         small absolute value.
18207         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18208         (__kernel_sinl): Force underflow exception for arguments with
18209         small absolute value.
18210         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18211         (__kernel_sincosl): Force underflow exception for arguments with
18212         small absolute value.
18213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18214         (__kernel_sinl): Force underflow exception for arguments with
18215         small absolute value.
18216         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18217         (__kernel_sinl): Force underflow exception for arguments with
18218         small absolute value.
18219         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18220         (__kernel_sinf): Force underflow exception for arguments with
18221         small absolute value.
18222         * math/auto-libm-test-in: Add more tests of sin and sincos.
18223         * math/auto-libm-test-out: Regenerated.
18225         [BZ #18245]
18226         [BZ #18583]
18227         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18228         (__kernel_standard_l): Use feholdexcept and fesetenv around
18229         conversion to double instead of special-casing overflow and
18230         underflow.
18231         * math/libm-test.inc (fmod_test_data): Add more tests.
18232         (remainder_test_data): Likewise.
18233         (sqrt_test_data): Likewise.
18235 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18237         [BZ #17403]
18238         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18239         atomic_read_barrier, atomic_write_barrier): Define.
18240         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18241         atomic_read_barrier, atomic_write_barrier): Define.
18243 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18245         * math/Makefile [$(PERL) != no]
18246         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18247         dependency on libm-test.stmp below the inclusion of Rules.
18249 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18251         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18253         and included header.
18254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18255         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18257         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18261         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18262         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18263         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18264         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18265         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18266         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18267         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18268         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18269         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18270         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18271         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18272         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18274 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18276         [BZ #18371]
18277         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18278         intermediate but not final result might underflow.
18279         * math/s_csqrtf.c (__csqrtf): Likewise.
18280         * math/s_csqrtl.c (__csqrtl): Likewise.
18281         * math/auto-libm-test-in: Add more tests of csqrt.
18282         * math/auto-libm-test-out: Regenerated.
18283         * sysdeps/i386/fpu/libm-test-ulps: Update.
18285         [BZ #18219]
18286         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18287         threshold on absolute value of exponent for which scaling is used.
18288         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18289         * math/auto-libm-test-in: Add more tests of exp2.
18290         * math/auto-libm-test-out: Regenerated.
18292 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18294         [BZ #17977]
18295         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18296         when initializing interface list, based on the bug analysis
18297         and the patch proposed by Eric Newton.
18298         * resolv/tst-res_hconf_reorder.c: New test.
18299         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18300         tst-res_hconf_reorder.
18301         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18302         and $(shared-thread-library).
18303         (tst-res_hconf_reorder-ENV): New variable.
18305         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18306         in comment.
18308 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18310         [BZ #16353]
18311         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18312         (__expm1): Force underflow exception for arguments with small
18313         absolute value.
18314         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18315         (__expm1f): Force underflow exception for arguments with small
18316         absolute value.
18317         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18318         (__expm1): Force underflow exception for arguments with small
18319         absolute value.
18320         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18321         (__expm1f): Force underflow exception for arguments with small
18322         absolute value.
18323         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18324         Check for small arguments before calling __expm1.
18325         * math/auto-libm-test-in: Do not mark underflow exceptions as
18326         possibly missing for bug 16353.
18327         * math/auto-libm-test-out: Regenerated.
18329 2015-06-22  Andreas Schwab  <schwab@suse.de>
18331         [BZ #18513]
18332         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18333         PTR queries.
18335 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18337         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18339         * string/strcoll_l.c: Remove unused struct element idxnow.
18341 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18343         [BZ #18569]
18344         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18345         underflow and return argument in case of subnormal argument.
18346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18347         Likewise.
18348         * math/auto-libm-test-in: Add more tests of expm1.
18349         * math/auto-libm-test-out: Regenerated.
18351         [BZ #16361]
18352         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18353         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18354         tiny results.
18355         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18356         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18357         tiny results.
18358         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18359         mark underflow exceptions as possibly missing for bug 16361.
18360         * math/auto-libm-test-out: Regenerated.
18362 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18364         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18365         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18366         Remove variable.
18367         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18368         (test-xfail-XOPEN2K8/utmpx.h/conform).
18370         * conform/conformtest.pl ($xerrors): New variable.
18371         (note_error): New function.
18372         (compiletest): New argument $xfail.  Use not_error.
18373         (runtest): Likewise.
18374         (top level): Handle xfail- lines.  Update calls to compiletest and
18375         runtest.  Handle xfail- and optional- in headers listed with
18376         allow-header.
18377         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18378         (O_EXEC): Likewise.
18379         (O_SEARCH): Likewise.
18380         * conform/data/stropts.h-data (ioctl): Likewise.
18381         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18382         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18383         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18384         (msghdr.msg_controllen): Likewise.
18385         (cmsghdr.cmsg_len): Likewise.
18386         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18387         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18388         variable.
18389         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18390         (test-xfail-XPG4/stropts.h/conform): Likewise.
18391         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18392         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18393         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18394         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18395         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18396         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18397         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18398         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18399         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18400         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18401         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18402         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18403         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18404         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18405         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18406         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18407         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18408         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18409         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18411 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18413         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18414         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18415         definitions for proper unfolding of __MATHDECL_VEC.
18417 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18419         * benchtests/bench-strcoll.c:
18420         Include string.h.
18421         (main): Remove unused variable res.
18423 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18425         * timezone/Makefile (%/UTC %/Universal):
18426         Generate test-result files for UTC and Universal.
18428 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18430         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18432 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18434         [BZ #16350]
18435         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18436         for arguments with small absolute value.
18437         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18438         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18439         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18440         (__asinh): Force underflow exception for arguments with small
18441         absolute value.
18442         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18443         (__asinhf): Force underflow exception for arguments with small
18444         absolute value.
18445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18446         (__asinhl): Force underflow exception for arguments with small
18447         absolute value.
18448         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18449         (__asinhl): Force underflow exception for arguments with small
18450         absolute value.
18451         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18452         (__asinhl): Force underflow exception for arguments with small
18453         absolute value.
18454         * math/auto-libm-test-in: Do not mark underflow exceptions as
18455         possibly missing for bug 16350.
18456         * math/auto-libm-test-out: Regenerated.
18458         * include/bits/ipc.h: Remove file.
18459         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18460         variable.
18461         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18462         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18463         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18464         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18465         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18466         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18467         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18468         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18469         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18471         * math/auto-libm-test-in: Remove spurious underflow allowance for
18472         tests of cexp.
18473         * math/auto-libm-test-out: Regenerated.
18475         [BZ #18558]
18476         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18477         unconditional definition.
18478         (MCAST_BLOCK_SOURCE): Likewise.
18479         (MCAST_UNBLOCK_SOURCE): Likewise.
18480         (MCAST_LEAVE_GROUP): Likewise.
18481         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18482         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18483         (MCAST_MSFILTER): Likewise.
18484         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18485         Remove variable.
18486         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18487         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18488         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18489         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18490         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18492 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18494         * NEWS: Mention addition of x86_64 vector sincosf.
18495         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18496         * math/test-float-vlen4.h: Likewise.
18497         * math/test-float-vlen8.h: Likewise.
18498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18499         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18500         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18501         * sysdeps/x86_64/fpu/Versions: New versions added.
18502         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18503         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18504         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18505         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18506         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18507         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18508         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18509         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18510         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18511         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18512         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18513         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18514         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18515         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18516         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18517         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18518         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18519         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18521         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18522         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18527         * NEWS: Mention addition of x86_64 vector sincos.
18528         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18529         * math/math.h (__MATHDECL_VEC): New macro.
18530         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18531         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18532         declaration under condition.
18533         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18534         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18535         TEST_VEC_LOOP change.
18536         * math/test-double-vlen4.h: Likewise.
18537         * math/test-double-vlen8.h: Likewise.
18538         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18539         * math/test-float-vlen4.h: Likewise.
18540         * math/test-float-vlen8.h: Likewise.
18541         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18542         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18543         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18544         * sysdeps/x86_64/fpu/Versions: New versions added.
18545         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18546         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18547         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18548         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18549         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18550         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18551         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18552         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18554         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18555         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18556         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18557         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18558         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18559         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18560         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18561         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18562         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18563         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18565         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18566         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18567         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18568         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18571         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18572         redirections for powf.
18573         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18574         * sysdeps/x86_64/fpu/Versions: New versions added.
18575         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18576         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18577         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18578         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18579         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18580         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18581         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18582         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18583         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18584         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18585         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18586         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18587         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18588         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18589         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18590         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18591         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18592         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18593         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18594         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18595         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18596         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18597         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18598         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18599         * math/test-float-vlen16.h: Fixed 2 argument macro.
18600         * math/test-float-vlen4.h: Likewise.
18601         * math/test-float-vlen8.h: Likewise.
18602         * NEWS: Mention addition of x86_64 vector powf.
18604 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18606         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18607         and redefine.
18608         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18609         and redefine.
18610         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18611         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18612         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18614         [BZ #18553]
18615         * resource/getpriority.c (getpriority): Rename to __getpriority
18616         and define as weak alias of __getpriority.
18617         * resource/setpriority.c (setpriority): Rename to __setpriority
18618         and define as weak alias of __setpriority.
18619         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18620         __getpriority and define as weak alias of __getpriority.
18621         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18622         __setpriority and define as weak alias of __setpriority.
18623         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18624         strong name.
18625         (setpriority): Use __setpriority as strong name.
18626         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18627         __getpriority and define as weak alias of __getpriority.
18628         * include/sys/resource.h (__getpriority): Declare.  Use
18629         libc_hidden_proto.
18630         (__setpriority): Likewise.
18631         (getpriority): Don't use libc_hidden_proto.
18632         (setpriority): Likewise.
18633         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18634         getpriority.  Call __setpriority instead of setpriority.
18635         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18636         Remove variable.
18638         [BZ #18547]
18639         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18640         as weak alias of __getttynam.  Use prototype function definition.
18641         Call __setttyent, __getttyent and __endttyent instead of
18642         setttyent, getttyent and endttyent.
18643         (getttyent): Rename to __getttyent and define as weak alias of
18644         __getttyent.  Call __setttyent instead of setttyent.  Call
18645         __fgets_unlocked instead of fgets_unlocked.
18646         (setttyent): Rename to __setttyent and define as weak alias of
18647         __setttyent.
18648         (endttyent): Rename to __endttyent and define as weak alias of
18649         __endttyent.
18650         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18651         (__setttyent): Likewise.
18652         (__endttyent): Likewise.
18653         (getttyent): Don't use libc_hidden_proto.
18654         (setttyent): Likewise.
18655         (endttyent): Likewise.
18656         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18657         __endttyent instead of setttyent, getttyent and endttyent.
18658         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18659         Remove variable.
18661         [BZ #18546]
18662         * socket/recv.c (__recv): Use libc_hidden_def.
18663         * socket/socket.c (__socket): Likewise.
18664         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18665         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18666         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18667         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18668         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18669         libc_hidden_def.
18670         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18671         libc_hidden_weak.
18672         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18673         Use libc_hidden_proto.
18674         (__recv): Likewise.
18675         * socket/Versions (libc): Export __recv and __socket at version
18676         GLIBC_PRIVATE.
18677         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18678         instead of recv.
18679         (init_mq_netlink): Call __socket instead of socket.
18680         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18681         Remove variable.
18683         [BZ #18545]
18684         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18685         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18686         hidden_weak.
18687         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18688         define as alias of __mq_timedsend.  Use hidden_weak.
18689         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18690         __mq_timedsend as strong name.
18691         (mq_timedreceive): Use __mq_timedreceive as strong name.
18692         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18693         (__mq_timedreceive): Likewise.
18694         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18695         __mq_timedreceive instead of mq_timedreceive.
18696         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18697         instead of mq_timedsend.
18698         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18699         Remove variable.
18701         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18702         hidden_def and hidden_weak instead of libc_hidden_def and
18703         libc_hidden_weak.
18704         (top level): Refer to hidden_def in comment.
18705         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18706         macro.  Use it instead of libc_hidden_def.
18707         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18708         specify __GI_* name explicitly.
18709         (mq_timedreceive): Likewise.
18710         (mq_setattr): Likewise.
18712         [BZ #18544]
18713         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18714         __pthread_barrier_init and define as weak alias of
18715         __pthread_barrier_init.
18716         * sysdeps/sparc/nptl/pthread_barrier_init.c
18717         (pthread_barrier_init): Likewise.
18718         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18719         __pthread_barrier_wait and define as weak alias of
18720         __pthread_barrier_wait.
18721         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18722         (pthread_barrier_wait): Likewise.
18723         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18724         (pthread_barrier_wait): Likewise.
18725         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18726         (pthread_barrier_wait): Likewise.
18727         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18728         (pthread_barrier_wait): Likewise.
18729         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18730         __pthread_barrier_wait at version GLIBC_PRIVATE.
18731         * include/pthread.h (__pthread_barrier_init): Declare.
18732         (__pthread_barrier_wait): Likewise.
18733         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18734         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18735         (helper_thread): Likewise.
18736         (init_mq_netlink): Call __pthread_barrier_init instead of
18737         pthread_barrier_init.
18739         [BZ #18542]
18740         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18741         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18742         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18743         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18744         vswscanf.
18745         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18746         Remove variable.
18748         [BZ #18540]
18749         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18750         strong alias of _IO_fflush.  Use libc_hidden_def.
18751         * libio/iofflush_u.c (fflush_unlocked): Rename to
18752         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18753         Use libc_hidden_weak.
18754         * include/stdio.h (__fflush_unlocked): Declare.  Use
18755         libc_hidden_proto.
18756         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18757         fflush_unlocked.
18758         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18759         Remove variable.
18761         [BZ #18539]
18762         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18763         define as weak alias of __addseverity.
18764         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18765         Remove variable.
18766         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18767         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18768         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18770         [BZ #18536]
18771         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18772         (__tfind): Likewise.
18773         (__tdelete): Likewise.
18774         (__twalk): Likewise.
18775         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18776         __twalk to GLIBC_PRIVATE.
18777         * include/search.h (__tsearch): Use libc_hidden_proto.
18778         (__tfind): Likewise.
18779         (__tdelete): Likewise.
18780         (__twalk): Likewise.
18781         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18782         Call __tdelete instead of tdelete.
18783         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18784         tfind.  Call __tsearch instead of tsearch.
18785         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18786         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18787         Remove variable.
18788         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18790         [BZ #18534]
18791         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18792         (dprintf): Define as a weak alias of __dprintf, not a strong
18793         alias.
18794         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18795         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18796         dprintf.
18797         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18798         Remove variable.
18799         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18800         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18802         [BZ #18533]
18803         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18804         not a strong alias.
18805         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18806         Remove variable.
18808         [BZ #18532]
18809         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18810         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18811         (in6addr_loopback): Rename to __in6addr_loopback and define as
18812         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18813         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18814         libc_hidden_proto.
18815         (__in6addr_any): Likewise.
18816         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18817         in6addr_any.
18818         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18819         variable.
18820         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18822 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18824         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18825         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18826         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18827         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18828         redirections for pow.
18829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18830         * sysdeps/x86_64/fpu/Versions: New versions added.
18831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18833         build of SSE, AVX2 and AVX512 IFUNC versions.
18834         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18835         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18836         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18838         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18841         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18842         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18843         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18844         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18845         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18846         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18847         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18848         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18849         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18850         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18851         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18852         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18853         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18854         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18855         * NEWS: Mention addition of x86_64 vector pow.
18857         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18858         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18859         redirections for expf.
18860         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18861         * sysdeps/x86_64/fpu/Versions: New versions added.
18862         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18863         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18864         build of SSE, AVX2 and AVX512 IFUNC versions.
18865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18867         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18868         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18871         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18872         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18873         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18874         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18875         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18876         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18877         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18878         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18879         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18880         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18881         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18882         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18883         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18884         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18885         * NEWS: Mention addition of x86_64 vector expf.
18887         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18888         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18889         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18890         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18891         redirections for exp.
18892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18893         * sysdeps/x86_64/fpu/Versions: New versions added.
18894         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18895         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18896         build of SSE, AVX2 and AVX512 IFUNC versions.
18897         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18898         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18899         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18900         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18901         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18903         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18904         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18905         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18906         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18907         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18908         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18909         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18910         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18912         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18913         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18914         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18915         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18916         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18917         * NEWS: Mention addition of x86_64 vector exp.
18919         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18920         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18921         redirections for logf.
18922         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18923         * sysdeps/x86_64/fpu/Versions: New versions added.
18924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18925         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18926         build of SSE, AVX2 and AVX512 IFUNC versions.
18927         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18928         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18929         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18930         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18931         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18932         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18933         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18934         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18935         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18936         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18937         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18938         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18939         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18940         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18941         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18942         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18943         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18944         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18945         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18946         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18947         * NEWS: Mention addition of x86_64 vector logf.
18949         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18950         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18951         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18952         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18953         redirections for log.
18954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18955         * sysdeps/x86_64/fpu/Versions: New versions added.
18956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18958         build of SSE, AVX2 and AVX512 IFUNC versions.
18959         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18960         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18961         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18962         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18963         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18964         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18965         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18966         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18967         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18968         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18969         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18970         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18971         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18972         test.
18973         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18974         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18976         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18977         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18978         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18979         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18980         * NEWS: Mention addition of x86_64 vector log.
18982 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18984         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18985         cfi_adjust_cfa_offset argument.
18986         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18987         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18989         [BZ #18034]
18990         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18991         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18992         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18993         ordering using ldar.
18994         (_dl_tlsdesc_dynamic): Likewise.
18995         (_dl_tlsdesc_return_lazy): Likewise.
18996         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18997         relaxed atomics instead of volatile and synchronize with release store.
18998         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18999         volatile.
19000         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19002 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19004         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19005         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19006         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19007         * sysdeps/x86_64/fpu/Versions: New versions added.
19008         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19009         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19010         build of SSE, AVX2 and AVX512 IFUNC versions.
19011         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19012         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19013         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19014         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19015         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19016         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19017         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19018         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19019         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19020         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19021         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19022         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19023         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19024         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19026         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19030         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19031         * NEWS: Mention addition of x86_64 vector sinf.
19033 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19035         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19036         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19037         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19038         Remove variable.
19039         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19040         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19042 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19044         [BZ #18530]
19045         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19046         strong alias of _IO_fputs.  Use libc_hidden_def.
19047         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19048         and define as weak alias of __fputs_unlocked.  Use
19049         libc_hidden_weak.
19050         * include/stdio.h (__fputs_unlocked): Declare.  Use
19051         libc_hidden_proto.
19052         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19053         fputs_unlocked.
19055         [BZ #18529]
19056         * resolv/netdb.h [__USE_POSIX]: Change condition to
19057         [__USE_XOPEN2K].
19058         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19059         not expect.
19060         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19061         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19062         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19063         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19064         [XPG4 || UNIX98] (AI_ALL): Likewise.
19065         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19066         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19067         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19068         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19069         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19070         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19071         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19072         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19073         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19074         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19075         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19076         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19077         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19078         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19079         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19080         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19081         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19082         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19083         [XPG4 || UNIX98] (gai_strerror): Likewise.
19084         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19085         [XPG4 || UNIX98] (getnameinfo): Likewise.
19087         [BZ #18528]
19088         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19089         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19090         __USE_XOPEN2K8].
19091         (getgrent): Likewise.
19092         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19093         expect.
19094         [XPG3 || POSIX2008] (endgrent): Likewise.
19095         [XPG3] (setgrent): Likewise.
19096         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19097         variable.
19098         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19100         [BZ #18527]
19101         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19102         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19103         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19104         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19105         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19106         * include/unistd.h (__getlogin_r): Declare.  Use
19107         libc_hidden_proto.
19108         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19109         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19110         variable.
19111         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19112         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19113         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19115 2015-06-12  Martin Sebor  <msebor@redhat.com>
19117         [BZ #18512]
19118         * Makerules (check-install-supported): New target.
19119         (install): Add check-install-supported as a dependency.
19120         * manual/install.texi (Installing the C Library): Document
19121         that overriding prefix and exec_prefix is not supported.
19122         Mention DESTDIR.
19123         * INSTALL: Regenerate from the above.
19125 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19127         [BZ #18519]
19128         * posix/Versions (libc): Export __libc_pread at version
19129         GLIBC_PRIVATE.
19130         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19131         instead of pread.
19132         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19133         variable.
19135         [BZ #18522]
19136         * misc/efgcvt_r.c
19137         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19138         (cvt_symbol): Use weak_alias instead of strong_alias.
19139         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19140         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19141         Remove variable.
19142         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19143         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19145         [BZ #18520]
19146         * inet/herrno.c (h_errno): Rename to __h_errno.
19147         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19148         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19149         to __h_errno instead of h_errno.
19150         * nptl/herrno.c (h_errno): Rename to __h_errno.
19151         (__h_errno_location): Refer to __h_errno not h_errno.
19152         * resolv/Versions (h_errno): Rename to __h_errno.
19153         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19154         Remove variable.
19155         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19157 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19159         * configure.ac: More strict check for AVX512 assembler support.
19160         * configure: Regenerated.
19162         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19163         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19164         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19165         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19166         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19167         * sysdeps/x86_64/fpu/Versions: New versions added.
19168         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19169         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19170         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19171         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19172         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19173         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19174         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19175         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19176         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19177         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19178         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19179         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19180         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19181         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19182         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19183         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19184         test.
19185         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19186         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19187         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19188         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19189         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19190         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19191         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19192         * NEWS: Mention addition of x86_64 vector sin.
19194 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19196         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19197         comment.
19199 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19201         [BZ #18479]
19202         * nptl/pt-interp.c: New file.
19203         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19204         Add pt-interp.
19205         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19206         $(common-objpfx)runtime-linker.h.
19208 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19210         * Makeconfig (+interp): Remove unused variable.
19211         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19212         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19213         $(elf-objpfx)runtime-linker.h.
19214         ($(elf-objpfx)runtime-linker.h): Rename to
19215         $(common-objpfx)runtime-linker.h and move ...
19216         * Makerules [$(build-shared) = yes]: ... here.
19217         * elf/interp.c: Include <runtime-linker.h> instead of
19218         <elf/runtime-linker.h>.
19220 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19222         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19223         (__gettimeofday_syscall): Remove vsyscall fallback.
19224         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19225         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19226         Add syscall fallback function.
19227         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19228         if vDSO is not present.
19229         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19230         fallback function.
19231         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19232         present.
19233         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19234         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19236 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19238         [BZ #18497]
19239         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19240         of wcscmp.
19241         (wcscmp): Define as weak alias of WCSCMP.
19242         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19243         wcscoll.
19244         (USE_HIDDEN_DEF): Define.
19245         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19246         __wcscoll.  Don't use libc_hidden_weak.
19247         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19248         wcscmp.
19249         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19250         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19251         __GI_wcscmp.
19252         (weak_alias): Undefine and redefine.
19253         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19254         __wcscmp and define as weak alias of __wcscmp.
19255         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19256         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19257         (__wcscoll): Likewise.
19258         (wcscmp): Don't use libc_hidden_proto.
19259         (wcscoll): Likewise.
19260         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19261         wcscoll.
19262         * posix/regexec.c (check_node_accept_bytes): Likewise.
19263         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19264         variable.
19265         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19266         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19268         [BZ #18507]
19269         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19270         __fstatvfs and define as weak alias of __fstatvfs.  Use
19271         libc_hidden_weak.
19272         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19273         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19274         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19275         Define as alias of __fstatvfs, not fstatvfs.
19276         (fstatvfs64): Likewise.
19277         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19278         Define as alias of __statvfs, not statvfs.
19279         (statvfs64): Likewise.
19280         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19281         Remove variable.
19283 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19286         (HAVE_GETCPU_VSYSCALL): Define.
19287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19288         (HAVE_GETCPU_VSYSCALL): Likewise.
19289         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19290         * sysdeps/unix/sysv/linux/sched_getcpu.c
19291         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19292         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19293         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19294         prototype.
19295         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19296         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19297         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19299         Define.
19300         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19301         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19302         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19303         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19305 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19307         * sysdeps/x86_64/fpu/Makefile: New file.
19308         * sysdeps/x86_64/fpu/Versions: New file.
19309         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19310         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19311         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19312         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19313         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19314         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19315         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19317         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19323         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19324         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19325         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19326         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19327         * sysdeps/x86_64/configure: Regenerated.
19328         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19330         * manual/install.texi (Configuring and compiling): Document
19331         --disable-mathvec.
19332         * INSTALL: Regenerated.
19333         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19335         * math/Makefile: Added rules for vector tests.
19336         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19337         declaration under condition.
19338         * math/test-double-vlen2.h: New file.
19339         * math/test-double-vlen4.h: New file.
19340         * math/test-double-vlen8.h: New file.
19341         * math/test-vec-loop.h: Added initialization macro.
19342         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19344         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19345         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19346         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19347         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19348         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19349         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19350         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19351         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19352         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19355         * sysdeps/x86_64/fpu/Versions: New versions added.
19356         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19359         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19360         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19362         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19363         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19366         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19367         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19368         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19369         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19370         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19371         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19372         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19373         * NEWS: Mention addition of x86_64 vector cosf.
19375         * math/Makefile: Added CFLAGS for new tests.
19376         * math/test-float-vlen16.h: New file.
19377         * math/test-float-vlen4.h: New file.
19378         * math/test-float-vlen8.h: New file.
19379         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19380         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19381         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19382         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19383         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19384         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19385         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19386         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19387         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19388         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19389         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19391 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19393         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19394         * locale/programs/ld-ctype.c: Likewise.
19396 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19398         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19399         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19400         bit_ZMM16_31_state): New macro.
19401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19402         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19404 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19406         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19408 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19410         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19412 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19414         [BZ #18498]
19415         * libio/memstream.c (open_memstream): Rename to __open_memstream
19416         and define as weak alias of __open_memstream.
19417         * include/stdio.h (__open_memstream): Declare.  Use
19418         libc_hidden_proto.
19419         (open_memstream): Don't use libc_hidden_proto.
19420         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19421         open_memstream.
19422         * posix/getopt.c (_getopt_internal_r): Likewise.
19423         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19424         variable.
19425         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19426         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19427         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19429         [BZ #18496]
19430         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19431         instead of wcrtomb.
19433         [BZ #18483]
19434         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19435         [__USE_XOPEN2K8].  Remove redundant #endif.
19436         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19437         Remove redundant #if.
19438         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19439         Remove variable.
19440         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19441         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19443         [BZ #18495]
19444         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19445         (__iswlower): Likewise.
19446         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19447         (__iswlower): Likewise.
19448         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19449         instead of towlower.
19450         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19451         instead of iswlower.  Call __towupper instead of towupper.
19452         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19453         instead of iswalnum.
19455 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19457         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19458         errors to stderr.
19460 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19462         [BZ #15661]
19463         [BZ #17322]
19464         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19465         Check for overflow properly.  Check for O_APPEND.  Ignore large
19466         file system block sizes.  Add comments about problems.
19467         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19468         * manual/filesys.texi (Storage Allocation): New node.
19470 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19472         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19473         cancellable syscalls.
19474         (SYS_ify): Add guard to no redefine it.
19475         (INLINE_SYSCALL): Likewise.
19476         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19477         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19478         SYSCALL_CANCEL instead.
19479         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19480         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19481         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19482         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19483         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19484         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19485         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19486         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19487         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19488         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19489         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19490         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19491         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19492         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19493         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19495         Likewise.
19496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19497         (__libc_pread64): Likewise.
19498         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19499         (__libc_preadv): Likewise.
19500         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19501         (__libc_readv64): Likewise.
19502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19503         (__libc_pwrite): Likewise.
19504         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19505         (__libc_pwrite64): Likewise.
19506         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19507         (__libc_pwritev): Likewise.
19508         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19509         (__libc_pwritev64): Likewise.
19510         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19511         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19512         (sync_file_range): Likewise.
19513         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19514         Likewise.
19515         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19516         Likewise.
19517         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19518         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19519         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19520         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19521         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19522         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19523         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19524         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19526         Likewise.
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19528         (__libc_read64): Likewise.
19529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19530         Likewise.
19531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19532         Likewise.
19533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19534         Likewise.
19535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19536         Likewise.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19538         (__libc_pread64): Likewise.
19539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19540         Likewise.
19541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19542         (__libc_pwrite64): Likewise.
19543         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19544         (sync_file_range): Likewise.
19545         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19546         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19547         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19548         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19549         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19550         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19551         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19552         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19553         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19554         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19555         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19556         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19557         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19558         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19559         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19560         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19561         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19562         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19563         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19564         Likewise.
19565         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19568         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19569         Likewise.
19570         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19571         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19572         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19573         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19574         Likewise.
19575         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19576         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19577         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19578         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19579         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19581 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19583         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19584         Include dl-vdso.
19585         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19586         Use VDSO routines for gettimeofday, clock_gettime if
19587         available.
19588         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19589         Declare VDSO symbols.
19590         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19591         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19592         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19593         * sysdeps/unix/sysv/linux/arm/Versions: Add
19594         __vdso_clock_gettime.
19596 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19598         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19599         be an inline implementation regardless of library is built within.
19600         (open_not_cancel_2): Likewise.
19601         (__read_nocancel): Likewise.
19602         (__write_nocancel): Likewise.
19603         (openat_not_cancel): Likewise.
19604         (openat_not_cancel_3): Likewise.
19605         (openat64_not_cancel): Likewise.
19606         (openat64_not_cancel_3): Likewise.
19607         (__close_nocancel): Likewise.
19608         (pause_not_cancel): Likewise.
19609         (nanosleep_not_cancel): Likewise.
19610         (sigsuspend_not_cancel): Likewise.
19612 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19614         [BZ #14958]
19615         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19616         wake-up.
19617         (__pthread_rwlock_rdlock_slow): Likewise.
19618         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19619         Likewise.
19620         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19621         Likewise.
19622         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19623         * nptl/tst-rwlock16.c: New file.
19624         * nptl/Makefile (tests): Add new test.
19626 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19628         [BZ #18324]
19629         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19630         missing wake-up of readers.
19631         * nptl/tst-rwlock15.c: New file.
19632         * nptl/Makefile (tests): Add new test.
19634 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19636         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19637         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19638         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19639         and __nacl_supply_interface_rtld.
19640         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19641         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19642         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19643         Add __nacl_supply_interface_rtld.
19644         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19646 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19648         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19649         isfinite.
19650         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19651         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19653 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19655         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19656         __signbit* with standard C99 macros.
19657         * math/e_exp10l.c: Likewise.
19658         * math/e_exp2l.c: Likewise.
19659         * math/e_scalb.c: Likewise.
19660         * math/e_scalbf.c: Likewise.
19661         * math/e_scalbl.c: Likewise.
19662         * math/s_ldexp.c: Likewise.
19663         * math/s_ldexpf.c: Likewise.
19664         * math/s_ldexpl.c: Likewise.
19665         * math/w_atan2.c: Likewise.
19666         * math/w_atan2f.c: Likewise.
19667         * math/w_atan2l.c: Likewise.
19668         * math/w_cosh.c: Likewise.
19669         * math/w_coshf.c: Likewise.
19670         * math/w_coshl.c: Likewise.
19671         * math/w_exp10.c: Likewise.
19672         * math/w_exp10f.c: Likewise.
19673         * math/w_exp10l.c: Likewise.
19674         * math/w_exp2.c: Likewise.
19675         * math/w_exp2f.c: Likewise.
19676         * math/w_exp2l.c: Likewise.
19677         * math/w_fmod.c: Likewise.
19678         * math/w_fmodf.c: Likewise.
19679         * math/w_fmodl.c: Likewise.
19680         * math/w_hypot.c: Likewise.
19681         * math/w_hypotf.c: Likewise.
19682         * math/w_hypotl.c: Likewise.
19683         * math/w_jnl.c: Likewise.
19684         * math/w_lgamma.c: Likewise.
19685         * math/w_lgamma_r.c: Likewise.
19686         * math/w_lgammaf.c: Likewise.
19687         * math/w_lgammaf_r.c: Likewise.
19688         * math/w_lgammal.c: Likewise.
19689         * math/w_lgammal_r.c: Likewise.
19690         * math/w_pow.c: Likewise.
19691         * math/w_powf.c: Likewise.
19692         * math/w_powl.c: Likewise.
19693         * math/w_remainder.c: Likewise.
19694         * math/w_remainderf.c: Likewise.
19695         * math/w_remainderl.c: Likewise.
19696         * math/w_scalb.c: Likewise.
19697         * math/w_scalbf.c: Likewise.
19698         * math/w_scalbl.c: Likewise.
19699         * math/w_scalbln.c: Likewise.
19700         * math/w_scalblnf.c: Likewise.
19701         * math/w_scalblnl.c: Likewise.
19702         * math/w_sinh.c: Likewise.
19703         * math/w_sinhf.c: Likewise.
19704         * math/w_sinhl.c: Likewise.
19705         * math/w_tgamma.c: Likewise.
19706         * math/w_tgammaf.c: Likewise.
19707         * math/w_tgammal.c: Likewise.
19708         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19709         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19710         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19711         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19712         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19713         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19714         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19715         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19716         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19717         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19718         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19719         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19720         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19721         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19722         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19723         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19724         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19725         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19726         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19727         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19729         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19730         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19732         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19733         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19734         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19735         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19736         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19737         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19738         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19739         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19740         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19741         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19742         * stdio-common/printf_fp.c: Likewise.
19743         * stdio-common/printf_fphex.c: Likewise.
19744         * stdio-common/printf_size.c: Likewise.
19746 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19748         [BZ #18470]
19749         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19750         strnlen.
19751         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19752         Remove variable.
19753         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19754         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19755         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19756         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19757         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19758         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19759         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19760         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19761         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19762         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19764         [BZ #18468]
19765         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19766         weak alias of __wmemchr.  Use libc_hidden_weak.
19767         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19768         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19769         instead of wmemchr.
19771 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19773         [BZ #18383]
19774         * elf/tst-tlsalign-extern.c: New file.
19775         * elf/tst-tlsalign-extern-static.c: New file.
19776         * elf/tst-tlsalign-vars.c: New file.
19777         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19778         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19779         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19780         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19781         (test-xfail-tst-tlsalign-extern-static): New variable.
19783 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19785         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19786         Use variable name _sc_err instead of err.
19787         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19788         instead of ret.
19789         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19790         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19791         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19792         (INLINE_SYSCALL): Likewise.
19794         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19795         * include/string.h (__strnlen): Use libc_hidden_proto.
19796         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19797         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19798         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19799         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19800         (libc_hidden_def): Undefine and redefine.
19801         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19802         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19803         __GI_strnlen.
19804         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19805         libc_hidden_def.
19806         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19808         [BZ #18469]
19809         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19810         weak alias of __towlower.  Use libc_hidden_weak.
19811         (towupper): Rename to __towupper and define as weak alias of
19812         __towupper.  Use libc_hidden_weak.
19813         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19814         (__towupper): Likewise.
19815         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19816         __towlower instead of towlower.
19818 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19820         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19821         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19823 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19825         * sysdeps/aarch64/libm-test-ulps: Update.
19827 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19829         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19830         Define.
19831         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19833         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19834         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19835         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19836         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19837         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19839 2015-06-01  Martin Sebor  <msebor@redhat.com>
19841         [BZ #18116]
19842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19843         (__setcontext): Use extended four-operand version of mtsf whenever
19844         possible.
19845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19846         (__novec_swapcontext): Likewise.
19848 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19850         * benchtests/scripts/compare_bench.py: New file.
19851         * benchtests/scripts/import_bench.py (mean): New function.
19852         (split_list): Likewise.
19853         (do_for_all_timings): Likewise.
19854         (compress_timings): Likewise.
19856         * benchtests/scripts/import_bench.py: New file.
19857         * benchtests/scripts/validate_benchout.py: Import import_bench
19858         instead of jsonschema.
19859         (validate_bench): Remove function.
19860         (main): Use import_bench.
19862 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19864         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19865         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19867 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19871 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19873         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19874         set THREAD_SELF->tid to a magic value and futex-wake it.
19875         Pass its address to the thread_exit system call.
19876         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19877         bit is clear.
19878         * sysdeps/nacl/lowlevellock.h: New file.
19879         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19881         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19882         Add TIMEOUT to current time, don't subtract it.
19884 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19886         [BZ #2981]
19887         [BZ #18422]
19888         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19889         ($(objpfx)tst-audit2.out): Also depend on
19890         $(objpfx)tst-auditmod9b.so.
19891         * elf/tst-audit2.c: Include <dlfcn.h>.
19892         (calloc_called): New.
19893         (calloc): Allow to be called more than once.
19894         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19896 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19898         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19899         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19901 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19903         * stdlib/monetary.h: Fix comment.
19905 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19907         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19908         Avoid using variables in #defines that might cause shadowing.
19909         (INTERNAL_VSYSCALL_CALL): Likewise.
19911 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19913         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19915         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19916         * nptl/lll_timedlock_wait.c: ... to this new file.
19917         * nptl/Makefile (libpthread-routines): Add it.
19918         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19919         * nptl/lll_timedwait_tid.c: ... to this new file.
19920         * nptl/Makefile (libpthread-routines): Add it.
19921         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19922         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19923         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19924         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19925         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19926         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19927         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19928         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19929         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19930         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19932 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19934         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19935         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19936         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19937         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19938         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19940         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19941         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19942         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19943         * sysdeps/unix/sysv/linux/tile/sysdep.h
19944         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19945         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19946         using vDSO syscall macro.
19948 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19950         [BZ #17293]
19951         * uk_UA: Fix sorting order for Ukrainian locale
19953 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19955         * stdlib/monetary.h: Fix comment.
19957 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19959         [BZ #18234]
19960         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19961         st_mtim and st_ctim members.
19962         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19963         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19964         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19965         (struct stat64): Likewise.
19966         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19967         (struct stat64): Likewise.
19968         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19969         (struct stat64): Likewise.
19971 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19973         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19974         Define and include sysdep-vdso.h.
19975         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19976         Likewise.
19977         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19978         Likewise.
19979         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19980         Define with VDSO_SYMBOL and use PTR_MANGLE.
19981         (__vdso_clock_gettime): Likewise.
19982         (__vdso_clock_getres): Likewise.
19983         (_libc_vdso_platform_setup): Likewise.
19984         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19985         Likewise.
19986         (_libc_vdso_platform_setup): Likewise.
19987         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19988         Likewise.
19989         (__vdso_clock_gettime): Likewise.
19990         (__vdso_clock_getres): Likewise.
19991         (__vdso_get_tbfreq): Likewise.
19992         (__vdso_getcpu): Likewise.
19993         (__vdso_time): Likewise.
19994         (__vdso_sigtramp_rt64): Likewise.
19995         (__vdso_signtramp32): Likewise.
19996         (__vdso_sigtramp_rt32): Likewise.
19997         (_libc_vdso_platform_setup): Likewise.
19998         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19999         Likewise.
20000         (__vdso_clock_gettime): Likewise.
20001         (__vdso_clock_getres): Likewise.
20002         (_libc_vdso_platform_setup): Likewise.
20003         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20004         Likewise.
20005         (__vdso_clock_gettime): Likewise.
20006         (_libc_vdso_platform_setup): Likewise.
20007         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20008         Likewise.
20009         (__vdso_getcpu): Likewise.
20010         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20011         Use VDSO_SYMBOL macro to define.
20012         (__vdso_clock_gettime): Likewise.
20013         (__vdso_clock_getres): Likewise.
20014         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20015         Likewise.
20016         (__vdso_clock_gettime): Likewise.
20017         (__vdso_clock_getres): Likewise.
20018         (__vdso_get_tbfreq): Likewise.
20019         (__vdso_getcpu): Likewise.
20020         (__vdso_time): Likewise.
20021         (__vdso_sigtramp_rt64): Likewise.
20022         (__vdso_signtramp32): Likewise.
20023         (__vdso_sigtramp_rt32): Likewise.
20024         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20025         Likewise.
20026         (__vdso_clock_gettime): Likewise.
20027         (__vdso_clock_getres): Likewise.
20028         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20029         Likewise.
20030         (__vdso_clock_gettime): Likewise.
20031         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20032         Likewise.
20033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20034         macro.
20035         (INTERNAL_VSYSCALL): Likewise.
20036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20037         Remove macro.
20038         (INTERNAL_VSYSCALL): Likewise.
20039         (INTERNAL_VSYSCALL_NCS): Likewise.
20040         (INTERNAL_VSYSCALL_CALL): New macro.
20041         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20043         Likewise.
20044         (INTERNAL_VSYSCALL): Likewise.
20045         (INTERNAL_VSYSCALL_NCS): Likewise.
20046         (INTERNAL_VSYSCALL_CALL): New macro.
20047         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20049         (INLINE_VSYSCALL): Remove macro.
20050         (INTERNAL_VSYSCALL): Remove macro.
20051         (INTERNAL_VSYSCALL_NCS): Remove macro.
20052         (INTERNAL_VSYSCALL_CALL): New macro.
20053         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20054         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20055         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20056         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20057         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20059         (INLINE_VSYSCALL): Remove macro.
20060         (INTERNAL_VSYSCALL): Likewise.
20061         (INTERNAL_VSYSCALL_NCS): Likewise.
20062         (INTERNAL_VSYSCALL_CALL): New macro.
20063         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20064         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20065         PTR_DEMANGLE on vDSO pointer.
20066         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20067         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20068         macro.
20069         (INTERNAL_SYSCALL): Likewise.
20070         (INTERNAL_VSYSCALL_NCS): Remove macro.
20071         (INTERNAL_VSYSCALL_CALL): New macro.
20072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20073         Remove macro.
20074         (INTERNAL_VSYSCALL): Likewise.
20075         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20076         sysdep-vdso.h instead of libc-vdso.h.
20077         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20078         definition.
20079         (INLINE_VSYSCALL): Likewise.
20080         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20081         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20082         definition.
20083         (INLINE_VSYSCALL): Likewise.
20084         (INTERNAL_VSYSCALL): Likewise.
20085         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20086         * sysdeps/unix/sysv/linux/timespec_get.c
20087         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20088         (timespec_get): Use ANSI prototype.
20089         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20090         and definition for Linux.
20092 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20094         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20095         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20097 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20099         [BZ #2981]
20100         [BZ #18410]
20101         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20102         for missing DT_PLTRELSZ.
20104 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20106         Remove obsolete aliases that broke 'locale -a'
20107         [BZ #18412]
20108         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20109         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20110         breaking some applications that use 'locale -a' output.
20111         Change the encoding of this file from Latin-1 to ASCII to avoid
20112         other potential problems with people grepping this file.
20114 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20116         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20117         -fasynchronous-unwind-tables.
20118         (CFLAGS-sendto.c): Likewise.
20119         (CFLAGS-sendmsg.c): Likewise.
20120         (CFLAGS-connect.c): Likewise.
20121         (CFLAGS-recvmsg.c): Likewise.
20122         (CFLAGS-recvfrom.c): Likewise.
20123         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20124         (SOCKETCALL): New macro: non-cancellable socketcall.
20125         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20126         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20127         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20128         * sysdeps/unix/sysv/linux/accept.c: New file.
20129         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20130         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20131         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20132         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20133         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20134         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20135         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20136         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20137         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20138         * sysdeps/unix/sysv/linux/send.c: Likewise.
20139         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20140         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20141         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20142         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20143         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20144         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20145         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20146         prototype.
20147         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20148         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20149         instead of __internal_xxx function.
20150         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20151         prototype.
20152         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20153         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20154         instead of __internal_xxx function.
20155         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20156         prototype.
20157         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20158         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20159         instead of __internal_xxx function.
20160         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20161         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20162         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20163         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20164         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20165         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20166         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20167         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20168         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20169         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20170         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20171         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20172         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20173         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20174         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20175         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20176         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20177         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20178         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20179         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20182         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20183         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20184         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20185         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20186         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20187         * sysdeps/unix/sysv/linux/send.S: Likewise.
20188         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20189         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20190         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20191         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20192         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20193         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20194         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20195         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20196         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20197         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20198         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20199         socketcall is implemented in GLIBC.
20201 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20203         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20204         (__fma): Ignore uninitialized warnings around packing.
20205         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20206         (__fmaf): Ignore uninitialized warnings around packing.
20207         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20208         (__fmal): Ignore uninitialized warnings around packing.
20210         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20211         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20212         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20213         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20215         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20216         switch statement into default case.
20217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20219         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20220         a conditional in forcing "inexact".
20221         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20222         Likewise.
20224 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20226         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20227         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20228         for each INTERNAL_SYSCALL use.
20230 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20232         [BZ #438]
20233         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20234         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20235         variable.
20237         [BZ #18444]
20238         * string/basename.c (basename): Rename to __basename and define as
20239         weak alias of __basename.  Use libc_hidden_weak.
20240         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20241         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20242         __basename instead of basename.
20243         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20244         Remove variable.
20245         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20247 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20249         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20250         (_IO_JUMPS_FILE_plus): New.
20251         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20252         _IO_CAST_FIELD_ACCESS.
20253         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20254         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20255         * libio/freopen.c (freopen): Likewise.
20256         * libio/freopen64.c (freopen64): Likewise.
20257         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20258         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20259         * libio/iofwide.c (_IO_fwide): Likewise.
20260         * libio/memstream.c (open_memstream): Likewise.
20261         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20262         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20263         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20265 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20267         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20268         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20269         NADJ.
20270         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20271         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20272         NADJ.
20273         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20274         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20275         NADJ.
20277         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20278         (p == 4) case.
20280         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20281         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20282         Remove variable.
20283         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20284         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20285         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20287 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20289         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20290         Adjust jump table label generation macros.
20292 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20294         * stdio-common/vfprintf.c (vfprintf): Move local variables
20295         args_malloced, specs, specs_malloced, and the code after
20296         do_positional to the printf_positional function.
20297         (printf_positional): New function.
20299 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20301         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20302         function.
20303         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20304         STEP4_TABLE, process_arg): Move macro definitions
20305         out of the vfprintf function.  (Cosmetic change only.)
20307 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20309         * benchtests/Makefile (stdio-common-bench): Define.
20310         (benchset): Add stdio-common-bench.
20311         * sprintf-inputs: New file.
20312         * sprintf-source.c: New file.
20314 2015-05-21  Andreas Schwab  <schwab@suse.de>
20316         [BZ #13028]
20317         [BZ #17053]
20318         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20319         of struct __res_state.
20320         * resolv/res_send.c (__libc_res_nsend): Likewise.
20321         (get_nsaddr): New function.
20322         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20323         statp directly.
20325 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20327         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20328         -D_POSIX_C_SOURCE=199506L.
20330         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20332         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20333         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20334         Do not mention otherwise.
20335         [POSIX] (_XOPEN_VERSION): Do not expect.
20336         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20337         [POSIX] (_POSIX2_C_BIND): Likewise.
20338         [POSIX] (_POSIX2_VERSION): Likewise.
20339         [POSIX] (_XOPEN_XPG2): Likewise.
20340         [POSIX] (_XOPEN_XPG3): Likewise.
20341         [POSIX] (_XOPEN_XPG4): Likewise.
20342         [POSIX] (_XOPEN_UNIX): Likewise.
20343         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20344         [POSIX] (_POSIX_BARRIERS): Likewise.
20345         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20346         [POSIX] (_POSIX_CPUTIME): Likewise.
20347         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20348         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20349         [POSIX] (_POSIX_SHELL): Likewise.
20350         [POSIX] (_POSIX_SPAWN): Likewise.
20351         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20352         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20353         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20354         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20355         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20356         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20357         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20358         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20359         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20360         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20361         [POSIX] (_POSIX2_PBS): Likewise.
20362         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20363         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20364         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20365         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20366         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20367         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20368         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20369         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20370         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20371         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20372         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20373         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20374         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20375         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20376         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20377         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20378         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20379         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20380         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20381         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20382         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20383         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20384         [POSIX] (_SC_2_C_BIND): Likewise.
20385         [POSIX] (_SC_2_C_VERSION): Likewise.
20386         [POSIX] (_SC_2_PBS): Likewise.
20387         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20388         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20389         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20390         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20391         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20392         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20393         [POSIX] (_SC_BARRIERS): Likewise.
20394         [POSIX] (_SC_BASE): Likewise.
20395         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20396         [POSIX] (_SC_DEVICE_IO): Likewise.
20397         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20398         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20399         [POSIX] (_SC_FD_MGMT): Likewise.
20400         [POSIX] (_SC_FIFO): Likewise.
20401         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20402         [POSIX] (_SC_FILE_LOCKING): Likewise.
20403         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20404         [POSIX] (_SC_IOV_MAX): Likewise.
20405         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20406         [POSIX] (_SC_NETWORKING): Likewise.
20407         [POSIX] (_SC_PAGE_SIZE): Likewise.
20408         [POSIX] (_SC_PASS_MAX): Likewise.
20409         [POSIX] (_SC_PIPE): Likewise.
20410         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20411         [POSIX] (_SC_REGEXP): Likewise.
20412         [POSIX] (_SC_SHELL): Likewise.
20413         [POSIX] (_SC_SIGNALS): Likewise.
20414         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20415         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20416         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20417         [POSIX] (_SC_USER_GROUPS): Likewise.
20418         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20419         [POSIX] (_SC_STREAMS): Likewise.
20420         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20421         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20422         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20423         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20424         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20425         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20426         [POSIX] (_PC_FILESIZEBITS): Likewise.
20427         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20428         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20429         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20430         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20431         [POSIX] (uid_t): Likewise.
20432         [POSIX] (gid_t): Likewise.
20433         [POSIX] (off_t): Likewise.
20434         [POSIX] (pid_t): Likewise.
20435         [POSIX] (cuserid): Allow.
20436         (_SC_2_CHAR_TERM): Require constant.
20437         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20438         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20439         variable.
20441 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20443         * sysdeps/nacl/pthread-pids.h: New file.
20444         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20445         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20447         * nptl/pthread-pids.h: New file.
20448         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20449         * nptl/nptl-init.c: Include <pthread-pids.h>.
20450         (__pthread_initialize_minimal_internal):
20451         Call __pthread_initialize_pids instead of set_tid_address syscall.
20453         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20454         * sysdeps/posix/usleep.c: ... here.
20456 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20458         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20459         call_pselect6 object.
20460         [$(subdir) = io]: Remove call_sync_file_range object.
20461         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20462         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20463         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20464         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20466 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20468         * math/s_cproj.c: Add include "math_private.h".
20469         * math/s_cprojf.c: Likewise.
20470         * math/s_cprojl.c: Likewise.
20472 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20474         [BZ #18244]
20475         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20476         high mantissa bit when testing whether P is a NaN.
20477         * math/libm-test.inc (remainder_test_data): Add more tests.
20478         (remquo_test_data): Likewise.
20480         [BZ #18049]
20481         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20482         below -32, return the argument, with underflow if subnormal.
20483         * math/auto-libm-test-in: Add more tests of atanh.
20484         * math/auto-libm-test-out: Regenerated.
20486 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20488         [BZ #18434]
20489         * nptl/tst-sem15.c: New file.
20490         * nptl/Makefile (tests): Add it.
20491         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20492         s/<</>>/ to fix typo in EOVERFLOW check.
20493         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20495 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20497         * manual/strings.texi (envz_remove): Fix typo in safety
20498         annotations.
20500 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20501             Steve Ellcey  <sellcey@imgtec.com>
20503         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20504         in order to avoid strict alias warnings.
20505         (iruserok_af): Ditto for ra.
20507 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20509         [BZ #17581]
20510         * malloc/hooks.c
20511         (magicbyte): Convert to a function and avoid returning 0x01.
20512         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20513         (mem2chunk_check): Fix unsigned comparisons to zero.
20514         Hoist defs of sz and magic.
20516 2015-05-19  Richard Henderson  <rth@redhat.com>
20518         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20520         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20522 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20524         [BZ #16159]
20525         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20526         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20527         (reused_arena): Find a non-corrupt arena.
20528         (heap_trim): Pass arena to unlink.
20529         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20530         malloc_printerr.
20531         (top_check): Likewise.
20532         (free_check): Likewise.
20533         (realloc_check): Likewise.
20534         * malloc/malloc.c (malloc_printerr): Add arena argument.
20535         (unlink): Likewise.
20536         (munmap_chunk): Adjust.
20537         (ARENA_CORRUPTION_BIT): New macro.
20538         (arena_is_corrupt): Likewise.
20539         (set_arena_corrupt): Likewise.
20540         (sysmalloc): Use mmap if there are no usable arenas.
20541         (_int_malloc): Likewise.
20542         (__libc_malloc): Don't fail if arena_get returns NULL.
20543         (_mid_memalign): Likewise.
20544         (__libc_calloc): Likewise.
20545         (__libc_realloc): Adjust for additional argument to
20546         malloc_printerr.
20547         (_int_free): Likewise.
20548         (malloc_consolidate): Likewise.
20549         (_int_realloc): Likewise.
20550         (_int_memalign): Don't touch corrupt arenas.
20551         * malloc/tst-malloc-backtrace.c: New test case.
20553         * Makefile (summarize-tests): Fix return value on success.
20555         * manual/string.texi (Envz Functions): Add envz_remove.
20557 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20559         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20560         (invalid_name): New function, broken out of ...
20561         (__opendirat): ... here.  Call it.
20562         (need_isdir_precheck): New function, broken out of ...
20563         (__opendirat): ... here.  Call it.
20564         Use __fxstatat64, not __xstatat64.
20565         (opendir_oflags): New function, broken out of ...
20566         (__opendirat): ... here.  Call it.
20567         (opendir_tail): New function, broken out of ...
20568         (__opendirat): ... here.  Call it.
20569         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20570         opendir_tail, rather than punting to __opendirat.
20571         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20573 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20575         * .gitignore: Ignore generated *.pyc.
20577 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20579         * include/stdio.h: Define __need_wint_t.
20580         * test-skeleton.c: Avoid `for' loop initial declaration.
20581         * nptl/tst-initializers1.c: Use test-skeleton.c.
20583 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20585         [BZ #18418]
20586         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20588 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20590         [BZ #16352]
20591         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20592         (__ieee754_atanh): Force underflow exception for results with
20593         small absolute value.
20594         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20595         (__ieee754_atanhf): Force underflow exception for results with
20596         small absolute value.
20597         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20598         (__ieee754_atanh): Force underflow exception for results with
20599         small absolute value.
20600         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20601         (__ieee754_atanhf): Force underflow exception for results with
20602         small absolute value.
20603         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20604         (__ieee754_atanhl): Force underflow exception for results with
20605         small absolute value.
20606         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20607         (__ieee754_atanhl): Force underflow exception for results with
20608         small absolute value.
20609         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20610         (__ieee754_atanhl): Force underflow exception for results with
20611         small absolute value.
20612         * math/auto-libm-test-in: Do not allow missing underflow
20613         exceptions from atanh.
20614         * math/auto-libm-test-out: Regenerated.
20616         [BZ #18221]
20617         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20618         2**-28 as threshold for returning x or +/- 1/x.
20619         * math/auto-libm-test-in: Add more tests of tan.
20620         * math/auto-libm-test-out: Regenerated.
20622         [BZ #18220]
20623         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20624         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20625         * math/auto-libm-test-in: Add another test of lgamma.
20626         * math/auto-libm-test-out: Regenerated.
20628 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20630         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20631         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20632         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20633         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20634         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20635         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20636         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20637         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20638         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20639         (log1): Use fabs.  (my_log2): Use fabs.
20640         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20641         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20642         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20643         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20645         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20646         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20647         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20648         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20649         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20650         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20652 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20654         [BZ #18217]
20655         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20656         as threshold for returning 1 - x.
20657         * math/auto-libm-test-in: Add more tests of erfc.
20658         * math/auto-libm-test-out: Regenerated.
20660 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20662         [BZ #18196]
20663         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20664         threshold for large arguments.
20665         * math/auto-libm-test-in: Add another test of atan.
20666         * math/auto-libm-test-out: Regenerated.
20668         [BZ #16339]
20669         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20670         (__log1p): Force underflow exception for results with small
20671         absolute value.
20672         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20673         (__log1pf): Force underflow exception for results with small
20674         absolute value.
20675         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20676         (__log1p): Force underflow exception for results with small
20677         absolute value.
20678         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20679         (__log1pf): Force underflow exception for results with small
20680         absolute value.
20681         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20682         (__log1pl): Force underflow exception for results with small
20683         absolute value.
20684         * math/auto-libm-test-in: Do not allow missing underflow
20685         exceptions from log1p.
20686         * math/auto-libm-test-out: Regenerated.
20688 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20689             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20691         [BZ #16704]
20692         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20694 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20696         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20697         (libmvec): New variable.
20698         * configure.ac: Added option for mathvec build.
20699         * configure: Regenerated.
20700         * mathvec/Depend: New file.
20701         * mathvec/Makefile: New file.
20702         * shlib-versions: Added libmvec.
20703         * math/Makefile: Added rule for libm.so installation.
20705         * bits/math-vector.h: New file.
20706         * bits/libm-simd-decl-stubs.h: New header.
20707         * math/Makefile (headers): Added new header
20708         libm-simd-decl-stubs.h.
20709         * math/math.h (__MATHCALL_VEC): New macro.
20711         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20712         for conditions in testing functions.
20713         * math/Makefile: Added call of libm-have-vector-test.sh.
20714         * math/libm-test.inc (HAVE_VECTOR): New macros.
20716         * math/libm-test.inc: START refactored.
20717         * math/test-double.c (TEST_MATHVEC): Add define.
20718         * math/test-float.c: Likewise.
20719         * math/test-idouble.c: Likewise.
20720         * math/test-ifloat.c: Likewise.
20721         * math/test-ildoubl.c: Likewise.
20722         * math/test-ldouble.c: Likewise.
20723         * sysdeps/generic/math-tests-arch.h
20724         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20725         architecture check.
20727         * math/test-double.c (FUNC_TEST): New macro.
20728         * math/test-float.c: Likewise.
20729         * math/test-idouble.c: Likewise.
20730         * math/test-ifloat.c: Likewise.
20731         * math/test-ildoubl.c: Likewise.
20732         * math/test-ldouble.c: Likewise.
20733         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20735 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20737         * sysdeps/nacl/fdopendir.c: New file.
20739         * dirent/scandir-tail.c: New file.
20740         * dirent/scandir64-tail.c: New file.
20741         * dirent/Makefile (routines): Add them.
20742         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20743         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20744         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20745         [!SCANDIR] (SCANDIR_TAIL): New macro.
20746         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20747         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20748         (SCANDIRAT): Macro removed.
20749         (SCANDIR_TAIL): New macro.
20750         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20751         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20752         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20753         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20754         (READDIR): Macro removed.
20755         (SCANDIR_TAIL): New macro.
20756         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20757         (SCANDIR_TAIL): New macro.
20759         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20760         * dirent/scandir-cancel.c: ... to this new file.
20761         * dirent/Makefile (routines): Add it.
20762         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20763         * sysdeps/unix/sysv/linux/i386/scandir64.c
20764         (SKIP_SCANDIR_CANCEL): Macro removed.
20765         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20767         * dirent/tst-scandir.c: New file.
20768         * dirent/tst-scandir64.c: New file.
20769         * dirent/Makefile (tests): Add them.
20771 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20773         [BZ #18409]
20774         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20776 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20778         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20779         list.
20781 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20783         * benchtests/bench-strcoll.c: New benchmark.
20784         * benchtests/Makefile: Generate locales and run benchmark.
20785         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20786         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20787         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20788         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20789         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20790         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20791         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20792         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20793         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20794         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20795         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20796         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20797         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20798         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20799         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20800         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20801         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20802         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20803         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20804         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20805         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20806         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20807         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20808         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20810 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20812         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20813         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20815 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20817         * posix/uname-values.h: New file.
20818         * posix/uname.c: Include that instead of <config-name.h>.
20819         * sysdeps/nacl/uname-values.h: New file.
20820         * sysdeps/arm/nacl/uname-values.h: New file.
20822 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20824         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20825         splitting into fields.
20827 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20829         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20830         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20831         * locale/localeinfo.h: Add enum collation_encoding_type.
20832         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20833         * programs/ld-collate.c (collate_output): Add encoding type info.
20834         * string/strcoll_l.c (STRDIFF): New function.
20835         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20836         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20838 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20840         [BZ #18397]
20841         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20842         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20843         <fpu_control.h> instead of <math/fpu_control.c>.
20844         * sysdeps/mips/mips32/fpu/Makefile: New file.
20846 2015-05-11  Andreas Schwab  <schwab@suse.de>
20848         [BZ #18007]
20849         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20850         nss_endgrent.
20851         (_nss_compat_endgrent): Call nss_endgrent.
20852         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20853         nss_endpwent.
20854         (_nss_compat_endpwent): Call nss_endpwent.
20855         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20856         needent, call nss_setspent only if non-zero.
20857         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20858         (internal_endspent): Don't call nss_endspent.
20859         (_nss_compat_endspent): Call nss_endspent.
20860         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20861         Remove.  All uses removed.
20862         (internal_setent): Remove parameter stayopen, add parameter
20863         stream.  Use it instead of global variable.
20864         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20865         (internal_endent, internal_getent): Add parameter stream.  Use it
20866         instead of global variable.
20867         (CONCAT(_nss_files_end,ENTNAME))
20868         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20869         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20870         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20871         uses removed.
20872         (internal_setent, internal_endent): Add parameter stream.  Use it
20873         instead of global variable.
20874         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20875         stream.
20876         (get_next_alias): Add parameter stream.
20877         (_nss_files_getaliasent_r): Pass global stream.
20878         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20879         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20880         (_nss_files_gethostbyname4_r): Pass local stream to
20881         internal_setent, internal_getent and internal_endent.  Remove
20882         locking.
20884 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20886         * tst-strfmon1.c (tests): Update expected currency symbol.
20888 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20890         * sysdeps/nacl/gethostname.c: New file.
20892 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20894         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20895         and sinh.
20896         * math/auto-libm-test-out: Regenerated.
20897         * sysdeps/i386/fpu/libm-test-ulps: Update.
20898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20900 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20902         [BZ #18125]
20903         * stdlib/tst-setcontext3.c: New file.
20904         * stdlib/tst-setcontext3.sh: New file.
20905         * stdlib/Makefile (tests): Add tst-setcontext3.
20906         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20907         to verify test program created output file.
20908         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20909         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20910         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20911         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20913 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20915         [BZ #18383]
20916         * elf/tst-tlsalign.c: New file.
20917         * elf/tst-tlsalign-static.c: New file.
20918         * elf/tst-tlsalign-lib.c: New file.
20919         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20920         (tests-static): Add tst-tlsalign-static.
20921         (modules-names): Add tst-tlsalign-lib.
20922         (test-xfail-tst-tlsalign): New variable.
20923         (test-xfail-tst-tlsalign-static): New variable.
20925         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20926         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20928 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20930         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20931         csqrt, erfc, sin and sincos.
20932         * math/auto-libm-test-out: Regenerated.
20933         * sysdeps/i386/fpu/libm-test-ulps: Update.
20934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20936 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20938         * sysdeps/aarch64/libm-test-ulps: Update.
20940 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20942         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20943         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20944         * math/auto-libm-test-out: Regenerated.
20945         * sysdeps/i386/fpu/libm-test-ulps: Update.
20946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20948 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20950         [BZ #18265]
20951         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20952         (wcsncpy): Likewise.
20954 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20956         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20957         Assume __ASSUME_FALLOCATE is always true.
20958         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20959         (__posix_fallocate64_l64): Likweise.
20960         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20961         (posix_fallocate): Likewise.
20962         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20963         (__posix_fallocate64_l64): Likewise.
20964         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20965         [!__ASSUME_FALLOCATE]: Add comment.
20967 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20969         * sysdeps/unix/sysv/linux/i386/Makefile
20970         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20971         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20972         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20973         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20974         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20975         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20976         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20978 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20980         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20981         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20982         tgamma.
20983         * math/auto-libm-test-out: Regenerated.
20984         * sysdeps/i386/fpu/libm-test-ulps: Update.
20985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20987 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20989         * math/auto-libm-test-in: Add more tests of tgamma.
20990         * math/auto-libm-test-out: Regenerated.
20991         * sysdeps/i386/fpu/libm-test-ulps: Update.
20992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20994         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21005         * math/auto-libm-test-out: Regenerated.
21006         * sysdeps/i386/fpu/libm-test-ulps: Update.
21007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21009         * math/auto-libm-test-in: Add another test of pow.
21010         * math/auto-libm-test-out: Regenerated.
21011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21013         * math/auto-libm-test-in: Add more tests of lgamma.
21014         * math/auto-libm-test-out: Regenerated.
21015         * sysdeps/i386/fpu/libm-test-ulps: Update.
21016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21019         log1p.
21020         * math/auto-libm-test-out: Regenerated.
21021         * sysdeps/i386/fpu/libm-test-ulps: Update.
21022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21024 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21026         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21027         Elf64_Chdr structs and ELFCOMPRESS constants.
21029 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21031         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21032         expm1.
21033         * math/auto-libm-test-out: Regenerated.
21034         * sysdeps/i386/fpu/libm-test-ulps: Update.
21035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21037         * math/auto-libm-test-in: Add more tests of erf and erfc.
21038         * math/auto-libm-test-out: Regenerated.
21039         * sysdeps/i386/fpu/libm-test-ulps: Update.
21040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21042 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21044         * config.h.in (HAVE_AARCH64_BE): Add.
21046 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21048         * math/auto-libm-test-in: Add more tests of csqrt.
21049         * math/auto-libm-test-out: Regenerated.
21050         * sysdeps/i386/fpu/libm-test-ulps: Update.
21051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21053         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21054         * math/auto-libm-test-out: Regenerated.
21055         * sysdeps/i386/fpu/libm-test-ulps: Update.
21056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21058         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21060 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21062         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21063         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21065         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21066         (euidaccess, eaccess): Define as weak aliases.
21068         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21069         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21070         but __suseconds_t is often 'long int' so some sources assume that
21071         type is being used (e.g. they use %ld to print tv_usec).
21073 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21075         [BZ #18007]
21076         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21077         (CVE-2014-8121)
21078         * nss/tst-nss-getpwent.c: New file.
21079         * nss/Makefile (tests): Add new test.
21081 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21083         [BZ #18346]
21084         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21085         exponents less than 48 as cases where high part of mantissa needs
21086         examining to determine whether argument is integral.
21087         * math/libm-test.inc (round_test_data): Add more tests.
21089 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21091         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21093 2015-04-27  David S. Miller  <davem@davemloft.net>
21095         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21096         __tls_get_addr.
21097         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21099 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21101         [BZ#18333]
21102         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21104 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21106         [BZ#18333]
21107         * time/tzset.c (parse_tzname): Return error on memory allocation
21108         failure.
21109         * test-skeleton.c (struct temp_name_list): Change type of name
21110         member to non-const.
21111         (add_temp_file): Create a copy of the file name.
21112         (delete_temp_files): Deallocate memory.
21113         (create_temp_file): Add comment.
21115 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21117         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21118         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21120 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21122         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21123         * sysdeps/arm/configure: Regenerated.
21125 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21127         [BZ #17715]
21128         * time/tzfile.c (__tzfile_read): Check for large values of
21129         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21130         * time/tzset.c (__tzstring_len): New function, based on the old
21131         __tzstring function.
21132         (__tzstring): Call __tzstring_len.
21133         (parse_tzname): New helper function extracted from
21134         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21135         the input string.
21136         (parse_offset): New helper function extracted from
21137         __tzset_parse_tz.  Replace switch with fallthrough with
21138         initialization before sscanf.
21139         (parse_rule): Likewise.
21140         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21141         new-style function definition.
21142         * timezone/Makefile (tests): Add tst-tzset.
21143         (tst-tzset.out): Dependencies on time zone files.
21144         (tst-tzset-ENV): Set TZDIR.
21145         (testdata/XT%): Copy crafted time zone files.
21146         * timezone/README: Mention crafted time zone files.
21147         * timezone/testdata/XT1, timezone/testdata/XT2,
21148         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21149         files.
21150         * timezone/tst-tzset.c: New test.
21152 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21154         * Makeconfig (+gccwarn): Remove -Winline.
21156 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21158         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21160 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21162         * NEWS: Mention sysconf() cache information support for s390.
21163         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21165 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21167         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21168         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21169         (__nearbyint): Likewise.
21170         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21171         (copysignl): Likewise.
21173 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21175         [BZ #18287]
21176         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21177         based on padding.  (CVE-2015-1781)
21179 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21181         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21182         libc-vdso.h.
21183         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21184         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21185         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21186         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21187         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21188         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21189         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21191         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21192         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21193         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21194         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21195         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21196         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21197         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21198         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21199         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21200         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21201         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21202         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21203         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21204         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21205         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21207 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21209         * stdlib/setenv.c (__add_to_environ):
21210         Dump core quickly if setenv (..., NULL, ...) is called.
21211         This time, do it the right way, and pacify GCC with a pragma.
21213 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21215         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21216         IMAP->l_prev cannot be null, and #if out the code for the contrary
21217         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21218         believe that NS (&_dl_ns[NSID]) could point outside the array.
21220         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21221         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21222         before using NSID as an index.
21224 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21226         [BZ #17825]
21227         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21228         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21229         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21231 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21233         Add preliminary port to Google Native Client on ARM.
21234         * abi-tags (.*-.*-nacl.*): New entry.
21235         * sysdeps/arm/nacl: New directory.
21236         * sysdeps/nacl: New directory.
21238 2015-04-16  David S. Miller  <davem@davemloft.net>
21240         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21241         lowlevellock-futex.h
21243 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21245         * sysdeps/tile/configure.ac: New file.
21246         * sysdeps/tile/configure: Regenerated.
21248 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21250         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21251         conditionals for weak_alias and libc_hidden_weak.
21252         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21253         libc_hidden_weak and weak_alias.
21254         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21255         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21256         and weak_alias for static one.
21258 2015-04-15  David S. Miller  <davem@davemloft.net>
21260         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21262 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21264         [BZ #18206]
21265         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21266           Use signed comparision instead of substraction to avoid
21267           overflow bug.
21268         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21269           Take the sign of ret.
21270         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21271           Do not expect precise return values. Only the sign matters.
21272         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21273         * wcsmbs/test-wcsncmp.c: New File.
21274         * string/test-strncmp.c: Add wcsncmp support.
21276 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21278         [BZ #6792]
21279         * math/w_log1p.c: New file.
21280         * math/w_log1pf.c: Likewise.
21281         * math/w_log1pl.c: Likewise.
21282         * math/Makefile (libm-calls): Add w_log1p.
21283         * math/s_log1pl.c (log1pl): Remove weak_alias.
21284         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21285         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21286         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21287         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21288         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21289         [NO_LONG_DOUBLE] (log1pl): Likewise.
21290         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21291         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21292         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21293         (log1p): Remove long_double_symbol.
21294         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21295         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21296         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21297         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21298         remove weak_alias for corresponding log1p function.
21299         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21300         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21301         * sysdeps/ia64/fpu/w_log1p.c: New file.
21302         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21303         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21304         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21306 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21308         [BZ #18247]
21309         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21310         decimal exponent by 1.
21311         * stdlib/tst-strtod-round-data: Add more tests.
21312         * stdlib/tst-strtod-round.c (tests): Regenerated.
21314 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21316         * math/auto-libm-test-in: Add more tests of clog and clog10.
21317         * math/auto-libm-test-out: Regenerated.
21318         * sysdeps/i386/fpu/libm-test-ulps: Update.
21319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21321 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21323         * Makeconfig (module-cppflags): Exclude all .v.i files.
21324         (skip-module-cppflags): Variable removed.
21326         * configure.ac (libc_config_ok): Initialize before reading
21327         preconfigure scripts, not after.
21328         * configure: Regenerated.
21330         * test-skeleton.c (TIMEOUT): Move #define to top level.
21331         (main): Grok environment variable TEST_DIRECT.  If set, print
21332         test expectation details into that file and then behave as if
21333         given --direct.
21335 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21337         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21338         warning on 32-bit.
21340 2015-04-08  David S. Miller  <davem@davemloft.net>
21342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21344 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21346         * math/auto-libm-test-in: Add more tests of atanh.
21347         * math/auto-libm-test-out: Regenerated.
21348         * sysdeps/i386/fpu/libm-test-ulps: Update.
21349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21351         * math/auto-libm-test-in: Add more tests of atan.
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 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21358         * elf/pldd.c (main): Rewrite to use struct
21359         scratch_buffer instead of extend_alloca.
21360         * elf/pldd-xx.c (find_maps): Likewise.
21361         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21362         <alloca.h>.
21363         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21364         scratch_buffer instead of extend_alloca.
21365         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21366         grp/compat-initgroups.c.
21367         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21368         Rewrite to use struct scratch_buffer instead of extend_alloca.
21369         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21370         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21372 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21374         * math/auto-libm-test-in: Add more tests of cbrt.
21375         * math/auto-libm-test-out: Regenerated.
21376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21378         * math/auto-libm-test-in: Add more tests of cabs.
21379         * math/auto-libm-test-out: Regenerated.
21380         * sysdeps/i386/fpu/libm-test-ulps: Update.
21381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21383         [BZ #18210]
21384         [BZ #18211]
21385         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21386         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21387         computations.
21388         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21389         clog10.
21390         * math/auto-libm-test-out: Regenerated.
21391         * sysdeps/i386/fpu/libm-test-ulps: Update.
21392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21394         [BZ #18197]
21395         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21396         (atan): Set FE_TONEAREST mode for internal computations.
21397         * math/auto-libm-test-in: Add more tests of atan.
21398         * math/auto-libm-test-out: Regenerated.
21400 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21402         [BZ #17930]
21403         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21405 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21407         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21409 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21411         * include/scratch_buffer.h: New file.
21412         * malloc/scratch_buffer_grow.c: Likewise.
21413         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21414         * malloc/scratch_buffer_set_array_size.c: Likewise.
21415         * malloc/tst-scratch_buffer.c: Likewise.
21416         * malloc/Makefile (routines): Add scratch_buffer_grow.
21417         (tests): Add test case.
21418         * malloc/Versions (GLIBC_PRIVATE): Export
21419         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21420         __libc_scratch_buffer_set_array_size.
21422 2015-04-06  Richard Henderson  <rth@redhat.com>
21424         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21425         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21427         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21428         unsigned int before printing.
21430 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21432         [BZ #17596]
21433         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21434         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21436 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21438         * include/libc-internal.h (libc_max_align_t): Define.
21440 2015-04-02  Andreas Schwab  <schwab@suse.de>
21442         [BZ #16850]
21443         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21445 2015-04-02  Mel Gorman  <mgorman@suse.de>
21447         [BZ #17195]
21448         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21449         as well as the main arena.
21451 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21453         [BZ #18185]
21454         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21455         sharing L2 cache to 2 for Silvermont/Knights Landing.
21457 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21459         [BZ #17711]
21460         * config.make.in (have-protected-data): New.
21461         * configure.ac: Check linker support for protected data symbol.
21462         * configure: Regenerated.
21463         * elf/Makefile (modules-names): Add tst-protected1moda and
21464         tst-protected1modb if $(have-protected-data) is yes.
21465         (tests): Add tst-protected1a and tst-protected1b if
21466         $(have-protected-data) is yes.
21467         ($(objpfx)tst-protected1a): New.
21468         ($(objpfx)tst-protected1b): Likewise.
21469         (tst-protected1modb.so-no-z-defs): Likewise.
21470         * elf/tst-protected1a.c: New file.
21471         * elf/tst-protected1b.c: Likewise.
21472         * elf/tst-protected1mod.h: Likewise.
21473         * elf/tst-protected1moda.c: Likewise.
21474         * elf/tst-protected1modb.c: Likewise.
21476 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21478         [BZ #17711]
21479         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21480         indicates it is called from do_lookup_x on relocation against
21481         protected data, skip the data definion in the executable from
21482         copy reloc.
21483         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21484         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21485         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21486         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21487         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21488         otherwise to 0.
21489         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21490         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21491         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21492         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21493         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21494         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21496 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21498         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21499         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21501 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21503         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21504         THREAD_SETMEM_NC.
21505         * sysdeps/x86_64/nptl/tls.h: Ditto.
21507 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21509         * dlfcn/tststatic.c (main): Converted to ...
21510         (do_test): ... this.
21511         (TEST_FUNCTION): New macro.
21512         Include test-skeleton.c.
21514 2015-03-26  Alan Modra  <amodra@gmail.com>
21516         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21517         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21518         zero for undefined weak.
21519         (elf_machine_plt_conflict): Similarly.
21521 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21523         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21524         atanh.
21525         * math/auto-libm-test-out: Regenerated.
21526         * sysdeps/i386/fpu/libm-test-ulps: Update.
21527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21529         * math/auto-libm-test-in: Add another test of asin.
21530         * math/auto-libm-test-out: Regenerated.
21531         * sysdeps/i386/fpu/libm-test-ulps: Update.
21532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21534         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21535         Remove macro.
21536         (LLL_EBX_REG): Likewise.
21537         (LLL_ENTER_KERNEL): Likewise.
21539         * math/auto-libm-test-in: Add more tests of asin.
21540         * math/auto-libm-test-out: Regenerated.
21541         * sysdeps/i386/fpu/libm-test-ulps: Update.
21542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21544         [BZ #18138]
21545         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21546         libc_do_syscall_args): New structure.
21547         (INTERNAL_SYSCALL_MAIN_0): New macro.
21548         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21549         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21550         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21551         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21552         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21553         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21554         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21555         Replace conditional definitions by conditional definitions of ....
21556         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21557         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21558         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21559         (libpthread-sysdep_routines): Add libc-do-syscall.
21560         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21561         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21562         to __NR_futex not 240.
21564 2015-03-25  Alan Modra  <amodra@gmail.com>
21566         * NEWS: Advertise TLS optimization.
21567         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21568         (DT_PPC_NUM): Increment.
21569         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21570         (CHECK_STATIC_TLS): Use here.
21571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21572         TLS descriptors.
21573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21574         * sysdeps/powerpc/dl-tls.c: New file.
21575         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21576         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21577         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21578         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21583 2015-03-25  Alan Modra  <amodra@gmail.com>
21585         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21586         for overlapping .opd entries" to "support...".
21587         * sysdeps/powerpc/powerpc64/configure: Regenerate
21589 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21591         * math/auto-libm-test-in: Add more tests of acos.
21592         * math/auto-libm-test-out: Regenerated.
21593         * sysdeps/i386/fpu/libm-test-ulps: Update.
21594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21596         * math/auto-libm-test-in: Add more tests of expm1.
21597         * math/auto-libm-test-out: Regenerated.
21598         * sysdeps/i386/fpu/libm-test-ulps: Update.
21599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21601 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21603         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21604         * math/auto-libm-test-out: Regenerated.
21605         * sysdeps/i386/fpu/libm-test-ulps: Update.
21606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21608         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21611         * math/auto-libm-test-in: Add more tests of log2.
21612         * math/auto-libm-test-out: Regenerated.
21613         * sysdeps/i386/fpu/libm-test-ulps: Update.
21614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21616 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21618         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21619         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21620         _IO_IS_APPENDING bit in READ_WRITE instead.
21622 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21624         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21625         (__determine_cpumask_size): Replace extend_alloca with a
21626         variable-length array.  Do not treat res == 0 as an error.
21628 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21630         [BZ #18100]
21631         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21632         and integer overflow.
21633         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21634         (main): Add integer overflow tests.
21635         * manual/pattern.texi (Calling Wordexp): Document additional use
21636         for WRDE_SYNTAX.
21638 2015-03-23  Alan Modra  <amodra@gmail.com>
21640         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21641         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21642         and false branch of conditional.
21643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21644         Likewise.
21646 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21648         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21649         libc-modules.h
21650         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21651         unused declaration of _hurd_intr_rpc_msg_in_trap.
21652         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21653         defined instead of whether it is non-zero.
21654         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21655         input constraint instead of both input and output constraint.  Use ecx
21656         clobber instead of %ecx.
21657         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21658         mutex_unlock): Use a statement expression instead of an expression list.
21659         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21660         type to vm_size_t instead of vm_address_t.
21661         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21662         defined instead of whether it is non-zero.
21663         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21664         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21665         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21666         comparisons with mapaddr.
21667         * nscd/nscd-client.h: Include <time.h>.
21668         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21669         9th parameter to __vm_region instead of int.
21670         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21671         * scripts/check-local-headers.sh (exclude): Add device/,
21672         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21673         cthreads.h.
21675 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21677         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21678         to account for alignment padding.
21679         * sysdeps/arm/memmove.S: Likewise.
21681 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21683         * sysdeps/unix/sysv/linux/generic/README: New file.
21685 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21687         [BZ #18138]
21688         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21689         (futex_abstimed_wait)
21690         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21691         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21692         of lll_futex_timed_wait.
21694 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21696         [BZ #17542]
21697         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21699 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21701         [BZ #17090]
21702         [BZ #17620]
21703         [BZ #17621]
21704         [BZ #17628]
21705         * NEWS: Update.
21706         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21707         entries with Static TLS too.  Skip entries past the end of the
21708         allocated DTV, from Alan Modra.
21709         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21710         Static TLS DTV entry set up from...
21711         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21712         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21713         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21714         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21715         for Static TLS.
21716         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21717         that the slot we find is associated with the given map before
21718         using its generation count.
21719         * nptl_db/db_info.c: Include ldsodefs.h.
21720         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21721         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21722         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21723         (link_map::l_tls_offset): New struct field.
21724         (dtv_t::counter): Likewise.
21725         (rtld_global): New struct.
21726         (_rtld_global): New rtld variable.
21727         (dl_tls_dtv_slotinfo_list): New rtld global field.
21728         (dtv_slotinfo_list): New struct.
21729         (dtv_slotinfo): Likewise.
21730         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21731         (td_lookup): Rename to...
21732         (td_mod_lookup): ... this.  Use new mod parameter instead of
21733         LIBPTHREAD_SO.
21734         * nptl_db/td_thr_tlsbase.c: Include link.h.
21735         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21736         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21737         addresses even if the DTV is out of date or missing them.
21738         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21739         index zero-length arrays.
21740         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21741         (td_lookup): Make it a macro implemented in terms of...
21742         (td_mod_lookup): ... this declaration.
21743         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21744         (DB_MAIN_VARIABLE): Likewise.
21746 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21748         [BZ #18134]
21749         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21751 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21753         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21755 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21757         [BZ #18128]
21758         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21759         (atomic_add, atomic_increment_and_test)
21760         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21762 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21764         * stdlib/setenv.c (__add_to_environ):
21765         Dump core quickly if setenv (..., NULL, ...) is called.
21767 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21769         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21770         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21771         all the necessary asm magic in one place.
21772         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21773         using those.
21775 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21777         [BZ #14906]
21778         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21779         traced file mtime. Use consistent log message.
21780         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21781         (register_traced_file): Call install_watches. Always set mtime.
21782         (invalidate_cache): Iterate over all trace files. Call install_watches.
21783         (inotify_check_files): Don't inline. Handle watching parent
21784         directories and configuration file movement in and out.
21785         (handle_inotify_events): New function.
21786         (main_loop_poll): Call handle_inotify_events.
21787         (main_loop_epoll): Likewise.
21788         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21789         (struct traced_file): Use array of inotify fds. Add parent directory,
21790         and basename.
21791         (struct database_dyn): Remove unused file_mtime.
21792         (init_traced_file): New inline function.
21793         (define_traced_file): New macro.
21794         * nss/nss_db/db-init.c: Use define_traced_file.
21795         (_nss_db_init): Use init_traced_file.
21796         * nss/nss_files/files-init.c: Use define_traced_file.
21797         (_nss_files_init): Use init_traced_file.
21799 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21801         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21802         [_LIBC]: Do not include <stdlib.h>.
21803         [!_LIBC] (abort): Remove declaration.
21804         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21805         _FP_STATIC_ASSERT instead of conditionally calling abort.
21806         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21807         (_FP_EXTEND_CNAN): Likewise.
21808         (FP_TRUNC): Likewise.
21809         (__FP_CLZ): Likewise.
21810         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21812 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21814         * manual/string.texi (XPG basename): Fix prototype.
21816 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21818         [BZ #18080]
21819         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21820         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21821         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21822         (__setcontext): Likewise.
21823         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21824         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21825         Call rt_sigprocmask syscall one time to set new signal mask
21826         and retrieve the current signal mask instead of two calls.
21827         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21828         (__swapcontext): Likewise.
21829         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21830         * stdlib/tst-setcontext2.c: New file.
21832 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21834         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21836 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21838         [BZ #18093]
21839         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21840         the wrong size.
21842 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21844         [BZ #18043]
21845         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21847 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21849         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21850         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21851         Remove define.
21852         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21853         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21854         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21855         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21856         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21857         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21858         define.
21859         * nptl_db/td_symbol_list.c (td_lookup): Remove
21860         HAVE_ASM_GLOBAL_DOT_NAME code.
21861         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21862         HAVE_ASM_GLOBAL_DOT_NAME check.
21863         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21864         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21865         (DOT_LABEL): Remove define.
21866         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21867         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21868         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21869         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21870         (__TLS_GET_ADDR): Likewise.
21871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21872         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21874 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21876         [BZ #18111]
21877         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21878         (_FPU_SETCW): Initialize cw from fpsr before storing.
21879         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21880         (fesetexceptflag): Rewrite using fpu_control.h.
21881         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21883 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21885         [BZ #18110]
21886         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21887         asms.
21888         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21890 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21892         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21893         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21894         abort.
21895         (_FP_FMA): Likewise.
21896         (_FP_DIV): Likewise.
21898 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21900         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21901         with 0 in that case.
21902         * Makefile (summarize-tests): New canned sequence, factored out of
21903         commands for targets tests and xtests.  Display summary lines that
21904         don't start with PASS: or XFAIL: rather than ones that do start with
21905         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21906         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21907         do start with ERROR: or FAIL:.
21908         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21909         (except for [$(build-shared) = yes]).
21910         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21911         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21912         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21913         * nptl/Makefile: Revert 2015-03-04 changes.
21914         [$(CXX) empty] (tests-unsupported): New variable.
21915         * debug/Makefile: Likewise.
21917         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21918         gnulib file.  Replace __attribute with __attribute__ throughout.
21920 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21922         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21924 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21926         [BZ #18104]
21927         * math/auto-libm-test-in: Add another test of pow.
21928         * math/auto-libm-test-out: Regenerated.
21930 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21932         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21933         $(config-cflags-nofma).
21935 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21937         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21938         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21939         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21940         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21941         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21942         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21943         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21944         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21945         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21946         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21947         Add comment on closing #endif.
21949 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21951         * posix/wordexp.c (CHAR_IN_SET): New macro.
21952         (parse_param): Use it.
21954 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21956         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21958 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21960         [BZ #18043]
21961         * posix/wordexp.c (parse_param): Fix buffer overflow.
21962         * posix/wordexp-test.c (test_case): Add test case.
21964 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21966         [BZ #18042]
21967         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21968         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21970 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21972         [BZ #18043]
21973         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21974         (do_bz18043): Delete.
21975         (at_page_end): New.
21976         (testit): Refactor to have words at the edge of unreadable page.
21978 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21980         [BZ #16734]
21981         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21982         Cleanup read-only streams as well.
21983         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21985 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21987         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21988         <bits/libc-lockP.h>
21990 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21992         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21993         on [__KERNEL__].
21994         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21995         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21996         * soft-fp/op-common.h (_FP_DECL): Likewise.
21998 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22000         * elf/ifuncdep2.c (global): Replace
22001         __attribute__((visibility("protected"))) with
22002         asm (".protected global").
22003         * elf/ifuncmod1.c (global): Likewise.
22004         * elf/ifuncmod5.c (global): Likewise.
22006 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22008         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22009         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22011 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22013         * manual/install.texi (Configuring and compiling):
22014         Document test-wrapper-env-only.
22015         * INSTALL: Regenerated.
22017 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22019         [BZ #18043]
22020         * posix/wordexp.c (parse_param): Fix buffer overflow.
22021         * posix/wordexp-test.c (do_bz18043): Add test case.
22023 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22025         * time/tst-strptime2.c (do_test): Ensure failing tests are
22026         reported correctly.
22027         * time/tst-strptime3.c (do_test): Likewise.
22029 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22031         Fix aio_error thread-safety.
22032         * sysdeps/pthread/aio_error.c: New file
22033         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22034         synchronization.
22036 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22038         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22039         (group_number, vfprintf): Use it.
22040         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22041         (JUMP, REF): Use it.
22042         (WORK_BUFFER_SIZE): New enum constant.
22043         (process_arg, vfprintf): Use it.
22045 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22047         * manual/errno.texi (Error Messages): Complete example function
22048         by adding missing #define.
22049         (program_invocation_name): Add statement indicating GNU
22050         extension and reference which header file declares the variable.
22051         (program_invocation_short_name): Likewise.
22053 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22055         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22056         compatibility note.
22058 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22060         * Makeconfig (test-wrapper-env-only): New variable.
22061         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22062         then use that with $(test-wrapper-env-only) rather than using
22063         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22065 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22067         [BZ #18082]
22068         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22069         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22070         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22071         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22072         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22073         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22074         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22075         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22076         Likewise.
22077         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22078         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22079         Likewise.
22080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22081         Likewise.
22082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22083         Likewise.
22084         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22085         Likewise.
22086         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22088         Likewise.
22089         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22090         Likewise.
22091         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22092         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22094 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22096         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22097         (ETH_ALEN): New macro.
22098         (struct ether_addr): Use it for length of ether_addr_octet.
22100         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22101         (setdb): Don't call __nss_configure_lookup for "rpc".
22102         (do_test): Don't call test_rpc.
22103         (output_rpcent, test_rpc): Functions moved ...
22104         * sunrpc/test-rpcent.c: ... to this new file.
22105         * sunrpc/Makefile (tests): Add it.
22107         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22108         __xpg_sigpause.
22109         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22110         * nptl/tst-signal6.c: Likewise.
22111         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22112         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22114         * configure.ac (libc_cv_cxx_link_ok): New check.
22115         Reset CXX to empty if it fails to link.
22116         * configure: Regenerated.
22117         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22118         bug-atexit3-lib only if $(CXX) is nonempty.
22119         * nptl/Makefile (tests): Likewise for tst-cancel24.
22120         (tests, tests-static): Likewise for tst-cancel24-static.
22121         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22122         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22123         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22124         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22126 2015-03-04  Andreas Schwab  <schwab@suse.de>
22128         [BZ #17631]
22129         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22130         for non-GCC compilers.
22131         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22132         Likewise.
22134 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22136         [BZ #17776]
22137         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22138         integer before bitwise and assembly operations.
22139         (feclearexcept): Likewise.
22140         * math/test-fenvinline.c: New file.
22141         * math/Makefile: Add test-fenvinline test.
22143 2015-03-03  Alan Modra  <amodra@gmail.com>
22145         [BZ #16512]
22146         * scripts/localplt.awk: Strip off symbol version.
22147         * NEWS: Mention bug fix.
22149 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22151         * sysdeps/pthread/timer_routines.c
22152         (timer_free_list, thread_free_list, thread_active_list): Make static.
22154 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22156         [BZ #17779]
22157         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22158         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22159         Undefine.
22160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22161         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22162         Likewise.
22163         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22164         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22165         Likewise.
22167 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22169         [BZ #18036]
22170         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22171         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22173 2015-03-02  Andreas Schwab  <schwab@suse.de>
22175         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22176         variable name.
22178 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22180         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22181         Return error status.
22183 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22185         [BZ #15969]
22186         * locale/findlocale.c (_nl_find_locale): Introduce const
22187         version of loc_name and drop unsafe type casts.
22189 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22191         * dlfcn/tststatic2.c (main): Converted to ...
22192         (do_test): ... this.
22193         (TEST_FUNCTION): New macro.
22194         Include test-skeleton.c.
22196 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22198         [BZ #17711]
22199         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22200         (tests-pie): Add vismain.
22201         (CFLAGS-vismain.c): New.
22202         * elf/vismain.c: Add comments for PIE requirement.
22204 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22206         [BZ #18046]
22207         [BZ #18047]
22208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22209         0x1p-56L as threshold for just returning the argument.
22210         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22211         0x1p-32L as threshold for just returning the argument.
22212         * math/auto-libm-test-in: Add more tests of atanh.
22213         * math/auto-libm-test-out: Regenerated.
22214         * sysdeps/i386/fpu/libm-test-ulps: Update.
22215         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22217 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22219         * string/bcopy.c (bcopy): Call memmove for performance.
22221 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22223         * string/bzero.c (__bzero): Call memset for performance.
22225 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22227         [BZ #18068]
22228         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22229         to 00100000.
22231 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22233         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22235 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22237         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22238         (__kernel_standard): Use CSTR macro when setting exc.name.
22239         * sysdeps/ieee754/Makefile [$(subdir) = math]
22240         (CFLAGS-k_standard.c): Remove variable.
22242         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22243         setting p and q from "else if" to "else".
22244         (qzero): Likewise.
22245         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22246         (qone): Likewise.
22247         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22248         (qzerof): Likewise.
22249         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22250         (qonef): Likewise.
22251         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22252         (qzero): Likewise.
22253         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22254         (qone): Likewise.
22256         [BZ #18038]
22257         [BZ #18039]
22258         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22259         return pi/2 for arguments below 0x1p-113L.
22260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22261         return pi/2 for arguments below 0x1p-106L.
22262         * math/auto-libm-test-in: Add more tests of acos.
22263         * math/auto-libm-test-out: Regenerated.
22265         [BZ #16351]
22266         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22267         (MO): New macro.
22268         (__ieee754_asin): Force underflow exception for results with small
22269         absolute value.
22270         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22271         (MO): New macro.
22272         (__ieee754_asinf): Force underflow exception for results with
22273         small absolute value.
22274         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22275         (__ieee754_asin): Force underflow exception for results with small
22276         absolute value.
22277         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22278         (__ieee754_asinf): Force underflow exception for results with
22279         small absolute value.
22280         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22281         (__ieee754_asinl): Force underflow exception for results with
22282         small absolute value.
22283         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22284         (__ieee754_asinl): Force underflow exception for results with
22285         small absolute value.
22286         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22287         (__ieee754_asinl): Force underflow exception for results with
22288         small absolute value.
22289         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22290         Include <math.h>.
22291         * math/auto-libm-test-in: Do not mark underflow exceptions as
22292         possibly missing for bug 16351.
22293         * math/auto-libm-test-out: Regenerated.
22295         [BZ #18030]
22296         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22297         of power of 2 down when low part has opposite sign.
22298         * math/libm-test.inc (logb_test_data): Add more tests.
22300 2015-02-26  Andreas Schwab  <schwab@suse.de>
22302         [BZ #18032]
22303         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22304         over collating symbol inside a bracket expression.  Minor cleanup.
22305         * posix/tst-fnmatch3.c (do_test): Add test case.
22307 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22309         [BZ #18029]
22310         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22311         Adjust exponent of power of 2 down when low part has opposite
22312         sign.
22313         * math/libm-test.inc (ilogb_test_data): Add more tests.
22315 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22317         [BZ #15969]
22318         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22319         the previous change.
22321         [BZ #15969]
22322         * locale/findlocale.c (_nl_find_locale): Retry archive search
22323         after alias expansion.
22325 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22327         * iconv/tst-iconv3.c (main): Converted to ...
22328         (do_test): ... this.
22329         (TEST_FUNCTION): New macro.
22330         Include test-skeleton.c.
22332         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22333         (convert): Make function static.
22334         (test_unalign): Likewise.  Add const to argument pointee types.
22335         (main): Replace with static function do_test.
22336         Print "Succeeded." only if RET is zero.
22337         (TEST_FUNCTION): New macro.
22338         Include test-skeleton.c.
22340         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22341         returns a null pointer.
22343 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22345         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22346         to __memcpy_ppc only for static builds.
22348 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22350         [BZ #18020]
22351         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22352         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22353         * math/auto-libm-test-in: Add more tests of asinh.
22354         * math/auto-libm-test-out: Regenerated.
22355         * sysdeps/i386/fpu/libm-test-ulps: Update.
22356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22358 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22360         [BZ #15850]
22361         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22362         and ip6_mtuinfo definitions here.
22363         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22364         in this define too.  Update comment.
22366 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22368         * elf/sprof.c (load_shobj): Tweak error message to match others.
22370 2015-02-24  Kevin Easton  <kevin@guarana.org>
22372         [BZ #16145] (partial fix)
22373         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22374         to reduce lock contention.
22376 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22378         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22379         (struct timex): Update time comment.
22380         (ADJ_SETOFFSET): Define.
22382 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22384         [BZ #18019]
22385         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22386         2**56 not 2**28 as threshold for log (2x) formula.
22387         * math/auto-libm-test-in: Add more tests of acosh.
22388         * math/auto-libm-test-out: Regenerated.
22389         * sysdeps/i386/fpu/libm-test-ulps: Update.
22390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22392 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22394         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22395         parenthesis around the buf assignment.
22396         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22398 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22400         [BZ #16783]
22401         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22402         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22403         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22404         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22405         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22406         * math/libm-test.inc (scalb_test_data): Add more tests.
22408 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22410         [BZ #17916]
22411         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22412         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22414 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22416         [BZ #17523]
22417         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22418         * io/bits/fcntl2.h (open): Use it.
22419         (openat): Likewise.
22420         * io/open.c (__libc_open): Likewise.
22421         * io/open64.c (__libc_open64): Likewise.
22422         * io/open64_2.c (__open64_2): Likewise.
22423         * io/open_2.c (__open_2): Likewise.
22424         * io/openat.c (__openat): Likewise.
22425         * io/openat64.c (__openat64): Likewise.
22426         * io/openat64_2.c (__openat64_2): Likewise.
22427         * io/openat_2.c (__openat_2): Likewise.
22428         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22429         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22430         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22431         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22432         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22433         (__open_nocancel): Likewise.
22434         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22435         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22436         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22438 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22440         [BZ #14841]
22441         * resolv/gethnamaddr.c (getanswer): Skip logging if
22442         RES_USE_DNSSEC is set.
22443         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22445 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22447         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22449 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22451         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22452         201304L, for Unicode 7.
22454 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22456         [BZ #17836]
22457         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22458         shared library.  Add gmon-start.os otherwise.
22459         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22460         $(objpfx)gmon-start.os if builing shared library.
22461         ($(objpfx)g$(static-start-installed-name)): Likewise.
22463 2015-02-23  Andreas Schwab  <schwab@suse.de>
22465         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22467 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22469         [BZ #17269]
22470         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22471         (enlarge_userbuf): Likewise.
22473 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22475         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22476         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22477         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22478         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22480 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22482         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22483         expression inside statement expression.
22485 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22487         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22488         <sysdeps/nptl/lowlevellock.h> and remove macros and
22489         functions that are now defined there.
22490         (SYS_futex): Remove.
22491         (lll_compare_and_swap): Remove.
22492         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22494 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22496         [BZ #17999]
22497         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22498         instead of scandirat.
22499         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22500         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22501         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22502         __scandirat.
22503         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22504         (__scandirat): Declare.  Use libc_hidden_proto.
22505         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22506         Remove variable.
22507         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22509 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22511         [BZ #15319]
22512         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22513         (MO): New macro.
22514         (__ieee754_atan2): For results with small absolute value, force
22515         underflow exception and remove excess range and precision from
22516         return value.
22517         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22518         (MO): New macro.
22519         (__ieee754_atan2f): For results with small absolute value, force
22520         underflow exception and remove excess range and precision from
22521         return value.
22522         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22523         (MO): New macro.
22524         (__atan): For results with small absolute value, force underflow
22525         exception and remove excess range and precision from return value.
22526         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22527         (MO): New macro.
22528         (__atanf): For results with small absolute value, force underflow
22529         exception and remove excess range and precision from return value.
22530         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22531         <math.h>.
22532         (__ieee754_atan2): Force underflow exception for results with
22533         small absolute value.
22534         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22535         <math_private.h>.
22536         (atan): Force underflow exception for results with small absolute
22537         value.
22538         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22539         (__atanf): Force underflow exception for results with small
22540         absolute value.
22541         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22542         <math.h>.
22543         (__atanl): Force underflow exception for results with small
22544         absolute value.
22545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22546         (__atanl): Force underflow exception for results with small
22547         absolute value.
22548         * sysdeps/x86/fpu/bits/mathinline.h
22549         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22550         (__ieee754_atan2): Only define inline for long double.
22551         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22552         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22553         * math/auto-libm-test-in: Do not mark underflow exceptions as
22554         possibly missing for bug 15319.  Add more tests of atan2.
22555         * math/auto-libm-test-out: Regenerated.
22556         * math/libm-test.inc (casin_test_data): Do not mark underflow
22557         exceptions as possibly missing for bug 15319.
22558         (casinh_test_data): Likewise.
22559         * sysdeps/i386/fpu/libm-test-ulps: Update.
22561 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22563         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22564         * sysdeps/mips/bits/endian.h: Fix comments.
22566 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22568         [BZ #17996]
22569         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22570         (hdestroy_r): Likewise.
22571         (hsearch_r): Likewise.
22572         (__hcreate_r): Declare and use libc_hidden_proto.
22573         (__hdestroy_r): Likewise.
22574         (__hsearch_r): Likewise.
22575         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22576         (hcreate): Call __hcreate_r instead of hcreate_r.
22577         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22578         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22579         as weak alias of __hcreate_r.
22580         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22581         __hdestroy_r.
22582         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22583         __hsearch_r.
22584         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22585         Remove variable.
22586         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22587         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22588         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22589         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22591 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22593         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22594         arena_lock into a single arena_get.
22596 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22598         * dl-reloc.c: Inlucde libc-internal.h.
22599         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22600         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22601         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22602         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22603         (grow_heap): Likewise.
22604         * malloc/malloc.c: Include libc-internal.h.
22605         (do_check_malloc): Call powerof2.
22606         (sysmalloc): Use pagesize. Call ALIGN_UP.
22607         (systrim): Use pagesize.
22608         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22609         (__libc_valloc): Use pagesize.
22610         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22612 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22614         [BZ #17991]
22615         * include/sys/resource.h (__getrlimit64): Declare.  Use
22616         libc_hidden_proto.
22617         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22618         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22619         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22620         getrlimit64.
22621         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22622         __getrlimit64.
22623         [!getrlimit64] (getrlimit64): Define as weak alias of
22624         __getrlimit64.  Use libc_hidden_weak.
22625         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22626         using __getrlimit64 not __new_getrlimit64.
22627         (__GI_getrlimit64): Likewise.
22628         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22629         Likewise.
22630         (__GI_getrlimit64): Likewise.
22631         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22633         (getrlimit): Add __getrlimit64 alias.
22634         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22635         Likewise.
22636         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22637         Remove variable.
22638         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22639         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22641 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22643         * libio/fileops.c: Add missing sys/mman.h
22644         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22646 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22648         * manual/math.texi (Errors in Math Functions): Clarify goals
22649         regarding inexact and underflow exceptions.
22651 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22653         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22654         * sysdeps/mips/memset.S: Ditto.
22656 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22658         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22660 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22662         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22663         (__v1longjmp): Remove versioned symbol.
22664         (__v1siglongjmp): Remove alias and versioned symbol.
22665         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22666         (__v2siglongjmp): Likewise.
22668 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22670         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22672 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22674         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22676 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22678         [BZ #17987]
22679         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22680         zero result does not depend on the sign resulting from
22681         subtraction.
22682         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22683         Likewise.
22684         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22685         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22686         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22687         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22688         * math/libm-test.inc (remquo_test_data): Add more tests.
22690 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22692         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22693         Problem reported by J William Piggott.
22695 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22697         [BZ #17978]
22698         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22699         products 4 * y and 2 * y where those would overflow.
22700         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22701         Likewise.
22702         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22703         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22704         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22705         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22706         * math/libm-test.inc (remquo_test_data): Add more tests.
22708         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22710         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22711         [defined _COMPILING_NEWLIB].
22712         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22713         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22715         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22716         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22718 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22720         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22721         acquired.
22723 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22725         [BZ #17792]
22726         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22727         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22728         HOST_STACK_END_ADDR): Likewise.
22730 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22732         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22733         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22734         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22736 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22738         * sysdeps/generic/c++-types.data: New file.
22739         * sysdeps/generic/ld.abilist: New file.
22740         * sysdeps/generic/libBrokenLocale.abilist: New file.
22741         * sysdeps/generic/libanl.abilist: New file.
22742         * sysdeps/generic/libc.abilist: New file.
22743         * sysdeps/generic/libcrypt.abilist: New file.
22744         * sysdeps/generic/libdl.abilist: New file.
22745         * sysdeps/generic/libm.abilist: New file.
22746         * sysdeps/generic/libpthread.abilist: New file.
22747         * sysdeps/generic/libresolv.abilist: New file.
22748         * sysdeps/generic/librt.abilist: New file.
22750 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22752         [BZ #17569]
22753         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22754         Compute absolute value of x as modified by fmod, not original
22755         value of x.
22756         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22757         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22758         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22759         RUN_TEST_ffI_f1_mod8.
22760         (remquo_test_data): Add more tests.
22762 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22764         * sysdeps/init_array/pt-crti.S: New file.
22766 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22768         [BZ #17967]
22769         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22770         __builtin_fmaf instead of relying on contraction of a * b + c.
22772 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22774         [BZ #17969]
22775         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22776         node.
22778 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22780         [BZ #17964]
22781         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22782         __builtin_fma instead of relying on contraction of a * b + c.
22784 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22786         * Makeconfig (ASFLAGS): Add -Werror=undef.
22787         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22788         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22789         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22791         * Makeconfig (after-link): New variable.
22792         (+link-pie, +link-pie-tests): Use it.
22793         (+link-static, +link-static-tests): Likewise.
22794         (+link, +link-tests): Likewise.
22795         * Makerules (build-module, build-module-asneeded): Likewise.
22796         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22797         Likewise.
22798         * elf/Makefile ($(objpfx)ld.so): Likewise.
22800 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22802         [BZ #17965]
22803         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22804         both struct timeval and struct timespec.
22806 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22808         [BZ #16560]
22809         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22810         and redefine.
22811         (__ieee754_exp2l): Do not multiply small fractional parts by
22812         M_LN2l.
22813         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22814         small argument.
22815         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22816         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22817         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22818         * math/auto-libm-test-in: Add more tests of exp2.
22819         * math/auto-libm-test-out: Regenerated.
22821 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22823         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22824         unaligned path.
22826 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22828         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22829         little endian.
22831 2015-02-12  Andreas Schwab  <schwab@suse.de>
22833         [BZ #15790]
22834         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22835         Filter out elision flags from value returned in kind.
22836         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22837         * nptl/tst-pthread-mutexattr.c: New file.
22839 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22841         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22842         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22843         into gnu-gnu, and update comment to refer to abi-tags.
22845 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22847         [BZ #15467]
22848         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22849         (__sincos): Set errno to EDOM for infinite argument.
22850         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22851         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22852         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22853         (__sincosl): Set errno to EDOM for infinite argument.
22854         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22855         (__sincosl): Set errno to EDOM for infinite argument.
22856         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22857         (__sincosl): Set errno to EDOM for infinite argument.
22858         * math/libm-test.inc (sincos_test_data): Test errno setting.
22860 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22862         * string/strxfrm_l.c: Remove #define STRCMP.
22863         * string/strcoll_l.c: Remove #define STRLEN.
22864         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22865         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22867 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22869         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22870         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22871         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22872         * sysdeps/mips/mips64/Makefile: ... here.
22873         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22874         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22875         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22876         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22877         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22878         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22879         * sysdeps/mips/mips64/n64/Implies: Likewise.
22881 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22883         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22884         <sys/time.h>, <string.h>, and <errno.h>.
22885         (dest_offset, dest_address, value, zero): Remove unused variables.
22886         (ldouble): Remove typedef.
22887         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22888         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22889         1).  Fix code style.
22890         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22891         (check): Function removed.
22892         (CHECK): New macro.
22893         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22894         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22895         Don't call set_sigaction_FP and remove_sigaction_FP here.
22896         (ldouble_test): Just use 'long double' as macro argument, no need for
22897         the 'ldouble' typedef.
22898         (do_test): Set up SIGFPE handler at start, using plain signal rather
22899         than sigaction.  Fix code style.
22901 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22903         [BZ #17949]
22904         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22905         jump label.
22907 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22909         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22910         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22912         * sysdeps/powerpc/configure.ac: Remove file.
22913         * sysdeps/powerpc/configure: Likewise.
22915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22916         [sysdep_routines]: Remove wordcopy-power6 object.
22917         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22918         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22919         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22920         (__memmove_ppc32): Likewise.
22921         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22922         file.
22923         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22924         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22925         Remove preprocessor.
22927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22928         [sysdep_routines]: Remove wide chars objects.
22929         [wcsmbs]: New rule for wide char objects.
22931         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22932         Remove wordcopy-power6 obejct.
22933         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22934         Use local call for wordcopy and memcpy symbols.
22935         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22936         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22937         implementation for loader.
22938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22941         Remove wordcopy-power7 object.
22942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22943         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22944         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22945         (_wordcopy_fwd_dest_aligned): Likewise.
22946         (_wordcopy_bwd_aligned): Likewise.
22947         (_wordcopy_bwd_dest_aligned): Likewise.
22949         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22950         Rewrite to call __memmove_ppc instead of include default
22951         implementation.
22953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22954         Remove wide chars objects.
22955         [wcsmbs]: New rule for wide char objects.
22957 2015-02-09  Andreas Schwab  <schwab@suse.de>
22959         [BZ #17912]
22960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22961         in terms of __O_DIRECTORY.
22963 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22965         * time/getdate.c: Include <stdbool.h>.
22966         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22967         call PTR_MANGLE.
22968         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22969         PTR_DEMANGLE.
22971 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22973         Add ersatz _Static_assert on older C hosts
22974         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22975         pre-C11 C platform that is not known to support _Static_assert.
22977 2015-02-07  Richard Braun  <rbraun@sceen.net>
22979         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22980         sigstate.
22981         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22983 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22985         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22986         priority against unexistent AIO_PRIO_DELTA_MAX.
22987         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22988         instead of int.
22989         * misc/fchflags.c (fchflags): Likewise.
22990         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22991         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22992         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22993         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22994         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22995         Declare macros.
22996         [__USE_MISC] (chflags, fchflags): Declare functions.
22997         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22998         EINVAL when nfds is greater than FD_SETSIZE.
22999         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23000         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23001         45.
23002         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23003         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23004         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23005         MACH_RCV_TIMED_OUT.
23006         * hurd/hurd/signal.h (_hurd_self_sigstate,
23007         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23008         Explicit casts from void *.
23009         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23010         * abi-tags: Rename gnu-gnu os into gnu.
23012         [BZ #4719]
23013         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23014         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23015         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23016         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23017         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23018         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23020         [BZ #17944]
23021         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23022         duplicates ADDR->sun_path with sockaddr LEN limitation.
23023         * sysdeps/mach/hurd/connect.c: Include <string.h>
23024         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23025         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23026         * sysdeps/mach/hurd/sendto.c: Likewise.
23027         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23028         implementing it by hand.
23030 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23032         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23033         Use sfi_breg on ldr.
23034         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23035         Likewise.
23037         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23038         it's defined.
23039         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23040         Test SIGSETXID only if it's defined.
23042         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23044         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23045         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23047         * nptl/tst-align2.c: Moved ...
23048         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23049         * nptl/Makefile (tests): Remove tst-align2.
23050         * sysdeps/unix/sysv/linux/Makefile
23051         [$(subdir) = nptl] (tests): Add tst-align-clone.
23052         * nptl/tst-getpid1.c: Moved ...
23053         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23054         * nptl/tst-getpid2.c: Moved ...
23055         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23056         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23057         * sysdeps/unix/sysv/linux/Makefile
23058         [$(subdir) = nptl] (tests): ... here.
23059         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23060         * sysdeps/unix/sysv/linux/Makefile
23061         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23063         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23064         Drop trailing \n from perror argument.  Use return rather than exit.
23066         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23067         on [SA_SIGINFO].
23068         * nptl/tst-cancel21.c (do_test): Likewise.
23069         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23070         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23071         [!SA_SIGINFO]: Make it a stub test.
23073         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23074         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23076         * posix/tst-getlogin.c: Move to ...
23077         * login/tst-getlogin.c: ... here.
23078         * posix/Makefile (tests): Move tst-getlogin to ...
23079         * login/Makefile (tests): ... here.
23081         * libio/tst-atime.c (do_test): Move local variables SV and E
23082         inside [ST_NOATIME] conditional.
23084         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23086         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23088         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23089         (wait_code): New function replaces macro.
23090         Call nanosleep rather than syscall.
23092         * nptl/pt-system.c: Rewritten.  Put everything under
23093         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23094         Use IFUNC to redirect when possible.
23096         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23097         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23098         Use IFUNC to redirect when possible.
23100         * nptl/pt-fork.c: Rewritten.  Put everything under
23101         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23102         Use IFUNC to redirect when possible.
23103         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23105         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23106         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23107         unconditionally nowadays.  This included the only reference to
23108         __vdso_clock_gettime that appears outside libc proper.
23109         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23110         Remove version set (containing only __vdso_clock_gettime).
23111         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23112         Add attribute_hidden.
23113         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23114         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23115         libc_hidden_data_def.
23116         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23117         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23119         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23120         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23121         setrpcent, and getrpcport to ...
23122         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23123         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23124         getrpcbynumber_r, and getrpcent_r to ...
23125         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23126         * inet/getrpcbyname.c: Moved ...
23127         * sunrpc/getrpcbyname.c: ... here.
23128         * inet/getrpcbyname_r.c: Moved ...
23129         * sunrpc/getrpcbyname_r.c: ... here.
23130         * inet/getrpcbynumber.c: Moved ...
23131         * sunrpc/getrpcbynumber.c: ... here.
23132         * inet/getrpcbynumber_r.c: Moved ...
23133         * sunrpc/getrpcbynumber_r.c: ... here.
23134         * inet/getrpcent.c: Moved ...
23135         * sunrpc/getrpcent.c: ... here.
23136         * inet/getrpcent_r.c: Moved ...
23137         * sunrpc/getrpcent_r.c: ... here.
23138         * inet/Makefile (routines): Move those to ...
23139         * sunrpc/Makefile (routines): ... here.
23140         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23141         the $(subdirs) list.
23142         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23143         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23144         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23145         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23147         * elf/Makefile (routines): Include $(all-dl-routines), not just
23148         $(dl-routines).
23149         (rtld-routines): Likewise.  Use = rather than :=.
23150         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23151         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23152         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23153         * sysdeps/arm/Makefile: Likewise.
23154         * sysdeps/i386/Makefile: Likewise.
23155         * sysdeps/x86_64/Makefile: Likewise.
23156         * sysdeps/hppa/Makefile [$(subdir) = elf]
23157         (sysdep_routines, sysdep-rtld-routines): Don't add
23158         $(sysdep-dl-routines) to these.
23159         * sysdeps/ia64/Makefile: Likewise.
23160         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23161         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23162         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23163         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23164         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23165         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23166         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23167         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23168         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23169         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23170         these; sysdep-dl-routines alone is enough.
23172 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23174         [BZ #17932]
23175         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23176         where multiplication results in zero and third argument is finite
23177         and nonzero.
23178         * math/auto-libm-test-in: Add more tests of fma.
23179         * math/auto-libm-test-out: Regenerated.
23181         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23182         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23183         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23184         (_FP_CMP_EQ): Likewise.
23185         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23187         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23188         extra argument CHECK_NAN.  Redefine as wrapper around
23189         _FP_EXTEND_CNAN.
23191 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23193         * version.h (RELEASE): Set to "stable".
23194         (VERSION): Set to "2.21"
23195         * include/features.h (__GLIBC_MINOR__): Set to 21.
23197         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23199 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23200             Paul Eggert  <eggert@cs.ucla.edu>
23202         [BZ #16618]
23203         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23204         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23205         size in bytes. Store needed elements in wpmax. Use needed size
23206         in bytes for extend_alloca.
23208 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23210         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23211         binutls 2.25, and texinfo 5.2.
23212         * INSTALL: Regenerate.
23213         * sysdeps/nios2/configure: Regenerate.
23214         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23215         * manual/contrib.texi: Update.
23216         * po/be.po: Update.
23217         * po/bg.po: Update.
23218         * po/ca.po: Update.
23219         * po/cs.po: Update.
23220         * po/da.po: Update.
23221         * po/de.po: Update.
23222         * po/el.po: Update.
23223         * po/eo.po: Update.
23224         * po/es.po: Update.
23225         * po/fi.po: Update.
23226         * po/fr.po: Update.
23227         * po/gl.po: Update.
23228         * po/hr.po: Update.
23229         * po/hu.po: Update.
23230         * po/ia.po: Update.
23231         * po/id.po: Update.
23232         * po/it.po: Update.
23233         * po/ja.po: Update.
23234         * po/ko.po: Update.
23235         * po/lt.po: Update.
23236         * po/nb.po: Update.
23237         * po/nl.po: Update.
23238         * po/pl.po: Update.
23239         * po/pt_BR.po: Update.
23240         * po/ru.po: Update.
23241         * po/rw.po: Update.
23242         * po/sk.po: Update.
23243         * po/sl.po: Update.
23244         * po/sv.po: Update.
23245         * po/tr.po: Update.
23246         * po/uk.po: Update.
23247         * po/vi.po: Update.
23248         * po/zh_CN.po: Update.
23249         * po/zh_TW.po: Update.
23251         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23252         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23253         * sysdeps/hppa/dl-irel.h: Remove #warning.
23254         * sysdeps/hppa/entry.h: Provide prototype for
23255         __canonicalize_funcptr_for_compare and cast argument.
23256         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23257         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23258         * sysdeps/hppa/sotruss-lib.c: New file.
23259         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23260         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23261         (atomic_compare_and_exchange_bool_acq): Likewise.
23262         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23263         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23265         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23266         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23267         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23269 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23271         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23272         called function in non-PIC case.
23274 2015-01-31  David S. Miller  <davem@davemloft.net>
23276         * sysdeps/sparc/sparc32/bits/atomic.h
23277         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23278         unlock not after it.
23279         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23280         volatile register usage warnings from the compiler.
23282         * sysdeps/sparc/nptl/sem_init.c: Delete.
23283         * sysdeps/sparc/nptl/sem_post.c: Delete.
23284         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23285         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23286         * sysdeps/sparc/sparc32/sem_init.c: New file.
23287         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23288         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23289         padding explicitly initialized.
23290         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23291         padding for in-semaphore spinlock.
23292         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23293         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23294         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23295         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23296         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23297         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23298         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23299         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23300         version.
23301         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23302         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23304 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23306         [BZ #17801]
23307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23308         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23309         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23310         New.
23311         (index_AVX_Fast_Unaligned_Load): Likewise.
23312         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23313         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23314         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23315         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23316         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23317         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23318         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23319         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23320         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23322 2015-01-29  Andreas Schwab  <schwab@suse.de>
23324         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23326 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23328         [BZ #17892]
23329         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23331 2015-01-28  Martin Sebor  <msebor@redhat.com>
23333         * math/README.libm-test: Clarify. Add "How to read the test output."
23335 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23337         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23338         Define to 0.
23340 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23342         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23343         (__HAVE_64B_ATOMICS): Define to 0.
23345 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23347         [BZ #17885]
23348         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23349         value to set as new flag.
23351         [BZ #16576]
23352         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23353         and use _ARCH_PPCSQ instead.
23354         (__ieee754_sqrt): Likewise.
23355         (__ieee754_sqrtf): Likewise.
23356         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23357         _ARCH_PPCSQ is defined.
23358         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23359         fsqrt instruction.
23360         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23361         _ARCH_PPCSQ is defined.
23362         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23363         fsqrts instruction.
23364         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23366 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23368         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23369         bug (GCC BZ #64739).
23371 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23373         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23374         Mark _retval as used.
23375         (lll_futex_wake_unlock): Likewise.
23376         (lll_futex_timed_wait_requeue_pi): Likewise.
23378         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23379         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23380         register variables.
23382         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23383         libm_hidden_def.
23385         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23386         (__bswap_64): Mark as __always_inline.
23388 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23390         [BZ #15378]
23391         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23392         when none of the search directories exist.
23394 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23396         [BZ #17869]
23397         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23398         power8 in .machine directive.
23400         [BZ #17868]
23401         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23402         set dependency from opd value.
23404 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23407         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23408         architecture.
23410 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23412         [BZ #17870]
23413         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23414         with uint64_t.
23415         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23416         (uint64_t) 1.
23417         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23418         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23419         Replace 1UL with (uint64_t) 1.
23420         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23421         int with uint64_t.
23423 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23425         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23426         (if_freenameindex): Likewise.
23428         * resource/getrlimit64.c: Add missing libc_hidden_def.
23430 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23432         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23433         __label__.
23434         (_FP_FMA): Likewise.
23435         (_FP_TO_INT_ROUND): Likewise.
23436         (_FP_FROM_INT): Likewise.
23438 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23440         [BZ #16418]
23441         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23442         Make code racy and cancel safe.
23444 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23446         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23447         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23448         attribution.
23450         * pwd/tst-getpw.c: Rewrite.
23452         [BZ #17702]
23453         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23454         (modules-names): Add moddummy1 and moddummy2.
23455         ($(objpfx)tst-rec-dlopen): Define.
23456         * dlfcn/moddummy1.c: New file.
23457         * dlfcn/moddummy2.c: New file.
23458         * dlfcn/tst-rec-dlopen.c: New file.
23459         * elf/dl-cache.c (_dl_load_cache_lookup):
23460         Return char*. Copy result with alloca/strcpy/strdup.
23461         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23462         returns char*. Free cached. If not saving realname
23463         free cached.
23464         * elf/dl-open.c (dl_open_worker): Do not assert that
23465         _r_debug->r_state is RT_CONSISTENT.
23466         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23467         returns char*.
23469 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23470             Carlos O'Donell  <carlos@redhat.com>
23472         [BZ #12674]
23473         * nptl/sem_waitcommon.c: New file.
23474         * nptl/sem_wait.c: Include sem_waitcommon.c.
23475         (__sem_wait_cleanup, do_futex_wait): Remove.
23476         (__new_sem_wait): Adapt.
23477         (__new_sem_trywait): New function.
23478         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23479         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23480         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23481         (sem_timedwait): Adapt.
23482         * nptl/sem_post.c (__new_sem_post): Adapt.
23483         (futex_wake): New function.
23484         (__old_sem_post): Add release MO fence.
23485         * nptl/sem_open.c (sem_open): Adapt.
23486         * nptl/sem_init.c (__new_sem_init): Adapt.
23487         (futex_private_if_supported): New function.
23488         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23489         (__old_sem_getvalue): Add using previous code.
23490         * sysdeps/nptl/internaltypes.h: Adapt.
23491         * nptl/tst-sem13.c (do_test): Adapt.
23492         * nptl/tst-sem11.c (main): Adapt.
23493         * nptl/sem_trywait.c: Remove.
23494         * nptl/DESIGN-sem.txt: Remove.
23495         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23496         (gen-as-const-headers): Remove structsem.sym.
23497         * nptl/structsem.sym: Remove.
23498         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23499         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23500         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23501         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23502         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23503         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23504         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23505         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23506         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23507         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23508         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23509         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23510         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23511         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23512         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23513         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23514         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23515         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23516         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23517         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23518         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23519         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23521 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23523         * INSTALL: Regenerated.
23525         * po/libc.pot: Regenerated.
23527 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23528             Sandra Loosemore  <sandra@codesourcery.com>
23529             Andrew Jenner  <andrew@codesourcery.com>
23530             Joseph Myers  <joseph@codesourcery.com>
23531             Nathan Sidwell  <nathan@codesourcery.com>
23533         * NEWS: Mention new Nios II port.
23534         * sysdeps/nios2/Implies: New file.
23535         * sysdeps/nios2/Makefile: New file.
23536         * sysdeps/nios2/Subdirs: New file.
23537         * sysdeps/nios2/Versions: New file.
23538         * sysdeps/nios2/__longjmp.S: New file.
23539         * sysdeps/nios2/abort-instr.h: New file.
23540         * sysdeps/nios2/backtrace.c: New file.
23541         * sysdeps/nios2/bits/endian.h: New file.
23542         * sysdeps/nios2/bits/fenv.h: New file.
23543         * sysdeps/nios2/bits/link.h: New file.
23544         * sysdeps/nios2/bits/setjmp.h: New file.
23545         * sysdeps/nios2/bsd-_setjmp.S: New file.
23546         * sysdeps/nios2/bsd-setjmp.S: New file.
23547         * sysdeps/nios2/configure: New generated file.
23548         * sysdeps/nios2/configure.ac: New file.
23549         * sysdeps/nios2/crti.S: New file.
23550         * sysdeps/nios2/crtn.S: New file.
23551         * sysdeps/nios2/dl-init.c: New file.
23552         * sysdeps/nios2/dl-machine.h: New file.
23553         * sysdeps/nios2/dl-sysdep.h: New file.
23554         * sysdeps/nios2/dl-tls.h: New file.
23555         * sysdeps/nios2/dl-trampoline.S: New file.
23556         * sysdeps/nios2/gccframe.h: New file.
23557         * sysdeps/nios2/gmp-mparam.h: New file.
23558         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23559         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23560         * sysdeps/nios2/ldsodefs.h: New file.
23561         * sysdeps/nios2/libc-tls.c: New file.
23562         * sysdeps/nios2/libm-test-ulps: New file.
23563         * sysdeps/nios2/machine-gmon.h: New file.
23564         * sysdeps/nios2/math-tests.h: New file.
23565         * sysdeps/nios2/math_private.h: New file.
23566         * sysdeps/nios2/memusage.h: New file.
23567         * sysdeps/nios2/nptl/Makefile: New file.
23568         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23569         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23570         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23571         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23572         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23573         * sysdeps/nios2/nptl/tls.h: New file.
23574         * sysdeps/nios2/preconfigure: New file.
23575         * sysdeps/nios2/s_fma.c: New file.
23576         * sysdeps/nios2/s_fmaf.c: New file.
23577         * sysdeps/nios2/setjmp.S: New file.
23578         * sysdeps/nios2/sfp-machine.h: New file.
23579         * sysdeps/nios2/sotruss-lib.c: New file.
23580         * sysdeps/nios2/stackguard-macros.h: New file.
23581         * sysdeps/nios2/stackinfo.h: New file.
23582         * sysdeps/nios2/start.S: New file.
23583         * sysdeps/nios2/sysdep.h: New file.
23584         * sysdeps/nios2/tls-macros.h: New file.
23585         * sysdeps/nios2/tst-audit.h: New file.
23586         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23587         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23588         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23589         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23590         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23591         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23592         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23593         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23594         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23595         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23596         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23597         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23598         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23599         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23600         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23601         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23602         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23603         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23604         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23605         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23606         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23607         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23608         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23609         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23610         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23611         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23612         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23613         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23614         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23615         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23616         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23617         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23618         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23619         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23620         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23621         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23622         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23623         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23624         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23625         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23626         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23627         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23628         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23629         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23631 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23633         [BZ #17844]
23634         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23635         (getutent): Use weak_alias in non SHARED case
23636         and default_symbol_version in SHARED case.
23637         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23638         (getutent_r, pututline): Likewise.
23639         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23640         (getutid): Likewise.
23641         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23642         (getutid_r): Likewise.
23643         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23644         (getutline): Likewise.
23645         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23646         (getutline_r): Likewise.
23647         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23648         (updwtmp): Likewise.
23650 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23652         [BZ #17848]
23653         * sysdeps/s390/s390-32/memcmp.S
23654         (memcmp_g5): Rename to __memcmp_g5.
23655         * sysdeps/s390/s390-32/memcpy.S
23656         (memcpy_g5): Rename to __memcpy_g5.
23657         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23658         (memcpy_mvcle) Rename to __memcpy_mvcle.
23659         * sysdeps/s390/s390-32/memset.S
23660         (memset_g5): Rename to __memset_g5.
23661         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23662         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23663         and use prefixed functions.
23664         * sysdeps/s390/s390-32/multiarch/memcmp.S
23665         (memcmp_z196): Rename to __memcmp_z196.
23666         (memcmp_z10): Rename to __memcmp_z10.
23667         (memcmp): Set alias to __memcmp_g5.
23668         (bcmp): Set alias to __memcmp_g5.
23669         * sysdeps/s390/s390-32/multiarch/memcpy.S
23670         (memcpy_z196): Rename to __memcpy_z196.
23671         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23672         (memcpy_z10): Rename to __memcpy_z10.
23673         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23674         (memcpy): Set alias to __memcpy_g5.
23675         * sysdeps/s390/s390-32/multiarch/memset.S
23676         (memset_z196): Rename to __memset_z196.
23677         Jump to __memset_mvcle instead of memset_mvcle.
23678         (memset_z10): Rename to __memset_z10.
23679         Jump to __memset_mvcle instead of memset_mvcle.
23680         (memset_mvcle) Rename to __memset_mvcle.
23681         (memset): Set alias to __memset_g5.
23682         * sysdeps/s390/s390-64/memcmp.S
23683         (memcmp_z900): Rename to __memcmp_z900.
23684         * sysdeps/s390/s390-64/memcpy.S
23685         (memcpy_z900): Rename to __memcpy_z900.
23686         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23687         (memcpy_mvcle) Rename to __memcpy_mvcle.
23688         * sysdeps/s390/s390-64/memset.S
23689         (memset_z900): Rename to __memset_z900.
23690         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23691         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23692         and use prefixed functions.
23693         * sysdeps/s390/s390-64/multiarch/memcmp.S
23694         (memcmp_z196): Rename to __memcmp_z196.
23695         (memcmp_z10): Rename to __memcmp_z10.
23696         (memcmp): Set alias to __memcmp_z900.
23697         (bcmp): Set alias to __memcmp_z900.
23698         * sysdeps/s390/s390-64/multiarch/memcpy.S
23699         (memcpy_z196): Rename to __memcpy_z196.
23700         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23701         (memcpy_z10): Rename to __memcpy_z10.
23702         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23703         (memcpy): Set alias to __memcpy_z900.
23704         * sysdeps/s390/s390-64/multiarch/memset.S
23705         (memset_z196): Rename to __memset_z196.
23706         Jump to __memset_mvcle instead of memset_mvcle.
23707         (memset_z10): Rename to __memset_z10.
23708         Jump to __memset_mvcle instead of memset_mvcle.
23709         (memset_mvcle) Rename to __memset_mvcle.
23710         (memset): Set alias to __memset_z900.
23712 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23714         [BZ #17748]
23715         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23716         __fesetenv instead of fesetenv.
23718 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23720         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23721         macro.
23723 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23725         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23726         regression on LE.
23728         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23729         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23731         strncmp-power8 object.
23732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23733         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23734         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23735         * NEWS: Update.
23737 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23738             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23740         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23741         trailing byte check.
23743 2015-01-13  David S. Miller  <davem@davemloft.net>
23745         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23747 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23749         * login/logout.c (logout): Use memset rather than bzero.
23750         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23751         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23752         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23753         (_gethtbyaddr): Likewise.
23754         * locale/programs/simple-hash.c (bcopy): Macro removed.
23756 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23758         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23759         Add strcmp-power8 object.
23760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23761         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23762         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23763         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23764         __strcmp_power8 implementation.
23765         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23766         * NEWS: Update.
23768         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23769         Add strncpy-power8 and stpncpy-power8 objects.
23770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23771         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23772         implementations.
23773         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23775         __stpncpy_power8 implementation.
23776         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23777         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23778         __strncpy_power8 implementation.
23779         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23780         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23781         * NEWS: Update.
23783         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23784         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23785         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23787         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23788         strncat-power8 object.
23789         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23790         __strcat_power8 implementation.
23791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23792         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23793         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23794         optimized strcat for power8.
23796         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23797         strcpy-power8 and stpcpy-power8 objects.
23798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23799         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23800         implementations.
23801         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23802         multiarch stpcpy implementation for POWER8.
23803         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23804         multiarch strcpy implementation for POWER8.
23805         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23806         __strcpy_power8 function.
23807         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23808         stpcpy for POWER8.
23809         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23810         strcpy for POWER8.
23811         * NEWS: Update.
23813 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23815         [BZ #16009]
23816         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23817         weights and rules. Use do_xfrm_cached if data fits in cache,
23818         do_xfrm otherwise.  Moved former main loop to...
23819         * (do_xfrm_cached): New function.
23820         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23821         find_idx, find_position and stack_push.
23822         * (find_idx): New function.
23823         * (find_position): Likewise.
23824         * localedata/sort-test.sh: Added test run for do_xfrm.
23825         * localedata/xfrm-test.c (main): Added command line option
23826         -nocache to run the test with strings that are too large for
23827         the STRXFRM cache.
23829 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23831         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23832         variable to lll_futex_wake call, not the value itself.
23834 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23836         [BZ #17803]
23837         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23838         twom64.  Adjust value to 0x1p-64L.
23839         (__scalblnl): Only return standard underflowing result for K <=
23840         -64 not K <= -63; adjust exponent for underflowing result by 64
23841         not 63.
23842         * math/libm-test.inc (scalbn_test_data): Add more tests.
23843         (scalbln_test_data): Likewise.
23845         [BZ #17834]
23846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23847         0x1p63L.
23848         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23849         not HX.
23850         * math/libm-test.inc (scalbn_test_data): Add more tests.
23851         (scalbln_test_data): Likewise.
23853 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23854             Stefani Seibold  <stefani@seibold.net>
23856         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23857         (sysdep_routines): Add dl-vdso here, ...
23858         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23859         (sysdep_routines): ... not here.
23860         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23861         fallback when vDSO is not presented.
23862         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23863         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23864         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23865         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23866         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23867         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23868         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23869         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23870         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23872         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23873         fallback configurable symbol when vDSO is not available.
23874         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23875         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23876         be able to redefine fallback symbol when vDSO is not available.
23877         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23878         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23880 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23882         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23883         (TLS_INIT_TP): Add tm_capable initialization.
23884         (TLS_DEFINE_INIT_TP): Likewise.
23885         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23886         TCB.
23887         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23888         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23889         calculation.
23890         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23891         transactoion is lock elision is built and TCB tm_capable is set.
23892         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23894         (INTERNAL_SYSCALL_NCS): Likewise.
23895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23896         (INTERNAL_SYSCALL_NCS): Likewise.
23897         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23899         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23900         for powerpc.
23901         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23902         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23903         and remove it for 32 bits case.
23904         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23906         initialization.
23907         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23908         Disable lock elision with rdlocks if elision is not available.
23910         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23911         (sysdep_routines): Add lock elision objects.
23912         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23913         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23914         [pthread_mutex_t] (__elision): Add field.
23915         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23916         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23917         elision definitions for powerpc.
23918         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23919         implementation of lock elision for powerpc.
23920         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23921         implementation of timed lock elision for powerpc.
23922         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23923         implementation of trylock with lock elision for powerpc.
23924         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23925         implementaion of unlock for lock elision for powerpc.
23926         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23927         automatic enable lock elision for mutexes.
23928         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23929         transaction execution definitions for powerpc.
23930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23931         definitions.
23932         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23933         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23934         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23935         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23936         * NEWS: Update.
23938 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23940         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23941         for #include of <shm-directory.h>.
23943 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23945         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23946         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23948 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23950         [BZ #17791]
23951         * NEWS: Mention bug fix.
23952         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23953         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23954         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23956 2015-01-09  Torvald Riegel <triegel@redhat.com>
23958         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23960 2015-01-09  Torvald Riegel <triegel@redhat.com>
23962         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23964 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23966         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23967         pointer and cast to uintptr_t.
23969 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23971         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23972         removed.
23973         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23975 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23977         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23978         of 0.
23980 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23982         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23983         <nptl/pthreadP.h> instead.
23984         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23986         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23987         already defined.
23988         [__SIGRTMIN] (init): Function removed.
23989         [__SIGRTMIN] (initialized): Variable removed.
23990         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23991         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23992         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23993         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23994         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23995         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23996         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23997         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23998         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23999         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24000         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24001         * sysdeps/nptl/allocrtsig.c: New file.
24002         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24003         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24004         * sysdeps/generic/testrtsig.h: File removed.
24006         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24007         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24009         * nptl/nptl-init.c (pthread_functions): Conditionalize
24010         .ptr__nptl_setxid initialization on [SIGSETXID].
24012         * sysdeps/nptl/sys/procfs.h: New file.
24013         * nptl_db/Makefile (headers): Add it.
24014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24016         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24017         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24018         * nptl/pthread_attr_setaffinity.c: Include it.
24019         * nptl/pthread_setattr_default_np.c: Likewise.
24020         * nptl/check-cpuset.h: New file.
24022 2015-01-08  Richard Henderson  <rth@redhat.com>
24024         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24025         (CFLAGS-tst-execstack-prog.c): Likewise.
24026         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24028 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24029             Sandra Loosemore  <sandra@codesourcery.com>
24030             Andrew Jenner  <andrew@codesourcery.com>
24031             Joseph Myers  <joseph@codesourcery.com>
24032             Nathan Sidwell  <nathan@codesourcery.com>
24034         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24035         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24036         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24037         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24038         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24039         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24040         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24041         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24042         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24043         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24044         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24045         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24046         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24047         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24048         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24049         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24050         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24052 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24054         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24055         timespec struct member in syscall macro.
24056         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24057         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24058         first timeval struct member in syscall macro.
24059         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24061 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24063         [BZ #17748]
24064         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24065         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24066         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24067         __feupdateenv and define as weak alias of __feupdateenv.  Use
24068         libm_hidden_weak.
24069         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24070         libm_hidden_def.
24071         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24072         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24073         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24074         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24075         libm_hidden_def.
24076         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24077         __feupdateenv and define as weak alias of __feupdateenv.  Use
24078         libm_hidden_weak.
24079         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24080         libm_hidden_def.
24081         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24082         __feupdateenv and define as weak alias of __feupdateenv.  Use
24083         libm_hidden_weak.
24084         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24085         libm_hidden_def.
24086         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24087         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24088         (__feupdateenv): Likewise.
24089         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24090         __feupdateenv and define as weak alias of __feupdateenv.  Use
24091         libm_hidden_weak.
24092         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24093         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24094         libm_hidden_def.
24095         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24096         function.
24097         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24098         libm_hidden_def.
24099         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24100         __feupdateenv instead of feupdateenv.
24101         (default_libc_feupdateenv_test): Likewise.
24102         (libc_feresetround_ctx): Likewise.
24104 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24106         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24107         prototype.
24109 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24111         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24112         COLL_SYM in a couple of places to avoid uninitialized variable
24113         wanings on tilegx gcc 4.8.2.
24115 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24117         * sysdeps/aarch64/strcpy.S: New file.
24118         * sysdeps/aarch64/stpcpy.S: New file.
24119         * NEWS: Updated.
24121 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24123         * sysdeps/aarch64/strrchr.S: New file.
24124         * NEWS: Updated.
24126 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24128         [BZ #17658]
24129         * stdlib/setenv.c: Fix memory leak when setting large,
24130         duplicate string.
24132 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24134         [BZ #17273]
24135         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24136         and tabs from buffer before parsing fstab entry.
24137         * misc/tst-mntent.c (main): Add test for mount entry with
24138         trailing spaces and tabs.
24140 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #17748]
24143         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24144         * math/fesetround.c (fesetround): Rename to __fesetround and
24145         define as weak alias of __fesetround.  Use libm_hidden_weak.
24146         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24147         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24148         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24149         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24150         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24151         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24152         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24153         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24154         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24155         __fesetround_inline.
24156         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24157         __fesetround_inline instead of __fesetround.
24158         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24159         __fesetround and define as weak alias of __fesetround.  Use
24160         libm_hidden_weak.  Call __fesetround_inline instead of
24161         __fesetround.
24162         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24163         __fesetround and define as weak alias of __fesetround.  Use
24164         libm_hidden_weak.
24165         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24166         Likewise.
24167         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24168         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24169         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24170         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24171         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24172         __fesetround and define as weak alias of __fesetround.  Use
24173         libm_hidden_weak.
24174         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24175         __fesetround instead of fesetround.
24176         (default_libc_feholdexcept_setround): Likewise.
24177         (libc_feholdsetround_ctx): Likewise.
24178         (libc_feholdsetround_noex_ctx): Likewise.
24180         [BZ #17748]
24181         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24182         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24184         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24185         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24186         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24187         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24188         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24189         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24190         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24191         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24192         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24193         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24194         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24195         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24196         libm_hidden_def.
24197         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24198         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24199         Likewise.
24200         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24201         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24202         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24203         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24204         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24205         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24206         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24207         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24208         __fesetenv instead of fesetenv.
24209         (libc_feresetround_noex_ctx): Likewise.
24210         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24211         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24212         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24213         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24214         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24215         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24216         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24217         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24218         (__feupdateenv): Likewise.
24219         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24220         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24221         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24222         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24224 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24226         [BZ #17806]
24227         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24228         addresses have been freed.
24230 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24232         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24233         and nservall.
24235 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24237         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24238         Clean up check_pf allocation pattern. addresses
24240 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24242         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24243         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24244         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24245         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24246         * nptl/pthread_join.c (pthread_join): Likewise.
24247         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24248         * sysdeps/posix/waitid.c (__waitid): Likewise.
24249         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24250         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24251         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24252         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24254         Likewise.
24255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24256         (__libc_pread64): Likewise.
24257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24258         (__libc_pwrite): Likewise.
24259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24260         (__libc_pwrite64): Likewsie.
24261         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24262         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24263         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24264         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24265         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24266         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24267         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24269         Likewise.
24270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24271         (__libc_pread64): Likewise.
24272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24273         Likewise.
24274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24275         (__libc_pwrite64): Likewise.
24276         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24277         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24278         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24279         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24280         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24281         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24282         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24283         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24284         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24285         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24286         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24287         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24288         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24289         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24290         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24291         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24292         Likewise.
24294 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24296         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24297         (CFLAGS-test-double.c): Likewise.
24298         (CFLAGS-test-ldouble.c): Likewise.
24299         (CPPFLAGS-test-ifloat.c): Likewise.
24300         (CPPFLAGS-test-idouble.c): Likewise.
24301         (CPPFLAGS-test-ildoubl.c): Likewise.
24302         (CFLAGS-test-test-fenv.c): Remove variable.
24303         (CFLAGS-test-misc.c): Likewise.
24305 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24307         [BZ #17797]
24308         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24309         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24310         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24311         CLOCKS_PER_SEC == 1000000.
24312         * time/clocktest.c (main): Replace %ld with %jd and cast to
24313         intmax_t.
24315 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24317         * sysdeps/generic/unwind-resume.h: New file.
24318         * sysdeps/gnu/unwind-resume.c: Include it.
24319         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24320         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24321         argument list.
24322         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24323         global rather than static.
24324         (_Unwind_Resume): Update user.
24325         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24326         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24327         rather than static.  Add __attribute__ ((cold)).
24328         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24329         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24330         * sysdeps/arm/arm-unwind-resume.S: New file.
24331         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24332         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24333         * sysdeps/arm/Makefile [$(subdir) = csu]
24334         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24335         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24336         Add rt-arm-unwind-resume.
24337         [$(subdir) = nptl]
24338         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24339         Add pt-arm-unwind-resume.
24340         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24341         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24343 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24345         [BZ #17748]
24346         * include/fenv.h (__feholdexcept): Declare.  Use
24347         libm_hidden_proto.
24348         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24349         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24350         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24351         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24352         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24353         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24354         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24355         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24356         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24357         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24358         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24359         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24360         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24361         (feholdexcept): Likewise.
24362         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24363         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24364         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24365         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24366         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24367         __feholdexcept instead of feholdexcept.
24368         (default_libc_feholdexcept_setround): Likewise.
24370 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24372         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24373         to avoid using stl/str to align destination.
24375 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24377         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24379 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24381         [BZ #17796]
24382         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24383         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24384         Define as weak alias not strong alias.
24386 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24388         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24389         bltzal with addiupc.
24390         (RTLD_START): Ditto.
24392 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24394         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24395         for __vdso_* functions in declarations.
24396         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24397         definitions.
24398         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24399         INTERNAL_VSYSCALL): Use struct return types to check for error.
24401         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24402         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24403         function with cast from llround().
24404         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24405         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24406         Define.
24408 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24410         [BZ #17793]
24411         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24412         Define as weak alias not strong alias.
24414         [BZ #17635]
24415         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24416         ...
24417         * ctype/ctype-extn.c: ... here.
24418         (__isblank_l): Move to ...
24419         * ctype/ctype-c99_l.c: ... here.  New file.
24420         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24421         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24422         Remove variable.
24423         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24424         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24425         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24426         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24427         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24429         [BZ #17777]
24430         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24431         (posix_fadvise64): Define as weak alias not strong alias.
24432         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24433         (posix_fallocate64): Likewise.
24434         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24435         Remove variable.
24436         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24437         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24438         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24439         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24440         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24442 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24444         [BZ #16191]
24445         * NEWS: Mention bug fix.
24446         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24447         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24448         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24449         (HOST_STACK_END_ADDR): Likewise.
24451 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24453         [BZ #17748]
24454         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24455         * math/fegetround.c (fegetround): Rename to __fegetround and
24456         define as weak alias of __fegetround.  Use libm_hidden_weak.
24457         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24458         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24459         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24460         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24461         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24462         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24463         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24464         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24465         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24466         Undefine after rather than before function definition; use
24467         parentheses around function name in definition.
24468         (__fegetround): Also undefine macro after function definition.
24469         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24470         __fegetround and define as weak alias of __fegetround.  Use
24471         libm_hidden_weak.  Do not undefine as macro.
24472         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24473         Likewise.
24474         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24475         __fegetround and define as weak alias of __fegetround.  Use
24476         libm_hidden_weak.
24477         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24478         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24479         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24480         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24481         __fegetround and define as weak alias of __fegetround.  Use
24482         libm_hidden_weak.
24483         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24484         __fegetround instead of fegetround.
24486         [BZ #17782]
24487         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24488         Condition macro definition on [__USE_MISC].
24490         [BZ #17781]
24491         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24492         (struct sigaction): Change type of sa_flags field to int.
24494         [BZ #17780]
24495         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24496         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24497         __glibc_reserved0.
24499         * nptl/version.c (banner): Use single year in copyright notice.
24501         * NEWS: Update copyright dates.
24502         * catgets/gencat.c (print_version): Likewise.
24503         * csu/version.c (banner): Likewise.
24504         * debug/catchsegv.sh: Likewise.
24505         * debug/pcprofiledump.c (print_version): Likewise.
24506         * debug/xtrace.sh (do_version): Likewise.
24507         * elf/ldconfig.c (print_version): Likewise.
24508         * elf/ldd.bash.in: Likewise.
24509         * elf/pldd.c (print_version): Likewise.
24510         * elf/sotruss.sh: Likewise.
24511         * elf/sprof.c (print_version): Likewise.
24512         * iconv/iconv_prog.c (print_version): Likewise.
24513         * iconv/iconvconfig.c (print_version): Likewise.
24514         * locale/programs/locale.c (print_version): Likewise.
24515         * locale/programs/localedef.c (print_version): Likewise.
24516         * login/programs/pt_chown.c (print_version): Likewise.
24517         * malloc/memusage.sh (do_version): Likewise.
24518         * malloc/memusagestat.c (print_version): Likewise.
24519         * malloc/mtrace.pl: Likewise.
24520         * manual/libc.texinfo: Likewise.
24521         * nptl/version.c (banner): Likewise.
24522         * nscd/nscd.c (print_version): Likewise.
24523         * nss/getent.c (print_version): Likewise.
24524         * nss/makedb.c (print_version): Likewise.
24525         * posix/getconf.c (main): Likewise.
24526         * scripts/test-installation.pl: Likewise.
24527         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24529 2015-01-02  Will Newton  <will.newton@linaro.org>
24531         * sysdeps/arm/armv7/configure: Removed.
24532         * sysdeps/arm/armv7/configure.ac: Likewise.
24534 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24536         * All files with FSF copyright notices: Update copyright dates
24537         using scripts/update-copyrights.
24538         * intl/plural.c: Regenerated.
24539         * locale/programs/charmap-kw.h: Likewise.
24540         * locale/programs/locfile-kw.h: Likewise.
24542 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24544         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24546 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24548         [BZ #17748]
24549         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24550         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24551         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24552         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24553         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24554         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24555         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24556         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24557         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24558         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24559         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24560         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24561         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24562         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24563         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24564         libm_hidden_def.
24565         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24566         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24567         Likewise.
24568         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24569         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24570         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24571         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24572         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24573         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24574         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24575         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24576         __fegetenv instead of fegetenv.
24577         (libc_feholdsetround_noex_ctx): Likewise.
24579 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24581         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24582         (Elf_MIPS_ABIFlags_v0): New structure.
24583         (EF_MIPS_FP64): Define.
24584         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24585         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24586         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24587         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24588         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24589         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24590         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24591         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24592         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24593         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24594         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24595         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24596         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24597         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24598         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24599         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24600         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24601         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24602         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24603         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24604         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24605         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24606         field.
24607         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24608         EF_MIPS_FP64.
24609         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24610         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24611         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24612         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24613         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24614         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24615         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24616         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24617         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24618         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24619         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24620         record the current FP ABI extension.
24621         (mips-mode-switch): Define to show if kernel headers support mode
24622         switching.
24623         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24624         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24625         supported SYSV ABI version to 3.
24626         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24627         feature.
24629 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24630             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24632         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24633         path.
24634         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24636 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24638         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24639         __fegetround and redefine to call __fegetround.  Remove condition
24640         on [!__NO_MATH_INLINES].
24641         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24642         function.
24643         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24644         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24645         Remove macro.
24646         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24647         instead of <fenv_libc.h>.
24648         (__llrintl): Call fegetround instead of __fegetround.
24649         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24650         instead of <fenv_libc.h>.
24651         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24652         (__lrintl): Call fegetround instead of __fegetround.
24653         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24654         instead of <fenv_libc.h>.
24655         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24656         (__rintl): Call fegetround instead of __fegetround.
24658 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24660         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24661         arrays.
24663 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24665         [BZ #17775]
24666         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24667         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24668         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24670 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24672         * sysdeps/i386/tls-macros.h: Include <features.h>.
24673         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24674         (TLS_IE): Likewise.
24675         (TLS_LD): Likewise.
24676         (TLS_GD): Likewise.
24677         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24678         define for GCC >= 5.0.
24680 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24682         * math/test-fenv.c (test_single_exception, set_single_exc,
24683         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24684         feexcp_mask_test, feenable_test, fe_single_test): Add
24685         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24686         case where they are not used.
24687         * math/libm-test.inc: Likewise.
24688         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24689         unused in the absence of FP rounding/exception support.
24690         * stdio-common/tst-printf-round.c: Likewise.
24691         * stdlib/tst-strtod-round.c: Likewise.
24692         * stdlib/tst-strtod-underflow.c: Likewise.
24694 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24696         [BZ #17723]
24697         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24698         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24699         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24700         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24701         libm_hidden_weak.
24702         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24703         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24704         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24705         libm_hidden_def.
24706         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24707         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24708         libm_hidden_weak.
24709         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24710         Likewise.
24711         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24712         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24713         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24714         libm_hidden_weak.
24715         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24716         libm_hidden_def.
24717         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24718         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24719         (__feraiseexcept): Likewise.
24720         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24721         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24722         libm_hidden_weak.
24723         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24724         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24725         libm_hidden_def.
24726         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24727         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24728         Use libm_hidden_def.
24729         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24730         libm_hidden_def.
24731         (feraiseexcept): Define as weak not strong alias.  Use
24732         libm_hidden_weak.
24733         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24734         New inline function.  Factored out of ...
24735         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24736         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24737         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24738         feraiseexcept.
24739         * math/w_acos.c (__acos): Likewise.
24740         * math/w_asin.c (__asin): Likewise.
24741         * math/w_ilogb.c (__ilogb): Likewise.
24742         * math/w_j0.c (y0): Likewise.
24743         * math/w_j1.c (y1): Likewise.
24744         * math/w_jn.c (yn): Likewise.
24745         * math/w_log.c (__log): Likewise.
24746         * math/w_log10.c (__log10): Likewise.
24747         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24748         * sysdeps/aarch64/fpu/math_private.h
24749         (libc_feupdateenv_test_aarch64): Likewise.
24750         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24751         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24752         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24753         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24754         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24755         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24756         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24757         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24758         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24759         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24761 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24763         [BZ #17732]
24764         * io/test-utime.c (main): Replace %ld with %jd and cast to
24765         intmax_t.
24766         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24767         * nptl/tst-mutex5.c: Include <stdint.h>.
24768         (do_test): Replace %ld with %jd and cast to intmax_t.
24769         * posix/tst-regex.c (run_test): Likewise.
24770         (run_test_backwards): Likewise.
24771         * rt/tst-clock.c: Include <stdint.h>.
24772         (clock_test): Replace %ld with %jd and cast to intmax_t.
24773         * rt/tst-cpuclock1.c: Include <stdint.h>.
24774         (do_test): Replace %lu with %ju and cast to uintmax_t.
24775         * rt/tst-cpuclock2.c: Include <stdint.h>.
24776         (do_test): Replace %lu with %ju and cast to uintmax_t.
24777         * rt/tst-mqueue1.c: Include <stdint.h>.
24778         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24779         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24780         intmax_t.
24781         * rt/tst-mqueue4.c (do_test): Likewise.
24782         * rt/tst-timer4.c: Include <stdint.h>.
24783         (check_ts): Replace %ld with %jd and cast to intmax_t.
24784         (do_test): Likewise.
24785         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24786         and cast to intmax_t.
24787         * sysdeps/pthread/tst-timer.c (main): Likewise.
24788         * time/clocktest.c (main): Likewise.
24789         * time/tst-posixtz.c (do_test): Likewise.
24790         * timezone/tst-timezone.c (main): Likewise.
24792 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24793             H.J. Lu  <hongjiu.lu@intel.com>
24795         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24796         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24797         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24798         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24799         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24800         version if bit_Fast_Unaligned_Load is set.
24801         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24802         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24803         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24804         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24805         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24806         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24808         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24809         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24810         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24811         to 4.
24812         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24813         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24814         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24815         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24817 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24819         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24820         instead of #if to avoid a Wundef warning.
24821         * stdlib/tst-limits.c (do_test): Likewise.
24823         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24824         parallel other exception macros.
24825         (fegetenv): Convert from macro to extern inline so that it applies
24826         retroactively to inline functions already seen by the compiler.
24827         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24829         * posix/Makefile (before-compile): Use $(objpfx) for
24830         posix-conf-vars-def.h.
24832 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24834         * posix/getconf.c (main): Use size_t for type of I.
24835         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24836         NSPEC.
24838         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24839         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24840         * posix/posix-envs.def: Likewise.
24841         * sysdeps/posix/sysconf.c: Likewise.
24842         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24843         (specs): Remove array.
24844         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24845         array.
24847         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24848         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24849         (__sysconf): Use CONF_IS_* macros.
24851         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24852         ($(objpfx)posix-conf-vars-def.h): New target.
24853         * posix/posix-conf-vars.list: New file.
24854         * posix/posix-conf-vars.h: New file.
24855         * posix/confstr.c: Include posix-conf-vars.h.
24856         (confstr): Use CONF_IS_* macros.
24857         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24858         CONF_IS_* macros.
24859         * scripts/gen-posix-conf-vars.awk: New file.
24861 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24863         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24864         fegetround): Add no-op macros to avoid linknamespace issues.
24866         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24867         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24869         * sysdeps/unix/sysv/linux/tile/sysdep.h
24870         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24871         assembly-specific section to avoid a redefinition warning.
24873         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24874         long before casting to pointer to avoid a cast warning.
24876 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24878         * sysdeps/tile/tilegx/Implies: New file.
24880 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24882         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24884 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24886         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24888 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24891         not define.
24892         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24893         <kernel-features.h>.
24894         (__utimes) [__NR_utimes]: Make code unconditional.
24895         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24896         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24897         (__ASSUME_UTIMES): Do not undefine.
24898         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24899         (__ASSUME_UTIMES): Likewise.
24900         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24901         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24902         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24903         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24905 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24907         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24909 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24911         [BZ #17747]
24912         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24913         alias to weak alias for j0l, y0l.
24914         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24915         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24917         [BZ #17746]
24918         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24919         conversion.
24921 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24923         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24924         to zero if not already defined.
24926 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24928         [BZ #17724]
24929         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24930         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24931         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24932         (char *) casts added.
24933         * sysdeps/ieee754/k_standardf.c: New file.
24934         * sysdeps/ieee754/k_standardl.c: Likewise.
24935         * math/Makefile (libm-support): Remove k_standard.
24936         (libm-calls): Add k_standard.
24938 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24940         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24941         Optimize to avoid an unnecessary FPCR read.
24943 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24945         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24946         Optimize to reduce FPCR/FPSR accesses.
24948 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24950         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24951         Call libc_fetestexcept_aarch64.
24953 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24955         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24956         Call libc_fesetround_aarch64.
24958 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24960         [BZ #17733]
24961         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24962         (__bind): Do not define as weak alias.
24963         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24964         define.
24965         (__getsockname): Do not define as weak alias.
24967 2014-12-22  Will Newton  <will.newton@linaro.org>
24969         * manual/install.texi: Document that we require bison 2.7
24970         or above.
24971         * INSTALL: Regenerate.
24972         * configure.ac: Use AC_CHECK_PROG_VER instead of
24973         AC_PATH_PROG when checking for bison and check for
24974         version 2.7 or above.
24975         * configure: Regenerate.
24977 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24979         [BZ #17745]
24980         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24981         * sysdeps/tile/ffsll.c (ffsll): To here.
24983         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24985 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24987         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24988         if not defined.
24989         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24990         definition.
24991         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24992         hidden ___tls_get_addr.
24993         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24994         hidden __tls_get_addr.
24995         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24996         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24997         Likewise.
24999 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25001         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25002         _dl_init call.
25004 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25006         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25007         from "call _dl_init@PLT".
25008         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25010 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25012         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25013         guarantees.
25015 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25017         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25019 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25021         [BZ #17744]
25022         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25023         strnlen.
25025 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25027         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25028         of multu on MIPSr6.
25029         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25030         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25031         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25032         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25033         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25035 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25037         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25038         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25039         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25040         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25041         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25042         mips32r6/mips64r6.
25043         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25045 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25047         * string/strncat.c (STRNCAT): Simplify implementation.
25049 2014-12-19  David S. Miller  <davem@davemloft.net>
25051         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25052         access the quad as both a long double and as a series of 4 words.
25054         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25055         link_map->l_info array access.
25057 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25059         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25061         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25062         * math/atest-exp2.c (TIMEOUT): Likewise.
25063         * math/atest-sincos.c (TIMEOUT): Likewise.
25065 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25067         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25068         -Wno-error with -fno-builtin-lround.
25070 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25072         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25073         Contains futex constants and functions moved over from ...
25074         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25075         <lowlevellock-futex.h>.
25076         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25077         (lll_timedwait_tid): Add comments and parentheses around macro
25078         arguments.
25080 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25082         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25083         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25084         (__lll_private_flag): Remove.
25085         (lll_futex_wait): Likewise.
25086         (lll_futex_timed_wait): Likewise.
25087         (lll_futex_wake): Likewise.
25088         (lll_futex_requeue): Likewise.
25089         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25090         (__lll_timedwait_tid): Spell out argument names.
25091         (lll_timedwait_tid): Add comments and parentheses around macro
25092         arguments.
25093         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25094         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25096 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25098         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25099         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25100         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25101         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25102         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25103         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25104         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25105         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25106         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25107         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25108         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25110         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25112         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25113         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25114         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25115         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25116         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25118 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25120         * sysdeps/x86_64/x32/Makefile: New file.
25122 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25124         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25125         1L with (mp_limb_t) 1.
25127 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25129         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25130         * nptl/libc_pthread_init.c: ... here.
25131         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25132         * nptl/register-atfork.c: ... here.
25134         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25135         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25136         Use assert_perror to check its return value.
25137         (__gai_create_helper_thread): Likewise.
25139         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25141         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25143 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25145         [BZ #17725]
25146         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25147         __profil_counter.
25148         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25149         Likewise.
25150         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25151         Likewise.
25152         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25153         Likewise.
25154         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25155         (profil_counter): Likewise.
25156         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25157         (profil_counter): Likewise.
25158         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25159         Likewise.
25160         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25161         Likewise.
25162         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25163         (profil_counter): Likewise.
25164         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25165         Likewise.
25166         [!__profil_counter] (profil_counter): Define as weak alias of
25167         __profil_counter.
25168         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25169         (profil_counter): Rename to __profil_counter.
25170         [!__profil_counter] (profil_counter): Define as weak alias of
25171         __profil_counter.
25172         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25173         (profil_counter): Rename to __profil_counter.
25174         [!__profil_counter] (profil_counter): Define as weak alias of
25175         __profil_counter.
25176         * sysdeps/posix/profil.c: Update comment referring to
25177         profil_counter.
25178         (__profil): Use __profil_counter instead of profil_counter.
25179         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25180         __profil_counter.  Use __profil_counter_ushort and
25181         __profil_counter_uint in definitions.
25182         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25183         instead of profil_counter_uint and profil_counter_ushort.
25185         [BZ #17722]
25186         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25187         define as weak alias of __inet_makeaddr.
25188         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25189         as weak alias of __inet_addr.
25190         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25191         as weak alias of __inet_pton.  Use libc_hidden_weak.
25192         * include/arpa/inet.h (__inet_pton): Declare.  Use
25193         libc_hidden_proto.
25194         (inet_makeaddr): Don't use libc_hidden_proto.
25195         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25196         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25197         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25198         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25199         Remove variable.
25200         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25201         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25203 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25205         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25207 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25209         * stdio-common/bug-vfprintf-nargs.c (do_test):
25210         Cast value to intptr_t to avoid format warning
25211         for usage with PRIdPTR printing macro.
25213 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25215         * libio/tst-widetext.c (do_test):
25216         Use format type %td instead of %Zd for ptrdiff_t
25217         in order to avoid format warning.
25219 2014-12-17  Andreas Schwab  <schwab@suse.de>
25221         * nscd/mem.c (gc): Add size_t cast to match printf format.
25223 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25225         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25226         (init): Apply PTR_MANGLE to pointers before storing them.
25227         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25228         before using them.
25230 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25232         [BZ #17719]
25233         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25234         define as weak alias of __memrchr.
25235         (__memrchr): Do not define as strong alias of memrchr.
25236         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25237         Remove variable.
25238         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25239         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25240         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25242         [BZ #17717]
25243         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25244         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25245         (if_indextoname): Rename to __if_indextoname and define as weak
25246         alias of __if_indextoname.  Use libc_hidden_weak.
25247         (if_freenameindex): Rename to __if_freenameindex and define as
25248         weak alias of __if_freenameindex.
25249         (if_nameindex): Rename to __if_nameindex and define as weak alias
25250         of __if_nameindex.
25251         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25252         __if_nametoindex and define as weak alias of __if_nametoindex.
25253         Use libc_hidden_weak.
25254         (if_freenameindex): Rename to __if_freenameindex and define as
25255         weak alias of __if_freenameindex.
25256         (if_nameindex): Rename to __if_nameindex and define as weak alias
25257         of __if_nameindex.
25258         (if_indextoname): Rename to __if_indextoname and define as weak
25259         alias of __if_indextoname.  Use libc_hidden_weak.
25260         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25261         __if_nametoindex and define as weak alias of __if_nametoindex.
25262         Use libc_hidden_weak.
25263         (if_freenameindex): Rename to __if_freenameindex and define as
25264         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25265         (if_nameindex_netlink): Use __if_freenameindex instead of
25266         if_freenameindex.
25267         (if_nameindex): Rename to __if_nameindex and define as weak alias
25268         of __if_nameindex.  Use libc_hidden_weak.
25269         (if_indextoname): Rename to __if_indextoname and define as weak
25270         alias of __if_indextoname.  Use libc_hidden_weak.
25271         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25272         libc_hidden_proto.
25273         [!_ISOMAC] (__if_freenameindex): Likewise.
25274         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25275         if_nametoindex.
25276         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25277         variable.
25278         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25279         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25280         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25281         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25282         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25283         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25284         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25286         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25287         Remove variable.
25288         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25289         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25291 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25293         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25294         subscript above bounds'
25296         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25297         bounds.
25299 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25301         * libio/tst-fopenloc.c: Use test-skeleton.c.
25303         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25304         (entry): Rename to ITEM.
25305         (do_test, comp): Adjust.
25307         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25309 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25311         * string/tester.c: Include <libc-internal.h>.
25312         (test_memset): Ignore -Wmemset-transposed-args.
25314 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25316         * misc/tst-mntent2.c (do_test): Fix warning.
25318 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25320         * elf/tst-unique4lib.cc(a): Mark as used.
25322 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25324         [BZ #17630]
25325         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25326         names.
25328 2014-12-16  Allan McRae  <allan@archlinux.org>
25330         * stdio-common/Makefile (tests): Re-add bug26.
25332 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25334         [BZ #17657]
25335         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25336         static array.
25338 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25340         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25341         (__lll_lock_wait): Likewise.
25342         (__lll_timedlock_wait): Likewise.
25343         (__lll_timedwait_tid): Likewise.
25344         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25345         (__lll_robust_timedlock_wait): Likewise.
25346         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25347         (lll_cond_trylock): Likewise.
25348         (__lll_lock): Likewise.
25349         (__lll_robust_lock): Likewise.
25350         (__lll_cond_lock): Likewise.
25351         (lll_robust_cond_lock): Likewise.
25352         (__lll_timedlock): Likewise.
25353         (__lll_robust_timedlock): Likewise.
25354         (__lll_unlock): Likewise.
25355         (__lll_robust_unlock): Likewise.
25356         (lll_wait_tid): Likewise.
25357         (lll_timedwait_tid): Likewise.
25359 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25361         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25363 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25365         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25367 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25369         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25370         * stdio-common/tst-sprintf.c: Likewise.
25372 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25374         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25376 2014-12-15  Jeff Law  <law@redhat.com>
25378         [BZ #16617]
25379         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25380         on the heap.  (CVE-2012-3406)
25381         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25382         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25383         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25385 2014-12-15  Will Newton  <will.newton@linaro.org>
25387         * manual/install.texi: Bump required version of texinfo
25388         to 4.7 from 4.5.
25389         * INSTALL: Regenerated.
25390         * configure.ac: Check for makeinfo version 4.7 and above.
25391         * configure: Regenerated.
25393 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25395         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25396         PREFIX, string constant to insert between directory and name.
25397         * sysdeps/posix/shm_open.c: Update caller.
25398         * sysdeps/posix/shm_unlink.c: Likewise.
25399         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25400         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25401         (SEM_SHM_PREFIX): New macro.
25402         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25403         [$(have-thread-library) = no].
25404         * nptl/Makefile (libpthread-routines): Add shm-directory.
25405         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25406         * sysdeps/nptl/shm-directory.h: New file.
25407         * sysdeps/posix/shm-directory.c
25408         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25409         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25410         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25411         INTERNAL_SYSCALL.
25412         (__where_is_shmfs): Function removed.
25413         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25414         Variables removed.
25415         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25416         Use SHM_GET_NAME.
25417         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25419         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25420         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25421         unconditional for use inside libpthread.
25422         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25424 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25426         * nptl/pthread_getaffinity.c: New file.
25427         * nptl/pthread_setaffinity.c: New file.
25428         * nptl/pthread_getname.c: New file.
25429         * nptl/pthread_setname.c: New file.
25431         * nptl/pthread_create.c (START_THREAD_DEFN)
25432         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25434 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25435             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25437         * resolv/res_send.c (send_vc): Disable warning resplen may
25438         be used uninitialized.
25440 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25442         * nptl/tst-mutex6.c
25443         (ATTR_NULL): New define checks ATTR against NULL.
25444         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25445         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25447 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25449         [BZ #17581]
25450         * malloc/hooks.c
25451         (mem2mem_check): Revert my previous change.
25452         (malloc_check_get_size): Revert my previous change.
25453         (mem2chunk_check): Revert my previous change.
25455 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25457         * sysdeps/posix/shm-directory.c: New file.
25458         * sysdeps/posix/shm-directory.h: New file.
25459         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25460         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25461         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25462         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25463         Transmute EPERM to EACCES.
25464         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25465         from ...
25466         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25467         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25469 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25471         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25472         pointer and cast to uintptr_t.
25473         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25474         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25475         Add cast to avoid warning.
25476         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25478 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25480         * nptl/semaphore.h: Move to ...
25481         * sysdeps/pthread/semaphore.h: ... here.
25482         * Makefile (installed-headers): Change nptl/semaphore.h to
25483         sysdeps/pthread/semaphore.h.
25485 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25487         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25488         generated error format strings.
25490         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25491         -Wformat-extra-args warnings for scanf formats.
25492         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25493         test of zero-length format (duh).
25494         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25495         corner-case scanf format test.
25496         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25497         generated fprintf format string.
25498         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25499         corner-case sprintf format tests.
25500         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25501         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25502         -Wformat-extra-args warnings throughout.
25503         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25504         (CFLAGS-scanf4.c): Likewise.
25505         (CFLAGS-scanf7.c): Likewise.
25506         (CFLAGS-tst-sprintf.c): Likewise.
25507         (CFLAGS-tst-printf.c): Likewise.
25508         (CFLAGS-tst-printfsz.c): Likewise.
25510 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25512         * include/cpio.h: New file.
25513         * include/fmtmsg.h: Likewise.
25515         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25516         corresponding format argument to size_t.
25517         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25518         arguments.
25519         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25520         corresponding format argument to size_t.
25521         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25522         arguments.
25523         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25524         corresponding format argument to size_t.
25525         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25526         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25527         (CFLAGS-tst-mbswcs2.c): Likewise.
25528         (CFLAGS-tst-mbswcs3.c): Likewise.
25529         (CFLAGS-tst-mbswcs4.c): Likewise.
25530         (CFLAGS-tst-mbswcs5.c): Likewise.
25531         (CFLAGS-tst-trans.c): Likewise.
25533 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25535         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25536         rather than assuming they won't contain any '%'s.
25538 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25540         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25541         inhibit_loop_to_libcall to avoid recursive calls.
25542         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25543         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25545 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25547         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25548         prototype.
25550 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25552         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25553         integer value instead of boolean.
25555 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25557         * malloc/malloc.c: Fix powerof2 check.
25559 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25561         * locale/programs/locfile.h (maybe_swap_uint32):
25562         Remove inline and add unused attribute.
25564 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25567         Truncating assembler expression to a .long expression.
25569 2014-12-11  Andreas Schwab  <schwab@suse.de>
25571         * elf/rtld.c (struct map_args): Constify str member.
25572         (do_preload): Constify fname argument.
25574 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25576         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25577         constants definition.
25579 2014-12-11  Andreas Schwab  <schwab@suse.de>
25581         [BZ #16657]
25582         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25583         FORCE_ELISION instead of DO_ELISION.
25584         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25585         Remove.
25586         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25587         Likewise.
25589         * iconvdata/gconv-modules: Remove duplicate entry.
25591 2014-12-11  Will Newton  <will.newton@linaro.org>
25593         Merge gettext 0.19.3 into intl/.
25595         This involves a number of cosmetic changes to comments
25596         and ANSI function definitions and prototypes throughout
25597         all the files. The gettext copyright header is used but
25598         with the date ranges taken from the glibc copy.
25600         * NEWS: Add gettext merge to 2.21.
25601         * intl/bindtextdom.c: Switch to gettext copyright.
25602         Use ANSI definitions and prototypes.
25603         Use gl_* locking primitives rather than __libc_* ones.
25604         Use __builtin_expect rather than __glibc_likely/unlikely.
25605         * intl/dcgettext.c: Switch to gettext copyright.
25606         Use ANSI definitions and prototypes.
25607         * intl/dcigettext.c: Switch to gettext copyright.
25608         Use ANSI definitions and prototypes.
25609         (INTDIV0_RAISES_SIGFPE): New define.
25610         Use gl_* locking primitives rather than __libc_* ones.
25611         Include eval-plural.h instead of plural-eval.c.
25612         Use __builtin_expect rather than __glibc_likely/unlikely.
25613         * intl/dcngettext.c: Switch to gettext copyright.
25614         Use ANSI definitions and prototypes.
25615         * intl/dgettext.c: Likewise.
25616         * intl/dngettext.c: Likewise.
25617         * intl/plural-eval.c: Renamed to...
25618         * intl/eval-plural.h: ...this.
25619         * intl/explodename.c: Switch to gettext copyright.
25620         Use ANSI definitions and prototypes.
25621         (_nl_explode_name): Use strchr instead of __rawmemchr.
25622         * intl/finddomain.c: Switch to gettext copyright.
25623         Use ANSI definitions and prototypes.
25624         Use gl_* locking primitives rather than __libc_* ones.
25625         (_nl_find_domain): Use malloc rather than alloca for
25626         allocation of temporary locale name.
25627         * intl/gettext.c: Switch to gettext copyright.
25628         Use ANSI definitions and prototypes.
25629         * intl/gettextP.h: Switch to gettext copyright.
25630         Use ANSI definitions and prototypes.
25631         Use gl_* locking primitives rather than __libc_* ones.
25632         * intl/gmo.h: Switch to gettext copyright.
25633         (struct sysdep_string): Move struct segment_pair outside of
25634         struct definition.
25635         * intl/hash-string.c: Use ANSI definitions and prototypes.
25636         * intl/hash-string.h: Switch to gettext copyright.
25637         Use ANSI definitions and prototypes.
25638         * intl/l10nflist.c: Switch to gettext copyright.
25639         Use ANSI definitions and prototypes.
25640         (_nl_normalize_codeset): Avoid integer overflow.
25641         * intl/loadinfo.h: Switch to gettext copyright.
25642         Use ANSI definitions and prototypes.
25643         (LIBINTL_DLL_EXPORTED): New define.
25644         (PATH_SEPARATOR): New define.
25645         * intl/loadmsgcat.c: Switch to gettext copyright.
25646         * intl/localealias.c: Switch to gettext copyright.
25647         Use ANSI definitions and prototypes.
25648         (_nl_expand_alias): Use PATH_SEPARATOR.
25649         * intl/ngettext.c: Switch to gettext copyright.
25650         Use ANSI definitions and prototypes.
25651         * intl/plural-exp.c: Likewise.
25652         * intl/plural-exp.h: Switch to gettext copyright.
25653         Use ANSI definitions and prototypes.
25654         (struct expression): Move definition of enum operator outside
25655         of struct definition.
25656         * intl/plural.c: Regenerate.
25657         * intl/plural.y: Switch to gettext copyright.
25658         Use ANSI definitions and prototypes.
25659         Port to bison 3.0.
25660         * intl/textdomain.c: Switch to gettext copyright.
25661         Use ANSI definitions and prototypes.
25662         Use gl_* locking primitives rather than __libc_* ones.
25664 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25666         * debug/warning-nop.c: Add used atrribute.
25668 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25670         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25672         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25673         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25674         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25676 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25677             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25679         [BZ #17634]
25680         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25681         Undefine after defining function.  Define as weak alias of
25682         __wcschr.  Use libc_hidden_weak.
25683         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25684         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25685         (libc_hidden_def): Also define __GI___wcschr alias.
25686         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25687         __wcschr and define as weak alias of __wcschr.
25688         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25689         __wcschr.
25690         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25691         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25692         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25693         libc_hidden_weak.  Do not use libc_hidden_def.
25694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25695         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25696         __GI___wcschr alias.
25697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25698         [IS_IN (libc)] (wcschr): Define as macro expanding to
25699         __redirect_wcschr.
25700         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25701         [IS_IN (libc)] (__wcschr_power6): Likewise.
25702         [IS_IN (libc)] (__wcschr_power7): Likewise.
25703         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25704         instead of wcschr.
25705         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25706         __libc_wcschr.
25707         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25708         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25709         __wcschr and define as weak alias of __wcschr.  Use
25710         libc_hidden_builtin_def.
25711         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25712         as weak alias of __wcschr.  Use libc_hidden_weak.
25713         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25714         wcschr.
25715         * time/era.c (_nl_init_era_entries): Likewise.
25716         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25717         variable.
25718         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25719         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25721 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25723         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25724         format for long int variable.
25726 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25728         [BZ #10672]
25729         * manual/search.texi: (Array Sort Function): Remove claim how to make
25730         qsort stable.
25732 2014-12-10  Andreas Schwab  <schwab@suse.de>
25734         [BZ #12847]
25735         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25736         user-controlled locks.
25738 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25740         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25741         register.
25743 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25745         * configure.ac (--disable-werror): New configure option.
25746         (enable_werror): New AC_SUBST.
25747         * configure: Regenerated.
25748         * config.make.in (enable-werror): New variable.
25749         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25750         -Wno-error=undef.
25751         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25752         * manual/install.texi (Configuring and compiling): Document
25753         --disable-werror.
25754         * INSTALL: Regenerated.
25755         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25756         (CFLAGS-tst-chk2.c): Likewise.
25757         (CFLAGS-tst-chk3.c): Likewise.
25758         (CFLAGS-tst-chk4.cc): Likewise.
25759         (CFLAGS-tst-chk5.cc): Likewise.
25760         (CFLAGS-tst-chk6.cc): Likewise.
25761         (CFLAGS-tst-lfschk1.c): Likewise.
25762         (CFLAGS-tst-lfschk2.c): Likewise.
25763         (CFLAGS-tst-lfschk3.c): Likewise.
25764         (CFLAGS-tst-lfschk4.cc): Likewise.
25765         (CFLAGS-tst-lfschk5.cc): Likewise.
25766         (CFLAGS-tst-lfschk6.cc): Likewise.
25768         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25769         (main): Disable -Wdeprecated-declarations around calls to
25770         register_printf_function.
25772         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25773         (do_test): Disable -Wdiv-by-zero around some calls to
25774         fwrite_unlocked and fread_unlocked.
25776         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25777         (DIAG_POP_NEEDS_COMMENT): Likewise.
25778         (_DIAG_STR1): Likewise.
25779         (_DIAG_STR): Likewise.
25780         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25781         * stdio-common/bug21.c: Include <libc-internal.h>.
25782         (do_test): Disable -Wformat around call to sscanf.
25783         * stdio-common/scanf14.c: Include <libc-internal.h>.
25784         (main): Disable -Wformat around some calls to scanf functions.
25786 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25788         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25790 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25792         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25793         stack variable alignment.
25795 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25797         [BZ #17682]
25798         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25799         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25800         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25801         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25802         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25803         __getrlimit instead of getrlimit.
25804         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25805         __gettimeofday instead of gettimeofday.
25806         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25807         Likewise.
25808         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25809         Likewise.
25810         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25811         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25812         Remove variable.
25813         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25814         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25816 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25818         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25819         for wide-character tests.
25821 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25823         * io/openat64.c: #include <libc-internal.h>
25824         (__openat64): Prototypify.  Use ignore_value on MODE.
25825         * io/openat.c: Likewise.
25826         * misc/reboot.c: #include <libc-internal.h>
25827         (reboot): Prototypify.  Use ignore_value on HOWTO.
25828         * misc/ptrace.c: #include <libc-internal.h>
25829         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25831 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25833         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25834         XPG4, UNIX98 and XOPEN2K.
25835         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25836         Remove variable.
25837         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25839 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25841         * libio/fileops.c: Use ISO C style for function definitions.
25842         * libio/iofopen.c: Likewise.
25843         * libio/wfileops.c: Likewise.
25845         [BZ #17653]
25846         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25847         offset on EOF.
25848         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25849         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25850         (fgets_func): Function pointer to fgets and fgetws.
25851         (do_ftell_test): Add test to verify ftell value after read
25852         EOF.
25853         (do_test): Set fgets_func.
25855         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25856         O_TRUNC flag for w and w+ modes.
25857         (do_rewind_test): Likewise.
25858         (do_ftell_test): Likewise.
25859         (do_write_test): Likewise.
25861         [BZ #17647]
25862         * libio/fileops.c (do_ftell): Seek only when there are
25863         unflushed writes.
25864         * libio/wfileops.c (do_ftell_wide): Likewise.
25865         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25866         test case.
25867         (do_one_test): Call it.
25869 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25871         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25872         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25873         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25874         Remove variable.
25875         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25876         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25877         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25879 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25881         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25882         Remove variable.
25883         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25885         [BZ #17668]
25886         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25887         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25888         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25889         __freeifaddrs.  Use libc_hidden_weak.
25890         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25891         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25892         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25893         __freeifaddrs.  Use libc_hidden_weak.
25894         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25895         __getifaddrs and define as weak alias of __getifaddrs.  Use
25896         libc_hidden_weak.
25897         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25898         __freeifaddrs.  Use libc_hidden_weak.
25899         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25900         Remove variable.
25901         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25902         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25904 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25906         [BZ #17601]
25907         * sysdeps/mips/start.S (__start): Use indirect jump to call
25908         __libc_start_main.
25910 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25912         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25914         * nptl/tst-mutex1.c: Include <stdbool.h>.
25915         [!ATTR] (ATTR_NULL): New macro.
25916         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25917         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25918         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25920         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25921         to char *.
25923         [BZ #17665]
25924         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25925         Change conditional to [__USE_MISC].
25927         [BZ #17664]
25928         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25929         fgets_unlocked.
25930         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25931         __fgets_unlocked.
25932         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25933         fgets_unlocked.
25934         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25935         Remove variable.
25936         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25937         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25938         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25939         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25940         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25941         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25942         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25943         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25944         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25946         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25948 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25950         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25951         Remove strpbrk objects.
25952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25953         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25954         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25955         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25956         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25957         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25960         Remove strcspn objects.
25961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25962         (__libc_ifunc_impl_list): Remove strcspn implementation.
25963         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25964         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25965         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25966         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25968         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25969         Remove strspn objetcs.
25970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25971         (__libc_ifunc_impl_list): Remove strspn implementation.
25972         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25973         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25974         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25975         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25977 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25979         [BZ #17581]
25980         * malloc/hooks.c
25981         (mem2mem_check): Add a terminator to the chain of checking blocks.
25982         (malloc_check_get_size): Use it here.
25983         (mem2chunk_check): Ditto.
25985 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25987         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25988         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25990 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25992         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25994         * nptl/nptl-init.c: Include libc-internal.h.
25995         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25997         * elf/ldconfig.c (search_dir): Expand comment.
25999 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26001         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26002         variable.
26003         (linknamespace-symlist-stdlibs-tests): Likewise.
26004         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26005         instead of $(objpfx)symlist-stdlibs.
26006         (linknamespace-libs-isoc): New variable.
26007         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26008         (linknamespace-libs-ISO): New variable.
26009         (linknamespace-libs-ISO99): Likewise.
26010         (linknamespace-libs-ISO11): Likewise.
26011         (linknamespace-libs-XPG3): Likewise.
26012         (linknamespace-libs-XPG4): Likewise.
26013         (linknamespace-libs-POSIX): Likewise.
26014         (linknamespace-libs-UNIX98): Likewise.
26015         (linknamespace-libs-XOPEN2K): Likewise.
26016         (linknamespace-libs-POSIX2008): Likewise.
26017         (linknamespace-libs-XOPEN2K8): Likewise.
26018         ($(objpfx)symlist-stdlibs): Replace by
26019         $(linknamespace-symlist-stdlibs-tests).  Use
26020         $(linknamespace-libs-$*) as set of libraries.
26021         ($(linknamespace-header-tests)): Update dependencies.  Use
26022         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26023         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26024         * conform/linknamespace.pl: Remove comment about considering
26025         definitions of symbols from irrelevant libraries.
26027 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26029         [BZ #13862]
26030         * elf/dl-tls.c: Include <atomic.h>.
26031         (oom): Remove #ifdef SHARED/#endif.
26032         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26033         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26034         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26035         big enough.
26036         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26037         * nptl/Makefile (tests): Add tst-stack4.
26038         (modules-names): Add tst-stack4mod.
26039         ($(objpfx)tst-stack4): New.
26040         (tst-stack4mod.sos): Likewise.
26041         ($(objpfx)tst-stack4.out): Likewise.
26042         ($(tst-stack4mod.sos)): Likewise.
26043         (clean): Likewise.
26044         * nptl/tst-stack4.c: New file.
26045         * nptl/tst-stack4mod.c: Likewise.
26047 2014-11-27  J. Brown  <jb999@gmx.de>
26049         * sysdeps/x86/bits/string.h: Add recent CPUs.
26051 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26053         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26054         sigblock.
26056         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26057         feof.
26059         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26060         variable.
26062 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26064         * nscd/connections.c: Include libc-internal.h because of macro
26065         usage ignore_value.
26067 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26069         * string/bits/string3.h (__warn_memset_zero_len): Don't
26070         declare for gcc newer than 5.0.
26071         (memset): Don't test for zero-length __LEN for gcc newer than
26072         5.0.
26074 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26076         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26077         size_t for %zu format.
26079         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26080         difference, not %ju.
26082 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26084         * include/libc-internal.h (ignore_value): New macro.
26085         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26086         with ignore_value.
26088         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26089         definition.
26091         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26092         pthread_cleanup_push to void *.
26094         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26095         Undefine.
26097         [BZ #16619]
26098         [BZ #16740]
26099         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26100         instead of 1L << 52.
26102         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26103         * libio/bug-rewind2.c (do_test): Likewise.
26105         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26106         * debug/test-strcpy_chk-ifunc.c: Likewise.
26107         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26108         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26109         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26110         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26111         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26112         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26113         * Rules [$(multi-arch) = no] (tests): Do not filter out
26114         $(tests-ifunc).
26115         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26116         * debug/Makefile (tests-ifunc): Remove variable.
26117         (tests): Do not add $(tests-ifunc).
26118         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26119         (tests): Do not add $(tests-ifunc).
26120         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26121         [TEST_IFUNC]: Remove conditionals.
26122         * string/test-string.h (TEST_IFUNC): Remove macro.
26123         [TEST_IFUNC]: Remove conditionals.
26125         * string/test-strchr.c [!WIDE] (L): New macro.
26126         [WIDE] (L): Likewise.
26127         (check1): Use CHAR instead of char.  Use L on string and character
26128         constants.
26130 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26132         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26133         tests.
26134         * sysdeps/powerpc/bits/atomic.h
26135         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26136         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26137         (atomic_exchange_and_add_acq): Likewise.
26138         (atomic_exchange_and_add_rel): Likewise.
26139         * sysdeps/powerpc/powerpc32/bits/atomic.h
26140         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26141         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26142         * sysdeps/powerpc/powerpc64/bits/atomic.h
26143         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26144         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26146 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26148         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26149         Change synchronization of __sched_fifo_min_prio and
26150         __sched_fifo_max_prio.
26151         * nptl/pthread_mutexattr_getprioceiling.c
26152         (pthread_mutexattr_getprioceiling): Likewise.
26153         * nptl/pthread_mutexattr_setprioceiling.c
26154         (pthread_mutexattr_setprioceiling): Likewise.
26155         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26156         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26157         Likewise.
26159 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26161         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26162         void.
26164 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26166         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26167         third argument const.
26169 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26171         fnmatch: work around GCC compiler warning bug with uninit var
26172         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26173         This works around a bug with x86-64 GCC 4.9.2 and earlier
26174         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26175         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26176         used uninitialized in this function [-Wmaybe-uninitialized]".
26178 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26180         * posix/bug-regex31.c (main): Return RES not 0.
26182 2014-11-25  Anton Blanchard <anton@samba.org>
26184         * sysdeps/powerpc/bits/atomic.h
26185         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26187 2014-11-24  Sterling Augustine  <saugustine@google.com>
26189         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26191 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26193         [BZ #17608]
26194         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26196 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26198         [BZ #17633]
26199         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26200         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26201         variable.
26202         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26203         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26205 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26207         * string/strncpy.c (strncpy): Improve performance by using memset.
26209 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26211         * string/strcpy.c (strcpy):
26212         Improve performance by using strlen and memcpy.
26214 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26216         * string/strcoll_l.c (get_next_seq): __always_inline.
26217         * string/strcoll_l.c (do_compare): __always_inline.
26219 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26221         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26222         defined.
26223         * include/mqueue.h: Likewise.
26224         * include/stdlib.h: Likewise.
26226         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26227         (get_null_defines): Adjust.
26228         * sunrpc/Makefile: Adjust comment.
26229         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26230         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26231         (CFLAGS-interp.c): Likewise.
26232         (CFLAGS-ldconfig.c): Likewise.
26233         (CPPFLAGS-.os): Likewise.
26234         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26235         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26236         * extra-modules.mk (extra-modules.mk): Likewise.
26237         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26238         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26239         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26240         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26241         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26242         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26243         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26244         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26245         * iconvdata/Makefile (CPPFLAGS): Likewise.
26246         (cpp-srcs-left): Add libof for all iconvdata routines.
26247         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26248         * include/assert.h: Likewise.
26249         * include/ctype.h: Likewise.
26250         * include/errno.h: Likewise.
26251         * include/libc-symbols.h: Likewise.
26252         * include/math.h: Likewise.
26253         * include/netdb.h: Likewise.
26254         * include/resolv.h: Likewise.
26255         * include/stdio.h: Likewise.
26256         * include/stdlib.h: Likewise.
26257         * include/string.h: Likewise.
26258         * include/sys/stat.h: Likewise.
26259         * include/wctype.h: Likewise.
26260         * intl/l10nflist.c: Likewise.
26261         * libidn/idn-stub.c: Likewise.
26262         * libio/libioP.h: Likewise.
26263         * nptl/libc_multiple_threads.c: Likewise.
26264         * nptl/pthreadP.h: Likewise.
26265         * posix/regex_internal.h: Likewise.
26266         * resolv/res_hconf.c: Likewise.
26267         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26268         * sysdeps/arm/memmove.S: Likewise.
26269         * sysdeps/arm/sysdep.h: Likewise.
26270         * sysdeps/generic/_itoa.h: Likewise.
26271         * sysdeps/generic/symbol-hacks.h: Likewise.
26272         * sysdeps/gnu/errlist.awk: Likewise.
26273         * sysdeps/gnu/errlist.c: Likewise.
26274         * sysdeps/i386/i586/memcpy.S: Likewise.
26275         * sysdeps/i386/i586/memset.S: Likewise.
26276         * sysdeps/i386/i686/memcpy.S: Likewise.
26277         * sysdeps/i386/i686/memmove.S: Likewise.
26278         * sysdeps/i386/i686/mempcpy.S: Likewise.
26279         * sysdeps/i386/i686/memset.S: Likewise.
26280         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26281         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26282         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26283         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26284         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26286         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26287         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26288         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26289         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26290         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26291         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26292         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26293         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26294         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26295         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26296         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26297         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26298         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26299         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26300         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26301         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26302         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26303         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26304         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26305         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26306         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26307         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26308         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26309         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26310         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26311         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26312         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26313         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26314         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26316         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26317         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26320         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26321         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26322         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26323         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26324         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26325         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26326         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26327         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26328         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26329         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26330         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26331         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26332         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26333         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26334         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26335         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26336         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26337         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26338         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26339         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26340         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26341         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26342         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26343         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26344         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26345         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26346         * sysdeps/posix/closedir.c: Likewise.
26347         * sysdeps/posix/opendir.c: Likewise.
26348         * sysdeps/posix/readdir.c: Likewise.
26349         * sysdeps/posix/rewinddir.c: Likewise.
26350         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26351         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26352         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26353         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26354         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26355         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26361         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26362         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26363         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26364         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26365         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26366         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26367         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26368         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26369         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26370         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26372         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26373         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26374         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26376         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26378         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26385         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26386         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26387         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26388         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26389         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26390         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26391         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26392         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26394         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26395         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26396         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26397         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26398         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26399         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26400         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26401         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26402         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26403         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26404         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26405         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26406         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26407         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26408         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26409         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26410         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26411         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26412         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26413         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26414         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26415         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26416         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26417         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26418         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26419         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26420         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26421         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26422         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26423         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26424         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26425         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26426         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26427         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26428         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26429         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26430         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26431         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26432         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26433         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26434         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26435         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26436         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26437         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26438         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26440         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26441         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26442         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26443         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26446         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26448         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26449         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26450         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26451         * sysdeps/unix/alpha/sysdep.S: Likewise.
26452         * sysdeps/unix/alpha/sysdep.h: Likewise.
26453         * sysdeps/unix/make-syscalls.sh: Likewise.
26454         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26456         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26457         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26458         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26459         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26460         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26461         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26462         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26463         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26465         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26466         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26467         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26468         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26469         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26470         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26471         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26472         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26473         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26474         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26475         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26476         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26477         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26478         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26479         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26480         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26483         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26484         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26485         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26488         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26491         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26492         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26493         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26494         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26495         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26496         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26497         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26498         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26501         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26502         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26504         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26505         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26506         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26507         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26509         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26510         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26512         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26513         * sysdeps/x86_64/memcpy.S: Likewise.
26514         * sysdeps/x86_64/memmove.c: Likewise.
26515         * sysdeps/x86_64/memset.S: Likewise.
26516         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26518         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26519         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26520         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26521         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26522         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26523         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26524         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26525         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26526         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26527         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26528         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26529         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26530         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26531         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26532         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26533         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26534         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26535         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26536         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26537         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26538         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26539         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26540         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26541         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26542         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26543         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26544         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26545         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26546         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26547         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26548         * sysdeps/x86_64/strcmp.S: Likewise.
26550         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26552         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26553         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26554         * elf/rtld-Rules: Likewise.
26555         * elf/setup-vdso.h: Likewise.
26556         * include/assert.h: Likewise.
26557         * include/bits/stdlib-float.h: Likewise.
26558         * include/errno.h: Likewise.
26559         * include/sys/stat.h: Likewise.
26560         * include/unistd.h: Likewise.
26561         * sysdeps/aarch64/setjmp.S: Likewise.
26562         * sysdeps/alpha/setjmp.S: Likewise.
26563         * sysdeps/arm/__longjmp.S: Likewise.
26564         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26565         * sysdeps/arm/setjmp.S: Likewise.
26566         * sysdeps/arm/sysdep.h: Likewise.
26567         * sysdeps/generic/_itoa.h: Likewise.
26568         * sysdeps/generic/dl-sysdep.h: Likewise.
26569         * sysdeps/generic/ldsodefs.h: Likewise.
26570         * sysdeps/i386/dl-tls.h: Likewise.
26571         * sysdeps/i386/setjmp.S: Likewise.
26572         * sysdeps/m68k/setjmp.c: Likewise.
26573         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26574         * sysdeps/mach/hurd/opendir.c: Likewise.
26575         * sysdeps/posix/getcwd.c: Likewise.
26576         * sysdeps/posix/opendir.c: Likewise.
26577         * sysdeps/posix/profil.c: Likewise.
26578         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26579         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26580         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26581         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26582         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26583         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26584         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26585         * sysdeps/s390/dl-tls.h: Likewise.
26586         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26587         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26588         * sysdeps/sh/sh3/setjmp.S: Likewise.
26589         * sysdeps/sh/sh4/setjmp.S: Likewise.
26590         * sysdeps/unix/alpha/sysdep.h: Likewise.
26591         * sysdeps/unix/arm/sysdep.S: Likewise.
26592         * sysdeps/unix/i386/sysdep.S: Likewise.
26593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26594         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26595         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26596         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26598         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26599         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26600         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26601         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26602         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26603         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26604         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26605         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26608         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26611         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26612         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26613         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26614         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26615         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26616         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26617         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26618         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26619         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26620         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26621         * sysdeps/x86_64/setjmp.S: Likewise.
26623         * include/math.h: Use IS_IN instead of IS_IN_libm.
26624         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26625         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26626         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26627         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26628         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26629         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26630         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26631         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26633         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26634         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26635         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26636         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26637         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26638         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26639         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26640         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26641         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26642         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26643         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26644         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26645         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26646         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26647         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26648         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26649         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26650         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26651         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26652         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26653         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26654         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26655         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26656         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26658         Likewise.
26659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26660         Likewise.
26661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26662         Likewise.
26663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26664         Likewise.
26665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26666         Likewise.
26667         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26668         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26669         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26670         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26671         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26672         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26678         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26679         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26680         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26681         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26682         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26683         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26684         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26685         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26686         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26687         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26688         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26689         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26691         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26693         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26695         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26696         * nptl/pthreadP.h: Likewise.
26697         * nptl_db/structs.def: Likewise.
26698         * sysdeps/arm/sysdep.h: Likewise.
26699         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26700         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26701         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26702         * sysdeps/unix/alpha/sysdep.h: Likewise.
26703         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26705         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26706         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26707         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26708         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26709         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26710         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26711         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26712         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26713         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26714         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26715         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26716         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26721         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26724         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26725         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26726         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26727         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26728         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26730         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26731         * nptl/pthreadP.h: Likewise.
26732         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26733         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26734         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26735         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26736         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26737         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26738         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26739         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26740         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26741         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26742         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26743         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26745         Likewise.
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26747         Likewise.
26748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26750         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26751         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26752         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26753         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26754         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26755         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26757         * dlfcn/dladdr.c: Use IS_IN.
26758         * dlfcn/dladdr1.c: Likewise.
26759         * dlfcn/dlclose.c: Likewise.
26760         * dlfcn/dlerror.c: Likewise.
26761         * dlfcn/dlinfo.c: Likewise.
26762         * dlfcn/dlmopen.c: Likewise.
26763         * dlfcn/dlopen.c: Likewise.
26764         * dlfcn/dlsym.c: Likewise.
26765         * dlfcn/dlvsym.c: Likewise.
26767         * include/ifaddrs.h: Use IS_IN.
26768         * inet/check_pf.c: Likewise.
26769         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26770         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26772         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26773         IS_IN_ldconfig.
26774         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26775         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26777         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26778         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26779         IS_IN (libc).
26781         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26783         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26784         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26785         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26786         * include/libc-symbols.h (IS_IN_LIB): New macro.
26787         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26788         * include/netdb.h: Likewise.
26789         * include/stap-probe.h: Remove all uses of IN_LIB.
26791         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26792         instead of IN_MODULE.
26793         * include/libc-symbols.h (IN_MODULE): Define using
26794         MODULE_NAME.
26795         (PASTE_NAME, PASTE_NAME1): New macros.
26796         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26797         of IN_LIB.
26798         (STAP_PROBE_ASM): Likewise.
26800 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26802         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26803         __mach_init in dlopened libc.
26805 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26807         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26808         * sysdeps/arm/preconfigure: Regenerate.
26810 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26812         * nptl/pthread_create.c (__pthread_create_2_1): Set
26813         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26814         when copying values from IATTR into PD.
26816 2014-11-21  Will Newton  <will.newton@linaro.org>
26817             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26819         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26820         Refactor inline-asm.  Also add comment.
26822         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26823         ElfW macro instead of hardcoded Elf64 types.
26824         (la_aarch64_gnu_pltenter): Likewise.
26825         * sysdeps/aarch64/dl-machine.h
26826         (elf_machine_runtime_setup): Use ElfW(Addr).
26828         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26829         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26830         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26831         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26832         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26833         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26834         (R_AARCH64_TLS_DTPMOD): This.
26835         (R_AARCH64_TLS_DTPREL64): Rename to ...
26836         (R_AARCH64_TLS_DTPREL): This.
26837         (R_AARCH64_TLS_TPREL64): Rename to ...
26838         (R_AARCH64_TLS_TPREL): This.
26839         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26840         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26841         R_AARCH64_TLS_TPREL64.
26842         (elf_machine_rela): Likewise.
26844 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26846         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26847         by setting it to 0.  64b atomics are not supported currently.
26849 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26851         [BZ #16469]
26852         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26853         search domain names.
26855 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26857         [BZ #16469]
26858         * NEWS: Update.
26859         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26860         trailing dot.
26861         * posix/tst-getaddrinfo5.c: New.
26862         * posix/Makefile (tests): Add it.
26864 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26866         [BZ #14498]
26867         * NEWS: Fixed.
26868         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26869         after parsing line but before break_if_match.
26870         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26871         if there is a protocol mismatch.
26873 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26875         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26876         because the potential race is on the user-supplied stream.
26878 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26880         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26881         string literal if not passed a buffer.
26882         * manual/job.texi (ctermid): Update reasoning, note deviation
26883         from posix, suggest mtasurace when not passed a buffer, for
26884         future non-preliminary safety notes.
26886 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26888         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26889         of not passing it a buffer.
26890         Reported by Peng Haitao.
26892 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26894         * manual/Makefile ($(objpfx)stamp-summary): Require
26895         check-safety.sh to pass.
26896         * manual/check-safety.sh: Wish for verification that every
26897         @deftypefn and @deftypefun is followed by a @safety remark.
26899 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26901         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26903         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26904         PTHREAD_CANCEL_ASYNCHRONOUS.
26905         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26906         send SIGCANCEL.
26908         * nptl/default-sched.h: New file.
26909         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26910         * nptl/pthread_create.c: Include it.
26911         (__pthread_create_2_1): Use collect_default_sched instead of making
26912         Linux syscalls here directly.
26914 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26916         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26917         __pthread_once): Use C11 atomics.
26919 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26921         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26923 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26925         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26926         atomic_thread_fence_acquire, atomic_thread_fence_release,
26927         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26928         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26929         atomic_compare_exchange_weak_relaxed,
26930         atomic_compare_exchange_weak_acquire,
26931         atomic_compare_exchange_weak_release,
26932         atomic_exchange_acquire, atomic_exchange_release,
26933         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26934         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26935         atomic_fetch_and_acquire,
26936         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26938 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26940         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26941         USE_ATOMIC_COMPILER_BUILTINS): Define.
26942         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26944         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26946         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26948         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26950         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26952         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26954         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26956         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26958         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26960         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26962         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26964         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26966         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26968         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26970         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26972         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26974         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26976         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26977         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26978         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26980         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26983 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26985         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26986         the sched_priority value here.  It was already checked when the user
26987         called pthread_attr_setschedparam.
26989         * nptl/tst-bad-schedattr.c: New file.
26990         * nptl/Makefile (tests): Add it.
26992 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26993             Florian Weimer  <fweimer@redhat.com>
26994             Joseph Myers  <joseph@codesourcery.com>
26995             Adam Conrad  <adconrad@0c3.net>
26996             Andreas Schwab  <schwab@suse.de>
26997             Brooks  <bmoses@google.com>
26999         [BZ #17625]
27000         * wordexp-test.c (__dso_handle): Add prototype.
27001         (__register_atfork): Likewise.
27002         (__app_register_atfork): New function.
27003         (registered_forks): New global.
27004         (register_fork): New function.
27005         (test_case): Add 3 new tests for WRDE_CMDSUB.
27006         (main): Call __app_register_atfork.
27007         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27008         fork count is non-zero fail the test.
27009         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27010         is set.
27011         (parse_dollars): Remove check for WRDE_NOCMD.
27012         (parse_dquote): Likewise.
27014 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27016         * Makeconfig (built-modules): List non-library modules to be
27017         built.
27018         (module-cppflags): Include libc-modules.h for
27019         everything except shlib-versions.v.i.
27020         (CPPFLAGS): Use it.
27021         (before-compile): Add libc-modules.h.
27022         ($(common-objpfx)libc-modules.h,
27023         $(common-objpfx)libc-modules.stmp): New targets.
27024         (common-generated): Add libc-modules.h and libc-modules.stmp.
27025         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27026         * include/libc-symbols.h: Don't include libc-modules.h.
27027         * include/libc-modules.h: Remove file.
27028         * scripts/gen-libc-modules.awk: New script to generate
27029         libc-modules.h.
27030         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27031         Depend on libc-modules.stmp.
27033         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27035         * Makeconfig (in-module): Get value of libof set for the
27036         translation unit.
27037         (CPPFLAGS): Use $(in-module).
27038         * Makerules: Don't suffix routine names for nonlib.
27039         * include/libc-modules.h: New file.
27040         * include/libc-symbols.h: Include libc-modules.h
27041         (IS_IN): New macro to replace IS_IN_* macros.
27042         * elf/Makefile: Set libof-* for each routine.
27043         * elf/rtld-Rules: Likewise.
27044         * extra-modules.mk: Likewise.
27045         * iconv/Makefile: Likewise.
27046         * iconvdata/Makefile: Likewise.
27047         * locale/Makefile: Likewise.
27048         * malloc/Makefile: Likewise.
27049         * nss/Makefile: Likewise.
27050         * sysdeps/gnu/Makefile: Likewise.
27051         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27052         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27053         * sysdeps/s390/s390-64/Makefile: Likewise.
27054         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27055         CPPFLAGS for nscd instead of nonlib.
27057 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27059         * nptl/createthread.c: New file.
27061         * nptl/createthread.c: Moved ...
27062         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27064         * nptl/createthread.c: Add proper top-line comment.
27065         (do_clone): Folded into ...
27066         (create_thread): ... here.  Take new arguments STOPPED_START and
27067         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27068         increment __nptl_threads, do event-reporting logic, do
27069         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27070         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27071         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27072         just send SIGCANCEL.
27073         * nptl/pthread_create.c: Forward-declare create_thread before
27074         including createthread.c.
27075         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27076         declaration, and new macro START_THREAD_SELF to replace argument.
27077         Remove return statement.
27078         (report_thread_creation): New function.
27079         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27080         synchronization logic, and __nptl_nthreads increment here, around
27081         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27082         PD->parent_cancelhandling here, before create_thread.  When
27083         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27084         __deallocate_stack, and ENOMEM translation here.
27086 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27088         [BZ #17616]
27089         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27090         (mptwo): Rename to __mptwo.
27091         (__inv): Use __mptwo instead of mptwo.
27092         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27093         (mptwo): Rename to __mptwo.
27094         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27095         of mpone and __mptwo instead of mptwo.
27096         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27097         instead of mpone.
27098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27099         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27100         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27101         of mpone and __mptwo instead of mptwo.
27102         (__mpranred): Use __mpone instead of mpone.
27103         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27104         variable.
27105         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27106         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27107         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27108         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27109         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27110         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27111         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27112         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27113         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27114         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27115         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27116         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27117         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27118         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27119         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27120         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27121         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27122         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27123         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27125 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27127         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27128         replace BSD Handler xref with BSD Signal Handling.
27130 2014-11-17  Richard Henderson  <rth@redhat.com>
27132         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27133         (_FP_PACK_RAW_2): Remove.
27134         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27135         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27136         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27137         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27138         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27139         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27140         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27141         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27142         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27143         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27144         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27145         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27146         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27147         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27148         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27149         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27151 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27153         * signal/signal.h [__USE_MISC]
27154         (struct sigvec): Remove type.
27155         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27156         (sigvec): Remove declaration.
27157         * sysdeps/posix/sigvec.c: Moved ...
27158         * signal/sigvec.c: ... here, replacing old file.
27159         (struct sigvec): New type, copied from old signal.h definition.
27160         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27161         (__sigvec): Convert definition to prototype.
27162         (sigvec): Replace weak_alias with compat_symbol.
27163         * signal/Versions (libc: GLIBC_2.21): New version set.
27164         * include/signal.h: Remove __sigvec declaration.
27165         * sysdeps/unix/bsd/sigvec.c: Remove file.
27166         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27167         * manual/signal.texi (BSD Handler): Remove subsection.
27168         Move siginterrupt up to ...
27169         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27170         (Blocking in BSD): Fold subsection into its parent.
27171         * NEWS: Mention sigvec removal.
27173 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27175         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27176         (DLA_FMS): Make definition conditional only on [__FMA4__].
27177         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27178         definition.
27180         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27181         Make definition conditional only on [PROF].
27182         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27183         definition.
27184         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27185         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27187         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27188         !__GNUC__].
27189         * include/signal.h (__sigpause): Move declaration above call to
27190         libc_hidden_proto.
27191         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27192         variable.
27193         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27194         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27196 2014-11-14  David S. Miller  <davem@davemloft.net>
27198         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27199         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27201 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27203         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27204         * configure: Regenerated.
27205         * manual/install.texi (Tools for Compilation): Document a
27206         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27207         compiler verified to work.
27208         * INSTALL: Regenerated.
27210         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27211         redeclare with asm name.
27212         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27213         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27214         including <string.h>.
27215         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27216         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27217         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27218         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27219         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27221         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27223 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27225         * stdlib/strtol.c (__strtol): Use prototype definition.
27227         [BZ #17594]
27228         * stdlib/strtol.c (SYM__): New macro.
27229         (SYM__1): Likewise.
27230         (__strtol): Likewise.
27231         (strtol): Rename to __strtol and define as weak alias of
27232         __strtol.  Use libc_hidden_weak.
27234 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27236         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27237         Use numbered labels in inline assembly.
27239 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27241         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27242         Add setjmp LIBC_PROBE.
27243         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27244         Likewise.
27245         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27246         Add longjmp, longjmp_target LIBC_PROBE.
27247         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27248         Likewise.
27250 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27252         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27253         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27254         to get rid of unused variable warning.
27256 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27258         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27259         Check for unwind_backtrace ==  NULL only in SHARED case.
27260         (__backchain_backtrace): Compile only in SHARED case.
27261         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27262         Likewise.
27263         (__backchain_backtrace): Declare as static.
27265 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27267         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27268         (__libc_multiple_threads_ptr): Variable moved ...
27269         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27271 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27273         * conform/GlibcConform.pm: New file.
27274         * conform/conformtest.pl: Use GlibcConform module.
27275         * conform/linknamespace.pl: New file.
27276         * conform/list-header-symbols.pl: Likewise.
27277         * conform/Makefile (linknamespace-symlists-base): New variable.
27278         (linknamespace-symlists-tests): Likewise.
27279         (linknamespace-header-base): Likewise.
27280         (linknamespace-header-tests): Likewise.
27281         (tests-special): Add new tests.
27282         ($(linknamespace-symlists-tests)): New rule.
27283         (linknamespace-libs): New variable.
27284         ($(objpfx)symlist-stdlibs): New rule.
27285         ($(linknamespace-header-tests)): Likewise.
27286         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27287         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27288         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27289         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27290         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27291         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27292         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27293         (test-xfail-ISO/math.h/linknamespace): Likewise.
27294         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27295         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27296         (test-xfail-ISO/time.h/linknamespace): Likewise.
27297         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27298         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27299         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27300         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27301         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27302         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27303         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27304         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27305         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27306         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27307         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27308         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27309         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27310         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27311         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27312         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27313         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27314         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27315         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27316         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27317         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27318         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27319         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27320         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27321         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27322         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27323         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27324         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27325         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27326         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27327         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27328         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27329         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27330         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27331         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27332         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27333         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27334         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27335         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27336         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27337         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27338         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27339         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27340         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27341         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27342         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27343         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27344         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27345         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27346         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27347         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27348         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27349         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27350         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27351         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27352         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27353         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27354         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27355         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27356         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27357         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27358         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27359         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27360         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27361         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27362         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27363         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27364         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27365         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27366         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27367         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27368         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27369         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27370         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27371         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27372         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27373         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27374         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27375         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27376         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27377         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27378         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27379         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27380         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27381         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27382         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27383         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27384         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27385         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27386         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27387         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27388         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27389         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27390         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27391         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27392         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27393         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27394         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27395         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27396         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27397         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27398         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27399         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27400         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27401         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27402         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27403         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27404         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27405         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27406         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27407         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27408         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27409         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27410         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27411         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27412         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27413         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27414         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27415         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27416         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27417         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27418         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27419         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27420         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27421         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27422         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27423         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27424         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27425         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27426         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27427         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27428         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27429         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27430         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27431         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27432         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27433         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27434         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27435         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27436         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27437         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27438         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27439         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27440         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27441         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27442         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27443         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27444         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27445         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27446         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27448         [BZ #17589]
27449         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27450         of fgets_unlocked.
27452         [BZ #17585]
27453         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27454         (memmem): Rename to __memmem and define as weak alias of
27455         __memmem.  Use libc_hidden_weak.
27456         (__memmem): Use libc_hidden_def.
27457         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27458         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27459         memmem.
27461         [BZ #17582]
27462         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27463         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27464         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27465         and define as weak alias of __fgets_unlocked.  Use
27466         libc_hidden_weak.
27467         (__fgets_unlocked): Use libc_hidden_def.
27468         * include/stdio.h (__fgets_unlocked): Declare.  Use
27469         libc_hidden_proto.
27470         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27471         __fgets_unlocked instead of fgets_unlocked.
27472         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27473         (GET_NPROCS_CONF_PARSER): Likewise.
27474         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27475         (GET_NPROCS_CONF_PARSER): Likewise.
27477         [BZ #17574]
27478         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27479         weak alias of __wmemset.  Use libc_hidden_weak.
27480         (__wmemset): Use libc_hidden_def.
27481         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27482         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27483         of wmemset.
27485         [BZ #17573]
27486         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27487         with asm name __mempcpy.
27488         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27490         [BZ #17572]
27491         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27492         and define as weak alias of __rawmemchr.
27493         (__rawmemchr): Do not define as strong alias of rawmemchr.
27495         [BZ #17571]
27496         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27497         alias of __qsort_r.
27498         (qsort): Call __qsort_r instead of qsort_r.
27499         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27500         (__qsort_r): Declare.  Call libc_hidden_proto.
27501         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27502         instead of qsort_r.
27503         * nscd/gai.c (__qsort_r): Define to qsort_r.
27504         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27505         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27506         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27508         [BZ #17570]
27509         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27510         define as weak alias of __malloc_info.
27512         [BZ #17584]
27513         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27514         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27515         (__rewinddir): Use libc_hidden_def.
27516         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27517         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27518         (__rewinddir): Use libc_hidden_def.
27519         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27520         weak alias of __rewinddir.  Don't use libc_hidden_def.
27521         (__rewinddir): Use libc_hidden_def.
27522         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27523         (__rewinddir): Use libc_hidden_proto.
27524         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27525         rewinddir.
27526         (__getcwd): Use __rewinddir instead of rewinddir.
27528         [BZ #17583]
27529         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27530         alias of __fileno.  Use libc_hidden_weak.
27531         (__fileno): Use libc_hidden_def.
27532         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27533         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27534         alias of __ftello.
27535         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27536         __ftello.
27537         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27538         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27539         libc_hidden_def.
27540         (fread_unlocked): Don't use libc_hidden_ver.
27541         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27542         and define as weak alias of __fread_unlocked.  Don't use
27543         libc_hidden_def.
27544         (__fread_unlocked): Use libc_hidden_def.
27545         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27546         (ftello): Don't use libc_hidden_proto.
27547         (__ftello): Declare.  Use libc_hidden_proto.
27548         (fread_unlocked): Don't use libc_hidden_proto.
27549         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27550         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27551         and __ftello instead of fileno, fread_unlocked and ftello.
27553 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27555         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27556         GOT12.
27557         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27558         Likewise.
27559         (_dl_start_user): Likewise.
27560         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27562 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27563             Siddhesh Poyarekar  <siddhesh@redhat.com>
27565         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27566         Move argv and envp down instead of moving argc up.
27567         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27569 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27571         [BZ #17506]
27572         * test-skeleton.c (main): Return successful if one of
27573         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27574         * string/tst-strcoll-overflow.c: Define expected status.
27576 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27578         [BZ #17475]
27579         * locale/iso-639.def: Define Bhili and Tulu language codes.
27581 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27583         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27585 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27587         [BZ #17555]
27588         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27590 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27592         * configure.ac: Updated check of minimal required version to
27593         2.22.
27594         * manual/install.texi (Tools for Compilation): Updated version
27595         number.
27596         * configure: Regenerated.
27597         * INSTALL: Likewise.
27599 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27601         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27602         __tls_get_addr.
27604 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27606         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27607         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27608         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27609         libc_hidden_weak.
27610         (waitpid): Define as alias of __waitpid.
27611         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27612         __waitpid.
27613         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27614         libc_hidden_weak.
27615         (waitpid): Define as alias of __waitpid.
27616         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27617         __libc_waitpid alias.
27618         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27619         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27620         Likewise.
27621         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27622         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27623         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27624         alias.
27625         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27626         __waitpid.
27627         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27628         libc_hidden_weak.
27629         (waitpid): Define as alias of __waitpid.
27631 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27633         * manual/llio.texi: Add comment that write safety has been
27634         fixed in Linux.
27636         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27637         (localplt-build-dso): Add elf/ld.so.
27638         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27639         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27640         and free for ld.so.
27641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27642         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27644         Likewise.
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27646         Likewise.
27647         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27648         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27649         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27650         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27651         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27652         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27653         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27654         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27655         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27656         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27657         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27659 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27661         [BZ #14132]
27662         * include/libc-symbols.h (INTUSE): Remove macro.
27663         (INTDEF): Likewise.
27664         (INTVARDEF): Likewise.
27665         (_INTVARDEF): Likewise.
27666         (INTDEF2): Likewise.
27667         (INTVARDEF2): Likewise.
27668         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27669         rtld_hidden_def instead of INTVARDEF.
27670         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27671         (_dl_starting_up_internal): Remove declaration.
27672         (_dl_starting_up): Use rtld_hidden_proto.
27673         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27674         declaration.
27675         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27676         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27677         _dl_starting_up.
27678         * elf/dl-writev.h (_dl_writev): Likewise.
27679         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27680         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27681         _dl_starting_up_internal.
27683 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27685         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27686         test-skeleton.c.
27688 2014-11-05  Will Newton  <will.newton@linaro.org>
27690         * benchtests/Makefile: (bench-malloc): Add malloc thread
27691         scalability benchmark.
27692         * benchtests/bench-malloc-threads.c: New file.
27694 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27696         * sysdeps/aarch64/strchrnul.S: New file.
27698 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27700         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27701         definition.
27702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27703         Likwise.
27704         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27705         Likewise.
27706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27707         Likewise.
27708         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27709         Likewise.
27710         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27711         Likewise.
27713 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27715         * catgets/test-gencat.c: Use test-skeleton.c.
27716         * catgets/tst-catgets.c: Likewise.
27717         * csu/tst-empty.c: Likewise.
27718         * elf/tst-audit2.c: Likewise.
27719         * elf/tst-global1.c: Likewise.
27720         * elf/tst-pathopt.c: Likewise.
27721         * elf/tst-piemod1.c: Likewise.
27722         * elf/tst-tls10.c: Likewise.
27723         * elf/tst-tls11.c: Likewise.
27724         * elf/tst-tls12.c: Likewise.
27725         * gnulib/tst-gcc.c: Likewise.
27726         * iconvdata/tst-e2big.c: Likewise.
27727         * iconvdata/tst-loading.c: Likewise.
27728         * iconv/tst-iconv1.c: Likewise.
27729         * iconv/tst-iconv2.c: Likewise.
27730         * inet/test-inet6_opt.c: Likewise.
27731         * inet/tst-gethnm.c: Likewise.
27732         * inet/tst-network.c: Likewise.
27733         * inet/tst-ntoa.c: Likewise.
27734         * intl/tst-codeset.c: Likewise.
27735         * intl/tst-gettext2.c: Likewise.
27736         * intl/tst-gettext3.c: Likewise.
27737         * intl/tst-ngettext.c: Likewise.
27738         * intl/tst-translit.c: Likewise.
27739         * io/test-stat.c: Likewise.
27740         * libio/test-fmemopen.c: Likewise.
27741         * libio/tst-freopen.c: Likewise.
27742         * libio/tst-sscanf.c: Likewise.
27743         * libio/tst-ungetwc1.c: Likewise.
27744         * libio/tst-ungetwc2.c: Likewise.
27745         * libio/tst-widetext.c: Likewise.
27746         * localedata/tst-ctype.c: Likewise.
27747         * localedata/tst-digits.c: Likewise.
27748         * localedata/tst-leaks.c: Likewise.
27749         * localedata/tst-mbswcs1.c: Likewise.
27750         * localedata/tst-mbswcs2.c: Likewise.
27751         * localedata/tst-mbswcs3.c: Likewise.
27752         * localedata/tst-mbswcs4.c: Likewise.
27753         * localedata/tst-mbswcs5.c: Likewise.
27754         * localedata/tst-setlocale.c: Likewise.
27755         * localedata/tst-trans.c: Likewise.
27756         * localedata/tst-wctype.c: Likewise.
27757         * localedata/tst-xlocale1.c: Likewise.
27758         * login/tst-grantpt.c: Likewise.
27759         * malloc/tst-calloc.c: Likewise.
27760         * malloc/tst-malloc.c: Likewise.
27761         * malloc/tst-mallocstate.c: Likewise.
27762         * malloc/tst-mcheck.c: Likewise.
27763         * malloc/tst-mtrace.c: Likewise.
27764         * malloc/tst-obstack.c: Likewise.
27765         * math/atest-exp2.c: Likewise.
27766         * math/atest-exp.c: Likewise.
27767         * math/atest-sincos.c: Likewise.
27768         * math/test-matherr.c: Likewise.
27769         * math/test-misc.c: Likewise.
27770         * math/test-powl.c: Likewise.
27771         * math/tst-definitions.c: Likewise.
27772         * misc/tst-dirname.c: Likewise.
27773         * misc/tst-efgcvt.c: Likewise.
27774         * misc/tst-fdset.c: Likewise.
27775         * misc/tst-hsearch.c: Likewise.
27776         * misc/tst-mntent2.c: Likewise.
27777         * nptl/tst-sem7.c: Likewise.
27778         * nptl/tst-sem8.c: Likewise.
27779         * nptl/tst-sem9.c: Likewise.
27780         * nss/test-netdb.c: Likewise.
27781         * posix/tst-fnmatch.c: Likewise.
27782         * posix/tst-getlogin.c: Likewise.
27783         * posix/tst-gnuglob.c: Likewise.
27784         * posix/tst-mmap.c: Likewise.
27785         * pwd/tst-getpw.c: Likewise.
27786         * resolv/tst-inet_ntop.c: Likewise.
27787         * rt/tst-timer.c: Likewise.
27788         * stdio-common/test-fseek.c: Likewise.
27789         * stdio-common/test-popen.c: Likewise.
27790         * stdio-common/test-vfprintf.c: Likewise.
27791         * stdio-common/tst-cookie.c: Likewise.
27792         * stdio-common/tst-fileno.c: Likewise.
27793         * stdio-common/tst-gets.c: Likewise.
27794         * stdio-common/tst-obprintf.c: Likewise.
27795         * stdio-common/tst-perror.c: Likewise.
27796         * stdio-common/tst-sprintf2.c: Likewise.
27797         * stdio-common/tst-sprintf3.c: Likewise.
27798         * stdio-common/tst-sprintf.c: Likewise.
27799         * stdio-common/tst-swprintf.c: Likewise.
27800         * stdio-common/tst-tmpnam.c: Likewise.
27801         * stdio-common/tst-unbputc.c: Likewise.
27802         * stdio-common/tst-wc-printf.c: Likewise.
27803         * stdlib/tst-environ.c: Likewise.
27804         * stdlib/tst-fmtmsg.c: Likewise.
27805         * stdlib/tst-limits.c: Likewise.
27806         * stdlib/tst-rand48-2.c: Likewise.
27807         * stdlib/tst-rand48.c: Likewise.
27808         * stdlib/tst-random2.c: Likewise.
27809         * stdlib/tst-random.c: Likewise.
27810         * stdlib/tst-strtol.c: Likewise.
27811         * stdlib/tst-strtoll.c: Likewise.
27812         * stdlib/tst-tls-atexit.c: Likewise.
27813         * stdlib/tst-xpg-basename.c: Likewise.
27814         * string/test-ffs.c: Likewise.
27815         * string/tst-bswap.c: Likewise.
27816         * string/tst-inlcall.c: Likewise.
27817         * string/tst-strtok.c: Likewise.
27818         * string/tst-strxfrm.c: Likewise.
27819         * sysdeps/x86_64/tst-audit10.c: Likewise.
27820         * sysdeps/x86_64/tst-audit3.c: Likewise.
27821         * sysdeps/x86_64/tst-audit4.c: Likewise.
27822         * sysdeps/x86_64/tst-audit5.c: Likewise.
27823         * time/tst-ftime_l.c: Likewise.
27824         * time/tst-getdate.c: Likewise.
27825         * time/tst-mktime3.c: Likewise.
27826         * time/tst-mktime.c: Likewise.
27827         * time/tst-posixtz.c: Likewise.
27828         * time/tst-strptime2.c: Likewise.
27829         * time/tst-strptime3.c: Likewise.
27830         * wcsmbs/tst-btowc.c: Likewise.
27831         * wcsmbs/tst-mbrtowc.c: Likewise.
27832         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27833         * wcsmbs/tst-wchar-h.c: Likewise.
27834         * wcsmbs/tst-wcpncpy.c: Likewise.
27835         * wcsmbs/tst-wcrtomb.c: Likewise.
27836         * wcsmbs/tst-wcsnlen.c: Likewise.
27837         * wcsmbs/tst-wcstof.c: Likewise.
27839 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27841         [BZ #14132]
27842         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27843         INTDEF.
27844         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27845         declaration.
27846         (_dl_mcount): Use rtld_hidden_proto.
27847         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27848         _dl_mcount.
27849         * elf/rtld.c (_rtld_global_ro): Likewise.
27851         [BZ #14132]
27852         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27853         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27854         of _dl_init_internal.
27855         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27856         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27857         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27858         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27859         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27860         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27861         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27862         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27863         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27864         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27865         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27866         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27867         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27868         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27869         * sysdeps/tile/dl-start.S (_start): Likewise.
27870         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27871         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27873         [BZ #14132]
27874         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27875         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27876         (rtld_progname): Make macro definition unconditional.
27877         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27878         INTDEF.
27879         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27880         (dl_main): Likewise.
27881         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27882         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27883         instead of _dl_argv_internal.
27884         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27885         __GI__dl_argv instead of INTUSE(_dl_argv).
27886         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27887         __GI__dl_argv instead of _dl_argv_internal.
27889         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27890         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27891         macro.
27892         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27893         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27894         New macro.
27895         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27896         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27897         macro.
27898         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27899         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27901 2014-11-04  Andreas Schwab  <schwab@suse.de>
27903         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27905 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27907         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27908         mtvsrd instruction in binary form.
27910 2014-11-03  Andreas Schwab  <schwab@suse.de>
27912         [BZ #17522]
27913         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27914         for less than MB_LEN_MAX use a local buffer of that size.
27915         * libio/tst-fputws.c: New file.
27916         * libio/Makefile (tests): Add tst-fputws.
27918 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27920         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27921         the size of the fpu_fr.fpu_dregs[] array.
27923 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27925         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27926         (__nanosleep): Do not define as alias.
27927         (nanosleep): Define as alias of __nanosleep.
27928         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27929         __libc_nanosleep name.
27931 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27933         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27934         install.texi in comment.
27936 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27938         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27939         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27940         ... add here and use lwsync or sync ...
27941         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27942         ... and add here using lwsync.
27944 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27946         * elf/dl-machine-reject-phdr.h: New file.
27947         * elf/dl-load.c: #include that.
27948         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27949         if that returned true.
27951 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27953         [BZ #17496]
27954         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27955         gen-as-const-headers chunk.  Add a big scare comment after the last
27956         safe place to touch before-compile.
27958 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27960         * manual/install.texi (Tools for Compilation): Update autoconf
27961         version requirements.
27962         * INSTALL: Regenerated.
27964         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27965         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27966         (__libc_pselect): Likewise.
27968         [BZ #14138]
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27974 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27976         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27977         correct barrier instruction.
27978         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27979         Likewise.
27980         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27981         Likewise.
27983 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27985         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27986         after defining inlines.  Instead, just use parens to defeat macro
27987         expansion of __isctype in its declaration.
27989 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27991         * include/sys/uio.h (__libc_readv): Remove declaration.
27992         (__libc_writev): Likewise.
27993         * misc/readv.c (__libc_readv): Rename to __readv.
27994         (__readv): Do not define as alias.
27995         (readv): Define as alias of __readv.
27996         * misc/writev.c (__libc_writev): Rename to __writev.
27997         (__writev): Do not define as alias.
27998         (writev): Define as alias of __writev.
27999         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28000         (__readv): Do not define as alias.
28001         (readv): Define unconditionally as alias of __readv.
28002         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28003         (__writev): Do not define as alias.
28004         (writev): Define unconditionally as alias of __writev.
28005         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28006         name.
28007         (writev): Do not define __libc_writev name.
28009 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28011         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28012         (convert_charseq): New function, broken out of ...
28013         (use_from_charmap): ... here.  Call it.
28014         (use_to_charmap): Use convert_charseq and free instead of duplicating
28015         its code with a variable-length stack struct.
28017 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28019         * include/fcntl.h (__libc_creat): Remove declaration.
28020         * io/creat.c (__libc_creat): Rename to creat.
28021         (creat): Do not define as alias.
28022         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28023         of creat instead of __libc_creat.
28024         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28025         to creat.
28026         (creat): Do not define as alias.
28027         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28028         __libc_creat.
28029         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28030         __libc_creat name.
28031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28032         Likewise.
28034 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28036         * manual/llio.texi: Add comments discussing why write() may be
28037         considered MT-unsafe on Linux.
28039 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28041         * dl-load.c (local_strdup): Remove.
28042         (expand_dynamic_string_token): Use __strdup.
28043         (decompose_rpath): Likewise.
28044         (_dl_map_object): Likewise.
28046 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28048         [BZ #14132]
28049         * sysdeps/generic/unwind-dw2-fde.c
28050         (__register_frame_info_bases_internal): Do not declare.
28051         (__register_frame_info_table_bases_internal): Likewise.
28052         (__deregister_frame_info_bases_internal): Likewise.
28053         (__register_frame_info_bases): Declare and use hidden_proto before
28054         definition.  Use hidden_def instead of INTDEF.
28055         (__register_frame_info_table_bases): Likewise.
28056         (__deregister_frame_info_bases): Likewise.
28057         (__register_frame_info): Do not use INTUSE.
28058         (__register_frame): Likewise.
28059         (__register_frame_info_table): Likewise.
28060         (__register_frame_table): Likewise.
28061         (__deregister_frame_info): Likewise.
28062         (__deregister_frame): Likewise.
28064 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28067         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28068         not undefine.
28069         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28070         Likewise.
28071         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28072         Likewise.
28074 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28076         [BZ #14138]
28077         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28078         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28079         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28080         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28081         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28082         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28083         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28084         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28085         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28086         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28087         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28088         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28089         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28090         syscall.
28091         (setfsuid): Likewise.
28092         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28093         (setfsuid): Likewise.
28094         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28095         (setfsuid): Likewise.
28096         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28097         Likewise.
28098         (setfsuid): Likewise.
28099         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28100         (setfsuid): Likewise.
28101         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28102         Likewise.
28103         (setfsuid): Likewise.
28105 2014-10-27  Andreas Schwab  <schwab@suse.de>
28107         [BZ #17501]
28108         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28109         check for Slow_SSE4_2 feature bit.
28110         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28111         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28112         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28113         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28115 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28117         * configure.ac: Validate compiler version with a empirical test of
28118         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28119         $CC -v output.
28120         * configure: Regenerated.
28122         * inet/htons.c (htons): Prototypify.
28123         * inet/htonl.c (htonl): Likewise.
28125 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28127         * string/strncat.c (strncat): Improve performance by using strlen.
28129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28131         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28133 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28135         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28136         Call libc_fetestexcept_aarch64.
28138 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28140         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28141         Call libc_feholdexcept_aarch64.
28143 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28145         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28146         Call get_rounding_mode.
28148 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28150         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28151         Simplify logic.
28153 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28155         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28156         Simplify logic.
28158 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28160         [BZ #14138]
28161         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28162         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28163         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28164         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28165         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28166         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28167         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28168         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28169         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28170         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28171         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28172         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28173         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28174         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28175         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28176         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28177         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28178         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28179         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28180         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28181         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28182         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28183         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28184         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28185         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28186         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28187         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28188         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28189         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28190         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28191         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28192         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28193         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28194         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28195         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28196         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28197         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28198         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28199         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28200         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28201         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28202         syscall.
28203         (geteuid): Likewise.
28204         (getgid): Likewise.
28205         (getuid): Likewise.
28206         (getresgid): Likewise.
28207         (getresuid): Likewise.
28208         (getgroups): Likewise.
28209         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28210         (geteuid): Likewise.
28211         (getgid): Likewise.
28212         (getuid): Likewise.
28213         (getresgid): Likewise.
28214         (getresuid): Likewise.
28215         (getgroups): Likewise.
28216         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28217         (geteuid): Likewise.
28218         (getgid): Likewise.
28219         (getuid): Likewise.
28220         (getresgid): Likewise.
28221         (getresuid): Likewise.
28222         (getgroups): Likewise.
28223         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28224         Likewise.
28225         (geteuid): Likewise.
28226         (getgid): Likewise.
28227         (getuid): Likewise.
28228         (getresgid): Likewise.
28229         (getresuid): Likewise.
28230         (getgroups): Likewise.
28231         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28232         (geteuid): Likewise.
28233         (getgid): Likewise.
28234         (getuid): Likewise.
28235         (getresgid): Likewise.
28236         (getresuid): Likewise.
28237         (getgroups): Likewise.
28238         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28239         Likewise.
28240         (geteuid): Likewise.
28241         (getgid): Likewise.
28242         (getuid): Likewise.
28243         (getgroups): Likewise.
28245         [BZ #14138]
28246         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28247         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28248         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28249         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28250         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28251         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28252         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28253         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28254         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28255         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28256         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28257         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28258         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28259         __chown.
28260         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28261         (lchown): Likewise.
28262         (fchown): Likewise.
28263         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28264         Likewise.
28265         (lchown): Likewise.
28266         (fchown): Likewise.
28267         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28268         (lchown): Likewise.
28269         (fchown): Likewise.
28270         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28271         Likewise.
28272         (lchown): Likewise.
28273         (fchown): Likewise.
28275 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28277         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28278         Simplify logic.
28280 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28282         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28283         Cleanup logic.
28285 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28287         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28288         Remove unused include.
28290 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28292         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28293         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28294         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28295         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28297 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28298             Helge Deller <deller@gmx.de>
28300         [BZ #17508]
28301         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28302         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28303         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28305 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28307         [BZ #14132]
28308         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28309         Remove macro definition.
28310         (__ashrdi3_v_glibc20): Likewise.
28311         (__lshrdi3_v_glibc20): Likewise.
28312         (__cmpdi2_v_glibc20): Likewise.
28313         (__ucmpdi2_v_glibc20): Likewise.
28314         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28315         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28316         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28317         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28318         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28319         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28321 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28323         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28324         old GNU extension [0] syntax.
28325         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28326         alloca rather than an array member with variable length.
28327         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28328         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28329         (parse_opt): ... here.  Likewise use alloca there.
28330         Validate the -i argument before checking for rootness.
28331         (send_shutdown): New function, broken out of ...
28332         (parse_opt): ... here.
28334 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28336         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28337         macro to get at the _rt_local_ro field.
28338         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28339         ([PIC] case) or _dl_hwcap ([!PIC] case).
28340         * sysdeps/arm/setjmp.S: Likewise.
28342         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28343         * sysdeps/arm/configure.ac: New check to define it.
28344         * sysdeps/arm/configure: Regenerated.
28345         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28346         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28347         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28348         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28349         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28350         Use move/movt pair instead of a load.
28351         (LDST_GLOBAL): Macro removed.
28352         (LDR_GLOBAL): New macro replaces it.
28353         (LDR_HIDDEN): New macro.
28354         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28355         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28357         * setjmp/tst-setjmp-static.c: New file.
28358         * setjmp/Makefile (tests): Add it.
28359         (tests-static): New variable.
28361 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28363         [BZ #17485]
28364         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28366 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28368         [BZ #14132]
28369         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28371 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28373         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28375 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28377         * io/fts.c (dirent_not_directory): New function.
28378         (fts_build): Call it.
28380 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28382         * nptl/version.c (__nptl_main): Use normal __write rather than
28383         INTERNAL_SYSCALL.
28384         (banner): Update copyright years.
28386         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28387         gettimeofday.
28388         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28389         * nptl/pthread_cond_timedwait.c: Likewise.
28390         * nptl/pthread_mutex_timedlock.c: Likewise.
28391         * nptl/sem_timedwait.c: Likewise.
28393         * sysdeps/nptl/bits/libc-lock.h
28394         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28395         (__libc_lock_init_recursive): Return void, not 0.
28396         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28397         (__libc_rwlock_init): Likewise.
28398         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28400 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28402         [BZ #15215]
28403         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28404         (__pthread_once_slow): ... here.
28405         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28406         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28408 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28410         [BZ #15215]
28411         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28412         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28413         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28414         * nptl/pthread_once.c (__pthread_once): Likewise.
28415         Update comments.
28417 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28419         [BZ #14138]
28420         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28421         name.
28422         (writev): Use __libc_writev as strong name.
28423         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28424         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28426 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28428         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28430         * sysdeps/i386/nptl/tls.h
28431         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28432         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28433         New macros.
28434         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28435         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28436         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28437         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28438         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28439         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28441         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28442         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28443         on [__NR_futex].
28444         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28445         broken out of ...
28446         (__pthread_mutex_init): ... here.  Call it.
28447         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28448         Conditionalize PI cases on [__NR_futex].
28449         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28450         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28451         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28453         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28454         conditional on [SIGSETXID].
28455         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28456         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28457         is defined.  Likewise for SIGSETXID.
28458         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28459         Conditionalize definitions on [SIGSETXID].
28460         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28461         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28462         unblocking on [SIGCANCEL].
28464         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28465         [__NR_set_robust_list].
28467 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28469         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28470         (do_compare): Likewise.
28472 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28474         [BZ #15884]
28475         * string/strcoll_l.c: Don't include stdio.h.
28476         (coll_seq): Remove members idxarr and rulearr.
28477         (get_next_seq_cached): Remove function.
28478         (get_next_seq): Likewise.
28479         (get_next_seq_nocache): Rename to get_next_seq.
28480         (do_compare): Remove function.
28481         (do_compare_nocache): Rename to do_compare.
28482         (STRCOLL): Remove weight and rules cache.
28484 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28486         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28487         * sysdeps/arm/sfp-machine.h: ... to here.
28488         * sysdeps/arm/Implies: Remove arm/soft-fp.
28490 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28492         * conform/data/sys/utsname.h-data (*_t): Allow.
28493         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28494         [POSIX] (WEXITED): Do not expect constant.
28495         [POSIX] (WSTOPPED): Likewise.
28496         [POSIX] (WNOHANG): Likewise.
28497         [POSIX] (WNOWAIT): Likewise.
28498         [POSIX] (siginfo_t): Do not expect type or elements.
28499         [POSIX] (pid_t): Do not expect type.
28500         [POSIX] (signal.h): Do not allow header.
28501         [POSIX] (sys/resource.h): Likewise.
28502         [POSIX] (si_*): Do not allow pattern.
28503         [POSIX] (W*): Likewise.
28504         [POSIX] (P_*): Likewise.
28505         [POSIX] (BUS_*): Likewise.
28506         [POSIX] (CLD_*): Likewise.
28507         [POSIX] (FPE_*): Likewise.
28508         [POSIX] (ILL_*): Likewise.
28509         [POSIX] (POLL_*): Likewise.
28510         [POSIX] (SEGV_*): Likewise.
28511         [POSIX] (SI_*): Likewise.
28512         [POSIX] (TRAP_*): Likewise.
28513         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28514         variable.
28516 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28518         [BZ #12926]
28519         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28520         infinite loop when __recvmsg returns 0.
28522 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28524         * CANCEL-FCT-WAIVE: Remove file.
28525         * CANCEL-FILE-WAIVE: Likewise.
28527         [BZ #14132]
28528         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28529         instead of INTVARDEF.
28530         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28531         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28532         rtld_hidden_data_def instead of INTVARDEF.
28533         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28534         * elf/dl-deps.c (expand_dst): Likewise.
28535         * elf/dl-load.c (_dl_dst_count): Likewise.
28536         (_dl_dst_substitute): Likewise.
28537         (decompose_rpath): Likewise.
28538         (_dl_init_paths): Likewise.
28539         (open_path): Likewise.
28540         (_dl_map_object): Likewise.
28541         * elf/rtld.c (dl_main): Likewise.
28542         (process_dl_audit): Likewise.
28543         (process_envvars): Likewise.
28544         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28545         Remove declaration.
28546         (__libc_enable_secure): Use rtld_hidden_proto.
28548 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28550         * elf/dl-load.c
28551         (add_path): New function broken out of _dl_rtld_di_serinfo.
28552         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28554 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28556         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28557         parentheses around macro arguments.
28558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28559         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28561         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28562         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28569         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28570         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28571         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28572         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28573         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28574         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28577         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28578         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28587         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28588         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28589         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28591         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28592         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28593         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28594         Likewise.
28595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28598         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28602         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28603         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28604         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28606         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28607         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28608         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28612         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28613         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28614         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28615         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28616         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28617         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28618         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28619         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28620         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28621         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28622         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28623         (_FP_FRAC_SRS_1): Likewise.
28624         (_FP_FRAC_CLZ_1): Likewise.
28625         (_FP_MUL_MEAT_1_imm): Likewise.
28626         (_FP_MUL_MEAT_1_wide): Likewise.
28627         (_FP_MUL_MEAT_1_hard): Likewise.
28628         (_FP_SQRT_MEAT_1): Likewise.
28629         (_FP_FRAC_ASSEMBLE_1): Likewise.
28630         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28631         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28632         (__FP_CLZ_2): Likewise.
28633         (_FP_MUL_MEAT_2_wide): Likewise.
28634         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28635         (_FP_MUL_MEAT_2_gmp): Likewise.
28636         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28637         (_FP_SQRT_MEAT_2): Likewise.
28638         (_FP_FRAC_ASSEMBLE_2): Likewise.
28639         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28640         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28641         (_FP_FRAC_CLZ_4): Likewise.
28642         (_FP_MUL_MEAT_4_wide): Likewise.
28643         (_FP_MUL_MEAT_4_gmp): Likewise.
28644         (_FP_SQRT_MEAT_4): Likewise.
28645         (_FP_FRAC_ASSEMBLE_4): Likewise.
28646         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28647         * soft-fp/op-common.h (_FP_CMP): Likewise.
28648         (_FP_CMP_EQ): Likewise.
28649         (_FP_CMP_UNORD): Likewise.
28650         (_FP_TO_INT): Likewise.
28651         (_FP_FROM_INT): Likewise.
28652         [!__FP_CLZ] (__FP_CLZ): Likewise.
28653         (_FP_DIV_HELP_imm): Likewise.
28654         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28655         Likewise.
28656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28659         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28660         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28664         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28667         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28668         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28669         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28670         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28671         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28672         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28676         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28678         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28682         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28685         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28686         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28687         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28688         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28689         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28690         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28691         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28692         (FP_UNPACK_RAW_SP): Likewise.
28693         (FP_PACK_RAW_S): Likewise.
28694         (FP_PACK_RAW_SP): Likewise.
28695         (FP_UNPACK_S): Likewise.
28696         (FP_UNPACK_SP): Likewise.
28697         (FP_UNPACK_SEMIRAW_S): Likewise.
28698         (FP_UNPACK_SEMIRAW_SP): Likewise.
28699         (FP_PACK_S): Likewise.
28700         (FP_PACK_SP): Likewise.
28701         (FP_PACK_SEMIRAW_S): Likewise.
28702         (FP_PACK_SEMIRAW_SP): Likewise.
28703         (_FP_SQRT_MEAT_S): Likewise.
28704         (FP_CMP_S): Likewise.
28705         (FP_CMP_EQ_S): Likewise.
28706         (FP_CMP_UNORD_S): Likewise.
28707         (FP_TO_INT_S): Likewise.
28708         (FP_FROM_INT_S): Likewise.
28710         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28712         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28713         (FP_EX_INVALID_IMZ): Likewise.
28714         (FP_EX_INVALID_IMZ_FMA): Likewise.
28715         (FP_EX_INVALID_ISI): Likewise.
28716         (FP_EX_INVALID_ZDZ): Likewise.
28717         (FP_EX_INVALID_IDI): Likewise.
28718         (FP_EX_INVALID_SQRT): Likewise.
28719         (FP_EX_INVALID_CVI): Likewise.
28720         (FP_EX_INVALID_VC): Likewise.
28721         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28722         "invalid" exceptions.
28723         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28724         (_FP_ADD_INTERNAL): Likewise.
28725         (_FP_MUL): Likewise.
28726         (_FP_FMA): Likewise.
28727         (_FP_DIV): Likewise.
28728         (_FP_CMP_CHECK_NAN): Likewise.
28729         (_FP_SQRT): Likewise.
28730         (_FP_TO_INT): Likewise.
28731         (FP_EXTEND): Likewise.
28733 2014-10-09  Allan McRae  <allan@archlinux.org>
28735         * po/fr.po: Update French translation from translation project.
28737 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28739         [BZ #14132]
28740         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28741         of INTDEF.
28742         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28743         (__cxa_atexit): Use libc_hidden_proto.
28744         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28746         [BZ #14132]
28747         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28748         declaration.
28749         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28750         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28751         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28752         [!_ISOMAC] (__iswctype_internal): Likewise.
28753         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28754         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28755         alias.
28756         (fcntl): Remove __fcntl_internal alias.
28757         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28758         __connect_internal alias.
28759         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28760         Likewise.
28762         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28763         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28764         FP_DENORM_ZERO.
28765         (_FP_CHECK_FLUSH_ZERO): New macro.
28766         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28767         (_FP_CMP): Likewise.
28768         (_FP_CMP_EQ): Likewise.
28769         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28770         FP_DENORM_ZERO.
28771         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28772         (FP_TRUNC): Likewise.
28774         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28775         treated as invalid conversion, not as normal exponent.
28777         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28778         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28779         (_FP_CMP_EQ): Likewise.
28780         (_FP_CMP_UNORD): Likewise.
28781         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28782         (FP_CMP_EQ_D): Likewise.
28783         (FP_CMP_UNORD_D): Likewise.
28784         * soft-fp/extended.h (FP_CMP_E): Likewise.
28785         (FP_CMP_EQ_E): Likewise.
28786         (FP_CMP_UNORD_E): Likewise.
28787         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28788         (FP_CMP_EQ_Q): Likewise.
28789         (FP_CMP_UNORD_Q): Likewise.
28790         * soft-fp/single.h (FP_CMP_S): Likewise.
28791         (FP_CMP_EQ_S): Likewise.
28792         (FP_CMP_UNORD_S): Likewise.
28793         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28794         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28795         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28796         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28797         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28798         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28799         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28800         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28801         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28802         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28803         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28804         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28805         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28806         to FP_CMP_Q.
28807         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28808         FP_CMP_Q.
28809         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28810         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28811         FP_CMP_EQ_Q.
28812         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28813         FP_CMP_Q.
28814         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28815         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28816         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28817         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28818         FP_CMP_EQ_Q.
28819         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28820         FP_CMP_Q.
28821         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28822         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28823         FP_CMP_EQ_Q.
28824         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28825         FP_CMP_Q.
28826         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28827         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28828         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28829         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28830         FP_CMP_EQ_Q.
28832         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28833         a subnormal result, set the underflow exception if trapping on
28834         underflow is enabled.
28835         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28836         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28837         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28838         redefine to 0.
28839         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28840         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28841         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28842         * soft-fp/extendxftf2.c (__extendxftf2): Use
28843         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28845         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28846         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28847         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28848         FP_HANDLE_EXCEPTIONS.
28849         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28850         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28851         FP_HANDLE_EXCEPTIONS.
28852         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28853         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28854         FP_HANDLE_EXCEPTIONS.
28855         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28856         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28857         FP_HANDLE_EXCEPTIONS.
28859 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28861         [BZ #14132]
28862         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28863         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28864         use INTUSE.
28865         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28866         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28867         Remove alias.
28868         (__adjtimex): Define using libc_hidden_ver.
28869         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28870         Remove declaration.
28871         (ntp_gettime): Call __adjtimex directly.
28872         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28873         Remove declaration.
28874         (ntp_gettimex): Call __adjtimex directly.
28875         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28876         __adjtimex_internal alias.
28878 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28880         [BZ #17460]
28881         * nscd/nscd.c (more_help): Rewrite list of tables collection
28882         using xstrdup and asprintf.
28884         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28886 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28887             Roland McGrath  <roland@hack.frob.com>
28889         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28890         (do_lookup_unique): ... local function 'enter' here; update callers.
28892 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28894         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28895         compat_symbol calls on [SHARED].
28896         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28897         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28898         Remove.
28899         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28900         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28901         (oldsetrlimit): Remove.
28902         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28904         (lchown): New syscall entry.
28905         (oldsetrlimit): Remove.
28906         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28907         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28908         (oldsetrlimit): Remove.
28909         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28911         [BZ #14138]
28912         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28913         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28914         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28915         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28916         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28917         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28918         (fchown): Likewise.
28919         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28920         (fchown): Likewise.
28921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28922         Likewise.
28924 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28926         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28927         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28928         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28929         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28930         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28931         Likewise.
28932         (__old_sem_post): Likewise.
28934 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28936         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28937         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28938         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28939         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28940         Use INLINE_VSYSCALL macro.
28941         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28942         __vdso_clock_gettime.
28943         * sysdeps/unix/sysv/linux/tile/init-first.c
28944         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28945         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28946         __vdso_clock_gettime.
28948         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28949         to set up frame more cleanly.
28951         * sysdeps/tile/memcmp.c: New file.
28953         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28955         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28956         * sysdeps/tile/tilegx/strcasestr.c: New file.
28957         * sysdeps/tile/tilegx/strnlen.c: New file.
28958         * sysdeps/tile/tilegx/strstr.c: New file.
28960         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28962 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28964         * nptl/tst-setuid3.c: Write errors to stdout.
28966 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28968         * elf/dl-deps.c
28969         (preload): New functions broken out of _dl_map_object_deps.
28970         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28972 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28974         [BZ #14138]
28975         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28976         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28978 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28980         * sysdeps/mips/strcmp.S: New.
28982 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28984         [BZ #14138]
28985         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28986         (linkat): Likewise.
28987         (mkdirat): Likewise.
28988         (readlinkat): Likewise.
28989         (renameat): Likewise.
28990         (symlinkat): Likewise.
28991         (unlinkat): Likewise.
28992         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28993         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28994         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28995         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28996         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28997         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28998         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29000 2014-09-30  Will Newton  <will.newton@linaro.org>
29002         * math/math.h: Define long double math functions if
29003         _LIBC_TEST is defined.
29004         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29006         * localedata/Makefile: Move assignment to tests-special
29007         into an ifdef testing run-built-tests.
29008         * timezone/Makefile: Likewise.
29010 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29012         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29013         with $(BASH) not $(SHELL).
29015 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29016             Matthew LeGendre  <legendre1@llnl.gov>
29018         [BZ #17411]
29019         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29020         l_reloc_result.
29022 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29024         * stdio-common/printf_fp.c
29025         (hack_digit): New function, broken out of ...
29026         (__printf_fp): ... local function here.  Update call sites.
29027         hack_digit now takes an additional parameter that is a pointer
29028         to a struct of the referenced locals.  Those locals moved inside
29029         the struct and references updated.
29031 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29033         * aclocal.m4: Require autoconf 2.69.
29034         * configure: Regenerated.
29035         * sysdeps/aarch64/configure: Likewise.
29036         * sysdeps/alpha/configure: Likewise.
29037         * sysdeps/arm/armv7/configure: Likewise.
29038         * sysdeps/arm/configure: Likewise.
29039         * sysdeps/ia64/configure: Likewise.
29040         * sysdeps/mach/configure: Likewise.
29041         * sysdeps/mips/configure: Likewise.
29042         * sysdeps/s390/configure: Likewise.
29043         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29046         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29047         file.
29048         * sysdeps/ia64/configure.ac: Likewise.
29050 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29053         specify symbol version for ld.so.  Do not include entry for
29054         libpthread.
29055         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29056         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29057         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29059         [BZ #14171]
29060         * Makeconfig [$(build-shared) = yes]
29061         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29062         makefiles.
29063         [$(build-shared) = yes && $(soversions.mk-done) = t]
29064         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29065         [$(build-shared) = yes && $(soversions.mk-done) = t]
29066         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29067         to Makerules.
29068         [$(build-shared) = yes && $(soversions.mk-done) = t]
29069         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29070         here.
29071         [$(build-shared) = yes && $(soversions.mk-done) = t]
29072         (common-generated): Don't append gnu/lib-names.h and
29073         gnu/lib-names.stmp here.
29074         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29075         (lib-names-h-abi): New variable.
29076         [$(build-shared) = yes && $(soversions.mk-done) = t]
29077         (lib-names-stmp-abi): Likewise.
29078         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29079         abi-variants] (before-compile): Append
29080         $(common-objpfx)$(lib-names-h-abi).
29081         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29082         abi-variants] (common-generated): Append gnu/lib-names.h.
29083         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29084         abi-variants] (install-others-nosubdir): Depend on
29085         $(inst_includedir)/$(lib-names-h-abi).
29086         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29087         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29088         [$(build-shared) = yes && $(soversions.mk-done) = t]
29089         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29090         [$(build-shared) = yes && $(soversions.mk-done) = t]
29091         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29092         [$(build-shared) = yes && $(soversions.mk-done) = t]
29093         (common-generated): Append $(lib-names-h-abi) and
29094         $(lib-names-stmp-abi).
29095         * scripts/lib-names.awk: Do not handle multi being set.
29096         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29097         Remove variable.
29098         (abi-lp64_be-ld-soname): Likewise.
29099         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29100         Likewise.
29101         (abi-hard-ld-soname): Likewise.
29102         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29103         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29104         Remove variable.
29105         (abi-o32_hard-ld-soname): Likewise.
29106         (abi-o32_soft_2008-ld-soname): Likewise.
29107         (abi-o32_hard_2008-ld-soname): Likewise.
29108         (abi-n32_soft-ld-soname): Likewise.
29109         (abi-n32_hard-ld-soname): Likewise.
29110         (abi-n32_soft_2008-ld-soname): Likewise.
29111         (abi-n32_hard_2008-ld-soname): Likewise.
29112         (abi-n64_soft-ld-soname): Likewise.
29113         (abi-n64_hard-ld-soname): Likewise.
29114         (abi-n64_soft_2008-ld-soname): Likewise.
29115         (abi-n64_hard_2008-ld-soname): Likewise.
29116         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29117         Likewise.
29118         (abi-64-v2-ld-soname): Likewise.
29119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29120         ld.so entries.
29121         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29122         variable.
29123         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29124         entry.
29125         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29126         variable.
29127         (abi-64-ld-soname): Likewise.
29128         (abi-x32-ld-soname): Likewise.
29129         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29130         entry.
29131         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29133 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29135         [BZ #14138]
29136         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29137         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29138         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29139         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29140         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29141         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29142         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29143         syscall entry for GLIBC_2.2 symbol version.
29144         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29145         Likewise.
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29147         (setrlimit): Likewise.
29148         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29149         Likewise.
29151 2014-09-23  Will Newton  <will.newton@linaro.org>
29153         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29154         _LINUX_ARM_SYSDEP_H include guard too.
29155         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29156         define.
29158 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29160         * sysdeps/unix/sysv/linux/eventfd.c:
29161         Make first argument unsigned.
29162         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29163         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29165 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29167         [BZ #16852]
29168         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29169         * socket/sys/socket.h: Likewise.
29170         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29172 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29174         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29176 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29178         * time/tst-ftime.c: New test.
29179         * time/Makefile (tests): Add tst-ftime.
29181 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29183         * soft-fp/extended.h: Fix comment formatting.
29184         * soft-fp/op-1.h: Likewise.
29185         * soft-fp/op-2.h: Likewise.
29186         * soft-fp/op-4.h: Likewise.
29187         * soft-fp/op-8.h: Likewise.
29188         * soft-fp/op-common.h: Likewise.
29189         * soft-fp/soft-fp.h: Likewise.
29191         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29193 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29195         [BZ #6652]
29196         * Makeconfig (soversions-default-setname): Remove variable.
29197         ($(common-objpfx)soversions.i): Don't pass default_setname to
29198         soversions.awk.
29199         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29200         oldest_abi to abi-versions.awk.
29201         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29202         * config.make.in (oldest-abi): Remove variable.
29203         * configure.ac (--enable-oldest-abi): Remove configure option.
29204         * configure: Regenerated.
29205         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29206         text.
29207         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29208         * scripts/soversions.awk: Do not handle default_setname variable.
29209         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29210         variable.
29211         * sysdeps/mach/hurd/configure: Regenerated.
29212         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29213         variable.
29214         * sysdeps/unix/sysv/linux/configure: Regenerated.
29216 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29218         * elf/Makefile (CFLAGS-interp.c): Remove.
29219         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29220         path string.
29221         * elf/interp.c: Include generated runtime-linker.h
29223         * Makerules (lib%.so): Don't include $(+interp) in
29224         prerequisites.
29225         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29226         * dlfcn/eval.c: Remove file.
29228         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29229         macros.
29231         [BZ #17266]
29232         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29233         4.2 and newer.
29235         [BZ #17370]
29236         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29238 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29239             Jakub Jelinek  <jakub@redhat.com>
29241         [BZ #17266]
29242         * libio/stdio.h: Check definition of __fortify_function
29243         instead of __extern_always_inline to include bits/stdio2.h.
29244         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29245         check if __extern_always_inline is defined.
29246         [__USE_MISC || __USE_XOPEN]: Likewise.
29247         [__USE_ISOC99] Likewise.
29248         * misc/sys/cdefs.h (__fortify_function): Define only if
29249         __extern_always_inline is defined.
29250         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29251         __extern_always_inline and __extern_inline only for g++-4.3
29252         and newer or a compatible gcc.
29254 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29256         [BZ #17371]
29257         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29258         last change to handle zero prefix length.
29260 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29262         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29263         _SC_REGEX_VERSION.
29265         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29266         _POSIX_RAW_SOCKETS.
29268 2014-09-13  Allan McRae  <allan@archlinux.org>
29270         * po/ru.po: Update Russian translation from translation project.
29272 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29274         * locale/programs/locale.c (show_locale_vars): Inline local function
29275         into its sole call site.  Clean up some style nits.
29276         (print_item): New function, broken out of ...
29277         (show_info): ... local function here.  Clean up style nits.
29279         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29280         out of ...
29281         (set_class_defaults): ... local function set_default here.
29282         Define set_default as a macro locally to pass constant parameters.
29283         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29284         rather than a shared local.
29286         * stdlib/rpmatch.c (try): New function, broken out of ...
29287         (rpmatch): ... local function here.  Also, prototypify definition.
29289 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29291         * scripts/soversions.awk: Do not handle configuration names.
29292         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29293         vendor and os variables to soversions.awk.
29294         * configure.ac: Do not modify gnu-* host_os.
29295         * configure: Regenerated
29296         * shlib-versions: Remove first column with configuration names.
29297         * nptl/shlib-versions: Likewise.
29298         * nptl_db/shlib-versions: Likewise.
29299         * sysdeps/hppa/shlib-versions: Likewise.
29300         * sysdeps/m68k/shlib-versions: Likewise.
29301         * sysdeps/mach/hurd/shlib-versions: Likewise.
29302         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29303         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29304         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29305         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29306         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29307         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29308         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29309         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29311         Likewise.
29312         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29313         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29314         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29315         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29316         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29317         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29318         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29319         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29322         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29324         Regenerated.
29325         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29327         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29329         * shlib-versions: Remove OS-specific entries.  Moved to files in
29330         sysdeps.
29331         * sysdeps/mach/hurd/shlib-versions: New file.
29332         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29334         * nptl/shlib-versions: Remove architecture-specific entries.
29335         Moved to files in sysdeps.
29336         * shlib-versions: Likewise.
29337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29338         file.
29339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29340         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29341         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29342         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29344         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29345         (UDP_NO_CHECK6_RX): Likewise.
29347 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29349         * sysdeps/posix/sysconf.c (__sysconf): Spell
29350         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29352 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29354         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29355         loading.
29356         * iconv/Versions (__gconv_transliterate): Export for use from
29357         gconv modules.
29358         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29359         (struct __gconv_trans_data, __gconv_trans_fct,
29360         __gconv_trans_context_fct, __gconv_trans_query_fct,
29361         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29362         definitions.
29363         (struct __gconv_step_data): Remove __trans member.
29364         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29365         longer hidden.  Remove unused trans_data argument.
29366         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29367         (__gconv_translit_find): Remove declaration.
29368         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29369         prototype.
29370         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29371         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29372         trans_data argument.  Add hidden definition.
29373         (__gconv_translit_find): Remove.
29374         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29375         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29376         * iconv/skeleton.c: Remove transliteration initialization.
29377         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29378         __gconv_step_data initialization.
29379         * libio/iofwide.c (__libio_translit_): Remove.
29380         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29381         * wcsmbs/btowc.c (__btowc): Likewise.
29382         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29383         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29384         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29385         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29386         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29387         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29388         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29389         * wcsmbs/wctob.c (wctob): Likewise.
29391 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29393         [BZ #16194]
29394         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29395         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29396         register usage.
29397         * sysdeps/x86/Makefile: Adjust.
29399 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29400             Roland McGrath  <roland@hack.frob.com>
29402         * locale/weight.h: Add include guard.
29403         (findidx): Make static rather than auto; take new parameters
29404         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29405         * locale/weightwc.h: Likewise.
29406         * posix/fnmatch_loop.c
29407         (FCT): Change type of EXTRA from int32_t to wint_t.
29408         Don't include either header inside the function.
29409         Call FINDIDX rather than findidx, and pass new arguments.
29410         #undef FINDIDX at the end of the file.
29411         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29412         FINDIDX before including fnmatch_loop.c for the non-wide version.
29413         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29414         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29415         for the wide version.
29416         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29417         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29418         Pass new arguments to findidx.
29419         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29420         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29421         Don't #include it inside the function.  Pass new arguments to findidx.
29422         * posix/regex_internal.h
29423         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29424         (re_string_elem_size_at): Don't #include it inside the function.
29425         Pass new arguments to findidx.
29426         * string/strcoll_l.c: #include WEIGHT_H at top level.
29427         (get_next_seq): Don't #include it inside the function.
29428         Pass new arguments to findidx.
29429         (get_next_seq_nocache): Likewise.
29430         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29431         (STRXFRM): Don't #include it inside the function.
29432         Pass new arguments to findidx.
29434 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29436         [BZ #17344]
29437         * malloc/malloc.c (unlink): Turn asserts into a call to
29438         malloc_printerr.
29440 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29442         [BZ #17370]
29443         * libio/wfileops (do_ftell_wide): Free OUT.
29445 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29447         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29449 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29451         [BZ #17363]
29452         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29453         group if the current group is empty.
29455 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29457         * benchtests/bench-memset.c (test_main): Add more test from size
29458         from 32 to 512 bytes.
29459         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29460         Add POWER8 memset object.
29461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29462         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29463         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29464         implementation.
29465         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29466         Likewise.
29467         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29468         multiarch POWER8 memset optimization.
29469         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29470         POWER8 memset optimization.
29472         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29473         Remove bzero multiarch objects.
29474         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29475         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29476         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29477         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29478         Remove define.
29479         [__bzero]: Redefine to specific name.
29480         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29481         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29482         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29483         define.
29484         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29485         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29487 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29489         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29490         warnings into errors.
29492         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29493         __cxa_thread_atexit_impl prototype.
29495 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29497         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29498         Fix capitalization of error message.
29500 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29502         * sysdeps/mips/preconfigure: Modify ABI tests.
29504 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29506         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29508 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29509             Carlos O'Donell  <carlos@systemhalted.org>
29511         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29512         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29513         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29514         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29515         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29516         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29517         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29518         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29519         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29520         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29521         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29522         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29524         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29526         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29528         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29531         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29532         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29533         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29534         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29535         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29536         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29537         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29538         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29539         Deconditionalize the code that was previously under [RESET_PID].
29540         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29541         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29542         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29543         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29544         include sysdep.h.
29546 2014-09-08  Allan McRae  <allan@archlinux.org>
29548         * version.h (RELEASE): Set to "development".
29549         (VERSION): Set to "2.20.90"
29551 2014-09-07  Allan McRae  <allan@archlinux.org
29553         * version.h (RELEASE): Set to "stable".
29554         (VERSION): Set to "2.20"
29555         * include/features.h (__GLIBC_MINOR__): Set to 20.
29557         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29558         Liebler.
29560         * po/ko.po: Update Korean translation from translation project.
29562 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29564         [BZ #17354]
29565         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29566         macro for handling signed relocations.
29568 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29570         [BZ #17325]
29571         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29572         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29573         assert.
29574         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29575         * iconvdata/ibm935.c (BODY): Likewise.
29576         * iconvdata/ibm937.c (BODY): Likewise.
29577         * iconvdata/ibm939.c (BODY): Likewise.
29578         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29579         assert.
29580         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29581         script.
29582         * iconvdata/run-iconv-test.sh: New test loop for checking for
29583         decoder crashers.
29585 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29587         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29588         libm_hidden_ver.
29590 2014-09-01  Allan McRae  <allan@archlinux.org>
29592         * po/eo.po: Update Esperanto translation from translation project.
29594         * po/ca.po: Update Catalan translation from translation project.
29596 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29598         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29599         __proc_dostop call.
29601 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29603         [BZ #17319]
29604         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29605         to call set_thread_area instead of hand written asm.
29606         (__NR_set_thread_area): Removed define.
29607         (TLS_FLAG_WRITABLE): Likewise.
29608         (__ASSUME_SET_THREAD_AREA): Remove check.
29609         (TLS_EBX_ARG): Remove define.
29610         (TLS_LOAD_EBX): Likewise.
29612 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29614         Simplify atomicity of socket creation in bind.
29616         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29617         looking up the name after linking the file.
29619 2014-08-27  Allan McRae  <allan@archlinux.org>
29621         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29623 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29625         [BZ #17187]
29626         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29627         trans_compare, open_translit, __gconv_translit_find):
29628         Remove module loading code.
29630 2014-08-26  Allan McRae  <allan@archlinux.org>
29632         * po/vi.po: Update Vietnamese translation from translation project.
29634         * po/uk.po: Update Ukrainian translation from translation project.
29636         * po/fr.po: Update French translation from translation project.
29638         * po/ru.po: Update Russian translation from translation project.
29640         * po/pl.po: Update Polish translation from translation project.
29642         * po/cs.po: Update Czech translation from translation project.
29644         * po/de.po: Update German translation from translation project.
29646         * po/bg.po: Update Bulgarian translation from translation project.
29648         * po/sv.po: Update Sweedish translation from translation project.
29650         * po/nl.po: Update Dutch translation from translation project.
29652         * po/es.po: Update Spanish translation from translation project.
29654 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29656         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29658         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29659         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29660         (CPPFLAGS-iconvconfig): Likewise.
29661         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29663         * include/libc-symbols.h: Remove unnecessary check for
29664         NOT_IN_libc.
29665         * nptl/pthreadP.h: Likewise.
29666         * sysdeps/aarch64/setjmp.S: Likewise.
29667         * sysdeps/alpha/setjmp.S: Likewise.
29668         * sysdeps/arm/sysdep.h: Likewise.
29669         * sysdeps/i386/setjmp.S: Likewise.
29670         * sysdeps/m68k/setjmp.c: Likewise.
29671         * sysdeps/posix/getcwd.c: Likewise.
29672         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29673         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29674         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29675         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29676         * sysdeps/sh/sh3/setjmp.S: Likewise.
29677         * sysdeps/sh/sh4/setjmp.S: Likewise.
29678         * sysdeps/unix/alpha/sysdep.h: Likewise.
29679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29680         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29681         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29682         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29687         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29690         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29692         * sysdeps/x86_64/setjmp.S: Likewise.
29694 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29696         [BZ #17263]
29697         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29698         <stdint.h>.
29699         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29700         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29702 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29704         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29706         [BZ #17262]
29707         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29708         and __x86_64__ when disabling x87 inline functions.
29710 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29712         [BZ #17259]
29713         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29714         asm statement with __cpuid_count.
29716 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29718         * configure.ac: Change __ehdr_start code to dereference the struct.
29719         Run readelf on the output to look for relocations.
29720         * configure: Regenerated.
29722 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29724         [BZ #17261]
29725         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29726         value to 0.
29727         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29729 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29731         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29733 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29735         [BZ #16892]
29736         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29737         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29739 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29741         * malloc/malloc.c: Fix typo in comment.
29743 2014-08-09  Allan McRae  <allan@archlinux.org>
29745         * Regenerate libc.po.
29747 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29749         * intl/tst-gettext2.sh: Check every lang file for creation.
29751 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29753         * sysdeps/aarch64/fpu/math_private.h
29754         (libc_feholdsetround_noex_aarch64_ctx): New function.
29756 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29758         * sysdeps/arm/armv6/strcpy.S (strcpy):
29759         Fix performance issue in misaligned cases.
29761 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29763         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29764         Move definition from termios.h.
29765         (struct termio): Likewise.
29766         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29767         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29768         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29769         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29770         Likewise.
29771         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29772         Move definition to ioctl-types.h
29773         (struct termio): Likewise.
29774         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29775         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29776         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29777         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29778         Likewise.
29780 2014-08-05  Richard Henderson  <rth@redhat.com>
29782         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29783         exceptions.
29784         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29785         Add fraiseexcpt.
29786         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29787         Use __feraiseexcept.
29788         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29789         Protect libm symbols with IS_IN_libm.
29791         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29793 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29795         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29797 2014-08-04  Will Newton  <will.newton@linaro.org>
29799         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29800         file.
29802 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29804         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29805         variants for each function.
29807 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29809         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29810         appended ...
29811         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29812         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29813         appended ...
29814         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29815         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29816         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29817         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29818         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29819         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29820         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29821         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29822         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29823         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29824         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29825         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29826         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29827         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29828         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29829         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29830         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29831         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29832         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29833         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29834         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29835         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29837         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29838         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29839         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29840         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29841         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29842         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29843         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29844         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29845         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29846         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29847         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29848         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29849         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29850         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29851         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29852         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29853         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29854         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29855         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29856         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29857         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29858         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29859         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29860         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29862         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29864         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29865         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29866         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29867         Update #include.
29868         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29869         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29871 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29873         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29874         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29875         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29876         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29877         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29878         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29880 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29882         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29883         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29884         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29885         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29887 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29889         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29890         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29891         (__libc_vfork): Define function under this name.
29892         (__vfork): Define as an alias.
29893         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29894         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29896 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29898         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29899         that was previously under [RESET_PID].
29900         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29902 2014-08-04  Andreas Schwab  <schwab@suse.de>
29904         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29906 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29908         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29909         (main): Likewise.
29911 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29913         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29915 2014-08-01  Richard Henderon  <rth@redhat.com>
29917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29918         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29919         typo in exact zero test.
29920         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29924 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29926         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29927         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29928         * sysdeps/arm/sysdep.h: ... here.
29929         [!__ASSEMBLER__]: Include <stdint.h>.
29931 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29933         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29934         (HAVE_WCTYPE_H): Likewise.
29935         (HAVE_ISWCTYPE): Likewise.
29936         (ENABLE_NLS): Likewise.
29937         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29938         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29940         * posix/regex_internal.c: Check if DEBUG is defined and is
29941         set.
29943         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29944         (HAVE_MBSRTOWCS): Likewise.
29945         * posix/fnmatch.c: Include string.h unconditionally.
29947 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29949         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29950         reversal.
29952 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29954         * sysdeps/generic/safe-fatal.h: New file.
29955         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29956         * nptl/forward.c: Include it.
29957         (__pthread_unwind): Use __safe_fatal as default action, rather
29958         than a bogus use of INTERNAL_SYSCALL that could never work.
29960         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29961         * configure.ac (libc_cv_builtin_trap): New test.
29962         * configure: Regenerated.
29963         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29964         (ABORT_INSTRUCTION): Define using __builtin_trap.
29966         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29967         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29968         * sysdeps/nptl/nptl-signals.h: New file.
29969         * nptl/pthreadP.h: Include <nptl-signals.h>.
29971 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29973         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29974         (ONE_DIRECTION): Define.
29975         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29976         (ONE_DIRECTION): Define.
29977         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29978         (ONE_DIRECTION): Define.
29980 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29982         * sysdeps/s390/Makefile: Delete file.
29983         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29984         * sysdeps/s390/__longjmp.c: Delete file.
29985         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29986         Remove fields __flags and __reserved.
29987         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29988         and add versioning.
29989         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29990         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29991         * sysdeps/s390/rtld-setjmp.S: Likewise.
29992         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29993         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29994         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29995         * sysdeps/s390/s390-32/setjmp.S: ... here.
29996         Add versioning.
29997         (__sigsetjmp): Remove setting __flags field.
29998         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29999         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30000         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30001         * sysdeps/s390/s390-64/setjmp.S: ... here.
30002         Add versioning.
30003         (__sigsetjmp): Remove setting __flags field.
30004         * sysdeps/s390/setjmp.S: Delete file.
30005         * sysdeps/s390/sigjmp.c: Likewise.
30006         * sysdeps/s390/v1-longjmp.c: Likewise.
30007         * sysdeps/s390/v1-setjmp.h: Likewise.
30008         * sysdeps/s390/v1-sigjmp.c: Likewise.
30009         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30010         Remove v1-longjmp_chk.
30011         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30012         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30013         Include debug/longjmp_chk.c and add versioning.
30014         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30015         Include nptl/pt-longjmp.c and add versioning.
30016         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30017         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30018         Include __longjmp.c.
30019         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30020         Move to ...
30021         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30022         (__getcontext): Remove setting __flags field.
30023         Add versioning.
30024         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30025         Don't restore upper high grps.
30026         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30027         Likewise.
30028         (__swapcontext): Remove setting uc_flags field.
30029         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30030         Delete file.
30031         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30032         Include __longjmp.c.
30033         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30034         Move to ...
30035         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30036         (__getcontext): Remove setting __flags field.
30037         Add versioning.
30038         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30039         (__swapcontext): Remove setting uc_flags field.
30040         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30041         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30042         Remove fields uc_high_gprs and __reserved.
30043         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30044         New file with reverted content.
30045         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30046         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30047         Regenerated.
30048         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30049         Regenerated.
30051 2014-07-31  Andreas Schwab  <schwab@suse.de>
30053         * config.h.in (HAVE_IFUNC): Define to 0.
30054         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30055         definedness.
30057 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30060         memmove-avx-unaligned, memcpy-avx-unaligned and
30061         mempcpy-avx-unaligned.
30062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30063         Add tests for AVX memcpy functions.
30064         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30065         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30066         memcpy_chk.
30067         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30068         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30069         memmove_chk.
30070         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30071         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30072         mempcpy_chk.
30073         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30074         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30075         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30077 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30079         [BZ #17213]
30080         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30081         powerpc64le.
30083 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30085         [BZ #16839]
30086         * manual/llio.texi: Add section about open file description locks.
30087         * manual/examples/ofdlocks.c: Example of open file description
30088         lock usage.
30089         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30090         F_OFD_SETLK, and F_OFD_SETLKW.
30092 2014-07-23  Allan McRae  <allan@archlinux.org>
30094         * po/es.po: Update Spanish translation from translation project.
30096 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30098         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30100 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30102         [BZ #17078]
30103         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30104         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30105         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30107 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30109         [BZ #17088]
30110         * math/fesetenv.c (__fesetenv)
30111         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30112         * math/feupdateenv.c (__feupdateenv)
30113         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30115         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30116         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30117         (__ASSUME_SOCKETCALL): Do not define.
30119         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30120         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30121         (__ASSUME_SOCKETCALL): Do not define.
30122         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30123         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30124         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30125         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30126         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30127         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30129         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30131         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30132         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30133         (__ASSUME_SOCKETCALL): Do not define.
30134         (__ASSUME_IPC64): Define unconditionally.
30135         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30136         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30137         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30138         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30139         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30141         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30142         Likewise.
30144         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30145         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30146         (__ASSUME_SOCKETCALL): Do not define.
30147         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30148         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30149         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30150         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30151         (__ASSUME_REQUEUE_PI): Define unconditionally.
30152         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30153         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30154         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30155         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30156         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30157         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30159         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30160         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30161         (__ASSUME_SOCKETCALL): Do not define.
30162         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30163         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30164         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30165         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30167         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30169         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30170         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30171         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30172         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30173         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30174         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30175         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30176         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30177         (__ASSUME_GETCPU_SYSCALL): Likewise.
30179         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30180         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30181         cases for individual architectures.
30182         * sysdeps/gnu/configure: Regenerated.
30183         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30184         LIBC_SLIBDIR_RTLDDIR.
30185         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30186         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30187         LIBC_SLIBDIR_RTLDDIR.
30188         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30190         LIBC_SLIBDIR_RTLDDIR.
30191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30192         Regenerated.
30193         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30194         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30195         file.
30196         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30197         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30198         file.
30199         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30200         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30201         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30202         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30204         * sysdeps/aarch64/shlib-versions: Move to ...
30205         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30206         * sysdeps/alpha/shlib-versions: Move to ...
30207         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30208         * sysdeps/arm/shlib-versions: Move to ...
30209         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30210         * sysdeps/hppa/shlib-versions: Move all contents except for
30211         libgcc_s entry to ...
30212         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30213         entry from ...
30214         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30215         * sysdeps/ia64/shlib-versions: Move to ...
30216         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30217         entry from ...
30218         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30219         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30220         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30221         * sysdeps/microblaze/shlib-versions: Move to ...
30222         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30223         * sysdeps/mips/shlib-versions: Move to ...
30224         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30225         entry from ...
30226         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30227         * sysdeps/tile/shlib-versions: Move to ...
30228         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30229         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30230         from ...
30231         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30232         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30233         entry from ...
30234         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30236 2014-07-17  Will Newton  <will.newton@linaro.org>
30238         * sysdeps/arm/bits/atomic.h
30239         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30240         (__arch_compare_and_exchange_bool_16_int): Likewise.
30241         (__arch_compare_and_exchange_bool_64_int): Likewise.
30243         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30244         into an #else block.
30246 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30248         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30249         just Linux configurations.  Test empirically that the compiler sets
30250         __ARM_EABI__, rather than using the tuple to decide.
30251         * sysdeps/arm/preconfigure: Regenerated.
30252         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30253         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30254         contents appended ...
30255         * sysdeps/arm/configure.ac: ... here.
30256         * sysdeps/arm/configure: Regenerated.
30258 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30260         * nptl/pthread_kill.c: New file.
30261         * nptl/pthread_sigmask.c: New file.
30262         * nptl/pthread_sigqueue.c: New file.
30264         * sysdeps/nptl/lowlevellock.h: New file.
30265         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30266         * sysdeps/nptl/lowlevellock-futex.h: New file.
30268         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30269         Remove dead declarations.
30271 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30273         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30274         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30275         config-cflags-avx2.
30276         * sysdeps/x86_64/configure.ac: Likewise.
30277         * sysdeps/i386/configure: Regenerated.
30278         * sysdeps/x86_64/configure: Likewise.
30279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30280         memset-avx2 only if config-cflags-avx2 is yes.
30281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30282         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30283         defined.
30284         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30285         only if HAVE_AVX2_SUPPORT is defined.
30286         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30288 2014-07-14  Alan Modra  <amodra@gmail.com>
30290         [BZ #17153]
30291         * elf/elf.h (DT_PPC64_NUM): Correct value.
30292         * NEWS: Add to fixed bug list.
30294 2014-07-13  Jim Meyering  <meyering@fb.com>
30296         [BZ 17150]
30297         regex: don't deref NULL upon heap allocation failure
30298         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30299         failure in one more place.
30300         To trigger the segfault, configure grep -with-included-regex,
30301         build it, and run these commands:
30302         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30304 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30306         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30308 2014-07-11  Richard Henderson  <rth@redhat.com>
30310         * sysdeps/aarch64/libm-test-ulps: Update.
30312 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30314         [BZ #17135]
30315         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30316         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30317         (__nptl_setxid): Initialize error member.  Call
30318         __nptl_setxid_error.
30319         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30320         * nptl/descr.h (struct xid_command): Add error member.
30321         * nptl/tst-setuid3.c: New file.
30322         * nptl/Makefile (tests): Add it.
30324 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30326         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30327         New define.
30328         (__lll_trylock): Use __lll_base_trylock.
30329         (__lll_cond_trylock): Likewise.
30331 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30333         * nptl/pthread_create.c (start_thread): Use atomic_or and
30334         lll_futex_wake directly rather than lll_robust_dead.
30335         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30336         (lll_robust_dead): Macro removed.
30337         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30338         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30339         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30340         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30341         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30342         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30343         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30344         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30345         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30346         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30348         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30349         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30350         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30353         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30354         Use atomic_compare_and_exchange_val_acq directly rather than
30355         lll_robust_trylock.
30356         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30357         (__lll_robust_trylock, lll_robust_trylock): Removed.
30358         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30359         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30360         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30361         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30362         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30363         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30365         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30367         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30368         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30369         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30370         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30373 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30375         * manual/locale.texi (Locale Names): New section documenting
30376         locale name syntax.  Adjust menu and node chaining accordingly.
30377         (Choosing Locale): Reference Locale Names, Locale Categories.
30378         Mention setting LC_ALL=C.  Reflect that name syntax is now
30379         documented.
30380         (Locale Categories): New section title.  Reference Locale Names.
30381         LC_ALL is an environment variable, but not a category.
30382         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30383         description, now in Locale Name.  Reference that section.  Locale
30384         name syntax is now documented.
30386 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30388         [BZ #17137]
30389         * locale/findlocale.c (name_present, valid_locale_name): New
30390         functions.
30391         (_nl_find_locale): Use the loc_name variable to store name
30392         candidates.  Call name_present and valid_locale_name to check and
30393         validate locale names.  Return an error if the locale is invalid.
30395 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30397         * locale/setlocale.c (setlocale): Use strdup for allocating
30398         composite name copy.
30400 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30402         Sync up with gnulib.
30403         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30404         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30405         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30406         and _GL_ARG_NONNULL.
30407         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30408         [!_LIBC]: Include code for Windows and Cygwin.
30409         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30410         Include prototype for int strerror_r.
30411         [!_LIBC] (is_open): New function.
30412         (flush_stdout): New function.
30413         (print_errno_message): Use it.
30414         (error): Likewise.
30415         (error_at_line): Likewise.
30416         (error_tail) Add function attribute macros.  Use
30417         __builtin_expect.
30419         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30421         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30423         * io/ftw.c: Include sys/param.h unconditionally.
30425         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30427         [BZ #17125]
30428         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30429         libc_freeres_ptr.
30430         (freecache): New function to free CACHE on exit.
30432         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30433         initialization.
30435 2014-07-09  David S. Miller  <davem@davemloft.net>
30437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30439         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30440         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30441         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30442         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30443         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30444         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30445         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30446         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30447         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30448         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30449         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30450         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30451         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30453 2014-07-09  Andreas Schwab  <schwab@suse.de>
30455         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30456         output.
30457         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30458         (do_test): Likewise.
30460         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30462 2014-07-09  Will Newton  <will.newton@linaro.org>
30464         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30465         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30466         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30467         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30468         * sysdeps/hppa/start.S (_start): Likewise.
30470 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30472         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30474         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30475         defined.
30477 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30479         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30480         after checking that it is non-NULL.
30482         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30484 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30486         * sysdeps/powerpc/memmove.c: Remove file.
30487         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30488         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30489         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30490         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30491         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30492         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30493         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30494         string memmove instead of removed powerpc one.
30496         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30497         [weak_alias]: Fix compiler warning due trailing data.
30498         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30499         [weak_alias]: Likewise.
30500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30501         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30504         (__libc_ifunc_impl_list): Add memmove functions.
30506 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30508         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30509         Remove code.
30510         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30511         Likewise.
30512         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30513         Likewise.
30514         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30515         Likewise.
30516         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30517         Likewise.
30518         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30519         Likewise.
30520         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30521         Likewise.
30522         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30523         Likewise.
30524         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30525         Likewise.
30526         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30527         Likewise.
30528         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30529         Likewise.
30530         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30531         Likewise.
30532         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30533         Likewise.
30534         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30535         Likewise.
30536         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30537         Likewise.
30538         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30539         Likewise.
30540         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30541         Likewise.
30543 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30545         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30546         to avoid alignment traps in non-cacheable memory.
30547         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30550         multiarch objects.
30551         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30552         file: multiarch power7 memmove.
30553         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30554         multiarch default memmove.
30555         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30556         multiarch memove for powerpc32/power4.
30558         * string/bcopy.c: Use full path to include memmove.c.
30559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30560         multiarch objects.
30561         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30562         bcopy for powerpc64.
30563         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30564         bcopy for powerpc64.
30565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30566         and memmove implementations.
30567         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30568         optimized multiarch memmove for POWER7/powerpc64.
30569         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30570         default multiarch memmove for powerpc64.
30571         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30572         multiarch for powerpc64.
30573         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30574         for POWER7/powerpc64.
30575         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30576         memmove for POWER7/powerpc64.
30578         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30579         glibc default one.
30581         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30582         __ELF_NATIVE_CLASS equal to 64.
30584 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30586         * sysdeps/nptl/lowlevellock.h: File removed.
30588         * NEWS: NPTL is no longer an add-on!
30589         * nptl/internaltypes.h: Moved ...
30590         * sysdeps/nptl/internaltypes.h: ... here.
30591         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30592         * sysdeps/nptl/fork.c: Likewise.
30593         * sysdeps/nptl/gai_misc.h: Likewise.
30594         * sysdeps/nptl/librt-cancellation.c: Likewise.
30595         * sysdeps/nptl/jmp-unwind.c: Likewise.
30596         * sysdeps/nptl/setxid.h: Likewise.
30597         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30598         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30599         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30600         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30601         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30602         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30603         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30604         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30605         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30606         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30607         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30608         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30609         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30610         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30611         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30612         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30613         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30614         * nptl/Makeconfig: Moved ...
30615         * sysdeps/nptl/Makeconfig: ... here.
30616         * nptl/configure: File removed.
30617         * nptl/ANNOUNCE: File removed.
30618         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30619         * sysdeps/unix/sysv/linux/configure: Regenerated.
30621         * nptl/Makefile (routines): Add libc_pthread_init,
30622         libc_multiple_threads, register-atfork and unregister-atfork.
30623         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30624         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30625         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30626         pthread-pi-defines.sym, structsem.sym.
30627         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30628         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30629         [$(subdir) = nptl] (tests): Add tst-setgetname.
30630         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30631         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30632         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30633         [!LIBC_SIGACTION]: Remove aliases.
30634         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30635         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30636         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30637         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30638         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30639         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30640         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30641         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30643         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30644         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30645         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30646         __libc_allocate_rtsig_private.
30647         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30648         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30649         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30650         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30651         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30652         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30653         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30654         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30655         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30656         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30657         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30658         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30659         * nptl/internaltypes.h: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30661         * sysdeps/nptl/jmp-unwind.c: ... here.
30662         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30663         * nptl/libc-lowlevellock.c: ... here.
30664         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30665         * nptl/libc_multiple_threads.c: ... here.
30666         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30667         * nptl/libc_pthread_init.c: ... here.
30668         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30669         * nptl/lowlevelbarrier.sym: ... here.
30670         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30671         * nptl/lowlevelcond.sym: ... here.
30672         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30673         * nptl/lowlevellock.c: ... here.
30674         * nptl/lowlevellock.h: Moved ...
30675         * sysdeps/nptl/lowlevellock.h: ... here.
30676         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30677         * nptl/lowlevelrobustlock.c: ... here.
30678         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30679         * nptl/lowlevelrobustlock.sym: ... here.
30680         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30681         * nptl/lowlevelrwlock.sym: ... here.
30682         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30683         * nptl/pt-fork.c: ... here.
30684         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30685         * nptl/pthread-pi-defines.sym: ... here.
30686         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30687         * nptl/pthread_attr_getaffinity.c: ... here.
30688         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30689         * nptl/pthread_attr_setaffinity.c: ... here.
30690         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30691         * nptl/pthread_mutex_cond_lock.c: ... here.
30692         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30693         Update #include.
30694         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30695         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30696         * nptl/pthread_once.c: ... here, replacing old file.
30697         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30698         * nptl/pthread_yield.c: ... here.
30699         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30700         * nptl/register-atfork.c: ... here.
30701         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30702         * nptl/sem_post.c: ... here.
30703         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30704         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30705         * nptl/sem_timedwait.c: ... here.
30706         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30707         * nptl/sem_trywait.c: ... here.
30708         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30709         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30710         * nptl/sem_wait.c: ... here.
30711         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30712         * nptl/structsem.sym: ... here.
30713         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30714         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30715         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30716         * nptl/unregister-atfork.c: ... here.
30717         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30718         * nptl/unwindbuf.sym: ... here.
30719         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30720         * sysdeps/nptl/fork.c: ... here.
30721         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30722         * sysdeps/nptl/fork.h: ... here.
30723         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30724         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30725         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30726         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30727         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30728         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30729         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30730         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30731         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30732         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30733         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30734         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30735         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30736         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30737         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30738         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30739         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30740         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30741         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30742         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30743         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30744         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30745         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30746         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30747         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30748         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30749         * sysdeps/unix/sysv/linux/raise.c: ... here.
30750         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30751         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30752         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30753         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30754         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30755         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30756         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30757         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30758         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30759         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30760         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30761         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30762         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30763         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30764         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30766 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30768         * sysdeps/generic/memcopy.h: Add comment for
30769         MEMCPY_OK_FOR_FWD_MEMMOVE.
30771 2014-07-04  Will Newton  <will.newton@linaro.org>
30773         * string/memchr.c: Merge from gnulib.
30774         [_LIBC]: Remove conditionals.
30775         (__ptr_t): Remove define.
30776         (LONG_MAX_32_BITS): Likewise.
30777         (LONG_MAX): Likewise.
30778         (MEMCHR): Use ANSI prototype and optimize algorithm.
30780         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30782 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30784         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30785         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30787         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30788         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30789         in a bare environment with no <stdlib.h> installed.
30790         * sysdeps/nptl/configure: Regenerated.
30792         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30794         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30795         AC_EGREP_CPP for kernel header checks, so they only succeed if
30796         including <linux/version.h> actually works right.
30797         * sysdeps/unix/sysv/linux/configure: Regenerated.
30799         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30800         value so it's not diagnosed as unused.
30802         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30803         thing) with "ifeq ($(subdir),rt)".
30805 2014-07-03  Richard Henderson  <rth@redhat.com>
30807         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30808         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30809         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30811         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30812         (math_force_eval): New.
30814         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30815         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30817         * sysdeps/alpha/fpu/s_round.c: Remove file.
30818         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30820         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30821         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30822         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30823         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30824         (_dl_start, print_statistics): Likewise.
30825         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30826         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30828         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30829         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30830         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30831         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30832         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30833         (HP_SMALL_TIMING_AVAIL): Define.
30834         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30835         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30836         (HP_SMALL_TIMING_AVAIL): Define.
30837         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30838         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30840         * sysdeps/aarch64/hp-timing.h: New file.
30842         * sysdeps/generic/hp-timing.h: Remove dead comment.
30843         * sysdeps/generic/hp-timing-common.h: New file.
30844         * sysdeps/alpha/hp-timing.h: Include it.
30845         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30846         * sysdeps/i386/i686/hp-timing.h: Likewise.
30847         * sysdeps/ia64/hp-timing.h: Likewise.
30848         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30849         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30850         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30851         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30852         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30853         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30854         (hp_timing_t): New.
30856         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30857         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30858         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30859         * elf/rtld.c (_dl_start_final): Likewise.
30860         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30861         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30862         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30863         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30864         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30866         (HP_TIMING_DIFF_INIT): Remove.
30867         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30868         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30869         (HP_TIMING_DIFF_INIT): Remove.
30870         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30871         * sysdeps/i386/i686/hp-timing.c: Remove file.
30872         * sysdeps/x86_64/hp-timing.c: Remove file.
30873         * sysdeps/ia64/hp-timing.c: Remove file.
30874         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30875         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30877         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30879         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30880         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30881         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30882         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30883         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30884         (HP_TIMING_ACCUM): Remove.
30885         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30886         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30887         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30889         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30890         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30891         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30892         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30893         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30894         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30895         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30896         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30898         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30900 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30902         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30904 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30906         Sync up with gettext.
30907         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30908         [_MSC_VER]: Include malloc.h
30909         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30910         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30911         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30912         TEMP_FAILURE_RETRY.  Cast return of alloca.
30913         [!_LIBC] Call gl_rwlock_init.
30914         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30916 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30918         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30919         before checking its value.
30921 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30923         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30925         * debug/memcpy_chk.c: Don't include pagecopy.h.
30926         * debug/mempcpy_chk.c: Likewise.
30927         * string/memcpy.c: Likewise.
30928         * string/memmove.c: Likewise.
30929         * sysdeps/powerpc/memmove.c: Likewise.
30930         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30931         definition of PAGE_COPY_FWD_MAYBE here...
30932         * sysdeps/generic/pagecopy.h: ... from here.
30933         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30935 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30936             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30938         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30940         optimizations.
30941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30942         (__libc_ifunc_impl_list): Likewise.
30943         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30944         multiarch strcat for PPC64.
30945         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30946         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30948 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30950         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30952 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30954         * intl/loadmsgcat.c: Remove declaration of
30955         get_sysdep_segment_value.
30956         (get_sysdep_segment_value): Use ISO C style.
30957         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30958         semicolon.  Fix typo and formatting in comment.
30959         (_nl_unload_domain): Use ISO C style.
30961         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30963 2014-07-02  Will Newton  <will.newton@linaro.org>
30965         * malloc/obstack.c: Merge from gnulib master.
30966         [HAVE_CONFIG_H]: Remove conditional code.
30967         [!_LIBC]: Include config.h.
30968         [!ELIDE_CODE]: Don't include inttypes.h, include
30969         stdint.h unconditionally.
30970         (print_and_abort): Mark as _Noreturn.
30971         (_obstack_allocated_p): Mark as __attribute_pure__.
30972         (obstack_free): Rename to __obstack_free.
30973         [!__attribute__]: Remove conditional code.
30974         * malloc/obstack.h: Merge from gnulib master.
30975         [__cplusplus]: Move conditional down.
30976         [!__attribute_pure__]: Define __attribute_pure__ here
30977         if it is not already defined.
30978         (_obstack_memory_used): Mark as __attribute_pure__.
30979         [!__obstack_free]: Define as obstack_free.
30980         [__GNUC__]: Remove check for ancient NeXT gcc.
30982 2014-07-02  Will Newton  <will.newton@linaro.org>
30983             Paul Eggert  <eggert@cs.ucla.edu>
30985         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30987 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30989         * resolv/gethnamaddr.c: Add comment warning that the file is
30990         not maintained.
30992 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30994         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30995         entries.
30997         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30998         entry for aio_cancel and aio_cancel64.
30999         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31000         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31001         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31002         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31003         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31004         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31005         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31006         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31007         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31008         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31009         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31010         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31011         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31013 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31015         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31016         * nptl/pthread_mutex_lock.c: Likewise.
31017         * nptl/pthread_mutex_timedlock.c: Likewise.
31018         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31020 2014-07-01  Richard henderson  <rth@redhat.com>
31022         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31023         (__isnan, __isnanl): Remove.
31024         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31026         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31028 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31030         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31032 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31034         * resolv/nss_dns/dns-host.c (getanswer_r)
31035         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31037 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31040         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31041         undefine.
31042         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31043         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31045 2014-07-01  Roland McGrath <roland@hack.frob.com>
31047         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31048         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31050         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31051         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31053         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31054         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31055         ... here.
31056         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31057         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31059         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31060         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31061         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31062         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31064         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31065         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31066         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31067         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31068         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31069         Moved ...
31070         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31071         ... here.
31072         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31073         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31074         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31075         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31076         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31077         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31078         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31079         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31080         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31081         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31082         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31083         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31084         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31085         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31086         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31087         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31088         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31089         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31090         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31091         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31092         ... here.
31093         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31094         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31095         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31096         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31097         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31098         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31099         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31100         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31102 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31104         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31105         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31106         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31107         Add sysdep.
31109 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31113 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31115         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31116         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31120         * sysdeps/arm/libm-test-ulps: Regenerated.
31122 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31123             Roland McGrath <roland@hack.frob.com>
31125         * test-skeleton.c (signal_handler): Kill the whole process group
31126         before killing the child individually.
31127         (main): Report any failure on `setpgid'.
31129 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31131         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31132         from _TLS_H to _ARM_NPTL_TLS_H.
31133         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31134         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31136 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31138         [BZ #16539]
31139         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31140         (__expm1l): Return argument unchanged when small but not
31141         subnormal.
31143         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31144         include macro name.
31145         (_FP_UNPACK_RAW_1_P): Likewise.
31146         (_FP_PACK_RAW_1): Likewise.
31147         (_FP_PACK_RAW_1_P): Likewise.
31148         (_FP_MUL_MEAT_1_wide): Likewise.
31149         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31150         (_FP_MUL_MEAT_1_hard): Likewise.
31151         (_FP_DIV_MEAT_1_imm): Likewise.
31152         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31153         (_FP_DIV_MEAT_1_udiv): Likewise.
31154         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31155         (_FP_UNPACK_RAW_2): Likewise.
31156         (_FP_UNPACK_RAW_2_P): Likewise.
31157         (_FP_PACK_RAW_2): Likewise.
31158         (_FP_PACK_RAW_2_P): Likewise.
31159         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31160         (_FP_MUL_MEAT_2_wide): Likewise.
31161         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31162         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31163         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31164         (_FP_MUL_MEAT_2_gmp): Likewise.
31165         (_FP_DIV_MEAT_2_udiv): Likewise.
31166         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31167         (_FP_FRAC_SRL_4): Likewise.
31168         (_FP_FRAC_SRST_4): Likewise.
31169         (_FP_FRAC_SRS_4): Likewise.
31170         (_FP_UNPACK_RAW_4): Likewise.
31171         (_FP_UNPACK_RAW_4_P): Likewise.
31172         (_FP_PACK_RAW_4): Likewise.
31173         (_FP_PACK_RAW_4_P): Likewise.
31174         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31175         (_FP_MUL_MEAT_4_wide): Likewise.
31176         (_FP_MUL_MEAT_4_gmp): Likewise.
31177         (umul_ppppmnnn): Likewise.
31178         (_FP_DIV_MEAT_4_udiv): Likewise.
31179         (__FP_FRAC_ADD_4): Likewise.
31180         (__FP_FRAC_SUB_3): Likewise.
31181         (__FP_FRAC_SUB_4): Likewise.
31182         (__FP_FRAC_DEC_3): Likewise.
31183         (__FP_FRAC_DEC_4): Likewise.
31184         (__FP_FRAC_ADDI_4): Likewise.
31185         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31186         (_FP_FRAC_SRL_8): Likewise.
31187         (_FP_FRAC_SRS_8): Likewise.
31189         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31190         include macro name.
31191         (FP_UNPACK_RAW_EP): Likewise.
31192         (FP_PACK_RAW_E): Likewise.
31193         (FP_PACK_RAW_EP): Likewise.
31194         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31195         (_FP_ISSIGNAN): Likewise.
31196         (_FP_ADD_INTERNAL): Likewise.
31197         (_FP_FMA): Likewise.
31198         (_FP_CMP): Likewise.
31199         (_FP_SQRT): Likewise.
31200         (_FP_TO_INT): Likewise.
31201         (_FP_FROM_INT): Likewise.
31202         (FP_EXTEND): Likewise.
31203         (_FP_DIV_MEAT_N_loop): Likewise.
31205 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31207         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31208         throughout.
31210 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31212         [BZ #17097]
31213         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31214         result with correct sign in case of exponents that produce
31215         overflow except for X very close to 1.
31217 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31219         mktime: merge #if/#ifdef usage from glibc
31220         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31221         as that works with both Glibc's and Gnulib's style.
31222         See thread starting at Siddhesh Poyarekar's bug report at:
31223         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31225 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31227         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31228         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31229         * sysdeps/tile/tilegx/memmove.c: Remove file.
31231 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31233         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31234         abi-name definition.
31235         * scripts/soversions.awk: Do not handle or generate ABI lines.
31236         * shlib-versions: Remove ABI entries.
31237         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31238         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31240 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31243         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31244         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31245         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31247         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31249         Moved ...
31250         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31251         ... here.
31252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31253         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31255         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31257         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31259         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31261         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31263         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31265         Moved ...
31266         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31268         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31270         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31272         Moved ...
31273         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31275         Moved ...
31276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31278         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31280         Moved ...
31281         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31283         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31285         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31287         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31289         Moved ...
31290         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31292         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31293         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31294         Moved ...
31295         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31297         Moved ...
31298         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31299         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31300         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31302         Moved ...
31303         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31304         ... here.
31305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31306         Identical file removed.
31307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31308         Moved ...
31309         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31311         Identical file removed.
31312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31313         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31315         Moved ...
31316         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31318         Identical file removed.
31319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31320         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31322         Identical file removed.
31323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31324         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31326         Identical file removed.
31327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31328         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31330         Identical file removed.
31331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31332         Moved ...
31333         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31335         Identical file removed.
31336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31337         Moved ...
31338         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31340         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31342         Identical file removed.
31343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31344         Moved ...
31345         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31346         ... here.
31347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31348         Identical file removed.
31349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31350         Moved ...
31351         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31353         Identical file removed.
31354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31355         Moved ...
31356         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31358         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31360         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31362         Moved ...
31363         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31364         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31365         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31367         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31368         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31369         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31370         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31371         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31373 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31375         [BZ #17092]
31376         * nscd/nscd.c (monitor_child): Return exit status of child
31377         instead of return value from wait syscall.
31379 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31381         * configure.ac (libc_commonpagesize): Remove variable.
31382         (libc_relro_required): Likewise.
31383         (libc_cv_z_relro): Remove configure test.
31384         * configure: Regenerated.
31385         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31386         variable.
31387         (libc_relro_required): Likewise.
31388         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31389         (libc_relro_required): Likewise.
31390         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31391         (libc_relro_required): Likewise.
31392         * sysdeps/arm/preconfigure: Regenerated.
31393         * sysdeps/ia64/preconfigure: Remove file.
31394         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31395         variable.
31396         (libc_relro_required): Likewise.
31398         [BZ #16561]
31399         [BZ #16562]
31400         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31401         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31402         recompute overflowing results in original rounding mode.
31403         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31404         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31405         recompute overflowing results in original rounding mode.
31406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31407         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31408         recompute overflowing results in original rounding mode.
31409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31410         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31411         recompute overflowing results in original rounding mode.
31412         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31413         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31414         recompute overflowing results in original rounding mode.
31415         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31416         (libc_feholdsetround_ctx): New macro.
31417         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31418         * sysdeps/i386/fpu/libm-test-ulps: Update.
31419         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31421 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31423         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31424         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31425         corresponding .cpsetup call.
31427 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31429         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31430         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31431         * sysdeps/arm/Makefile [$(subdir) = csu]
31432         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31433         (static-only-routines): Add aeabi_read_tp here.
31434         (shared-only-routines): Add libc-aeabi_read_tp here.
31435         (CFLAGS-libc-start.c): Add -fexceptions here.
31436         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31437         (sysdep_routines, static-only-routines, shared-only-routines):
31438         Don't add to these here.
31439         (CFLAGS-libc-start.c): Likewise.
31441         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31442         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31443         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31444         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31445         * sysdeps/arm/Makefile [$(subdir) = rt]
31446         (librt-sysdep_routines, librt-shared-only-routines):
31447         Append rt-aeabi_unwind_cpp_pr1 here.
31448         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31449         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31450         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31451         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31452         Append nptl-aeabi_unwind_cpp_pr1 here.
31453         (tests): Filter out tst-cleanupx4 here.
31454         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31455         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31456         Don't do those here.
31458 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31460         * scripts/list-sources.sh: Do not handle ports specially.
31462 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31464         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31465         * sysdeps/arm/feupdateenv.c: Likewise.
31467         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31469 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31471         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31472         trailing whitespace removed.
31473         * scripts/config.guess: Update to version 2014-03-23.
31474         * scripts/config.sub: Update to version 2014-05-01
31475         * scripts/install-sh: Update to version 2013-12-25.23.
31476         * scripts/move-if-change: Update from gnulib.
31478 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31480         * debug/memmove_chk.c: Remove pagecopy.h include.
31482 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31484         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31485         identical to gnulib mktime.
31487 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31489         * configure.ac: Do not test for machine being rs6000.  Do not test
31490         for powerpc*-*soft.
31491         * configure: Regenerated.
31493         [BZ #11505]
31494         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31495         test.
31496         * configure: Regenerated.
31497         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31498         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31499         Remove configure test.
31500         * sysdeps/arm/configure: Regenerated.
31501         * sysdeps/nptl/configure.ac: Do not check
31502         libc_cv_asm_cfi_directives.
31503         * sysdeps/nptl/configure: Regenerated.
31504         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31505         * sysdeps/x86_64/nptl/configure: Remove generated file.
31506         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31507         unconditional.
31508         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31510 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31512         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31513         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31514         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31515         it is defined.
31517         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31518         instead of whether it is defined.
31519         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31520         * sysdeps/hppa/dl-machine.h: Likewise.
31521         * sysdeps/ia64/dl-machine.h: Likewise.
31522         * sysdeps/m68k/dl-machine.h: Likewise.
31523         * sysdeps/microblaze/dl-machine.h: Likewise.
31524         * sysdeps/mips/dl-machine.: Likewise.
31525         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31526         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31527         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31528         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31529         * sysdeps/sh/dl-machine.h: Likewise.
31530         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31531         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31532         * sysdeps/tile/dl-machine.h: Likewise.
31533         * sysdeps/x86_64/dl-machine.h: Likewise.
31535         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31536         code.
31537         (verify_persistent_db): Likewise.
31539 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31542         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31544         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31546         Moved ...
31547         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31548         ... here.
31549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31550         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31552         Identical file removed.
31553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31554         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31556         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31558         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31560         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31562         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31564         Moved ...
31565         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31567         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31569         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31571         Moved ...
31572         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31574         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31576         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31578         Identical file removed.
31579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31580         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31582         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31584         Moved ...
31585         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31586         ... here.
31587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31590         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31592         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31594         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31596         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31598         Moved ...
31599         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31601         Moved ...
31602         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31604         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31606         Moved ...
31607         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31609         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31611         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31612         folded into ...
31613         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31614         * sysdeps/unix/sysv/linux/s390/Versions
31615         (libpthread: GLIBC_2.19): New version set.
31616         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31617         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31618         (librt: GLIBC_2.3.3): New version set.
31619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31620         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31621         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31622         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31623         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31624         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31625         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31626         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31627         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31628         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31629         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31630         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31631         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31632         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31633         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31634         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31635         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31636         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31637         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31638         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31639         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31640         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31641         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31642         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31643         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31644         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31645         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31646         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31647         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31649         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31650         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31655         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31657         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31659         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31661         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31663         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31665         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31666         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31667         (__libc_vfork): Define the function under this name.
31668         [!NOT_IN_libc] (__vfork): Make this an alias.
31669         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31671         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31672         (__libc_vfork): Define the function under this name.
31673         [!NOT_IN_libc] (__vfork): Make this an alias.
31674         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31675         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31676         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31679         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31681         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31682         code that was previously under [RESET_PID].
31683         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31684         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31687         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31688         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31689         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31690         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31692         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31693         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31694         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31695         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31696         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31697         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31698         Moved ...
31699         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31700         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31701         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31702         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31703         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31704         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31705         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31706         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31707         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31708         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31710         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31711         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31712         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31713         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31714         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31715         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31716         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31717         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31718         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31719         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31720         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31721         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31722         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31723         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31724         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31725         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31726         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31727         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31729 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31731         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31732         that was previously under [RESET_PID].
31733         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31735 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31737         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31738         not undefine and redefine.
31739         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31740         [O_CLOEXEC]: Make code unconditional.
31741         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31742         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31743         <kernel-features.h>.
31744         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31745         conditional variable definition.
31746         (shm_open) [O_CLOEXEC]: Make code unconditional.
31747         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31748         code.
31750         * configure.ac (USE_REGPARMS): Don't define here.
31751         * configure: Regenerated.
31752         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31753         * sysdeps/i386/configure: Regenerated.
31755         * nptl/createthread.c: Don't include kernel-features.h.
31756         * nptl/pthread_cancel.c: Likewise.
31757         * nptl/pthread_condattr_setclock.c: Likewise.
31758         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31759         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31760         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31761         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31762         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31764         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31767         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31768         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31769         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31770         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31771         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31772         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31773         * nscd/gai.c: Likewise.
31774         * nss/nss_db/db-open.c: Likewise.
31775         * sysdeps/generic/ldsodefs.h: Likewise.
31776         * sysdeps/sh/nptl/tls.h: Likewise.
31777         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31778         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31779         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31780         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31781         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31782         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31783         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31784         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31785         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31786         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31787         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31788         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31789         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31790         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31791         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31792         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31793         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31794         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31795         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31796         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31799         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31800         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31804         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31805         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31806         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31807         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31808         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31809         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31810         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31811         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31812         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31813         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31814         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31815         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31816         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31817         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31818         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31819         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31820         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31821         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31822         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31823         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31824         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31825         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31826         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31827         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31828         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31829         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31830         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31831         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31832         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31833         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31834         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31857         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31858         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31859         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31860         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31861         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31862         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31863         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31864         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31865         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31866         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31867         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31868         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31869         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31870         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31871         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31872         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31873         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31874         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31875         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31876         * sysdeps/unix/sysv/linux/system.c: Likewise.
31877         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31878         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31879         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31880         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31881         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31882         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31883         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31885         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31886         * configure: Regenerated.
31887         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31889         * configure.ac (base_machine): Do not set specially for particular
31890         machines here.
31891         * configure: Regenerated.
31892         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31893         settings from configure.ac.
31894         * sysdeps/i386/preconfigure: New file.
31895         * sysdeps/s390/preconfigure: Likewise.
31896         * sysdeps/sh/preconfigure: Likewise.
31897         * sysdeps/sparc/preconfigure: Likewise.
31899 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31901         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31902         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31903         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31904         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31905         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31906         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31907         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31908         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31909         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31910         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31911         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31912         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31913         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31914         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31915         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31916         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31918         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31919         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31921         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31922         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31923         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31924         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31925         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31926         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31927         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31928         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31929         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31930         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31931         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31932         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31933         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31934         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31935         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31936         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31937         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31938         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31939         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31940         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31941         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31942         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31944         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31946         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31948         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31951         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31952         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31953         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31954         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31955         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31956         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31957         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31958         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31961         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31963         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31965         Moved ...
31966         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31967         ... here.
31968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31969         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31971         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31973         Moved ...
31974         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31976         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31978         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31980         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31982         Moved ...
31983         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31985         Moved ...
31986         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31988         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31990         Moved ...
31991         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31995         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31997         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31999         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32001         Moved ...
32002         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32003         ... here.
32004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32005         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32007         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32009         Moved ...
32010         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32012         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32016         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32018         Moved ...
32019         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32021         Moved ...
32022         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32024         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32026         Moved ...
32027         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32029         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32031         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32033 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32035         * timezone/checktab.awk: Update from tzcode 2014e.
32036         * timezone/private.h: Likewise.
32037         * timezone/tzfile.h: Likewise.
32038         * timezone/zdump.c: Likewise.
32039         * timezone/zic.c: Likewise.
32041         * sysdeps/unix/sysv/linux/kernel-features.h
32042         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32043         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32044         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32045         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32046         Remove conditional code.
32048 2014-06-25  Will Newton  <will.newton@linaro.org>
32050         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32051         (_dl_arm_cap_flags): Add HWCAP2 values.
32052         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32053         (_DL_HWCAP_COUNT): Increase to 37.
32054         (_DL_HWCAP_LAST): New define.
32055         (_DL_HWCAP2_LAST): New define.
32056         (_dl_procinfo): Add support for printing
32057         AT_HWCAP2 entries.
32058         (_dl_string_hwcap): Use _dl_hwcap_string.
32060 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32064 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32066         * README: Do not mention ports directory.
32068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32069         Remove macro.
32070         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32071         <kernel-features.h>.
32072         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32073         conditional variable definition.
32074         (__futimes): Update comment.
32075         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32076         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32078         [BZ #16560]
32079         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32080         arguments close to 0.
32081         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32082         Likewise.
32083         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32084         Likewise.
32085         * math/auto-libm-test-in: Add more tests of exp10.
32086         * math/auto-libm-test-out: Regenerated.
32087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32089         * sysdeps/unix/sysv/linux/kernel-features.h
32090         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32091         * sysdeps/unix/sysv/linux/readv.c: Do not include
32092         <kernel-features.h>.
32093         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32094         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32095         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32096         unconditional.
32097         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32098         conditional code.
32099         * sysdeps/unix/sysv/linux/writev.c: Do not include
32100         <kernel-features.h>.
32101         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32102         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32103         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32104         unconditional.
32105         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32106         conditional code.
32108 2014-06-25  Will Newton  <will.newton@linaro.org>
32110         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32111         comment changes throughout the file.  Remove checks
32112         for HAVE_*_H definitions that are not required.
32113         (__gen_tempname): Call abort if an unknown kind value is
32114         passed.
32116 2014-06-25  Andreas Schwab  <schwab@suse.de>
32118         [BZ #17086]
32119         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32120         scalbln, scalblnf, scalblnl in libc.
32122 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32124         [BZ #17086]
32125         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32126         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32127         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32129 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32131         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32132         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32133         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32134         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32135         Update #include.
32136         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32137         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32138         Update #include.
32139         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32140         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32141         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32142         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32143         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32144         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32145         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32146         * sysdeps/x86/bits/semaphore.h: ... here.
32147         * sysdeps/x86/nptl/elide.h: Moved ...
32148         * sysdeps/x86/elide.h: ... here.
32149         * sysdeps/x86_64/nptl/Implies: File removed.
32150         * sysdeps/i386/nptl/Implies: File removed.
32152 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32154         [BZ #16539]
32155         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32156         return the argument for normal arguments with exponent below -64.
32157         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32158         Likewise.
32159         * math/auto-libm-test-in: Add another test of expm1.
32160         * math/auto-libm-test-out: Regenerated.
32162         [BZ #16287]
32163         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32164         calling __erfcl for arguments at least 16.
32165         * math/auto-libm-test-in: Add more tests of erf.
32166         * math/auto-libm-test-out: Regenerated.
32168         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32169         individual architectures.
32170         * sysdeps/unix/sysv/linux/configure: Regenerated.
32171         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32172         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32173         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32174         (ldd_rewrite_script): Define variable.
32175         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32177         file.
32178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32179         generated file.
32180         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32181         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32182         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32183         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32184         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32185         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32186         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32187         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32189 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32191         [BZ #17084]
32192         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32193         Rename member __data.d to __data.__elision_data.
32195 2014-06-24  Wilco  <wdijkstr@arm.com>
32197         * NEWS: Add 16918 to fixed bug list.
32199 2014-06-24  Wilco  <wdijkstr@arm.com>
32201         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32203 2014-06-24  Wilco  <wdijkstr@arm.com>
32205         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32206         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32207         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32208         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32209         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32210         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32211         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32212         Use _FPU_MASK_RM.
32214 2014-06-24  Wilco  <wdijkstr@arm.com>
32216         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32218 2014-06-24  Wilco  <wdijkstr@arm.com>
32220         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32221         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32222         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32223         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32225 2014-06-24  Wilco  <wdijkstr@arm.com>
32227         [BZ #16918]
32228         * sysdeps/arm/feupdateenv.c (feupdateenv):
32229         Rewrite to reduce FPSCR accesses and fix return value.
32231 2014-06-24  Wilco  <wdijkstr@arm.com>
32233         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32234         Optimize to avoid unnecessary FPSCR writes.
32235         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32236         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32237         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32238         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32240 2014-06-24  Wilco  <wdijkstr@arm.com>
32242         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32243         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32244         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32245         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32246         Call libc_fetestexcept_vfp.
32247         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32248         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32249         __SOFTFP__ ifdef so that they can be built for softfp.
32251 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32253         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32254         argument type signed char.
32256         * Makerules (check-abi): Dump diff of symlist if the test
32257         fails.
32259 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32261         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32262         using abort.
32264         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32265         Remove unused variable ST.
32267 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32269         [BZ #16354]
32270         [BZ #17061]
32271         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32272         small arguments before calling __expm1.
32273         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32274         small arguments before calling __expm1f.
32275         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32276         small arguments before calling __expm1l.
32277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32278         Likewise.
32279         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32280         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32281         spurious underflow for some cosh tests.
32282         * math/auto-libm-test-out: Regenerated.
32283         * sysdeps/i386/fpu/libm-test-ulps: Update.
32285         [BZ #17050]
32286         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32287         (__ieee754_y1): Set errno if return value overflows.
32288         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32289         (__ieee754_y1f): Set errno if return value overflows.
32290         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32291         (__ieee754_y1l): Set errno if return value overflows.
32292         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32293         (__ieee754_y1l): Set errno if return value overflows.
32294         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32295         * math/auto-libm-test-out: Regenerated.
32297         * math/gen-auto-libm-tests.c: Document use of
32298         ignore-zero-inf-sign.
32299         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32300         (input_flags): Add ignore-zero-inf-sign.
32301         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32302         * math/gen-libm-test.pl (generate_testfile): Handle
32303         ignore-zero-inf-sign.
32304         * math/auto-libm-test-in: Mark some cpow tests with
32305         ignore-zero-inf-sign and some with xfail-rounding.
32306         * math/auto-libm-test-out: Regenerated.
32307         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32308         * sysdeps/i386/fpu/libm-test-ulps: Update.
32309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32311         [BZ #16315]
32312         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32313         overflowing or underflowing operations take place with sign of
32314         result.
32315         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32316         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32317         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32318         (__ieee754_pow): Recompute overflowing and underflowing results in
32319         original rounding mode.
32320         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32321         (__powl_helper): Allow negative argument X and scale negated value
32322         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32323         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32324         overflowing or underflowing operations take place with sign of
32325         result.
32326         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32327         Include <math.h>.
32328         * math/auto-libm-test-in: Add more tests of pow.
32329         * math/auto-libm-test-out: Regenerated.
32330         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32331         (pow_tonearest_test_data): Remove.
32332         (pow_test_tonearest): Likewise.
32333         (pow_towardzero_test_data): Likewise.
32334         (pow_test_towardzero): Likewise.
32335         (pow_downward_test_data): Likewise.
32336         (pow_test_downward): Likewise.
32337         (pow_upward_test_data): Likewise.
32338         (pow_test_upward): Likewise.
32339         (main): Don't call removed functions.
32340         * sysdeps/i386/fpu/libm-test-ulps: Update.
32341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32343 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32346         Moved ...
32347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32349         Moved ...
32350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32352         Moved ...
32353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32355         Moved ...
32356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32358         File removed.
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32360         File removed.
32361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32362         File removed.
32363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32364         File removed.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32366         File removed.
32367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32368         File removed.
32369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32370         File removed.
32371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32372         File removed.
32373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32374         File removed.
32375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32376         File removed.
32377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32378         File removed.
32379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32380         File removed.
32381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32382         Moved ...
32383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32385         Moved ...
32386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32387         ... here.
32388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32389         Moved ...
32390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32392         Moved ...
32393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32395         Moved ...
32396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32398         Moved ...
32399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32401         Moved ...
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32404         Moved ...
32405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32407         Moved ...
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32411         ... here.
32412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32413         Moved ...
32414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32416         Moved ...
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32418         ... here.
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32420         Moved ...
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32422         ... here.
32423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32424         Moved ...
32425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32426         ... here.
32427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32428         Moved ...
32429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32431         Moved ...
32432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32436         Moved ...
32437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32438         ... here.
32439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32440         Moved ...
32441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32442         ... here.
32443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32444         Moved ...
32445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32447         Moved ...
32448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32450         Moved ...
32451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32453         Moved ...
32454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32456         Moved ...
32457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32458         ... here.
32459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32460         Moved ...
32461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32463         Moved ...
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32466         Moved ...
32467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32469         Moved ...
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32474         Moved ...
32475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32477         Moved ...
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32480         Moved ...
32481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32482         ... here.
32483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32484         Moved ...
32485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32486         ... here.
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32488         Moved ...
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32490         ... here.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32492         Moved ...
32493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32495         Moved ...
32496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32498         Moved ...
32499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32501         Moved ...
32502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32503         ... here.
32504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32505         Moved ...
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32507         ... here.
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32509         Moved ...
32510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32511         ... here.
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32513         Moved ...
32514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32516         Moved ...
32517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32519 2014-06-23  Will Newton  <will.newton@linaro.org>
32520             Wilco  <wdijkstr@arm.com>
32522         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32523         implementation.  Include get-rounding-mode.h.
32524         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32525         [!libc_feholdsetround_noex_ctx]: Define
32526         libc_feholdsetround_noex_ctx.
32527         [!libc_feholdsetround_noexf_ctx]: Define
32528         libc_feholdsetround_noexf_ctx.
32529         [!libc_feholdsetround_noexl_ctx]: Define
32530         libc_feholdsetround_noexl_ctx.
32531         (libc_feholdsetround_ctx): New function.
32532         (libc_feresetround_ctx): New function.
32533         (libc_feholdsetround_noex_ctx): New function.
32534         (libc_feresetround_noex_ctx): New function.
32536 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32538         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32539         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32540         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32541         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32542         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32543         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32545         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32546         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32547         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32548         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32549         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32550         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32552         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32554         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32556         Moved ...
32557         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32558         ... here.
32559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32560         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32562         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32564         Moved ...
32565         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32567         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32571         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32573         Moved ...
32574         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32576         Moved ...
32577         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32579         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32581         Moved ...
32582         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32584         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32585         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32586         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32587         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32588         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32590         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32592         Moved ...
32593         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32594         ... here.
32595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32596         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32598         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32600         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32604         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32606         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32608         Moved ...
32609         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32611         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32613         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32615         Moved ...
32616         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32618         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32620         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32622         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32623         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32624         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32625         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32626         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32627         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32628         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32629         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32631         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32632         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32633         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32634         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32635         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32636         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32637         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32638         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32639         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32640         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32641         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32642         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32643         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32644         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32645         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32646         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32647         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32648         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32649         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32651 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32654         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32655         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32656         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32657         (IPV6_PMTUDISC_INTERFACE): Likewise.
32658         (IPV6_PMTUDISC_OMIT): Likewise.
32660 2014-06-23  Andreas Schwab  <schwab@suse.de>
32662         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32663         Remove unused errout label.
32665 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32667         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32668         macro: hardware supports Vector Crypto instructions.
32670 2014-06-23  Will Newton  <will.newton@linaro.org>
32672         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32673         rather than __builtin_expect.
32675         * elf/dl-lookup.c (undefined_msg): Remove variable.
32676         (_dl_lookup_symbol_x): Replace undefined_msg with string
32677         literal.
32679         * elf/dl-lookup.c (do_lookup_unique): New function.
32680         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32681         to a separate function.
32683 2014-06-23  Andreas Schwab  <schwab@suse.de>
32685         [BZ #17079]
32686         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32687         before reading the next line.
32689 2014-06-23  Will Newton  <will.newton@linaro.org>
32691         * test-skeleton.c (signal_handler): Use printf and %m
32692         rather than perror.  Use printf rather than fprintf to
32693         stderr.  Use puts rather than fputs to stderr.
32694         (main): Likewise.
32696 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32698         * nscd/nscd.c (thread_info_t): Remove typedef.
32699         (thread_info): Remove variable.
32701 2014-06-21  Allan McRae  <allan@archlinux.org>
32703         * NEWS: Mention CVE-2014-4043.
32705 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32707         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32708         * nptl/smp.h: ... here.
32710         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32712         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32713         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32714         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32715         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32717         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32718         * nptl/stack-aliasing.h: New file.
32719         * sysdeps/i386/i686/stack-aliasing.h: New file.
32720         * sysdeps/i386/i686/nptl/Makefile: File removed.
32721         * sysdeps/x86_64/stack-aliasing.h: New file.
32722         * sysdeps/x86_64/nptl/Makefile
32723         (CFLAGS-pthread_create.c): Variable removed.
32725         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32726         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32727         old file.
32728         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32729         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32730         old file.
32732 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32734         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32735         (__ASSUME_SIGFRAME_V2): Remove macro.
32736         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32737         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32738         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32739         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32740         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32741         Declare as function.  Remove conditional macro definitions.
32742         (__default_rt_sa_restorer): Likewise.
32743         (__default_sa_restorer_v1): Remove declaration.
32744         (__default_sa_restorer_v2): Likewise.
32745         (__default_rt_sa_restorer_v1): Likewise.
32746         (__default_rt_sa_restorer_v2): Likewise.
32747         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32748         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32749         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32751 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32753         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32754         (libpthread-routines): Add sysdep.
32755         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32756         * sysdeps/unix/sysv/linux/sparc/Versions
32757         (libpthread: GLIBC_2.3.3): New version set.
32758         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32759         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32760         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32761         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32762         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32763         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32764         Moved ...
32765         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32766         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32767         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32768         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32769         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32770         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32771         * sysdeps/sparc/nptl/sem_init.c: ... here.
32772         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32773         * sysdeps/sparc/nptl/sem_post.c: ... here.
32774         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32775         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32776         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32777         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32778         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32779         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32780         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32781         (libpthread-routines): Add cpu_relax.
32782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32783         File removed.
32784         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32785         (librt: GLIBC_2.3.3): New version set.
32786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32787         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32788         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32789         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32792         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32794         Moved ...
32795         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32797         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32799         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32801         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32803         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32805         Moved ...
32806         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32807         Update #include.
32808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32809         Moved ...
32810         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32811         Update #include.
32812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32813         Moved ...
32814         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32815         Update #include.
32816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32817         Moved ...
32818         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32819         Update #include.
32820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32821         Moved ...
32822         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32823         Update #include.
32824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32825         Moved ...
32826         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32827         Update #include.
32828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32829         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32835         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32837         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32839         Moved ...
32840         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32842         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32844         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32846 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32848         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32849         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32850         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32851         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32852         * nscd/nscd.c: Likewise.
32853         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32854         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32855         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32856         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32858         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32859         <kernel-features.h>.
32860         (init_mq_netlink): Remove conditional have_sock_cloexec
32861         definitions.  Remove code conditional on have_sock_cloexec < 0.
32862         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32863         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32864         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32865         <kernel-features.h>.
32866         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32867         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32869 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32872         Add tests for memset_chk and memset.
32874         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32875         with AVX2_Usable.
32877 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32879         [BZ #16046]
32880         * elf/tst-dl-iter-static.c: New file.
32881         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32883         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32884         error.
32886 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32888         * sysdeps/unix/sysv/linux/kernel-features.h
32889         (__ASSUME_F_GETOWN_EX): Remove macro.
32890         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32891         <kernel-features.h>.
32892         (miss_F_GETOWN_EX): Remove variable or macro.
32893         (do_fcntl): Do not check miss_F_GETOWN_EX.
32894         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32897         Remove macro.
32898         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32899         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32900         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32902         * sysdeps/unix/sysv/linux/kernel-features.h
32903         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32904         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32905         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32906         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32908 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32910         [BZ #17075]
32911         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32912         Fix calculation of the symbol's value.
32913         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32914         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32915         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32916         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32917         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32918         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32919         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32920         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32921         (modules-names): Add `tst-armtlsdescmod',
32922         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32923         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32924         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32925         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32926         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32927         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32928         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32929         ($(objpfx)tst-armtlsdescloc): New dependency.
32930         ($(objpfx)tst-armtlsdescextnow): Likewise.
32931         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32932         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32933         TLS scheme support.
32934         * sysdeps/arm/configure: Regenerate.
32936 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32938         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32939         (__atfct_seterrno_2): Likewise.
32940         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32941         <kernel-features.h>.
32942         (__ASSUME_ATFCTS): Do not undefine and redefine.
32943         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32944         (__have_atfcts): Remove conditional definition.
32945         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32946         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32947         unreachable if [__ASSUME_ATFCTS].
32948         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32949         not undefine and redefine.
32950         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32951         <kernel-features.h>.
32952         (faccessat) [__NR_faccessat]: Make code unconditional.
32953         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32954         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32955         <kernel-features.h>.
32956         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32957         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32958         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32959         <kernel-features.h>.
32960         (fchownat) [__NR_fchownat]: Make code unconditional.
32961         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32962         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32963         <kernel-features.h>.
32964         (futimesat) [__NR_futimesat]: Make code unconditional.
32965         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32966         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32967         <kernel-features.h>.
32968         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32969         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32970         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32971         <kernel-features.h>.
32972         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32973         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32974         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32975         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32976         <kernel-features.h>.
32977         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32978         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32979         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32980         <kernel-features.h>.
32981         (linkat) [__NR_linkat]: Make code unconditional.
32982         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32983         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32984         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32985         <kernel-features.h>.
32986         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32987         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32988         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32989         <kernel-features.h>.
32990         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32991         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32992         * sysdeps/unix/sysv/linux/openat.c: Do not include
32993         <kernel-features.h>.
32994         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32995         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32996         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32997         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32998         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32999         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33000         <kernel-features.h>.
33001         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33002         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33003         result of INLINE_SYSCALL directly, not via int variable.
33004         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33005         <kernel-features.h>.
33006         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33007         (renameat) [__NR_renameat]: Make code unconditional.
33008         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33009         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33010         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33011         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33012         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33013         (__ASSUME_ATFCTS): Do not undefine and redefine.
33014         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33015         <kernel-features.h>.
33016         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33017         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33018         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33019         <kernel-features.h>.
33020         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33021         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33022         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33023         (__ASSUME_ATFCTS): Do not undefine and redefine.
33024         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33025         <kernel-features.h>.
33026         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33027         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33028         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33029         <kernel-features.h>.
33030         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33031         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33033 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33035         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33037 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33039         [BZ #17069]
33040         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33041         constructed tree before returning error.
33042         * posix/bug-regexp36.c: Expand test case.
33044 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33046         [BZ #6803]
33047         * math/libm-test.inc (scalbln_test_date):
33048         Add errno expectations.
33049         * math/w_scalblnf.c: New File.
33050         Add wrapper which checks for setting errno to ERANGE.
33051         Add weak_alias for corresponding scalbln function.
33052         * math/w_scalbln.c: Likewise.
33053         * math/w_scalblnl.c: Likewise.
33054         * math/Makefile (libm-calls): Add w_scalbln.
33055         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33056         Remove weak_alias for corresponding scalbln function.
33057         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33058         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33059         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33061         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33062         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33063         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33064         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33065         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33066         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33067         Remove long_double_symbol for scalblnl function in libm, libc.
33068         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33069         Add wrapper which checks for setting errno to ERANGE.
33070         Add long_double_symbol for scalblnl function in libm, libc.
33071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33072         Remove long_double_symbol for scalblnl in libm.
33073         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33074         Add wrapper which checks for setting errno to ERANGE.
33075         Add long_double_symbol for scalblnl function in libm.
33076         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33077         Do not use wrapper because of own implementation.
33079 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33081         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33082         3 bytes for __pad1 for x32.
33083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33085 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33086             H.J. Lu  <hongjiu.lu@intel.com>
33088         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33089         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33090         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33091         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33092         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33094 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33096         [BZ #17069]
33097         * posix/regcomp.c (parse_expression): Deallocate partially
33098         constructed tree before returning error.
33099         * posix/Makefile.c (tests): Add bug-regex36.
33100         (generated): Add bug-regex36.mtrace.
33101         (tests-special): Add $(objpfx)bug-regex36-mem.out
33102         (bug-regex36-ENV): New variable.
33103         ($(objpfx)bug-regex36-mem.out): New rule.
33104         * posix/bug-regex36.c: New file.
33106 2014-06-19  Will Newton  <will.newton@linaro.org>
33108         * malloc/malloc.c (systrim): If extra is zero then return
33109         early.
33111 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33113         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33115 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33117         * sysdeps/aarch64/strchr.S: New file.
33119 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33121         [BZ #17022]
33122         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33123         from arguments -2 or below.
33124         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33125         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33127 2014-06-18  Andreas Schwab  <schwab@suse.de>
33129         [BZ #17062]
33130         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33131         of a bracket expr not to run off the end of the string.
33132         * posix/Makefile (tests): Add tst-fnmatch3.
33133         * posix/tst-fnmatch3.c: New file.
33135 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33137         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33138         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33139         [$(cross-compiling) = no]: Likewise.
33140         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33141         [$(cross-compiling) = no]: Likewise.
33143 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33145         [BZ #17031]
33146         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33147         double, adjusted for any remainder from the high double.
33148         * math/libm-test.inc (nearbyint): Add tests.
33149         (rint): Likewise.
33151 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33153         * nptl/sysdeps/powerpc/Makefile: Moved ...
33154         * sysdeps/powerpc/nptl/Makefile: ... here.
33155         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33156         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33157         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33158         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33159         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33160         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33161         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33162         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33163         * nptl/sysdeps/powerpc/tls.h: Moved ...
33164         * sysdeps/powerpc/nptl/tls.h: ... here.
33166 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33168         [BZ #16681]
33169         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33170         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33171         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33172         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33173         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33174         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33175         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33176         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33177         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33179 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33181         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33183 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33185         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33186         defined operator.
33188         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33189         $TIMEOUTFACTOR.
33191 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33193         [BZ #17058]
33194         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33195         non-executed part of the test.
33197 2014-06-16  Andreas Schwab  <schwab@suse.de>
33199         * string/bits/string2.h (strdup, strndup): Update feature guard.
33201 2014-06-14  David S. Miller  <davem@davemloft.net>
33203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33205 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33207         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33208         that was previously under [RESET_PID].
33209         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33211         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33212         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33213         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33214         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33215         (__libc_vfork): New strong alias.
33216         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33218 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33220         * sysdeps/generic/elide.h: New file.
33222 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33224         * Makefile (installed-headers): Adjust path of pthread.h header.
33226 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33228         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33229         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33230         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33231         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33233         * nptl/sysdeps/s390/Makefile: Moved ...
33234         * sysdeps/s390/nptl/Makefile: ... here.
33235         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33236         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33237         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33238         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33239         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33240         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33241         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33242         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33243         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33244         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33245         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33246         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33247         * nptl/sysdeps/s390/tls.h: Moved ...
33248         * sysdeps/s390/nptl/tls.h: ... here.
33250         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33251         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33253 2014-06-13  David S. Miller  <davem@davemloft.net>
33255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33258         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33262         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33263         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33264         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33265         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33266         Remove RESET_PID cpp guards.
33267         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33268         Remove RESET_PID cpp guards.
33269         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33271 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33273         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33274         __sp to uintptr_t.
33276 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33278         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33279         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33281         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33283         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33284         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33285         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33286         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33287         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33288         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33290         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33292         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33293         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33297         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33299         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33300         (pthread_rwlock_rdlock): Add elision.
33301         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33302         (pthread_rwlock_wrlock): Add elision.
33303         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33304         (pthread_rwlock_trywrlock): Add elision.
33305         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33306         (pthread_rwlock_tryrdlock): Add elision.
33307         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33308         (pthread_rwlock_tryrdlock): Add elision unlock.
33309         * nptl/sysdeps/pthread/pthread.h:
33310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33311         (PTHREAD_RWLOCK_INITIALIZER,
33312         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33313         Handle new elision field.
33314         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33315         * sysdeps/arm/nptl/bits/pthreadtypes.h
33316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33317         * sysdeps/sh/nptl/bits/pthreadtypes.h
33318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33319         * sysdeps/tile/nptl/bits/pthreadtypes.h
33320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33321         * sysdeps/a/nptl/bits/pthreadtypes.h
33322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33323         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33325         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33327         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33329         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33331         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33333         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33335         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33337         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33339         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33340         (elision_init): Set try_xbegin to zero when no RTM.
33341         * sysdeps/x86/nptl/bits/pthreadtypes.h
33342         (pthread_rwlock_t): Change __pad1 to __rwelision.
33343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33345 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33347         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33348         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33349         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33350         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33352 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33354         [BZ #16996]
33355         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33356         that the cached result has been set before returning it.
33358 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33360         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33361         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33362         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33363         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33364         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33365         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33367         * nptl/sysdeps/sparc/Makefile: Moved ...
33368         * sysdeps/sparc/nptl/Makefile: ... here.
33369         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33370         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33371         * nptl/sysdeps/sparc/tls.h: Moved ...
33372         * sysdeps/sparc/nptl/tls.h: ... here.
33373         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33374         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33375         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33376         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33377         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33378         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33379         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33380         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33381         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33382         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33383         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33384         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33385         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33386         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33387         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33388         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33389         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33390         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33391         Update #include.
33392         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33393         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33394         Update #include.
33395         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33396         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33397         Update #include.
33398         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33399         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33400         Update #include.
33402         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33404         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33405         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33407         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33408         (struct list_links): Type removed.
33409         (struct thread_node, struct timer_node): Replace struct list_links
33410         with struct list_head.
33411         (list_unlink_ip): Likewise.
33412         * sysdeps/pthread/timer_routines.c
33413         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33414         (list_append, list_insbefore): Likewise.
33415         (list_init): Function removed.
33416         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33417         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33418         * sysdeps/pthread/Makefile: ... here, new file.
33420         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33421         * sysdeps/nptl/Implies: ... here.
33422         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33423         * nptl/sysdeps/pthread/list.h: Moved ...
33424         * include/list.h: ... here.
33425         * nptl/sysdeps/pthread/createthread.c: Moved ...
33426         * nptl/createthread.c: ... here.
33427         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33428         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33429         * nptl/pt-longjmp.c: ... here.
33430         * nptl/sysdeps/pthread/Makefile: Moved ...
33431         * sysdeps/nptl/Makefile: ... here.
33432         * nptl/sysdeps/pthread/Subdirs: Moved ...
33433         * sysdeps/nptl/Subdirs: ... here.
33434         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33435         * sysdeps/nptl/aio_misc.h: ... here.
33436         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33437         * sysdeps/nptl/bits/libc-lock.h: ... here.
33438         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33439         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33440         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33441         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33442         * nptl/sysdeps/pthread/configure: Moved ...
33443         * sysdeps/nptl/configure: ... here.
33444         * nptl/sysdeps/pthread/configure.ac: Moved ...
33445         * sysdeps/nptl/configure.ac: ... here.
33446         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33447         * sysdeps/nptl/gai_misc.h: ... here.
33448         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33449         * sysdeps/nptl/librt-cancellation.c: ... here.
33450         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33451         * sysdeps/nptl/malloc-machine.h: ... here.
33452         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33453         * sysdeps/nptl/pthread-functions.h: ... here.
33454         * nptl/sysdeps/pthread/pthread.h: Moved ...
33455         * sysdeps/nptl/pthread.h: ... here.
33456         * nptl/sysdeps/pthread/setxid.h: Moved ...
33457         * sysdeps/nptl/setxid.h: ... here.
33458         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33459         * sysdeps/nptl/sigfillset.c: ... here.
33460         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33461         * sysdeps/nptl/tcb-offsets.h: ... here.
33462         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33463         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33464         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33465         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33466         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33467         * sysdeps/pthread/allocalim.h: ... here.
33468         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33469         * sysdeps/pthread/bits/sigthread.h: ... here.
33470         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33471         * sysdeps/pthread/flockfile.c: ... here.
33472         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33473         * sysdeps/pthread/ftrylockfile.c: ... here.
33474         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33475         * sysdeps/pthread/funlockfile.c: ... here.
33476         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33477         * sysdeps/pthread/posix-timer.h: ... here.
33478         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33479         * sysdeps/pthread/timer_create.c: ... here.
33480         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33481         * sysdeps/pthread/timer_delete.c: ... here.
33482         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33483         * sysdeps/pthread/timer_getoverr.c: ... here.
33484         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33485         * sysdeps/pthread/timer_gettime.c: ... here.
33486         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33487         * sysdeps/pthread/timer_routines.c: ... here.
33488         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33489         * sysdeps/pthread/timer_settime.c: ... here.
33490         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33491         * sysdeps/pthread/tst-timer.c: ... here.
33492         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33493         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33495         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33496         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33498         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33499         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33500         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33501         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33502         Update #include target.
33503         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33504         * sysdeps/i386/i686/nptl/Makefile: ... here.
33505         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33506         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33507         Update #include target.
33508         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33509         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33510         * nptl/sysdeps/i386/Makefile: Moved ...
33511         * sysdeps/i386/nptl/Makefile: ... here.
33512         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33513         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33514         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33515         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33516         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33517         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33518         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33519         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33520         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33521         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33522         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33523         * nptl/sysdeps/i386/tls.h: Moved ...
33524         * sysdeps/i386/nptl/tls.h: ... here.
33526         * sysdeps/sh/Makefile [$(subdir) = csu]
33527         (gen-as-const-headers): Add tcb-offsets.sym.
33528         * nptl/sysdeps/sh/Makefile: File removed.
33529         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33530         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33531         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33532         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33533         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33534         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33535         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33536         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33537         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33538         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33539         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33540         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33541         * nptl/sysdeps/sh/tls.h: Moved ...
33542         * sysdeps/sh/nptl/tls.h: ... here.
33543         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33544         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33545         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33546         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33547         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33548         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33549         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33550         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33551         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33552         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33553         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33554         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33555         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33556         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33558         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33560         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33561         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33562         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33564         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33566         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33568         Moved ...
33569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33571         Moved ...
33572         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33573         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33576         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33577         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33578         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33579         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33580         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33581         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33582         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33583         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33584         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33585         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33586         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33587         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33588         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33589         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33590         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33592 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33594         * posix/spawn_faction_addopen.c: Include string.h.
33596 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33598         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33599         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33600         * nptl/sysdeps/x86_64/Makefile: Moved ...
33601         * sysdeps/x86_64/nptl/Makefile: ... here.
33602         * nptl/sysdeps/x86_64/configure: Moved ...
33603         * sysdeps/x86_64/nptl/configure: ... here.
33604         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33605         * sysdeps/x86_64/nptl/configure.ac: ... here.
33606         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33607         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33608         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33609         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33610         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33611         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33612         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33613         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33614         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33615         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33616         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33617         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33618         * nptl/sysdeps/x86_64/tls.h: Moved ...
33619         * sysdeps/x86_64/nptl/tls.h: ... here.
33620         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33621         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33622         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33623         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33625         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33627 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33631 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33633         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33634         type.
33635         [POSIX] (off_t): Likewise.
33636         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33637         [POSIX] (S_ISBLK): Require macro.
33638         [POSIX] (S_ISCHR): Likewise.
33639         [POSIX] (S_ISDIR): Likewise.
33640         [POSIX] (S_ISFIFO): Likewise.
33641         [POSIX] (S_ISREG): Likewise.
33642         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33643         optional-macro.
33644         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33645         type.
33646         [POSIX] (time_t): Likewise.
33647         [POSIX] (timer_t): Likewise.
33649 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33651         [BZ #17048]
33652         * posix/spawn_int.h (struct __spawn_action): Make the path string
33653         non-const to support deallocation.
33654         * posix/spawn_faction_addopen.c
33655         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33656         * posix/spawn_faction_destroy.c
33657         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33658         path in all spawn_do_open actions.
33659         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33660         posix_spawn_file_actions_addopen.
33662 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33664         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33665         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33666         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33667         conditional code always true.
33668         (__libc_vfork): New alias.
33670 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33672         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33673         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33675         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33677         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33678         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33680         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33681         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33683         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33684         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33686 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33688         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33689         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33690         multiarch strcmp for PPC64.
33691         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33692         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33694         multiarch optimizations.
33695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33696         (__libc_ifunc_impl_list): Likewise.
33698 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33700         * benchtests/scripts/validate_benchout.py: New script.
33701         * benchtests/Makefile (bench-func): Call it.
33702         * benchtests/scripts/benchout.schema.json: New file.
33704 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33706         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33707         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33708         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33709         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33710         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33711         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33712         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33713         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33714         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33715         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33716         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33717         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33718         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33719         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33720         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33721         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33723         Moved ...
33724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33725         ... here.
33726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33727         Moved ...
33728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33730         Moved ...
33731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33732         ... here.
33733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33734         Moved ...
33735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33736         ... here.
33737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33738         Moved ...
33739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33741         Moved ...
33742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33743         ... here.
33744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33745         Moved ...
33746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33747         ... here.
33748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33749         Moved ...
33750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33752         Moved ...
33753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33754         ... here.
33755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33756         Moved ...
33757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33758         ... here.
33759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33760         Moved ...
33761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33762         ... here.
33763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33764         Moved ...
33765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33767         Moved ...
33768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33769         ... here.
33770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33771         Moved ...
33772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33773         ... here.
33774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33775         Moved ...
33776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33777         ... here.
33778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33779         Moved ...
33780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33782         Moved ...
33783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33784         ... here.
33785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33786         Moved ...
33787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33788         ... here.
33789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33790         Moved ...
33791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33793         Moved ...
33794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33795         ... here.
33796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33797         Moved ...
33798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33800         Moved ...
33801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33803         Moved ...
33804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33805         ... here.
33806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33807         Moved ...
33808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33809         ... here.
33810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33811         Moved ...
33812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33813         ... here.
33814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33815         Moved ...
33816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33818         Moved ...
33819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33820         ... here.
33821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33822         Moved ...
33823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33824         ... here.
33825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33826         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33828         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33830         Moved ...
33831         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33832         ... here.
33833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33834         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33836         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33838         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33839         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33840         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33842         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33844         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33846         Moved ...
33847         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33849         Moved ...
33850         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33852         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33854         Moved ...
33855         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33857         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33858         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33859         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33860         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33861         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33863 2014-06-10  Wilco  <wdijkstr@arm.com>
33865         * math/test-fenv-return.c: New file.
33866         * math/Makefile: Add new test test-fenv-return.
33868 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33870         [BZ #17042]
33871         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33872         when x - 1 is zero.
33873         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33874         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33875         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33876         0.0L for an argument of 1.0L.
33877         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33878         Likewise.
33879         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33880         value when x - 1 is zero.
33881         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33882         * sysdeps/i386/fpu/libm-test-ulps: Update.
33883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33885 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33887         [BZ #15119]
33888         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33890 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33892         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33893         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33895 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33897         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33898         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33900         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33901         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33903         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33904         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33906         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33907         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33909         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33910         if not already defined.
33911         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33912         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33913         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33914         (TLS_INIT_TP): Use it.
33915         (TLS_DEFINE_INIT_TP): New macro.
33916         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33918 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33920         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33921         constant.
33922         [POSIX] (IXANY): Likewise.
33923         [POSIX] (OLCUC): Likewise.
33924         [POSIX || POSIX2008] (CBAUD): Do not allow.
33925         [POSIX || POSIX2008] (DEFECHO): Likewise.
33926         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33927         [POSIX || POSIX2008] (ECHOKE): Likewise.
33928         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33929         [POSIX || POSIX2008] (EXTA): Likewise.
33930         [POSIX || POSIX2008] (EXTB): Likewise.
33931         [POSIX || POSIX2008] (FLUSHO): Likewise.
33932         [POSIX || POSIX2008] (LOBLK): Likewise.
33933         [POSIX || POSIX2008] (PENDIN): Likewise.
33934         [POSIX || POSIX2008] (SWTCH): Likewise.
33935         [POSIX || POSIX2008] (VDISCARD): Likewise.
33936         [POSIX || POSIX2008] (VDSUSP): Likewise.
33937         [POSIX || POSIX2008] (VLNEXT): Likewise.
33938         [POSIX || POSIX2008] (VREPRINT): Likewise.
33939         [POSIX || POSIX2008] (VSTATUS): Likewise.
33940         [POSIX || POSIX2008] (VWERASE): Likewise.
33941         (B*): Change to B[0123456789]*.
33942         * conform/data/time.h-data [POSIX || UNIX98]
33943         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33944         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33945         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33946         [POSIX] (tm_*): Do not allow.
33948 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33950         * Makefile (install): Don't set LANGUAGE.
33951         * Makefile.in (install): Likewise.
33952         * assert/Makefile (test-assert-ENV): Remove variable.
33953         (test-assert-perr-ENV): Likewise.
33954         * elf/Makefile (neededtest4-ENV): Likewise.
33955         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33956         [$(cross-compiling) = no]: Don't set LANGUAGE.
33957         * io/ftwtest-sh (LANG): Remove variable.
33958         * libio/Makefile (tst-widetext-ENV): Likewise.
33959         * manual/install.texi (Running make install): Don't refer to
33960         environment settings for make install.
33961         * INSTALL: Regenerated.
33962         * nptl/tst-tls6.sh: Don't set LANG.
33963         * posix/globtest.sh (LANG): Remove variable.
33964         * string/Makefile (tester-ENV): Likewise.
33965         (inl-tester-ENV): Likewise.
33966         (noinl-tester-ENV): Likewise.
33967         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33968         [$(cross-compiling) = no]: Don't set LANGUAGE.
33969         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33970         without explicit environment settings.
33972 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33974         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33975         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33976         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33977         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33979 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33981         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33982         other files in the crypt directory.
33983         * crypt/crypt.c: Remove duplicate includes.
33984         * crypt/crypt-entry.c: Likewise.
33985         * crypt/crypt_util.c: Likewise.
33987 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33989         * Makeconfig (run-program-env): New variable.
33990         (run-program-prefix-before-env): Likewise.
33991         (run-program-prefix-after-env): Likewise.
33992         (run-program-prefix): Define in terms of new variables.
33993         (built-program-cmd-before-env): New variable.
33994         (built-program-cmd-after-env): Likewise.
33995         (built-program-cmd): Define in terms of new variables.
33996         (test-program-prefix-before-env): New variable.
33997         (test-program-prefix-after-env): Likewise.
33998         (test-program-prefix): Define in terms of new variables.
33999         (test-program-cmd-before-env): New variable.
34000         (test-program-cmd-after-env): Likewise.
34001         (test-program-cmd): Define in terms of new variables.
34002         * Rules (make-test-out): Use $(run-program-env).
34003         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34004         (help): Do not mention environment variables.  Mention
34005         --timeoutfactor option.
34006         (timeoutfactor): New variable.
34007         (blacklist_exports): Remove function.
34008         (exports): Remove variable.
34009         (command): Do not include ${exports}.
34010         * manual/install.texi (Configuring and compiling): Do not mention
34011         test wrappers preserving environment variables.  Mention that last
34012         assignment to a variable must take precedence.
34013         * INSTALL: Regenerated.
34014         * benchtests/Makefile (run-bench): Use $(run-program-env).
34015         * catgets/Makefile ($(objpfx)test1.cat): Use
34016         $(built-program-cmd-before-env), $(run-program-env) and
34017         $(built-program-cmd-after-env).
34018         ($(objpfx)test2.cat): Do not specify environment variables
34019         explicitly.
34020         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34021         $(run-program-env) and $(built-program-cmd-after-env).
34022         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34023         $(run-program-env) and $(test-program-cmd-after-env).
34024         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34025         explicitly.
34026         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34027         run_program_env and test_program_cmd_after_env arguments.
34028         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34029         * elf/tst-pathopt.sh: Use run_program_env argument.
34030         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34031         $(test-wrapper-env) and $(run-program-env).
34032         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34033         run_program_env arguments.
34034         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34035         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34036         $(test-program-prefix-before-env), $(run-program-env) and
34037         $(test-program-prefix-after-env).
34038         ($(objpfx)tst-gettext2.out): Likewise.
34039         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34040         run_program_env and test_program_prefix_after_env arguments.
34041         * intl/tst-gettext2.sh: Likewise.
34042         * intl/tst-gettext4.sh: Do not set environment variables
34043         explicitly.
34044         * intl/tst-gettext6.sh: Likewise.
34045         * intl/tst-translit.sh: Likewise.
34046         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34047         $(test-program-prefix-before-env), $(run-program-env) and
34048         $(test-program-prefix-after-env).
34049         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34050         run_program_env and test_program_prefix_after_env arguments.
34051         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34052         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34053         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34054         explicitly with each use of ${test_wrapper_env}.
34055         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34056         $(test-program-prefix-before-env), $(run-program-env) and
34057         $(test-program-prefix-after-env).
34058         * posix/tst-getconf.sh: Do not set environment variables
34059         explicitly.
34060         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34061         run_program_env and test_program_prefix_after_env arguments.
34062         * stdio-common/tst-printf.sh: Do not set environment variables
34063         explicitly.
34064         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34065         $(test-program-prefix-before-env), $(run-program-env) and
34066         $(test-program-prefix-after-env).
34067         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34068         run_program_env and test_program_prefix_after_env arguments.
34069         Split $test calls into $test_pre and $test.
34070         * timezone/Makefile (build-testdata): Use
34071         $(built-program-cmd-before-env), $(run-program-env) and
34072         $(built-program-cmd-after-env).
34074 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34076         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34077         strlen for non SHARED builds.
34079 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34081         * nptl/allocatestack.c (check_list): Inlined function...
34082         (__reclaim_stacks): ... here.
34084 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34086         [BZ #15698]
34087         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34088         memory overrun.
34090 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34092         * Rules (make-test-out): Include
34093         LOCPATH=$(common-objpfx)localedata in default environment.
34094         * debug/Makefile (tst-chk1-ENV): Remove variable.
34095         (tst-chk2-ENV): Likewise.
34096         (tst-chk3-ENV): Likewise.
34097         (tst-chk4-ENV): Likewise.
34098         (tst-chk5-ENV): Likewise.
34099         (tst-chk6-ENV): Likewise.
34100         (tst-lfschk1-ENV): Likewise.
34101         (tst-lfschk2-ENV): Likewise.
34102         (tst-lfschk3-ENV): Likewise.
34103         (tst-lfschk4-ENV): Likewise.
34104         (tst-lfschk5-ENV): Likewise.
34105         (tst-lfschk6-ENV): Likewise.
34106         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34107         (tst-iconv7-ENV): Likewise.
34108         * intl/Makefile (LOCPATH-ENV): Likewise.
34109         (tst-codeset-ENV): Likewise.
34110         (tst-gettext3-ENV): Likewise.
34111         (tst-gettext5-ENV): Likewise.
34112         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34113         (tst-fopenloc-ENV): Likewise.
34114         (tst-fgetws-ENV): Remove variable.
34115         (tst-ungetwc1-ENV): Likewise.
34116         (tst-ungetwc2-ENV): Likewise.
34117         (bug-ungetwc2-ENV): Likewise.
34118         (tst-swscanf-ENV): Likewise.
34119         (bug-ftell-ENV): Likewise.
34120         (tst-fgetwc-ENV): Likewise.
34121         (tst-fseek-ENV): Likewise.
34122         (tst-ftell-partial-wide-ENV): Likewise.
34123         (tst-ftell-active-handler-ENV): Likewise.
34124         (tst-ftell-append-ENV): Likewise.
34125         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34126         (tst-regexloc-ENV): Likewise.
34127         (bug-regex1-ENV): Likewise.
34128         (tst-regex-ENV): Likewise.
34129         (tst-regex2-ENV): Likewise.
34130         (bug-regex5-ENV): Likewise.
34131         (bug-regex6-ENV): Likewise.
34132         (bug-regex17-ENV): Likewise.
34133         (bug-regex18-ENV): Likewise.
34134         (bug-regex19-ENV): Likewise.
34135         (bug-regex20-ENV): Likewise.
34136         (bug-regex22-ENV): Likewise.
34137         (bug-regex23-ENV): Likewise.
34138         (bug-regex25-ENV): Likewise.
34139         (bug-regex26-ENV): Likewise.
34140         (bug-regex30-ENV): Likewise.
34141         (bug-regex32-ENV): Likewise.
34142         (bug-regex33-ENV): Likewise.
34143         (bug-regex34-ENV): Likewise.
34144         (bug-regex35-ENV): Likewise.
34145         (tst-rxspencer-ENV): Likewise.
34146         (tst-rxspencer-no-utf8-ENV): Likewise.
34147         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34148         (tst-sscanf-ENV): Likewise.
34149         (tst-swprintf-ENV): Likewise.
34150         (tst-swscanf-ENV): Likewise.
34151         (test-vfprintf-ENV): Likewise.
34152         (scanf13-ENV): Likewise.
34153         (bug14-ENV): Likewise.
34154         (tst-grouping-ENV): Likewise.
34155         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34156         (tst-strtod3-ENV): Likewise.
34157         (tst-strtod4-ENV): Likewise.
34158         (tst-strtod5-ENV): Likewise.
34159         (testmb2-ENV): Likewise./
34160         * string/Makefile (tst-strxfrm-ENV): Likewise.
34161         (tst-strxfrm2-ENV): Likewise.
34162         (bug-strcoll1-ENV): Likewise.
34163         (test-strcasecmp-ENV): Likewise.
34164         (test-strncasecmp-ENV): Likewise.
34165         * time/Makefile (tst-strptime-ENV): Likewise.
34166         (tst-ftime_l-ENV): Likewise.
34167         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34168         (tst-mbrtowc-ENV): Likewise.
34169         (tst-wcrtomb-ENV): Likewise.
34170         (tst-mbrtowc2-ENV): Likewise.
34171         (tst-c16c32-1-ENV): Likewise.
34172         (tst-mbsnrtowcs-ENV): Likewise.
34174 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34176         * manual/resource.texi (How to get information about the memory
34177         subsystem?): Fix typo.
34178         Reported by Peon de la Parra Ivan <peon@keba.com>
34180 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34182         [BZ #16882]
34183         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34184         (pthread_spin_lock): Branch out of spin loop to proper location.
34185         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34186         (pthread_spin_lock): Likewise.
34188         * nptl/tst-spin4.c: New test.
34189         * nptl/Makefile (tests): Add tst-spin4.
34191 2014-06-03  Andreas Schwab  <schwab@suse.de>
34193         [BZ #15946]
34194         * resolv/res_send.c (send_dg): Reload file descriptor after
34195         calling reopen.
34197 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34199         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34201 2014-06-03  Richard Henderson  <rth@redhat.com>
34203         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34204         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34205         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34206         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34207         in the SAVE_PID block.
34208         (__libc_vfork): New alias.
34209         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34211         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34212         child in registers, not on the stack.  Remove RESET_PID conditionals.
34213         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34215 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34217         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34219 2014-06-03  Wilco  <wdijkstr@arm.com>
34221         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34222         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34223         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34224         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34225         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34226         Likewise.
34228 2014-06-03  Wilco  <wdijkstr@arm.com>
34230         * sysdeps/aarch64/fpu/math_private.h
34231         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34232         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34233         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34234         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34235         Fix declarations.
34237 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34239         * crypt/crypt-private.h: Include ufc-crypt.h.
34240         (__b64_from_24bit): Declare extern.
34241         * crypt/crypt_util.c(__b64_from_24bit): New function.
34242         (b64t): New static const variable.
34243         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34244         (b64t): Remove variable.
34245         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34246         * crypt/sha256-crypt.c: Include crypt-private.h.
34247         (b64t): Remove variable.
34248         (__sha256_crypt_r): Remove b64_from_24bit and replace
34249         with __b64_from_24bit.
34250         * crypt/sha512-crypt.c: Likewise.
34252 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34254         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34255         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34256         Label the code __libc_vfork rather than __vfork.
34257         [!NOT_IN_libc] (vfork): Define as weak alias.
34258         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34259         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34260         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34262 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34264         * malloc/malloc.c (malloc_info): Fix format specifier for
34265         n_mmaps.
34267 2014-06-02  Wilco  <wdijkstr@arm.com>
34269         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34270         FPCR write.
34272 2014-06-02  Wilco  <wdijkstr@arm.com>
34274         [BZ #17009]
34275         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34276         Rewrite to reduce FPCR/FPSR accesses.
34278 2014-06-01  David S. Miller  <davem@davemloft.net>
34280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34282 2014-05-31  David S. Miller  <davem@davemloft.net>
34284         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34285         to occur in round to nearest mode when |x| >= 2.0
34287 2014-05-30  Richard Henderson  <rth@twiddle.net>
34289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34290         (PSEUDO_RET_NOERRNO): Remove.
34291         (ret): Don't redefine.
34292         (ret_NOERRNO): Define in terms of ret.
34293         (ret_ERRVAL): Likewise.
34295         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34296         use of PSEUDO_RET; perform the error check directly.
34298 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34300         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34301         with __int128_t.
34303 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34305         * malloc/malloc (malloc_info): Fix formatting.
34307 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34308             Roland McGrath  <roland@hack.frob.com>
34310         * malloc/malloc (malloc_info): Also print mmapped statistics.
34312 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34314         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34315         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34317 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34319         * malloc/malloc.c (malloc_info): Inline mi_arena.
34321 2014-05-29  Richard Henderson  <rth@twiddle.net>
34323         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34324         Remove comma before expanding ASM_ARGS_##nr.
34325         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34326         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34327         of ASM_ARGS_##nr.
34328         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34329         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34330         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34331         (ASM_ARGS_1): Add leading comma.
34333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34334         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34335         to __errno_location.
34336         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34337         Remove the expected plt for __errno_location.
34339         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34340         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34341         call to __read_tp.
34343         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34344         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34345         it and break it down.
34346         (DOCARGS_0, DOCARGS_1): Do nothing.
34347         (DOCARGS_2): Update to store into the new stack frame.
34348         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34349         (UNDOCARGS_1): Update to restore from the new stack frame.
34350         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34351         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34353         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34354         (SINGLE_THREAD_P): New parameter for result regno.
34355         (PSEUDO): Update to match; use cbz instead of beq.
34357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34358         Use ENTRY to define the _nocancel entry point.  Share the syscall
34359         and syscall error check paths with the cancel path.
34360         (PSEUDO_END): New.
34362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34363         whitespace; tabs before and after asm mnemonics.
34365 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34367         [BZ #15132]
34368         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34369         Call fstat64 or stat64 internally, depending on arguments passed.
34370         Replace stat buffer argument with file descriptor argument.
34371         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34372         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34373         Pass fd to __internal_statvfs instead of calling fstat64.
34374         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34375         Pass fd to __internal_statvfs64 instead of calling fstat64.
34376         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34377         Pass -1 to __internal_statvfs instead of calling stat64.
34378         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34379         Pass -1 to __internal_statvfs64 instead of calling stat64.
34381 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34383         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34384         that was previously under [RESET_PID].
34385         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34387         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34388         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34390 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34392         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34394         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34395         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34397 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34399         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34401 2014-05-27  Andreas Schwab  <schwab@suse.de>
34403         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34404         TLS_INIT_TP macro.
34405         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34406         * elf/rtld.c (init_tls, dl_main): Likewise.
34407         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34408         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34409         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34410         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34411         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34412         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34413         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34414         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34415         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34416         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34417         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34418         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34419         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34420         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34421         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34422         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34423         * sysdeps/generic/tls.h: Update description.
34425 2014-05-27  Will Newton  <will.newton@linaro.org>
34427         [BZ #16990]
34428         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34429         and restore r2 rather than just restoring.
34431 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34433         [BZ #16724]
34434         * libio/tst-ftell-append.c: New test case.
34435         * libio/Makefile (tests): Add test case.
34436         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34437         append mode.
34438         * libio/wfileops.c (do_ftell_wide): Likewise.
34440 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34444         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34445         ...
34446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34448         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34449         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34450         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34451         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34452         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34453         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34455         Moved ...
34456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34458         Moved ...
34459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34460         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34461         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34462         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34463         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34464         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34465         ...
34466         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34467         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34468         Moved ...
34469         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34470         here.
34471         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34472         ...
34473         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34474         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34475         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34477         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34478         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34479         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34480         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34483         merge into ...
34484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34486         ...
34487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34489         ...
34490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34492         Moved ...
34493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34494         here.
34495         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34496         Moved ...
34497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34499         Moved ...
34500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34503         conditional [RESET_PID].
34504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34506         removed.
34507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34508         removed.
34510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34511         <tcb-offsets.h>.
34512         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34513         (__libc_vfork): New strong alias.
34514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34515         removed.
34516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34517         Removed.
34519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34520         <tcb-offsets.h>.
34521         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34522         (__libc_vfork): New strong alias.
34523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34524         removed.
34525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34526         removed.
34528 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34530         * malloc/malloc.c (mi_arena): New function.
34531         (malloc_info): Remove nested function mi_arena. Call non-nosted
34532         function mi_arena.
34534 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34536         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34537         by insrwi.
34538         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34539         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34540         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34541         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34543         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34544         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34546 2014-05-26  Andreas Schwab  <schwab@suse.de>
34548         [BZ #16984]
34549         * locale/programs/repertoire.c (repertoire_read): Add slash
34550         between I18NPATH element and file name.
34551         * locale/programs/locfile.c (locfile_read): Likewise.
34553 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34555         * nptl/pthread_mutexattr_settype.c
34556         (__pthread_mutexattr_settype):
34557         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34559 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34561         * nptl/tst-mutex5 (do_test):
34562         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34564 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34566         * benchtests/README: Document 'init' directive.
34567         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34568         BENCH_INIT.
34569         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34570         (parse_file): Recognize 'init' directive.
34572 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34574         [BZ #16796]
34575         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34576         alignment of struct pthread.
34578 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34580         [BZ #16878]
34581         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34582         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34583         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34584         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34586 2014-05-25  Richard Henderson  <rth@twiddle.net>
34588         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34589         (SINGLE_THREAD_P_PIC): Remove.
34590         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34591         (SINGLE_THREAD_P_PIC): Remove.
34593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34594         branch to syscall error ...
34595         (PSEUDO): ... here.
34596         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34597         from __local_syscall_error to .Lsyscall_error.
34598         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34599         (SYSCALL_ERROR): Update label name.
34601         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34602         Do not use DOARGS/UNDOARGS.
34603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34604         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34605         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34606         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34607         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34610         block comment.
34612         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34613         define if !NOT_IN_libc.
34614         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34615         define with non-default symbol versions.
34617 2014-05-23  Richard Henderson  <rth@twiddle.net>
34619         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34620         (vfork, __vfork): Define via compat_symbol.
34622         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34623         [!HAVE_IFUNC] (vfork_compat): Remove.
34624         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34626 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34628         [BZ #16978]
34629         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34630         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34631         variable.
34633 2014-05-23  Richard Henderson  <rth@twiddle.net>
34635         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34636         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34637         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34638         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34640         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34641         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34642         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34643         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34644         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34645         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34646         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34647         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34648         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34649         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34650         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34651         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34652         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34653         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34654         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34655         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34656         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34657         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34658         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34659         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34660         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34661         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34662         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34663         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34664         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34665         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34666         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34667         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34668         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34669         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34670         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34671         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34672         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34673         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34674         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34675         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34676         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34677         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34678         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34679         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34680         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34681         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34682         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34683         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34684         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34685         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34686         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34687         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34689         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34691         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34693         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34695         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34697         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34698         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34699         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34700         before exiting on error.
34701         (__libc_vfork): New strong alias.
34702         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34703         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34705         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34706         that was previously under [RESET_PID].
34707         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34709         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34711 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34713         [BZ #16977]
34714         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34715         value when x - 1 is zero.
34716         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34717         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34718         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34719         0.0L for an argument of 1.0L.
34720         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34721         Likewise.
34722         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34723         value when x - 1 is zero.
34724         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34725         * sysdeps/i386/fpu/libm-test-ulps: Update.
34726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34728 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34730         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34731         alphasort and versionsort.
34733 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34735         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34736         macro.
34737         [copysignf]: Likewise.
34739 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34741         * crypt/md5-crypt.c: Fix formatting.
34743 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34745         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34746         (b64_from_24bit): New function.
34748 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34750         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34751         libc_hidden_builtin_def to ifunc.
34752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34753         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34755 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34757         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34758         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34760 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34762         * nscd/Depend (linuxthreads): Remove.
34763         (nptl): Add.
34764         * resolv/Depend (linuxthreads): Remove.
34765         * rt/Depend (linuxthreads): Remove.
34767         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34768         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34769         $(common-objpfx)elf/.
34770         (link-libc-before-gnulib): Likewise.
34771         (elfobjdir): Remove variable.
34772         * Makefile (install): Use $(elf-objpfx) instead of
34773         $(common-objpfx)elf/.
34774         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34775         $(elfobjdir)/.
34776         (link-libc-deps): Likewise.
34777         ($(common-objpfx)libc.so): Likewise.
34778         ($(common-objpfx)linkobj/libc.so): Likewise.
34779         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34780         instead of $(common-objpfx)elf/.
34781         (symbolic-link-list): Likewise.
34782         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34783         [$(cross-compiling) = no]: Likewise.
34784         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34785         $(elfobjdir)/.
34786         (static-gnulib-arch): Likewise.
34787         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34788         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34789         $(common-objpfx)elf/.
34791 2014-05-21  Richard Henderson  <rth@redhat.com>
34793         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34794         (SINGLE_THREAD_P): Use the correct width load.  Fold
34795         into the ldr offset.
34797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34798         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34800 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34802         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34803         (libgcc_s_resume): Use __attribute_used__.
34804         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34805         Likewise.
34807 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34809         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34810         optimization when used with float constants.
34812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34814 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34816         [BZ #16915]
34817         * locale/nl_langinfo_l.c: Make direct reference to every
34818         _nl_current_CATEGORY symbol.
34819         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34820         (tests-static): Add tst-langinfo-static.
34821         (tests-special): Add tst-langinfo-static.out.
34822         ($(objpfx)tst-langinfo.out): Redirect output.
34823         ($(objpfx)tst-langinfo-static.out): New.
34824         * localedata/tst-langinfo.sh: Send output to stdout.
34825         * localedata/tst-langinfo-static.c: New file.
34827         [BZ #16965]
34828         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34829         when the shift amount is modulo the limb size.
34831 2014-05-20  Richard Henderson  <rth@redhat.com>
34833         [BZ #16967]
34834         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34835         Change type of sa_flags from unsigned int to int.
34837         [BZ #16966]
34838         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34840         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34842 2014-05-20  Will Newton  <will.newton@linaro.org>
34844         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34845         Test the return value of the system call in the nocancel case.
34847 2014-05-20  Will Newton  <will.newton@linaro.org>
34848             Yvan Roux  <yvan.roux@linaro.org>
34850         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34851         #include of asm/ptrace.h.
34852         (PTRACE_GET_THREAD_AREA): Remove #undef.
34853         (PTRACE_GETHBPREGS): Likewise.
34854         (PTRACE_SETHBPREGS): Likewise.
34855         (struct user_regs_struct): New structure.
34856         (struct user_fpsimd_struct): New structure.
34857         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34858         #include of asm/ptrace.h and second #include of sys/user.h.
34859         (PTRACE_GET_THREAD_AREA): Remove #undef.
34860         (PTRACE_GETHBPREGS): Likewise.
34861         (PTRACE_SETHBPREGS): Likewise.
34862         (ELF_NGREG): Use new struct user_regs_struct.
34863         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34865 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34868         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34870 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34872         [BZ #16958]
34873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34874         membar to avoid block loads/stores to overlap previous stores.
34876 2014-05-17  Richard Henderson  <rth@redhat.com>
34878         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34879         Create the __##syscall_name##_nocancel entry point.
34880         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34881         Remove; let the sysdep-cancel.h code create it.
34883 2014-05-17  David S. Miller  <davem@davemloft.net>
34885         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34886         Protect with __USE_GNU.
34887         (TIOCSET_TEMPT): Likewise.
34888         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34889         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34890         these are already provided in bits/ioctl-types.h
34892 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34894         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34895         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34897         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34898         Use wait4 regardless of [__NR_waitpid].
34900 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34902         PR libgcc/60166
34903         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34904         (_FP_NANSIGN_Q): Set the quiet bit.
34906 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34908         * benchtests/Makefile
34909         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34910         not $(common-objpfx)math/libm.so.
34911         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34912         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34913         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34914         $(common-objpfx)dlfcn/libdl.so.
34915         ($(objpfx)tst-audit8): Depend on $(libm), not
34916         $(common-objpfx)math/libm.so.
34917         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34918         not $(common-objpfx)dlfcn/libdl.so.
34919         * math/Makefile
34920         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34921         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34922         [$(build-shared) = yes].
34923         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34924         $(common-objpfx)nptl/libpthread.so.
34925         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34926         $(common-objpfx)math/libm.so$(libm.so-version) or
34927         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34928         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34929         $(common-objpfx)dlfcn/libdl.so.
34930         * setjmp/Makefile (link-libm): Remove variable.
34931         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34932         * stdio-common/Makefile (link-libm): Remove variable.
34933         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34934         * stdlib/Makefile (link-libm): Remove variable.
34935         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34936         ($(objpfx)tst-strtod-round): Likewise.
34937         ($(objpfx)tst-tininess): Likewise.
34938         ($(objpfx)tst-strtod-underflow): Likewise.
34939         ($(objpfx)tst-strtod6): Likewise.
34940         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34941         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34942         $(common-objpfx)dlfcn/libdl.so.
34944 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34946         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34947         BSD terminal modes definitions.
34949 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34951         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34952         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34954         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34955         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34956         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34957         Don't do #include_next.
34958         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34959         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34960         Don't do #include_next.
34961         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34962         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34963         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34964         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34966 2014-05-16  Allan McRae  <allan@archlinux.org>
34968         * po/sv.po: Update Swedish translation from translation project.
34970         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34971         in sed expression.
34973 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34975         [BZ #16917]
34976         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34977         errno if the TIOCGPTN ioctl fails with an error different than
34978         EINVAL.
34979         * login/tst-ptsname.c: New file.
34980         * login/Makefile (tests): Add tst-ptsname.
34982         [BZ #16943]
34983         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34984         and prlimit64.
34986 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34988         [BZ #16849]
34989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34990         herrno to return EAI_AGAIN.
34992 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34994         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34995         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34996         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34997         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34998         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34999         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35000         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35001         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35002         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35003         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35004         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35005         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35006         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35007         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35008         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35009         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35010         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35011         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35012         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35013         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35014         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35015         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35016         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35017         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35018         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35019         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35020         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35021         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35022         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35023         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35025         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35027         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35029         Moved ...
35030         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35032         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35034         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35036         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35038         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35040         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35042         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35046         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35048         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35050         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35052         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35054         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35056         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35058         Moved ...
35059         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35061         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35063         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35065         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35067         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35069         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35071         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35073         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35075         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35077         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35079         Moved ...
35080         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35082         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35084         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35085         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35086         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35087         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35088         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35089         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35090         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35091         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35092         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35093         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35094         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35095         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35096         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35097         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35098         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35099         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35100         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35101         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35102         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35103         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35104         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35105         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35106         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35107         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35108         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35109         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35110         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35111         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35112         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35113         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35114         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35116         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35117         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35119         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35120         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35121         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35122         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35123         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35124         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35125         Moved ...
35126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35128         Moved ...
35129         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35131         Moved ...
35132         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35134         Moved ...
35135         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35136         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35137         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35139         Moved ...
35140         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35141         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35142         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35145         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35146         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35148         Moved ...
35149         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35150         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35151         Moved ...
35152         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35153         ... here.
35154         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35155         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35156         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35157         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35158         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35159         Moved ...
35160         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35161         ... here.
35162         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35163         Moved ...
35164         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35166         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35168         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35169         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35170         Moved ...
35171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35173         Moved ...
35174         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35176         Moved ...
35177         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35179         Moved ...
35180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35181         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35182         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35184         Moved ...
35185         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35186         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35187         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35190         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35191         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35193         Moved ...
35194         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35195         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35196         Moved ...
35197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35198         ... here.
35199         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35200         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35201         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35202         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35203         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35204         Moved ...
35205         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35206         ... here.
35207         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35208         Moved ...
35209         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35210         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35211         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35212         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35213         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35214         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35216         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35217         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35218         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35219         Moved ...
35220         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35222         Moved ...
35223         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35224         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35225         Moved ...
35226         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35228         Moved ...
35229         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35230         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35231         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35232         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35233         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35235         Moved ...
35236         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35237         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35238         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35241         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35242         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35244         Moved ...
35245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35246         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35247         Moved ...
35248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35249         ... here.
35250         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35251         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35252         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35253         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35255         Moved ...
35256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35257         ... here.
35258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35259         Moved ...
35260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35261         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35262         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35263         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35264         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35265         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35266         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35267         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35268         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35269         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35270         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35272         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35273         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35275         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35276         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35278         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35279         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35280         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35281         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35282         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35283         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35284         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35285         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35286         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35287         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35288         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35289         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35290         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35291         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35292         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35294         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35296         Moved ...
35297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35301         Moved ...
35302         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35306         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35308         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35310         Moved ...
35311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35313         Moved ...
35314         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35320         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35321         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35322         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35323         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35324         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35325         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35326         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35327         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35328         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35329         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35330         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35332         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35333         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35334         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35335         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35336         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35338         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35339         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35340         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35341         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35342         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35343         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35344         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35345         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35346         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35347         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35352         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35353         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35354         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35355         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35356         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35357         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35358         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35359         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35360         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35361         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35362         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35363         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35364         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35365         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35367         Update #include.
35368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35369         Likewise.
35370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35371         Likewise.
35372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35373         Likewise.
35374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35375         Likewise.
35376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35377         Likewise.
35378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35379         Likewise.
35380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35381         Likewise.
35382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35383         Likewise.
35384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35385         Likewise.
35386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35391         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35392         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35393         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35394         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35395         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35396         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35397         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35402         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35403         that was previously under [RESET_PID].
35404         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35405         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35406         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35408         * sysdeps/i386/nptl/Implies: New file.
35409         * sysdeps/x86_64/nptl/Implies: New file.
35410         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35411         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35412         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35413         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35415         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35416         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35417         (__libc_vfork): New strong alias.
35418         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35419         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35421         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35422         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35423         (__libc_vfork): New strong alias.
35424         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35425         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35427         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35428         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35429         (__libc_vfork): New strong alias.
35430         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35431         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35432         * nptl/pt-vfork.c: New file.
35433         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35434         (libpthread: GLIBC_2.20): New version set (empty).
35436 2014-05-14  Will Newton  <will.newton@linaro.org>
35438         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35439         rather than #if.
35441 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35443         [BZ #16564]
35444         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35445         arguments with exponent 65 or above.
35446         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35447         arguments 0x1p113L or above.
35448         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35449         to arguments 0x1p107L or above.
35450         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35451         positive arguments with exponent 65 or above.
35452         * math/auto-libm-test-in: Add more tests of log1p.
35453         * math/auto-libm-test-out: Regenerated.
35455         [BZ #16928]
35456         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35457         non-finite arguments is +0.
35458         * math/s_cacosf.c (__cacosf): Likewise.
35459         * math/s_cacosl.c (__cacosl): Likewise.
35460         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35461         * sysdeps/i386/fpu/libm-test-ulps: Update.
35462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35464         [BZ #16927]
35465         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35466         value.
35467         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35468         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35469         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35470         for explicit high bit of mantissa when testing for argument equal
35471         to 1.
35472         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35473         * sysdeps/i386/fpu/libm-test-ulps: Update.
35474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35476         [BZ #16516]
35477         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35478         (__erf): Scale by 16 instead of 8 in potentially underflowing
35479         case.  Ensure exception if result actually underflows.
35480         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35481         (__erff): Scale by 16 instead of 8 in potentially underflowing
35482         case.  Ensure exception if result actually underflows.
35483         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35484         (efx8): Remove variable.
35485         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35486         case.  Ensure exception if result actually underflows.
35487         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35488         (efx8): Remove variable.
35489         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35490         case.  Ensure exception if result actually underflows.
35491         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35492         (efx8): Remove variable.
35493         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35494         case.  Ensure exception if result actually underflows.
35495         * math/auto-libm-test-in: Add more tests of erf.
35496         * math/auto-libm-test-out: Regenerated.
35498 2014-05-14  Andreas Schwab  <schwab@suse.de>
35500         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35501         Remove code conditionalized on USE___THREAD.
35503         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35504         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35505         not definedness.
35507 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35510         Define unconditionally.
35511         (__ASSUME_O_CLOEXEC): Likewise.
35512         (__ASSUME_SOCK_CLOEXEC): Likewise.
35513         (__ASSUME_IN_NONBLOCK): Likewise.
35514         (__ASSUME_PIPE2): Likewise.
35515         (__ASSUME_EVENTFD2): Likewise.
35516         (__ASSUME_SIGNALFD4): Likewise.
35517         (__ASSUME_DUP3): Likewise.
35518         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35519         (__ASSUME_DUP3): Do not define.
35520         (__ASSUME_EVENTFD2): Likewise.
35521         (__ASSUME_IN_NONBLOCK): Likewise.
35522         (__ASSUME_O_CLOEXEC): Likewise.
35523         (__ASSUME_PIPE2): Likewise.
35524         (__ASSUME_SIGNALFD4): Likewise.
35525         (__ASSUME_SOCK_CLOEXEC): Likewise.
35526         (__ASSUME_UTIMES): Undefine.
35527         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35528         (__ASSUME_UTIMES): Do not define.
35529         (__ASSUME_O_CLOEXEC): Likewise.
35530         (__ASSUME_SOCK_CLOEXEC): Likewise.
35531         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35532         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35533         0x020621].
35534         (__ASSUME_PIPE2): Likewise.
35535         (__ASSUME_EVENTFD2): Likewise.
35536         (__ASSUME_SIGNALFD4): Likewise.
35537         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35538         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35539         Do not define.
35540         (__ASSUME_EVENTFD2): Likewise.
35541         (__ASSUME_SIGNALFD4): Likewise.
35542         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35543         (__ASSUME_32BITUIDS): Likewise.
35544         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35545         (__ASSUME_IPC64): Likewise.
35546         (__ASSUME_ST_INO_64_BIT): Likewise.
35547         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35548         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35549         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35550         (__ASSUME_UTIMES): Do not define.
35551         (__ASSUME_PSELECT): Likewise.
35552         (__ASSUME_PPOLL): Likewise.
35553         (__ASSUME_O_CLOEXEC): Likewise.
35554         (__ASSUME_SOCK_CLOEXEC): Likewise.
35555         (__ASSUME_IN_NONBLOCK): Likewise.
35556         (__ASSUME_PIPE2): Likewise.
35557         (__ASSUME_EVENTFD2): Likewise.
35558         (__ASSUME_SIGNALFD4): Likewise.
35559         (__ASSUME_DUP3): Likewise.
35560         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35561         (__ASSUME_UTIMES): Likewise.
35562         (__ASSUME_O_CLOEXEC): Likewise.
35563         (__ASSUME_SOCK_CLOEXEC): Likewise.
35564         (__ASSUME_IN_NONBLOCK): Likewise.
35565         (__ASSUME_PIPE2): Likewise.
35566         (__ASSUME_EVENTFD2): Likewise.
35567         (__ASSUME_SIGNALFD4): Likewise.
35568         (__ASSUME_DUP3): Likewise.
35569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35570         (__ASSUME_UTIMES): Likewise.
35571         (__ASSUME_O_CLOEXEC): Likewise.
35572         (__ASSUME_SOCK_CLOEXEC): Likewise.
35573         (__ASSUME_IN_NONBLOCK): Likewise.
35574         (__ASSUME_PIPE2): Likewise.
35575         (__ASSUME_EVENTFD2): Likewise.
35576         (__ASSUME_SIGNALFD4): Likewise.
35577         (__ASSUME_DUP3): Likewise.
35578         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35579         Likewise.
35580         (__ASSUME_UTIMES): Likewise.
35581         (__ASSUME_EVENTFD2): Likewise.
35582         (__ASSUME_SIGNALFD4): Likewise.
35583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35584         (__ASSUME_O_CLOEXEC): Likewise.
35585         (__ASSUME_SOCK_CLOEXEC): Likewise.
35586         (__ASSUME_IN_NONBLOCK): Likewise.
35587         (__ASSUME_PIPE2): Likewise.
35588         (__ASSUME_EVENTFD2): Likewise.
35589         (__ASSUME_SIGNALFD4): Likewise.
35590         (__ASSUME_DUP3): Likewise.
35591         (__ASSUME_UTIMES): Undefine.
35593         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35594         feclearexcept.  Remove symbol versioning code.
35595         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35596         symbol versioning code.
35597         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35598         symbol versioning code.
35599         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35600         feupdateenv.  Remove symbol versioning code.
35601         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35602         fegetexceptflag.  Remove symbol versioning code.
35603         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35604         fesetexceptflag.  Remove symbol versioning code.
35605         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35606         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35607         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35608         (__posix_fadvise64_l32): Remove prototype.
35609         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35610         code.
35612 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35614         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35615         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35616         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35617         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35619 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35621         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35622         current working directory
35624 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35626         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35627         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35628         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35629         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35630         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35631         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35632         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35633         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35634         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35635         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35636         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35637         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35638         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35639         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35640         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35641         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35642         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35643         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35644         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35645         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35646         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35647         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35649         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35650         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35651         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35652         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35653         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35654         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35655         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35657         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35658         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35659         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35660         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35661         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35662         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35663         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35664         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35665         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35666         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35667         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35669         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35670         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35672         * sysdeps/unix/sysv/linux/arm/Makefile
35673         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35674         Add rt-aeabi_unwind_cpp_pr1.
35675         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35676         Add nptl-aeabi_unwind_cpp_pr1.
35677         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35678         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35679         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35680         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35681         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35682         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35684         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35685         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35686         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35687         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35689         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35690         Deconditionalize the code that was previously under [RESET_PID].
35691         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35693         * sysdeps/generic/exit-thread.h: New file.
35694         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35695         * include/unistd.h (__exit_thread): Remove declaration.
35696         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35697         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35698         * csu/libc-start.c: Include <exit-thread.h>.
35699         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35700         * nptl/pthread_create.c: Include <exit-thread.h>.
35701         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35702         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35703         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35704         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35705         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35706         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35707         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35708         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35709         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35710         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35711         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35712         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35713         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35714         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35715         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35716         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35717         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35719 2014-05-13  Andreas Schwab  <schwab@suse.de>
35721         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35723 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35725         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35726         (__ASSUME_UTIMES): Do not condition on kernel version.
35727         (__ASSUME_PSELECT): Define unconditionally.
35728         (__ASSUME_PPOLL): Likewise.
35729         (__ASSUME_ATFCTS): Likewise.
35730         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35731         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35732         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35733         (__ASSUME_UTIMENSAT): Define unconditionally.
35734         (__ASSUME_PRIVATE_FUTEX): Likewise.
35735         (__ASSUME_FALLOCATE): Likewise.
35736         (__ASSUME_O_CLOEXEC): Likewise.
35737         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35738         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35739         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35740         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35741         (__ASSUME_IN_NONBLOCK): Likewise.
35742         (__ASSUME_PIPE2): Likewise.
35743         (__ASSUME_EVENTFD2): Likewise.
35744         (__ASSUME_SIGNALFD4): Likewise.
35745         (__ASSUME_DUP3): Likewise.
35746         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35747         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35748         (__ASSUME_AT_RANDOM): Likewise.
35749         (__ASSUME_PREADV): Likewise.
35750         (__ASSUME_PWRITEV): Likewise.
35751         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35752         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35753         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35754         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35755         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35756         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35757         (__ASSUME_O_CLOEXEC): Define unconditionally.
35758         (__ASSUME_PSELECT): Do not undefine conditionally.
35759         (__ASSUME_PPOLL): Likewise.
35760         (__ASSUME_ATFCTS): Likewise.
35761         (__ASSUME_SET_ROBUST_LIST): Likewise.
35762         (__ASSUME_UTIMENSAT): Likewise.
35763         (__ASSUME_FDATASYNC): Define unconditionally.
35764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35765         (__ASSUME_SIGFRAME_V2): Likewise.
35766         )__ASSUME_EVENTFD2): Likewise.
35767         (__ASSUME_SIGNALFD4): Likewise.
35768         (__ASSUME_PSELECT): Do not undefine conditionally.
35769         (__ASSUME_PPOLL): Likewise.
35770         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35771         (__ASSUME_PSELECT): Define unconditionally.
35772         (__ASSUME_PPOLL): Likewise.
35773         (__ASSUME_O_CLOEXEC): Likewise.
35774         (__ASSUME_SOCK_CLOEXEC): Likewise.
35775         (__ASSUME_IN_NONBLOCK): Likewise.
35776         (__ASSUME_PIPE2): Likewise.
35777         (__ASSUME_EVENTFD2): Likewise.
35778         (__ASSUME_SIGNALFD4): Likewise.
35779         (__ASSUME_DUP3): Likewise.
35780         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35781         (__ASSUME_O_CLOEXEC): Likewise.
35782         (__ASSUME_SOCK_CLOEXEC): Likewise.
35783         (__ASSUME_IN_NONBLOCK): Likewise.
35784         (__ASSUME_PIPE2): Likewise.
35785         (__ASSUME_EVENTFD2): Likewise.
35786         (__ASSUME_SIGNALFD4): Likewise.
35787         (__ASSUME_DUP3): Likewise.
35788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35789         (__ASSUME_EVENTFD2): Likewise.
35790         (__ASSUME_SIGNALFD4): Likewise.
35791         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35793 2014-05-12  Andreas Schwab  <schwab@suse.de>
35795         [BZ #16932]
35796         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35797         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35798         than maximum RPC packet size.
35799         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35800         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35801         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35802         (_nss_nis_getservbyport_r): Likewise.
35804 2014-05-12  Will Newton  <will.newton@linaro.org>
35806         * malloc/Makefile (tests): Add tst-mallopt.
35807         * malloc/tst-mallopt.c: New file.
35809 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35811         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35812         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35814 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35816         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35817         (tst-tlsmod6.so): Likewise.
35819 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35821         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35823 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35825         [BZ #16064]
35826         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35827         and <dl-procinfo.h>.
35828         (__fegetenv): Save SSE state in envp->__eip if supported.
35829         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35830         envp->__eip if supported.
35831         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35832         and <dl-procinfo.h>.
35833         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35834         __data_offset and __data_selector in environment to 0.  Set SSE
35835         state if supported.
35836         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35837         test-fenv-sse.
35838         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35839         -mfpmath=sse.
35840         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35842 2014-05-09  Will Newton  <will.newton@linaro.org>
35844         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35845         and libc_relro_required for ARM.
35846         * sysdeps/arm/preconfigure: Regenerate.
35848 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35849             Stefan Liebler  <stli@linux.vnet.ibm.com>
35851         * config.make.in (enable-lock-elision): New Makefile variable.
35852         * configure.ac: Likewise.
35853         * configure: Regenerate.
35854         * sysdeps/s390/configure.ac:
35855         Add check for gcc transactions support.
35856         * sysdeps/s390/configure: Regenerate.
35857         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35858         Build elision files if enabled.
35859         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35860         Add lock elision support for s390.
35861         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35862         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35863         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35864         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35865         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35866         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35867         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35868         Likewise.
35869         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35870         Likewise.
35871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35872         Likewise.
35873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35874         Likewise.
35875         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35876         (__lll_timedlock_elision, __lll_lock_elision)
35877         (__lll_unlock_elision, __lll_trylock_elision)
35878         (lll_timedlock_elision, lll_lock_elision)
35879         (lll_unlock_elision, lll_trylock_elision): Add.
35880         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35881         (pthread_mutex_t): Add lock elision support for s390.
35883 2014-05-14  Wilco  <wdijkstr@arm.com>
35885         * sysdeps/arm/fclrexcpt.c: Cleanup.
35886         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35887         * sysdeps/arm/feenablxcpt.c: Cleanup.
35888         * sysdeps/arm/fegetenv.c: Cleanup.
35889         * sysdeps/arm/fegetexcept.c: Cleanup.
35890         * sysdeps/arm/fegetround.c: Cleanup.
35891         * sysdeps/arm/feholdexcpt.c: Cleanup.
35892         * sysdeps/arm/fesetenv.c: Cleanup.
35893         * sysdeps/arm/fesetround.c: Cleanup.
35894         * sysdeps/arm/feupdateenv.c: Cleanup.
35895         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35896         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35897         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35898         * sysdeps/arm/ftestexcept.c: Cleanup.
35899         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35900         * sysdeps/arm/setfpucw.c: Cleanup.
35902 2014-05-09  Will Newton  <will.newton@linaro.org>
35904         * sysdeps/arm/armv7/strcmp.S: New file.
35905         * NEWS: Mention addition of ARMv7 optimized strcmp.
35907 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35909         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35910         look for %.ac rather than %.in.
35912         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35913         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35914         * sysdeps/mach/hurd/configure: Regenerated.
35915         * sysdeps/unix/sysv/linux/configure: Regenerated.
35917         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35919 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35921         [BZ# 16922]
35922         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35923         (LONG_SUB): Ditto.
35924         (PTR_SUB): Ditto.
35926 2014-05-07  Andreas Schwab  <schwab@suse.de>
35928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35929         when skipping over non-matching result from nscd.
35931 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35933         [BZ #16876]
35934         * nptl/sockperf.c (client): Check socket return value.
35936         [BZ #16877]
35937         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35938         nscd security class.
35940 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35942         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35943         * sysdeps/arm/unwind.h: ... here.
35945 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35947         [BZ# 16916]
35948         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35949         Define.
35951 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35953         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35954         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35955         multiarch strncpy for PPC64.
35956         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35957         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35959         multiarch optimizations.
35960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35961         (__libc_ifunc_impl_list): Likewise.
35962         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35963         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35964         multiarch stpncpy for PPC64.
35965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35966         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35968 2014-05-06  Andreas Schwab  <schwab@suse.de>
35970         [BZ #16912]
35971         * gmon/mcount.c (_MCOUNT_DECL): Use
35972         atomic_compare_and_exchange_bool_acq instead of
35973         catomic_compare_and_exchange_bool_acq.
35975 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35977         * elf/Makefile (others, install-bin): Remove pldd.
35978         (pldd-modules): Variable removed.
35979         ($(objpfx)pldd): Target removed.
35980         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35981         (others, install-bin): Append pldd here.
35982         ($(objpfx)pldd): New target.
35984         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35985         to 0, so the first #if test emitted later doesn't see it undefined.
35986         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35987         * sysdeps/gnu/errlist.c: Regenerated.
35989 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35992         [libc_hidden_builtin_def]: Define to empty value.
35993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35994         [libc_hidden_builtin_def]: Likewise.
35995         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35996         [libc_hidden_builtin_def]: Likewise.
35997         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35998         [libc_hidden_builtin_def]: Likewise.
35999         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36000         __redirect_memcpy and define ifunc as default hidden symbol.
36001         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36002         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36004 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36006         * locale/iso-4217.def: Reintroduce XDR currency.
36008 2014-05-04  Allan McRae  <allan@archlinux.org>
36010         * po/eo.po: Update Esperanto translation from translation project.
36012 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36014         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36015         and FEATURE_INDEX_MAX to 1.
36016         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36018 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36020         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36021         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36022         * iconvdata/big5.c (ONE_DIRECTION): Define.
36023         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36024         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36025         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36026         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36027         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36028         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36029         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36030         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36031         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36032         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36033         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36034         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36035         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36036         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36037         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36038         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36039         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36040         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36041         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36042         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36043         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36044         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36045         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36046         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36047         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36048         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36049         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36050         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36051         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36052         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36053         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36054         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36055         * iconvdata/johab.c (ONE_DIRECTION): Define.
36056         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36057         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36058         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36059         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36060         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36061         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36062         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36063         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36064         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36065         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36067 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36069         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36070         (_IO_JUMPS_OFFSET): Define to 0.
36072         * nptl/sysdeps/pthread/bits/libc-lock.h
36073         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36074         (__libc_lock_define_initialized_recursive): Always define using
36075         initializer.  Modern compilers treat uninitialized (implicit zero) and
36076         explicit zero initializers the same (i.e. put the datum in bss).
36078 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36080         * nscd/nscd-client.h: Include <string.h>.
36082 2014-05-01  David S. Miller  <davem@davemloft.net>
36084         [BZ #16885]
36085         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36086         multiple zero bytes exist at the end of a string.
36087         Reported by Aurelien Jarno <aurelien@aurel32.net>
36089         * string/test-strcmp.c (check): Add explicit test for situations where
36090         there are multiple zero bytes after the first.
36092 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36094         [BZ #16890]
36095         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36096         when compiling wprintf.
36097         * stdio-common/tstdiomisc.c (t3): New function.
36098         (main): Call it.
36100 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36102         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36103         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36104         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36105         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36107 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36109         * stdlib/longlong.h: Updated from GCC.
36111 2014-05-01  Will Newton  <will.newton@linaro.org>
36112             Bernard Ogden  <bernie.ogden@linaro.org>
36114         * NEWS: Update fixed bug list.
36116         [BZ #15119]
36117         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36119 2014-04-30  David S. Miller  <davem@davemloft.net>
36121         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36122         (libc_feholdexcept_setround_sparc_ctx): New function.
36123         (libc_fesetenv_sparc_ctx): Likewise.
36124         (libc_feupdateenv_sparc_ctx): Likewise.
36125         (libc_feholdsetround_sparc_ctx): Likewise.
36126         (libc_feholdexcept_setround_ctx): Define.
36127         (libc_feholdexcept_setroundf_ctx): Likewise.
36128         (libc_feholdexcept_setroundl_ctx): Likewise.
36129         (libc_fesetenv_ctx): Likewise.
36130         (libc_fesetenvf_ctx): Likewise.
36131         (libc_fesetenvl_ctx): Likewise.
36132         (libc_feupdateenv_ctx): Likewise.
36133         (libc_feupdateenvf_ctx): Likewise.
36134         (libc_feupdateenvl_ctx): Likewise.
36135         (libc_feresetround_ctx): Likewise.
36136         (libc_feresetroundf_ctx): Likewise.
36137         (libc_feresetroundl_ctx): Likewise.
36138         (libc_feholdsetround_ctx): Likewise.
36139         (libc_feholdsetroundf_ctx): Likewise.
36140         (libc_feholdsetroundl_ctx): Likewise.
36142         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36143         with __USE_GNU instead of XOPEN cpp guards.
36145         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36146         0.
36148         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36149         with XOPEN cpp guards.
36151 2014-04-30  Julian Brown  <julian@codesourcery.com>
36153         [BZ #16888]
36154         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36155         handling.
36157 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36159         [BZ #9894]
36160         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36161         Change to 2.6.32.
36162         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36163         * sysdeps/unix/sysv/linux/configure: Regenerated.
36164         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36165         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36166         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36167         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36168         * README: Update reference to required Linux kernel version.
36169         * manual/install.texi (Linux): Update reference to required Linux
36170         kernel headers version.
36171         * INSTALL: Regenerated.
36173         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36174         header inclusion.
36175         [POSIX] (limits.h): Likewise.
36176         [POSIX] (math.h): Likewise.
36177         [POSIX] (sys/wait.h): Likewise.
36178         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36179         function.
36180         [POSIX] (stddef.h): Do not allow header inclusion.
36182 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36184         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36186 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36188         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36189         Return immediately after lll_futex_wake.
36191 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36193         [BZ #16791]
36194         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36195         structure.
36196         (datahead_init_pos): Call datahead_init_common early.
36197         (datahead_init_neg): Likewise.
36199         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36200         datahead_init_neg): New functions.
36201         * nscd/aicache.c (addhstaiX): Use them.
36202         * nscd/grpcache.c (cache_addgr): Likewise.
36203         * nscd/hstcache.c (cache_addhst): Likewise.
36204         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36205         * nscd/netgroupcache.c (do_notfound): Likewise.
36206         (addgetnetgrentX): Likewise.
36207         (addinnetgrX): Likewise.
36208         * nscd/pwdcache.c (cache_addpw): Likewise.
36209         * nscd/servicescache.c (cache_addserv): Likewise.
36211 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36212             Atsushi Onoe  <atsushi@onoe.org>
36214         [BZ #14308]
36215         [BZ #12994]
36216         [BZ #13651]
36217         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36218         one response is valid.
36219         * resolv/res_send.c (send_dg): Check for validity of other
36220         response if the current response is a referral.
36222 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36224         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36226 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36228         [BZ #16823]
36229         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36230         Always divide by positive zero when computing -Inf result.
36231         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36232         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36234 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36236         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36237         FPSCR if value do not change.
36238         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36239         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36240         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36241         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36242         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36243         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36244         function.
36246 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36248         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36249         * sysdeps/unix/sysv/linux/hppa: Move directory from
36250         ports/systeps/unix/sysv/linux/hppa.
36251         * README: Update listing for hppa-*-linux-gnu.
36253 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36255         [BZ #16754]
36256         * manual/stdio.texi (Hook functions): Fix types of stream hook
36257         functions.
36258         [BZ #16854]
36259         * socket/sys/socket.h: Fix typo in comment.
36261 2014-04-28  Wilco  <wdijkstr@arm.com>
36263         * sysdeps/arm/fenv_private.h: New file.
36264         * sysdeps/arm/math_private.h: New file.
36265         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36267 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36269         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36270         with __int128_t.
36271         (La_x86_64_retval): Likewise.
36273 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36275         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36276         fpsr if value didn't change.
36277         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36278         to fpcr if value didn't change.
36279         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36280         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36281         fpsr or fpcr if value didn't change.
36282         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36283         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36284         fpcr if value didn't change.
36285         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36286         to fpsr if value didn't change.
36288 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36290         * nptl/tst-sem3.c: Use test-skeleton.c
36291         (main): Rename to do_test.  Use return instead of
36292         exit.
36293         * nptl/tst-sem4.c: Use test-skeleton.c
36294         (main): Rename to do_test.
36296 2014-04-22  David S. Miller  <davem@davemloft.net>
36298         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36299         (struct sigaction): New struct member __glibc_reserved0, change
36300         type of sa_flags to int.
36302 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36304         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36305         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36307 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36309         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36310         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36312 2014-04-22  Will Newton  <will.newton@linaro.org>
36313             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36315         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36316         (__longjmp): Add longjmp and longjmp_target SystemTap
36317         probes.
36318         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36319         (__sigsetjmp): Add setjmp SystemTap probe.
36321 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36323         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36324         match manual order.
36326 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36328         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36330         * sysdeps/powerpc/fpu/fenv_private.h
36331         (libc_feholdexcept_setroundl_ctx): Define to
36332         libc_feholdexcept_setround_ppc_ctx.
36333         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36334         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36335         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36336         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36338 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36340         * sysdeps/aarch64/math-tests.h: New file.
36342 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36344         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36345         New.
36346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36347         Check and set bit_AVX2_Usable.
36348         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36349         macro.
36350         (bit_AVX2): Likewise.
36351         (index_AVX2_Usable): Likewise.
36352         (CPUID_AVX2): Likewise.
36353         (HAS_AVX2): Likewise.
36355 2014-04-17  Will Newton  <will.newton@linaro.org>
36357         * manual/setjmp.texi (System V contexts): Add note that
36358         calling setcontext on a context created by a call to a
36359         signal handler is undefined.  Update text to note that
36360         setcontext from a signal handler is possible but not
36361         recommended.
36363         [BZ #16629]
36364         * stdlib/tst-setcontext.c: Include signal.h.
36365         (main): Check that the signal stack before and
36366         after swapcontext is the same.
36368         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36369         Re-implement to restore registers in user code and avoid
36370         rt_sigreturn system call.
36372 2014-04-17  Wilco  <wdijkstr@arm.com>
36374         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36375         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36376         * math/test-fenv.c: Skip exception trap tests on targets which only
36377         support non-stop mode.
36379 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36380             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36382         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36383         (libc_feholdsetround_aarch64_ctx)
36384         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36385         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36386         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36387         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36388         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36389         (libc_feresetround_noexl_ctx): Define.
36391 2014-04-16  Richard Henderson  <rth@redhat.com>
36393         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36395         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36396         unwind tables.
36398         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36399         const from the non-libc, non-ldso copy.
36401         * sysdeps/alpha/libm-test-ulps: Regenerate.
36403 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36404             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36406         * sysdeps/aarch64/fpu/math_private.h: New file.
36408 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36410         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36412 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36414         [BZ #16275]
36415         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36416         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36417         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36418         Intel MPX bound registers before _dl_profile_fixup.
36419         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36420         registers after _dl_profile_fixup.  Save and restore bound
36421         registers bnd0/bnd1 when calling _dl_call_pltexit.
36422         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36423         (LR_BND_OFFSET): Likewise.
36424         (LRV_BND0_OFFSET): Likewise.
36425         (LRV_BND1_OFFSET): Likewise.
36427 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36429         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36430         to...
36431         * sysdeps/mach/hurd/i386/tls.h: ... here.
36432         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36433         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36434         fields.
36436 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36438         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36440 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36442         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36444 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36446         [BZ #14770]
36447         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36448         * sysdeps/s390/configure: Regenerate.
36450         [BZ #16824]
36451         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36452         Set round-to-nearest internally to reduce error accumulation.
36454 2014-04-16  Alan Modra  <amodra@gmail.com>
36456         [BZ #16740]
36457         [BZ #16619]
36458         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36459         * math/libm-test.inc (frexp_test_data): Add tests.
36460         * NEWS: Update fixed bug list.
36462 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36464         * benchtests/Makefile: Depend on libraries in build directory.
36465         (bench-math): Separate out math tests.
36466         (bench-pthread): Separate out pthread tests.
36467         (bench): Include math and pthread tests.
36469 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36471         [BZ #16831]
36472         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36473         _dl_debug_initialize.
36475         * configure.ac: Remove SELinux header check.
36476         * configure: Regenerate.
36477         * nscd/selinux.c (perms): Array of const char* to permission names.
36478         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36479         default policy. Call string_to_security_class and string_to_av_perm to
36480         translate strings. Enforce default policy and call avs_has_perm with
36481         results of translated strings.
36483 2014-04-13  David S. Miller  <davem@davemloft.net>
36485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36487 2014-04-12  Allan McRae  <allan@archlinux.org>
36489         [BZ #16838]
36490         * manual/string.texi (Collation Functions): Fix qsort argument
36491         order in example.
36492         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36494 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36496         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36497         Make the test a no-op if there are no exceptions defined.
36499 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36501         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36502         enable-hardcoded-path-in-tests
36504 2014-04-11  Will Newton  <will.newton@linaro.org>
36506         * benchtests/Makefile (extra-objs): Add json-lib.o.
36507         (bench-func): Tidy up JSON output.
36508         * benchtests/bench-skeleton.c: Include json-lib.h.
36509         (main): Use JSON library functions to do output of
36510         benchmark results.
36511         * benchtests/bench-timing-type.c (main): Output the
36512         timing type simply, leaving formatting to the user.
36513         * benchtests/json-lib.c: New file.
36514         * benchtests/json-lib.h: Likewise.
36516 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36518         [BZ #15215]
36519         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36520         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36521         memory barriers.  Add comments.
36522         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36523         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36524         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36525         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36526         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36527         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36529 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36531         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36532         * sysdeps/s390/s390-64/configure.ac: ... this ...
36533         * sysdeps/s390/configure.ac: ... to here.
36534         * sysdeps/s390/s390-32/configure: Delete file.
36535         * sysdeps/s390/s390-64/configure: Delete file.
36536         * sysdeps/s390/configure: Regenerate.
36538 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36540         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36542 2014-04-11  Will Newton  <will.newton@linaro.org>
36544         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36545         to zero if it is not defined elsewhere.  (mtrim): Test
36546         the value of MALLOC_DEBUG with #if rather than #ifdef.
36548 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36550         * benchtests/pthread_once-inputs: New file.
36551         * benchtests/pthread_once-source.c: New file.
36552         * benchtests/README: Update documentation.
36554 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36555             H.J. Lu  <hongjiu.lu@intel.com>
36557         [BZ #16275]
36558         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36559         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36560         * sysdeps/x86_64/configure: Regenerated.
36561         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36562         macro.
36563         (REGISTER_SAVE_RAX): Likewise.
36564         (REGISTER_SAVE_RCX): Likewise.
36565         (REGISTER_SAVE_RDX): Likewise.
36566         (REGISTER_SAVE_RSI): Likewise.
36567         (REGISTER_SAVE_RDI): Likewise.
36568         (REGISTER_SAVE_R8): Likewise.
36569         (REGISTER_SAVE_R9): Likewise.
36570         (REGISTER_SAVE_BND0): Likewise.
36571         (REGISTER_SAVE_BND1): Likewise.
36572         (REGISTER_SAVE_BND2): Likewise.
36573         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36574         bound registers when calling _dl_fixup.
36576 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36578         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36579         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36580         of its definition.
36581         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36582         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36583         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36584         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36585         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36586         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36587         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36589 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36591         [BZ #15514]
36592         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36593         pathconf(_PC_NAME_MAX).
36595 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36597         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36598         Remove macro usage.
36599         (__PTHREAD_SPINS): Move definition to ...
36600         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36601         (__PTHREAD_SPINS): ... here.
36602         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36603         (__PTHREAD_SPIN): Likewise.
36604         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36605         (__PTHREAD_SPIN): Likewise.
36606         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36607         (__PTHREAD_SPIN): Likewise.
36608         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36609         (__PTHREAD_SPIN): Likewise.
36610         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36611         (__PTHREAD_SPIN): Likewise.
36612         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36613         (__PTHREAD_SPIN): Likewise.
36614         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36615         (__PTHREAD_SPIN): Likewise.
36616         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36617         (__PTHREAD_SPIN): Likewise.
36618         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36619         (__PTHREAD_SPIN): Likewise.
36620         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36621         (__PTHREAD_SPIN): Likewise.
36622         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36623         (__PTHREAD_SPIN): Likewise.
36624         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36625         (__PTHREAD_SPIN): Likewise.
36627         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36628         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36629         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36630         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36631         imply folder.
36632         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36633         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36634         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36635         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36636         correct imply path.
36637         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36638         strlen symbol for non multi-arch builds.
36639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36640         missing hidden_def and weak_alias.
36642 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36644         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36646 2014-04-07  Will Newton  <will.newton@linaro.org>
36648         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36649         and contents.  [!_LIBC] Remove #ifndef and contents.
36650         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36651         * string/memccpy.c (__memccpy): Use ANSI prototype.
36652         * string/memfrob.c (memfrob): Likewise.
36653         * string/strcoll.c (STRCOLL): Likewise.
36654         * string/strlen.c (strlen): Likewise.
36655         * string/strtok.c (STRTOK): Likewise.
36656         * string/strcat.c: Remove unused #include of memcopy.h.
36657         (strcat): Use ANSI prototype.
36658         * string/strchr.c: Remove unused #include of memcopy.h.
36659         (strchr): Use ANSI prototype.
36660         * string/strcmp.c: Remove unused #include of memcopy.h.
36661         (strcmp): Use ANSI prototype.
36662         * string/strcpy.c: Remove unused #include of memcopy.h.
36663         (strcpy): Use ANSI prototype.
36665 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36667         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36668         * config.make.in (config-extra-cppflags): Set it from
36669         libc_extra_cppflags.
36670         * configure.ac (libc_extra_cflags): Make it accumulate over
36671         configure fragments.
36672         (libc_extra_cppflags): New flag.
36673         * configure. Regenerate.
36674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36675         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36676         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36679         [BZ #16815]
36680         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36681         result for FE_DOWNWARD rounding mode.
36682         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36683         Likewise.
36684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36686 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36688         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36689         in function argument name.
36691 2014-04-03  David Svoboda  <svoboda@cert.org>
36693         [BZ #5666]
36694         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36695         explicitly.
36697 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36699         * elf/dl-unmap-segments.h: New file.
36700         * sysdeps/generic/ldsodefs.h
36701         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36702         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36703         * elf/dl-fptr.c: Likewise.
36704         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36705         * sysdeps/aarch64/tlsdesc.c: Likewise.
36706         * sysdeps/arm/tlsdesc.c: Likewise.
36707         * sysdeps/i386/tlsdesc.c: Likewise.
36708         * sysdeps/tile/dl-runtime.c: Likewise.
36709         * sysdeps/x86_64/tlsdesc.c: Likewise.
36710         * elf/dl-load.h: New file.
36711         * elf/dl-load.c: Include it.
36712         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36713         Macros moved to dl-load.h.
36714         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36715         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36716         Use _dl_unmap_segments in place of __munmap.
36717         Break out segment-mapping loop into ...
36718         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36720 2014-04-03  Will Newton  <will.newton@linaro.org>
36722         * elf/dl-lookup.c (do_lookup_x): Remove comment
36723         referring to nested function and move variable
36724         declarations down to before first use.
36726 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36728         [BZ #16799]
36729         [BZ #16800]
36730         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36731         with 0 numerator.
36732         * math/s_catanf.c (__catanf): Likewise.
36733         * math/s_catanh.c (__catanh): Likewise.
36734         * math/s_catanhf.c (__catanhf): Likewise.
36735         * math/s_catanhl.c (__catanhl): Likewise.
36736         * math/s_catanl.c (__catanl): Likewise.
36737         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36738         by positive zero when computing -Inf result.
36739         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36740         (catanh_test): Likewise.
36741         * sysdeps/i386/fpu/libm-test-ulps: Update.
36742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36744         [BZ #16789]
36745         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36746         instead of using underflowing value in computing result.
36747         * math/s_clog10.c (__clog10): Likewise.
36748         * math/s_clog10f.c (__clog10f): Likewise.
36749         * math/s_clog10l.c (__clog10l): Likewise.
36750         * math/s_clogf.c (__clogf): Likewise.
36751         * math/s_clogl.c (__clogl): Likewise.
36752         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36753         (clog10_test): Likewise.
36754         * sysdeps/i386/fpu/libm-test-ulps: Update.
36755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36757 2014-04-02  Alan Modra  <amodra@gmail.com>
36759         [BZ #16739]
36760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36761         output when value is near a power of two.  Use int64_t for lx and
36762         remove casts.  Use decimal rather than hex exponent constants.
36763         Don't use long double multiplication when double will suffice.
36764         * math/libm-test.inc (nextafter_test_data): Add tests.
36765         * NEWS: Add 16739 and 16786 to bug list.
36767         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36769         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36771 2014-04-01  Will Newton  <will.newton@linaro.org>
36773         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36774         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36776 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36778         [BZ #13347]
36779         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36780         * nptl/tst-setuid2.c: New file.
36781         * nptl/Makefile (xtests): Add tst-setuid2.
36783 2014-04-01  Alan Modra  <amodra@gmail.com>
36785         [BZ #16786]
36786         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36788 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36790         [BZ #6803]
36791         [BZ #6804]
36792         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36793         set errno as appropriate.
36794         * math/w_scalbf.c (__scalbf): Likewise.
36795         * math/w_scalbl.c (__scalbl): Likewise.
36796         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36797         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36798         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36799         Add more NaN tests.
36801         [BZ #16349]
36802         * math/w_atan2.c: Include <errno.h>.
36803         (__atan2): Set errno for result underflowing to zero.
36804         * math/w_atan2f.c: Include <errno.h>.
36805         (__atan2f): Set errno for result underflowing to zero.
36806         * math/w_atan2l.c: Include <errno.h>.
36807         (__atan2l): Set errno for result underflowing to zero.
36808         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36809         tests.
36810         * math/auto-libm-test-out: Regenerated.
36812 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36814         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36815         Encode instruction correctly in little endian.
36816         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36817         Likewise.
36818         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36819         Likewise.
36820         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36821         Likewise.
36822         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36823         Likewise.
36825 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36827         [BZ #9894]
36828         * sysdeps/unix/sysv/linux/kernel-features.h
36829         [__sparc__ && !__arch64__ && !__sparc_v9__]
36830         (__ASSUME_SET_ROBUST_LIST): Do not define.
36831         [__sparc__ && !__arch64__ && !__sparc_v9__]
36832         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36833         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36834         Likewise.
36835         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36836         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36837         (__ASSUME_REQUEUE_PI): Likewise.
36838         (__ASSUME_SET_ROBUST_LIST): Likewise.
36839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36840         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36841         Undefine.
36842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36843         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36844         Likewise.
36845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36846         Likewise.
36847         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36848         Likewise.
36849         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36850         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36851         Undefine.
36852         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36853         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36854         Likewise.
36856         [BZ #16648]
36857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36858         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36859         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36861 2014-03-31  Will Newton  <will.newton@linaro.org>
36863         * benchtests/Makefile (bench): Add ffs and ffsll to list
36864         of tests.
36865         * benchtests/ffs-inputs: New file.
36866         * benchtests/ffsll-inputs: Likewise.
36868 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36870         [BZ #16770]
36871         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36872         too large before casting to int.
36873         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36874         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36875         * math/libm-test.inc (scalb_test_data): Add more tests.
36877 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36879         * benchtests/Makefile (DETAILED_OPT): New make option.
36880         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36881         set.
36882         * benchtests/bench-skeleton.c: Include stdbool.h.
36883         (main): Store and print timings per input.
36884         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36885         member to each argument value.
36886         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36887         (_print_arg_data): Initialize per-input timing to 0.
36889         * benchtests/Makefile (timing-type): New binary.
36890         (bench-clean): Also remove bench-timing-type.
36891         (bench): New target for timing-type.
36892         (bench-func): Print output in JSON format.
36893         * benchtests/bench-skeleton.c (main): Print output in JSON
36894         format.
36895         * benchtests/bench-timing-type.c: New file.
36896         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36897         (TIMING_PRINT_STATS): Remove.
36898         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36899         name separately.
36901         * benchtests/bench-modf.c: Remove.
36902         * benchtests/modf-inputs: New inputs file.
36904 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36906         [BZ #16362]
36907         * math/s_clog10.c (M_PI_LOG10E): New macro.
36908         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36909         imaginary parts are 0.
36910         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36911         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36912         imaginary parts are 0.
36913         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36914         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36915         imaginary parts are 0.
36916         * math/libm-test.inc (clog10_test_data): Update expected results
36917         for when real and imaginary parts are 0.
36919 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36921         * elf/dl-load.c: Finish conversion of __builtin_expect into
36922         __glibc_{un}likely.
36924 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36926         [BZ #16348]
36927         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36928         1+x for argument with exponent below -67.
36929         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36930         Likewise.
36931         * math/auto-libm-test-in: Add more tests of exp.
36932         * math/auto-libm-test-out: Regenerated.
36934 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36936         [BZ #16759]
36937         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36938         (nscd_getnetgrent): Use it.
36940         [BZ #16760]
36941         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36942         of stpcpy.
36944 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36946         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36947         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36948         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36949         (lll_robust_unlock): Remove out of line section. Use cfi
36950         intrinsics.
36951         (LLL_STUB_UNWIND_INFO*): Remove.
36952         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36953         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36954         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36955         (lll_robust_unlock): Remove out of line section. Use cfi
36956         intrinsics.
36957         (LLL_STUB_UNWIND_INFO*): Remove.
36959 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36961         [BZ #16758]
36962         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36963         blank values.
36965 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36967         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36969 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36971         [BZ #16198]
36972         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36973         fnstenv.
36974         * math/test-fenv-preserve.c: New file.
36975         * math/Makefile (tests): Add test-fenv-preserve.
36977 2014-03-26  Will Newton <will.newton@linaro.org>
36979         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36981 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36983         * scripts/versionlist.awk: Partition the version sets and emit all
36984         GLIBC_* (sorted) before all others (sorted).
36986 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36988         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36989         GLIBC_2.2.5 version.
36991 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36993         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36994         calls.
36996         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36997         previous change.
36999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37001 2014-03-25  Andreas Schwab  <schwab@suse.de>
37003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37004         label to be used after in6ailist is initialized.
37006 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37008         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37009         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37011 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37013         [BZ #16357]
37014         [BZ #16599]
37015         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37016         min_plus_half.
37017         (fp_formats): Update initializers.
37018         (init_fp_formats): Initialize new field.
37019         (output_for_one_input_case): Allow underflow for results up to
37020         min_plus_half.
37021         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37022         * math/auto-libm-test-in: Don't mark some underflows from asin and
37023         atanh as spurious.
37024         * math/auto-libm-test-out: Regenerated.
37025         * sysdeps/i386/fpu/libm-test-ulps: Update.
37026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37028 2014-03-25  Andreas Schwab  <schwab@suse.de>
37030         * libio/Makefile (tst-ftell-partial-wide-ENV)
37031         (tst-ftell-active-handler-ENV): Define.
37033 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37035         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37037 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37039         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37041 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37043         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37044         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37045         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37047 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37049         [BZ #16634]
37050         * elf/dl-load.c (open_verify): Add mode parameter.
37051         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37052         (open_path): Change from boolean 'secure' to complete flag 'mode'
37053         (_dl_map_object): Adjust.
37054         * elf/Makefile (tests): Add tst-dlopen-aout.
37055         * elf/tst-dlopen-aout.c: New test.
37057 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37059         [BZ #16714]
37060         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37061         (struct stat): Rename member pad0 to __glibc_reserved0.
37063         [BZ #16712]
37064         * sysdeps/s390/s390-32/bits/wordsize.h
37065         (__WORDSIZE32_SIZE_ULONG): New define.
37066         * sysdeps/s390/s390-64/bits/wordsize.h
37067         (__WORDSIZE32_SIZE_ULONG): Likewise.
37068         * sysdeps/generic/stdint.h (SIZE_MAX):
37069         Define as UL if __WORDSIZE32_SIZE_ULONG.
37071         [BZ #16713]
37072         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37073         (__glibc_reserved0): New variable.
37074         (sa_flags): Change type to int.
37076         * posix/Makefile (before-compile): Use += before-compile instead
37077         of a :=.
37079         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37080         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37082 2014-03-20  Andreas Schwab  <schwab@suse.de>
37084         [BZ #16743]
37085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37086         non-matching result from nscd.
37088 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37090         * scripts/bench.py: Moved to ...
37091         * benchtests/scripts/bench.py: ... here.
37092         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37094 2014-03-24  Andreas Schwab  <schwab@suse.de>
37096         [BZ #16002]
37097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37098         alloca_account and account alloca use for struct in6ailist.
37100 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37102         [BZ #16284]
37103         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37104         rounding mode to recompute results that overflow to infinity or
37105         underflow to zero.
37106         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37107         bug 16284.
37108         * math/auto-libm-test-out: Regenerated.
37109         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37110         (ccosh_test): Likewise.
37111         (csin_test_data): Use plus_oflow.
37112         (csin_test): Use ALL_RM_TEST.
37113         (csinh_test_data): Use plus_oflow.
37114         (csinh_test): Use ALL_RM_TEST.
37115         * sysdeps/i386/fpu/libm-test-ulps: Update.
37116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37118 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37120         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37121         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37122         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37124         [BZ #16731]
37125         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37126         when x - 1 is zero.
37127         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37128         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37129         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37130         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37131         argument is 1.
37132         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37133         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37134         zero.
37135         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37136         * sysdeps/i386/fpu/libm-test-ulps: Update.
37137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37139 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37141         * scripts/bench.pl: Remove file.
37142         * scripts/bench.py: New benchmark script.
37143         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37144         * benchtests/README: Mention python dependency.
37145         * scripts/pylintrc: New file.
37146         * scripts/pylint: New file.
37148         * bits/mathdef.h: Use #ifdef instead of #if.
37149         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37150         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37151         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37152         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37153         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37154         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37156 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37157             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37159         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37161         and strpbrk-ppc64 objects.
37162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37163         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37164         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37165         multiarch strpbrk for POWER7.
37166         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37167         multiarch strpbrk for PPC64.
37168         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37169         ifunc selector.
37170         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37171         strpbrk for POWER7.
37173 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37175         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37176         (atan_test): Likewise.
37177         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37178         (atanh_test): Use ALL_RM_TEST.
37179         (atan2_test_data): Likewise.
37180         (cabs_test): Likewise.
37181         (cacosh_test): Likewise.
37182         (carg_test): Likewise.
37183         (casin_test): Likewise.
37184         (casinh_test): Likewise.
37185         (cbrt_test): Likewise.
37186         (csqrt_test): Likewise.
37187         (erf_test): Likewise.
37188         (erfc_test): Likewise.
37189         (pow10_test): Likewise.
37190         (exp2_test): Likewise.
37191         (hypot_test): Likewise.
37192         (j0_test): Likewise.
37193         (j1_test): Likewise.
37194         (lgamma_test): Likewise.
37195         (gamma_test): Likewise.
37196         (sincos_test): Likewise.
37197         (tanh_test): Likewise.
37198         (y0_test): Likewise.
37199         (y1_test): Likewise.
37200         * sysdeps/i386/fpu/libm-test-ulps: Update.
37201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37203 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37205         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37207         and strcspn-ppc64 objects.
37208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37209         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37210         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37211         multiarch strcspn for POWER7.
37212         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37213         multiarch strcspn for PPC64.
37214         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37215         ifunc selector.
37216         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37217         strcspn for POWER7.
37219 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37221         * math/gen-libm-test.pl (generate_testfile): Expect only function
37222         name as argument to AUTO_TESTS_* and pass results for all rounding
37223         modes to parse_args.
37224         (parse_auto_input): Separate inputs of automatic tests from
37225         outputs before storing in %auto_tests.
37226         * math/libm-test.inc (acos_test_data): Update call to
37227         AUTO_TESTS_f_f.
37228         (acos_test): Use ALL_RM_TEST.
37229         (acos_tonearest_test_data): Remove.
37230         (acos_test_tonearest): Likewise.
37231         (acos_towardzero_test_data): Likewise.
37232         (acos_test_towardzero): Likewise.
37233         (acos_downward_test_data): Likewise.
37234         (acos_test_downward): Likewise.
37235         (acos_upward_test_data): Likewise.
37236         (acos_test_upward): Likewise.
37237         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37238         (asin_test_data): Likewise.
37239         (asin_test): Use ALL_RM_TEST.
37240         (asin_tonearest_test_data): Remove.
37241         (asin_test_tonearest): Likewise.
37242         (asin_towardzero_test_data): Likewise.
37243         (asin_test_towardzero): Likewise.
37244         (asin_downward_test_data): Likewise.
37245         (asin_test_downward): Likewise.
37246         (asin_upward_test_data): Likewise.
37247         (asin_test_upward): Likewise.
37248         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37249         (atan_test_data): Likewise.
37250         (atanh_test_data): Likewise.
37251         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37252         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37253         (carg_test_data): Likewise.
37254         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37255         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37256         (ccosh_test_data): Likewise.
37257         (cexp_test_data): Likewise.
37258         (clog_test_data): Likewise.
37259         (clog10_test_data): Likewise.
37260         (cos_test_data): Update call to AUTO_TESTS_f_f.
37261         (cos_test): Use ALL_RM_TEST.
37262         (cos_tonearest_test_data): Remove.
37263         (cos_test_tonearest): Likewise.
37264         (cos_towardzero_test_data): Likewise.
37265         (cos_test_towardzero): Likewise.
37266         (cos_downward_test_data): Likewise.
37267         (cos_test_downward): Likewise.
37268         (cos_upward_test_data): Likewise.
37269         (cos_test_upward): Likewise.
37270         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37271         (cosh_test): Use ALL_RM_TEST.
37272         (cosh_tonearest_test_data): Remove.
37273         (cosh_test_tonearest): Likewise.
37274         (cosh_towardzero_test_data): Likewise.
37275         (cosh_test_towardzero): Likewise.
37276         (cosh_downward_test_data): Likewise.
37277         (cosh_test_downward): Likewise.
37278         (cosh_upward_test_data): Likewise.
37279         (cosh_test_upward): Likewise.
37280         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37281         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37282         (ctan_test_data): Likewise.
37283         (ctan_test): Use ALL_RM_TEST.
37284         (ctan_tonearest_test_data): Remove.
37285         (ctan_test_tonearest): Likewise.
37286         (ctan_towardzero_test_data): Likewise.
37287         (ctan_test_towardzero): Likewise.
37288         (ctan_downward_test_data): Likewise.
37289         (ctan_test_downward): Likewise.
37290         (ctan_upward_test_data): Likewise.
37291         (ctan_test_upward): Likewise.
37292         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37293         (ctanh_test): Use ALL_RM_TEST.
37294         (ctanh_tonearest_test_data): Remove.
37295         (ctanh_test_tonearest): Likewise.
37296         (ctanh_towardzero_test_data): Likewise.
37297         (ctanh_test_towardzero): Likewise.
37298         (ctanh_downward_test_data): Likewise.
37299         (ctanh_test_downward): Likewise.
37300         (ctanh_upward_test_data): Likewise.
37301         (ctanh_test_upward): Likewise.
37302         (erf_test_data): Update call to AUTO_TESTS_f_f.
37303         (erfc_test_data): Likewise.
37304         (exp_test_data): Likewise.
37305         (exp_test): Use ALL_RM_TEST.
37306         (exp_tonearest_test_data): Remove.
37307         (exp_test_tonearest): Likewise.
37308         (exp_towardzero_test_data): Likewise.
37309         (exp_test_towardzero): Likewise.
37310         (exp_downward_test_data): Likewise.
37311         (exp_test_downward): Likewise.
37312         (exp_upward_test_data): Likewise.
37313         (exp_test_upward): Likewise.
37314         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37315         (exp10_test): Use ALL_RM_TEST.
37316         (exp10_tonearest_test_data): Remove.
37317         (exp10_test_tonearest): Likewise.
37318         (exp10_towardzero_test_data): Likewise.
37319         (exp10_test_towardzero): Likewise.
37320         (exp10_downward_test_data): Likewise.
37321         (exp10_test_downward): Likewise.
37322         (exp10_upward_test_data): Likewise.
37323         (exp10_test_upward): Likewise.
37324         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37325         (expm1_test_data): Likewise.
37326         (expm1_test): Use ALL_RM_TEST.
37327         (expm1_tonearest_test_data): Remove.
37328         (expm1_test_tonearest): Likewise.
37329         (expm1_towardzero_test_data): Likewise.
37330         (expm1_test_towardzero): Likewise.
37331         (expm1_downward_test_data): Likewise.
37332         (expm1_test_downward): Likewise.
37333         (expm1_upward_test_data): Likewise.
37334         (expm1_test_upward): Likewise.
37335         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37336         (fma_test): Use ALL_RM_TEST.
37337         (fma_towardzero_test_data): Remove.
37338         (fma_test_towardzero): Likewise.
37339         (fma_downward_test_data): Likewise.
37340         (fma_test_downward): Likewise.
37341         (fma_upward_test_data): Likewise.
37342         (fma_test_upward): Likewise.
37343         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37344         (j0_test_data): Update call to AUTO_TESTS_f_f.
37345         (j1_test_data): Likewise.
37346         (jn_test_data): Update call to AUTO_TESTS_if_f.
37347         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37348         (log_test_data): Update call to AUTO_TESTS_f_f.
37349         (log10_test_data): Likewise.
37350         (log1p_test_data): Likewise.
37351         (log2_test_data): Likewise.
37352         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37353         (pow_tonearest_test_data): Likewise.
37354         (sin_test_data): Update call to AUTO_TESTS_f_f.
37355         (sin_test): Use ALL_RM_TEST.
37356         (sin_tonearest_test_data): Remove.
37357         (sin_test_tonearest): Likewise.
37358         (sin_towardzero_test_data): Likewise.
37359         (sin_test_towardzero): Likewise.
37360         (sin_downward_test_data): Likewise.
37361         (sin_test_downward): Likewise.
37362         (sin_upward_test_data): Likewise.
37363         (sin_test_upward): Likewise.
37364         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37365         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37366         (sinh_test): Use ALL_RM_TEST.
37367         (sinh_tonearest_test_data): Remove.
37368         (sinh_test_tonearest): Likewise.
37369         (sinh_towardzero_test_data): Likewise.
37370         (sinh_test_towardzero): Likewise.
37371         (sinh_downward_test_data): Likewise.
37372         (sinh_test_downward): Likewise.
37373         (sinh_upward_test_data): Likewise.
37374         (sinh_test_upward): Likewise.
37375         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37376         (sqrt_test): Use ALL_RM_TEST.
37377         (sqrt_tonearest_test_data): Remove.
37378         (sqrt_test_tonearest): Likewise.
37379         (sqrt_towardzero_test_data): Likewise.
37380         (sqrt_test_towardzero): Likewise.
37381         (sqrt_downward_test_data): Likewise.
37382         (sqrt_test_downward): Likewise.
37383         (sqrt_upward_test_data): Likewise.
37384         (sqrt_test_upward): Likewise.
37385         (tan_test_data): Update call to AUTO_TESTS_f_f.
37386         (tan_test): Use ALL_RM_TEST.
37387         (tan_tonearest_test_data): Remove.
37388         (tan_test_tonearest): Likewise.
37389         (tan_towardzero_test_data): Likewise.
37390         (tan_test_towardzero): Likewise.
37391         (tan_downward_test_data): Likewise.
37392         (tan_test_downward): Likewise.
37393         (tan_upward_test_data): Likewise.
37394         (tan_test_upward): Likewise.
37395         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37396         (tgamma_test_data): Likewise.
37397         (y0_test_data): Likewise.
37398         (y1_test_data): Likewise.
37399         (yn_test_data): Update call to AUTO_TESTS_if_f.
37400         (main): Do not call removed functions.
37402 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37404         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37405         (ldexp_test_data): Remove.
37406         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37407         scalbn_test_data.
37408         (scalb_test): Use ALL_RM_TEST.
37410 2014-03-19  Andreas Schwab  <schwab@suse.de>
37412         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37414 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37416         [BZ #16649]
37417         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37418         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37419         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37421         (__ASSUME_PREADV): Undefine.
37422         (__ASSUME_PWRITEV): Likewise.
37424 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37426         * bits/mman-linux.h: Add comment about non-Linux use.
37427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37428         bits/mman-linux.h resting place.
37430         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37431         * bits/mman-linux.h: ... here.
37433 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37435         * conform/conformtest.pl: Add standard definition when calling C
37436         preprocessor on data files.
37437         (checknamespace): Remove unused variable.
37439 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37441         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37442         minus_oflow, plus_uflow and minus_uflow in expected results.
37443         * math/libm-test.inc (scalbn_test_data): Add more tests of
37444         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37445         minus_uflow.
37446         (scalbn_test): Use ALL_RM_TEST.
37447         (scalbln_test_data): Add more tests of negative arguments.  Use
37448         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37449         (scalbln_test): Use ALL_RM_TEST.
37451 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37453         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37455 2014-03-18  Will Newton  <will.newton@linaro.org>
37457         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37458         inaccurate comment.
37460 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37462         * Makerules [!subdir] (check-abi): Exit with error status if a
37463         test failed.
37465 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37467         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37468         for rint.  Include results for all rounding modes.
37469         (nearbyint_test): Use ALL_RM_TEST.
37470         (rint_test_data): Include all tests used for nearbyint.
37472 2014-03-17  Will Newton  <will.newton@linaro.org>
37474         * nptl/sysdeps/pthread/pthread.h: Revert previous
37475         change.
37477         * sysdeps/generic/ldsodefs.h: Revert previous
37478         change.
37480         * libio/genops.c: Revert previous change.
37481         * libio/libioP.h: Likewise.
37482         * stdio-common/vfprintf.c: Likewise.
37484         * sysdeps/generic/math_private.h: Revert previous
37485         change.
37487         * sysdeps/generic/math_private.h: Check whether
37488         HAVE_RM_CTX is defined with #ifdef rather
37489         than #if.
37491         * argp/argp-fmtstream.h: Check whether
37492         __STRICT_ANSI__ is defined with #ifdef rather
37493         than #if.
37494         * argp/argp.h: Likewise.
37496         * libio/genops.c: Check whether
37497         _IO_JUMPS_OFFSET is defined with #ifdef rather
37498         than #if.
37499         * libio/libioP.h: Likewise.
37500         * stdio-common/vfprintf.c: Likewise.
37502         * sysdeps/generic/ldsodefs.h: Check whether
37503         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37504         than #if.
37506         * nptl/sysdeps/pthread/pthread.h: Check
37507         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37508         its value.
37510 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37512         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37513         setting O_APPEND.
37514         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37515         test case.
37517         [BZ #16680]
37518         * libio/fileops.c (_IO_file_open): Seek to end of file but
37519         don't cache the offset.
37520         (get_file_offset): Remove function.
37521         (do_ftell): Use cached offset when available.
37522         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37523         don't cache the offset.
37524         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37525         case.
37526         (do_one_test): Call it.
37527         (do_ftell_test): Fix up expected old offset for a+ mode.
37528         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37529         available.
37531         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37532         up test status with function return status.
37533         (do_write_test): Likewise.
37534         (do_append_test): Likewise.
37536         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37537         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37538         Remove.
37540 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37542         * math/gen-libm-test.pl (parse_args): Handle results specified for
37543         each rounding mode separately.
37544         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37545         tests and results from lrint_tonearest_test_data,
37546         lrint_towardzero_test_data, lrint_downward_test_data and
37547         lrint_upward_test_data.
37548         (lrint_test): Use ALL_RM_TEST.
37549         (lrint_tonearest_test_data): Remove.
37550         (lrint_test_tonearest): Likewise.
37551         (lrint_towardzero_test_data): Likewise.
37552         (lrint_test_towardzero): Likewise.
37553         (lrint_downward_test_data): Likewise.
37554         (lrint_test_downward): Likewise.
37555         (lrint_upward_test_data): Likewise.
37556         (lrint_test_upward): Likewise.
37557         (llrint_test_data): Merge in per-rounding-mode tests and results
37558         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37559         llrint_downward_test_data and llrint_upward_test_data.
37560         (llrint_test): Use ALL_RM_TEST.
37561         (llrint_tonearest_test_data): Remove.
37562         (llrint_test_tonearest): Likewise.
37563         (llrint_towardzero_test_data): Likewise.
37564         (llrint_test_towardzero): Likewise.
37565         (llrint_downward_test_data): Likewise.
37566         (llrint_test_downward): Likewise.
37567         (llrint_upward_test_data): Likewise.
37568         (llrint_test_upward): Likewise.
37569         (rint_test_data): Merge in per-rounding-mode tests and results
37570         from rint_tonearest_test_data, rint_towardzero_test_data,
37571         rint_downward_test_data and rint_upward_test_data.  Add
37572         per-rounding-mode results for tests not in those arrays.
37573         (rint_test): Use ALL_RM_TEST.
37574         (rint_tonearest_test_data): Remove.
37575         (rint_test_tonearest): Likewise.
37576         (rint_towardzero_test_data): Likewise.
37577         (rint_test_towardzero): Likewise.
37578         (rint_downward_test_data): Likewise.
37579         (rint_test_downward): Likewise.
37580         (rint_upward_test_data): Likewise.
37581         (rint_test_upward): Likewise.
37582         (main): Don't call removed functions.
37584 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37586         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37587         "Compiled on ..." crapola.  It is anti-useful.
37589 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37591         * scripts/evaluate-test.sh: Handle fourth argument to determine
37592         whether test run should stop on failure.
37593         * Makeconfig (stop-on-test-failure): New variable.
37594         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37595         $(stop-on-test-failure).
37596         * Makefile (tests): Give a summary of results from testing and
37597         exit with failure status if they include an ERROR or FAIL.
37598         (xtests): Likewise.
37599         * manual/install.texi (Configuring and compiling): Mention
37600         stop-on-test-failure=y.
37601         * INSTALL: Regenerated.
37603 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37605         * scripts/versionlist.awk: New file.
37606         * Makerules [$(build-shared) = yes]
37607         (postclean-generated): Add Versions.def, not Versions.def.v and
37608         Versions.def.v.i.
37609         ($(common-objpfx)Versions.def.v.i): Target removed.
37610         ($(common-objpfx)Versions.def): New target.
37611         ($(common-objpfx)Versions.all): Depend on that rather that
37612         $(common-objpfx)Versions.def.v.
37613         * Versions.def: File removed.
37615         * Makeconfig (+gccwarn): Add -Wundef.
37616         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37617         a dl-sysdep.h breaking its contract.
37618         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37619         * include/stackinfo.h: New file.
37620         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37621         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37622         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37623         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37624         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37625         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37626         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37627         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37628         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37629         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37630         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37631         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37632         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37633         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37634         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37636 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37638         [BZ #16707]
37639         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37640         implementation.
37641         * math/libm-test.inc (round_test_data): Add more tests.
37643         [BZ #16706]
37644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37645         implementation.
37646         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37648         [BZ #16701]
37649         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37650         implementation.
37651         * math/libm-test.inc (ceil_test_data): Add more tests.
37653         * math/libm-test.inc (trunc_test_data): Add more tests related to
37654         BZ#16414.
37656 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37658         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37659         with #if rather than #ifdef.
37660         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37662 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37664         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37665         first.  Disable AVX-512 GCC support if assembler doesn't support
37666         it.
37667         * sysdeps/x86_64/configure: Regenerated.
37669 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37671         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37672         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37673         (__old_pthread_attr_setstack): Likewise.
37674         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37675         [!_STACK_GROWS_DOWN]: Likewise.
37677 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37679         * config.make.in (have-bash2): Delete.
37680         * configure.ac (libc_cv_have_bash2): Delete.
37681         * configure: Regenerate.
37682         * elf/Makefile (common-ldd-rewrite): Rename to ...
37683         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37684         (sh-ldd-rewrite): Delete.
37685         (bash-ldd-rewrite): Delete.
37686         (have-bash2): Delete checks.
37687         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37688         ldd-rewrite.
37690         * config.make.in (have-ksh): Delete.
37691         (KSH): Delete.
37692         * configure.ac (libc_cv_have_ksh): Delete.
37693         * configure: Regenerate.
37695         * elf/Makefile: Delete $(have-ksh) check.
37696         ($(objpfx)sotruss): Change KSH to BASH.
37697         * elf/sotruss.ksh: Rename to ...
37698         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37699         function style to match POSIX.  Drop ksh vim mode setting.
37701         * manual/time.texi (Specifying the Time Zone with TZ): Change
37702         Tuesday to Thursday.
37704         * debug/tst-longjmp_chk2.c: Update header comment.
37705         (stackoverflow_handler): Add comment.  Call assert on pass value.
37707 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37709         [BZ #16194]
37710         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37711         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37712         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37713         (La_x86_64_vector): Add zmm.
37714         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37715         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37716         ($(objpfx)tst-audit10): New target.
37717         ($(objpfx)tst-audit10.out): Likewise.
37718         (tst-audit10-ENV): New.
37719         (AVX512-CFLAGS): Likewise.
37720         (CFLAGS-tst-audit10.c): Likewise.
37721         (CFLAGS-tst-auditmod10a.c): Likewise.
37722         (CFLAGS-tst-auditmod10b.c): Likewise.
37723         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37724         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37725         * sysdeps/x86_64/configure: Regenerated.
37726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37727         AVX-512 zmm register support.
37728         (_dl_x86_64_save_sse): Likewise.
37729         (_dl_x86_64_restore_sse): Likewise.
37730         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37731         size vector registers.
37732         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37733         (ZMM_SIZE): Likewise.
37734         * sysdeps/x86_64/tst-audit10.c: New file.
37735         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37736         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37738 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37740         * configure.ac (HAVE_EHDR_START): New check.
37741         * configure: Regenerated.
37742         * config.h.in (HAVE_EHDR_START): New #undef.
37743         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37744         assuming the lowest-addressed segment maps the start of the file.
37746 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37748         * INSTALL: Regenerated.
37750 2014-03-13  Will Newton  <will.newton@linaro.org>
37752         * manual/setjmp.texi (System V contexts): Improve
37753         clarity and grammar of documentation.
37755 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37757         [BZ #16381]
37758         * elf/Makefile (tests): Add tst-pie2.
37759         (tests-pie): Add tst-pie2.
37760         * elf/tst-pie2.c: New file.
37761         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37762         for ET_EXEC.
37763         * elf/rtld.c (map_doit): Load executable as lt_executable.
37764         (dl_main): Likewise.
37766 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37768         [BZ #16642]
37769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37770         (__ASSUME_PSELECT): Undefine.
37772 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37774         [BZ #16689]
37775         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37776         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37777         static build.
37778         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37779         selector for static builds.
37781 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37783         [BZ #16695]
37784         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37785         key in the buffer.
37787 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37789         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37790         IFUNC selector for static builds.
37792 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37794         * sysdeps/mips/math_private.h [__mips_hard_float]
37795         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37796         libc_feresetround_mips_ctx.
37797         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37798         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37799         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37801         [BZ #16677]
37802         * math/s_nextafter.c (__nextafter): Do not return value from
37803         overflowing computation.
37804         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37805         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37806         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37807         Likewise.
37808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37809         Likewise.
37810         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37811         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37813 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37815         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37816         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37817         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37818         the new mov targetting sp.
37820 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37822         [BZ #16683]
37823         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37824         Define it for static builds as well.
37825         (NO_BZERO_IMPL): Likewise.
37827 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37829         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37830         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37831         multiarch strspn for PPC64.
37832         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37833         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37835         (__libc_ifunc_impl_list): Likewise.
37836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37837         multiarch optimizations
37838         * string/strspn.c (strspn): Using macro to redefine symbol name.
37840 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37843         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37844         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37845         multiarch strncat for PPC64.
37846         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37847         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37849         (__libc_ifunc_impl_list): Likewise.
37850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37851         multiarch optimizations
37853 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37855         [BZ #16639]
37856         * nscd/nscd.service: Make service type forking.
37858 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37860         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37861         sign in non default rounding modes.
37862         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37864 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37866         * math/libm-test.inc (ALL_RM_TEST): New macro.
37867         (ceil_test): Use ALL_RM_TEST.
37868         (cimag_test): Likewise.
37869         (conj_test): Likewise.
37870         (copysign_test): Likewise.
37871         (cproj_test): Likewise.
37872         (creal_test): Likewise.
37873         (fabs_test): Likewise.
37874         (floor_test): Likewise.
37875         (fmax_test): Likewise.
37876         (fmin_test): Likewise.
37877         (fmod_test): Likewise.
37878         (fpclassify_test): Likewise.
37879         (frexp_test): Likewise.
37880         (ilogb_test): Likewise.
37881         (isfinite_test): Likewise.
37882         (finite_test): Likewise.
37883         (isgreater_test): Likewise.
37884         (isgreaterequal_test): Likewise.
37885         (isinf_test): Likewise.
37886         (isless_test): Likewise.
37887         (islessequal_test): Likewise.
37888         (islessgreater_test): Likewise.
37889         (isnan_test): Likewise.
37890         (isnormal_test): Likewise.
37891         (issignaling_test): Likewise.
37892         (isunordered_test): Likewise.
37893         (logb_test): Likewise.
37894         (logb_downward_test_data): Remove.
37895         (logb_test_downward): Likewise.
37896         (lround_test): Use ALL_RM_TEST.
37897         (llround_test): Likewise.
37898         (modf_test): Likewise.
37899         (nexttoward_test): Likewise.
37900         (remainder_test): Likewise.
37901         (drem_test): Likewise.
37902         (remainder_tonearest_test_data): Likewise.
37903         (remainder_test_tonearest): Likewise.
37904         (drem_test_tonearest): Likewise.
37905         (remainder_towardzero_test_data): Likewise.
37906         (remainder_test_towardzero): Likewise.
37907         (drem_test_towardzero): Likewise.
37908         (remainder_downward_test_data): Likewise.
37909         (remainder_test_downward): Likewise.
37910         (drem_test_downward): Likewise.
37911         (remainder_upward_test_data): Likewise.
37912         (remainder_test_upward): Likewise.
37913         (drem_test_upward): Likewise.
37914         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37915         (round_test): Use ALL_RM_TEST.
37916         (signbit_test): Likewise.
37917         (trunc_test): Likewise.
37918         (significand_test): Likewise.
37919         (main): Don't call removed functions.
37921 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37923         [BZ #16674]
37924         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37925         || __USE_XOPEN2K8].
37926         (ILL_ILLOPN): Likewise.
37927         (ILL_ILLADR): Likewise.
37928         (ILL_ILLTRP): Likewise.
37929         (ILL_PRVOPC): Likewise.
37930         (ILL_PRVREG): Likewise.
37931         (ILL_COPROC): Likewise.
37932         (ILL_BADSTK): Likewise.
37933         (FPE_INTDIV): Likewise.
37934         (FPE_INTOVF): Likewise.
37935         (FPE_FLTDIV): Likewise.
37936         (FPE_FLTOVF): Likewise.
37937         (FPE_FLTUND): Likewise.
37938         (FPE_FLTRES): Likewise.
37939         (FPE_FLTINV): Likewise.
37940         (FPE_FLTSUB): Likewise.
37941         (SEGV_MAPERR): Likewise.
37942         (SEGV_ACCERR): Likewise.
37943         (BUS_ADRALN): Likewise.
37944         (BUS_ADRERR): Likewise.
37945         (BUS_OBJERR): Likewise.
37946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37947         (TRAP_TRACE): Likewise.
37948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37949         __USE_XOPEN2K8].
37950         (CLD_KILLED): Likewise.
37951         (CLD_DUMPED): Likewise.
37952         (CLD_TRAPPED): Likewise.
37953         (CLD_STOPPED): Likewise.
37954         (CLD_CONTINUED): Likewise.
37955         (POLL_IN): Likewise.
37956         (POLL_OUT): Likewise.
37957         (POLL_MSG): Likewise.
37958         (POLL_ERR): Likewise.
37959         (POLL_PRI): Likewise.
37960         (POLL_HUP): Likewise.
37961         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37962         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/bits/siginfo.h (ILL_ILLOPC): Likewise.
38001         (ILL_ILLOPN): Likewise.
38002         (ILL_ILLADR): Likewise.
38003         (ILL_ILLTRP): Likewise.
38004         (ILL_PRVOPC): Likewise.
38005         (ILL_PRVREG): Likewise.
38006         (ILL_COPROC): Likewise.
38007         (ILL_BADSTK): Likewise.
38008         (FPE_INTDIV): Likewise.
38009         (FPE_INTOVF): Likewise.
38010         (FPE_FLTDIV): Likewise.
38011         (FPE_FLTOVF): Likewise.
38012         (FPE_FLTUND): Likewise.
38013         (FPE_FLTRES): Likewise.
38014         (FPE_FLTINV): Likewise.
38015         (FPE_FLTSUB): Likewise.
38016         (SEGV_MAPERR): Likewise.
38017         (SEGV_ACCERR): Likewise.
38018         (BUS_ADRALN): Likewise.
38019         (BUS_ADRERR): Likewise.
38020         (BUS_OBJERR): Likewise.
38021         (BUS_MCEERR_AR): Likewise.
38022         (BUS_MCEERR_AO): Likewise.
38023         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38024         (TRAP_TRACE): Likewise.
38025         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38026         __USE_XOPEN2K8].
38027         (CLD_KILLED): Likewise.
38028         (CLD_DUMPED): Likewise.
38029         (CLD_TRAPPED): Likewise.
38030         (CLD_STOPPED): Likewise.
38031         (CLD_CONTINUED): Likewise.
38032         (POLL_IN): Likewise.
38033         (POLL_OUT): Likewise.
38034         (POLL_MSG): Likewise.
38035         (POLL_ERR): Likewise.
38036         (POLL_PRI): Likewise.
38037         (POLL_HUP): Likewise.
38038         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38039         Likewise.
38040         (ILL_ILLOPN): Likewise.
38041         (ILL_ILLADR): Likewise.
38042         (ILL_ILLTRP): Likewise.
38043         (ILL_PRVOPC): Likewise.
38044         (ILL_PRVREG): Likewise.
38045         (ILL_COPROC): Likewise.
38046         (ILL_BADSTK): Likewise.
38047         (ILL_BADIADDR): Likewise.
38048         (ILL_BREAK): Likewise.
38049         (FPE_INTDIV): Likewise.
38050         (FPE_INTOVF): Likewise.
38051         (FPE_FLTDIV): Likewise.
38052         (FPE_FLTOVF): Likewise.
38053         (FPE_FLTUND): Likewise.
38054         (FPE_FLTRES): Likewise.
38055         (FPE_FLTINV): Likewise.
38056         (FPE_FLTSUB): Likewise.
38057         (FPE_DECOVF): Likewise.
38058         (FPE_DECDIV): Likewise.
38059         (FPE_DECERR): Likewise.
38060         (FPE_INVASC): Likewise.
38061         (FPE_INVDEC): Likewise.
38062         (SEGV_MAPERR): Likewise.
38063         (SEGV_ACCERR): Likewise.
38064         (SEGV_PSTKOVF): Likewise.
38065         (BUS_ADRALN): Likewise.
38066         (BUS_ADRERR): Likewise.
38067         (BUS_OBJERR): Likewise.
38068         (BUS_MCEERR_AR): Likewise.
38069         (BUS_MCEERR_AO): Likewise.
38070         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38071         (TRAP_TRACE): Likewise.
38072         (TRAP_BRANCH): Likewise.
38073         (TRAP_HWBKPT): 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/mips/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/s390/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/sparc/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         (FPE_INTDIV): Likewise.
38172         (FPE_INTOVF): Likewise.
38173         (FPE_FLTDIV): Likewise.
38174         (FPE_FLTOVF): Likewise.
38175         (FPE_FLTUND): Likewise.
38176         (FPE_FLTRES): Likewise.
38177         (FPE_FLTINV): Likewise.
38178         (FPE_FLTSUB): Likewise.
38179         (SEGV_MAPERR): Likewise.
38180         (SEGV_ACCERR): Likewise.
38181         (BUS_ADRALN): Likewise.
38182         (BUS_ADRERR): Likewise.
38183         (BUS_OBJERR): Likewise.
38184         (BUS_MCEERR_AR): Likewise.
38185         (BUS_MCEERR_AO): Likewise.
38186         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38187         (TRAP_TRACE): Likewise.
38188         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38189         __USE_XOPEN2K8].
38190         (CLD_KILLED): Likewise.
38191         (CLD_DUMPED): Likewise.
38192         (CLD_TRAPPED): Likewise.
38193         (CLD_STOPPED): Likewise.
38194         (CLD_CONTINUED): Likewise.
38195         (POLL_IN): Likewise.
38196         (POLL_OUT): Likewise.
38197         (POLL_MSG): Likewise.
38198         (POLL_ERR): Likewise.
38199         (POLL_PRI): Likewise.
38200         (POLL_HUP): Likewise.
38201         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38202         (ILL_ILLOPN): Likewise.
38203         (ILL_ILLADR): Likewise.
38204         (ILL_ILLTRP): Likewise.
38205         (ILL_PRVOPC): Likewise.
38206         (ILL_PRVREG): Likewise.
38207         (ILL_COPROC): Likewise.
38208         (ILL_BADSTK): Likewise.
38209         (ILL_DBLFLT): Likewise.
38210         (ILL_HARDWALL): 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         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38242         (ILL_ILLOPN): Likewise.
38243         (ILL_ILLADR): Likewise.
38244         (ILL_ILLTRP): Likewise.
38245         (ILL_PRVOPC): Likewise.
38246         (ILL_PRVREG): Likewise.
38247         (ILL_COPROC): Likewise.
38248         (ILL_BADSTK): Likewise.
38249         (FPE_INTDIV): Likewise.
38250         (FPE_INTOVF): Likewise.
38251         (FPE_FLTDIV): Likewise.
38252         (FPE_FLTOVF): Likewise.
38253         (FPE_FLTUND): Likewise.
38254         (FPE_FLTRES): Likewise.
38255         (FPE_FLTINV): Likewise.
38256         (FPE_FLTSUB): Likewise.
38257         (SEGV_MAPERR): Likewise.
38258         (SEGV_ACCERR): Likewise.
38259         (BUS_ADRALN): Likewise.
38260         (BUS_ADRERR): Likewise.
38261         (BUS_OBJERR): Likewise.
38262         (BUS_MCEERR_AR): Likewise.
38263         (BUS_MCEERR_AO): Likewise.
38264         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38265         (TRAP_TRACE): Likewise.
38266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38267         __USE_XOPEN2K8].
38268         (CLD_KILLED): Likewise.
38269         (CLD_DUMPED): Likewise.
38270         (CLD_TRAPPED): Likewise.
38271         (CLD_STOPPED): Likewise.
38272         (CLD_CONTINUED): Likewise.
38273         (POLL_IN): Likewise.
38274         (POLL_OUT): Likewise.
38275         (POLL_MSG): Likewise.
38276         (POLL_ERR): Likewise.
38277         (POLL_PRI): Likewise.
38278         (POLL_HUP): Likewise.
38279         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38280         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38282         [BZ #16670]
38283         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38284         before #include of <time.h>.
38285         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38286         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38287         (test-xfail-UNIX98/sched.h/conform): Likewise.
38289 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38291         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38292         error absence of trapping exception support.
38293         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38295 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38297         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38298         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38299         * timezone/Makefile (testdata): Move definition above include of
38300         Rules.
38301         (test-zones): New variable.
38302         (tests-special): Add zone files.
38303         (build-testdata): Use $(evaluate-test).
38305         * elf/Makefile (tests-special): Rename tests to end with .out.
38306         ($(objpfx)noload-mem): Likewise.
38307         ($(objpfx)tst-leaks1-mem): Likewise.
38308         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38309         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38310         $(objpfx)test-iconvconfig.out.
38311         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38312         set -e inside subshell and redirect output to file.
38313         * iconvdata/Makefile (generated): Rename tests to end with .out.
38314         Correct type.
38315         (tests-special): Rename tests to end with .out.
38316         ($(objpfx)mtrace-tst-loading): Likewise.
38317         * intl/Makefile (generated): Likewise.
38318         (tests-special): Likewise.
38319         ($(objpfx)mtrace-tst-gettext): Likewise.
38320         * misc/Makefile (generated): Likewise.
38321         (tests-special): Likewise.
38322         ($(objpfx)tst-error1-mem): Likewise.
38323         * nptl/Makefile (tests-special): Likewise.
38324         ($(objpfx)tst-stack3-mem): Likewise.
38325         (generated): Likewise.
38326         * posix/Makefile (generated): Likewise.
38327         (tests-special): Likewise.
38328         (xtests-special): Likewise.
38329         ($(objpfx)tst-fnmatch-mem): Likewise.
38330         ($(objpfx)bug-regex2-mem): Likewise.
38331         ($(objpfx)bug-regex14-mem): Likewise.
38332         ($(objpfx)bug-regex21-mem): Likewise.
38333         ($(objpfx)bug-regex31-mem): Likewise.
38334         ($(objpfx)tst-vfork3-mem): Likewise.
38335         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38336         ($(objpfx)tst-pcre-mem): Likewise.
38337         ($(objpfx)tst-boost-mem): Likewise.
38338         ($(objpfx)bug-ga2-mem): Likewise.
38339         ($(objpfx)bug-glob2-mem): Likewise.
38340         * resolv/Makefile (generate): Likewise.
38341         (tests-special): Likewise.
38342         (xtests-special): Likewise.
38343         (generated): Likewise.
38344         ($(objpfx)mtrace-tst-leaks): Likewise.
38345         ($(objpfx)mtrace-tst-leaks2): Likewise.
38347         * scripts/merge-test-results.sh: New file.
38348         * Makefile (tests-special-notdir): New variable.
38349         (tests): Run merge-test-results.sh.
38350         (xtests): Likewise.
38351         * Rules (tests-special-notdir): New variable.
38352         (xtests-special-notdir): Likewise.
38353         (tests): Run merge-test-results.sh
38354         (xtests): Likewise.
38356         * Makeconfig (test-xfail-name): New variable.
38357         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38358         compute variable name for expected failures.
38359         * conform/Makefile (conformtest-headers-data): New variable.
38360         (conformtest-standards): Likewise.
38361         (conformtest-headers-ISO): Likewise.
38362         (conformtest-headers-ISO99): Likewise.
38363         (conformtest-headers-ISO11): Likewise.
38364         (conformtest-headers-POSIX): Likewise.
38365         (conformtest-headers-XPG3): Likewise.
38366         (conformtest-headers-XPG4): Likewise.
38367         (conformtest-headers-UNIX98): Likewise.
38368         (conformtest-headers-XOPEN2K): Likewise.
38369         (conformtest-headers-POSIX2008): Likewise.
38370         (conformtest-headers-XOPEN2K8): Likewise.
38371         (conformtest-header-list-base): Likewise.
38372         (conformtest-header-list-tests): Likewise.
38373         (conformtest-header-base): Likewise.
38374         (conformtest-header-tests): Likewise.
38375         (tests-special): Add $(conformtest-header-list-tests).  If
38376         [$(fast-check) && !$(cross-compiling)], add
38377         $(conformtest-header-tests) instead of
38378         $(objpfx)run-conformtest.out.
38379         (generated): Add $(conformtest-header-list-base).  If
38380         [$(fast-check) && !$(cross-compiling)], add
38381         $(conformtest-header-base).  Remove previous setting.
38382         ($(conformtest-header-list-tests)): New target.
38383         (test-xfail-run-conformtest): Remove variable.
38384         ($(objpfx)run-conformtest.out): Remove target.
38385         (test-xfail-ISO11/complex.h/conform): New variable.
38386         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38387         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38388         (test-xfail-XPG3/varargs.h/conform): Likewise.
38389         (test-xfail-XPG4/varargs.h/conform): Likewise.
38390         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38391         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38392         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38393         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38394         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38395         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38396         (test-xfail-XPG3/ftw.h/conform): Likewise.
38397         (test-xfail-XPG3/grp.h/conform): Likewise.
38398         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38399         (test-xfail-XPG3/limits.h/conform): Likewise.
38400         (test-xfail-XPG3/pwd.h/conform): Likewise.
38401         (test-xfail-XPG3/search.h/conform): Likewise.
38402         (test-xfail-XPG3/signal.h/conform): Likewise.
38403         (test-xfail-XPG3/stdio.h/conform): Likewise.
38404         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38405         (test-xfail-XPG3/string.h/conform): Likewise.
38406         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38407         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38408         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38409         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38410         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38411         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38412         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38413         (test-xfail-XPG3/termios.h/conform): Likewise.
38414         (test-xfail-XPG3/time.h/conform): Likewise.
38415         (test-xfail-XPG3/unistd.h/conform): Likewise.
38416         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38417         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38418         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38419         (test-xfail-XPG4/netdb.h/conform): Likewise.
38420         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38421         (test-xfail-XPG4/signal.h/conform): Likewise.
38422         (test-xfail-XPG4/stdio.h/conform): Likewise.
38423         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38424         (test-xfail-XPG4/stropts.h/conform): Likewise.
38425         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38426         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38427         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38428         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38429         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38430         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38431         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38432         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38433         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38434         (test-xfail-XPG4/termios.h/conform): Likewise.
38435         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38436         (test-xfail-XPG4/unistd.h/conform): Likewise.
38437         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38438         (test-xfail-POSIX/sched.h/conform): Likewise.
38439         (test-xfail-POSIX/signal.h/conform): Likewise.
38440         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38441         (test-xfail-POSIX/tar.h/conform): Likewise.
38442         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38443         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38444         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38445         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38446         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38447         (test-xfail-UNIX98/sched.h/conform): Likewise.
38448         (test-xfail-UNIX98/signal.h/conform): Likewise.
38449         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38450         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38451         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38452         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38453         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38454         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38455         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38456         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38457         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38458         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38459         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38460         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38461         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38462         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38463         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38464         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38465         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38466         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38467         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38468         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38469         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38470         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38471         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38472         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38473         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38474         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38475         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38476         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38477         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38478         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38479         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38480         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38481         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38482         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38483         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38484         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38485         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38486         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38487         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38488         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38489         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38490         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38491         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38492         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38493         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38494         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38495         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38496         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38497         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38498         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38499         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38500         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38501         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38502         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38503         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38504         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38505         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38506         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38507         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38508         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38509         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38510         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38511         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38512         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38513         (conformtest-cc-flags): Likewise.
38514         ($(conformtest-header-tests): New target.
38515         * conform/check-header-lists.sh: New file.
38516         * conform/run-conformtest.sh: Remove.
38518         * conform/conformtest.pl: Allow ' and \ in values given for
38519         constants.
38520         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38521         inclusion.
38522         [POSIX] (sys/types.h): Likewise.
38523         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38524         inclusion.
38525         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38526         inclusion.
38527         * conform/data/signal.h-data (SIGIO): Remove expectation.
38528         [XPG3] (SIGBUS): Do not expect.
38529         [POSIX || XPG3] (SIGPOLL): Likewise.
38530         [POSIX || XPG3] (SIGPROF): Likewise.
38531         [POSIX || XPG3] (SIGSYS): Likewise.
38532         [XPG3] (SIGTRAP): Likewise.
38533         [POSIX || XPG3] (SIGURG): Likewise.
38534         [POSIX || XPG3] (SIGVTALRM): Likewise.
38535         [POSIX || XPG3] (SIGXCPU): Likewise.
38536         [POSIX || XPG3] (SIGXFSZ): Likewise.
38537         [POSIX] (SA_SIGINFO): Expect.
38538         [XPG3] (siginfo_t): Do not expect type or contents.
38539         [POSIX] (si_pid): Do not expect element.
38540         [POSIX] (si_uid): Likewise.
38541         [POSIX] (si_addr): Likewise.
38542         [POSIX] (si_status): Likewise.
38543         [POSIX] (si_band): Likewise.
38544         [XPG4] (si_value): Likewise.
38545         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38546         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38547         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38548         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38549         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38550         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38551         [POSIX || XPG3] (ILL_COPROC): Likewise.
38552         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38553         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38554         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38555         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38556         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38557         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38558         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38559         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38560         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38561         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38562         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38563         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38564         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38565         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38566         [POSIX || XPG3] (CLD_EXITED): Likewise.
38567         [POSIX || XPG3] (CLD_KILLED): Likewise.
38568         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38569         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38570         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38571         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38572         [POSIX || XPG3] (POLL_IN): Likewise.
38573         [POSIX || XPG3] (POLL_OUT): Likewise.
38574         [POSIX || XPG3] (POLL_MSG): Likewise.
38575         [POSIX || XPG3] (POLL_ERR): Likewise.
38576         [POSIX || XPG3] (POLL_PRI): Likewise.
38577         [POSIX || XPG3] (POLL_HUP): Likewise.
38578         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38579         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38580         (SIG*): Do not allow.
38581         [XPG3] (si_*): Likewise.
38582         [XPG3] (SI_*): Likewise.
38583         [XPG3 || XPG4] (sigev_*): Likewise.
38584         [XPG3 || XPG4] (SIGEV_*): Likewise.
38585         [XPG3 || XPG4] (sival_*): Likewise.
38586         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38587         [POSIX || XPG3] (BUS_*): Likewise.
38588         [POSIX || XPG3] (CLD_*): Likewise.
38589         [POSIX || XPG3] (FPE_*): Likewise.
38590         [POSIX || XPG3] (ILL_*): Likewise.
38591         [POSIX || XPG3] (POLL_*): Likewise.
38592         [POSIX || XPG3] (SEGV_*): Likewise.
38593         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38594         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38595         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38596         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38597         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38598         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38599         Specify type and value.
38600         (TVERSLEN): Likewise.
38601         (REGTYPE): Likewise.
38602         (AREGTYPE): Likewise.
38603         (LNKTYPE): Likewise.
38604         (SYMTYPE): Likewise.
38605         (CHRTYPE): Likewise.
38606         (BLKTYPE): Likewise.
38607         (DIRTYPE): Likewise.
38608         (FIFOTYPE): Likewise.
38609         (CONTTYPE): Likewise.
38610         (TSUID): Likewise.
38611         (TSGID): Likewise.
38612         (TSVTX): Likewise.
38613         (TUREAD): Likewise.
38614         (TUWRITE): Likewise.
38615         (TUEXEC): Likewise.
38616         (TGREAD): Likewise.
38617         (TGWRITE): Likewise.
38618         (TGEXEC): Likewise.
38619         (TOREAD): Likewise.
38620         (TOWRITE): Likewise.
38621         (TOEXEC): Likewise.
38622         [POSIX] (TSVTX): Expect constant.
38624 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38626         * Makefile (tests): Change dependencies to ....
38627         (tests-special): ... additions to this variable.
38628         (tests): Depend on $(tests-special).
38629         * Makerules (check-abi-list): New variable.
38630         (check-abi): Depend on $(check-abi-list).
38631         [$(subdir) = elf] (tests-special): Add
38632         $(objpfx)check-abi-libc.out.
38633         [$(build-shared) = yes && subdir] (tests-special): Add
38634         $(check-abi-list).
38635         [$(build-shared) = yes && subdir] (tests): Do not depend on
38636         check-abi.
38637         * Rules (tests): Depend on $(tests-special).
38638         (xtests): Depend on $(xtests-special).
38639         * catgets/Makefile (tests): Change dependencies to ....
38640         (tests-special): ... additions to this variable.
38641         * conform/Makefile (tests): Change dependencies to ....
38642         (tests-special): ... additions to this variable.
38643         * elf/Makefile (tests): Change dependencies to ....
38644         (tests-special): ... additions to this variable.
38645         * grp/Makefile (tests): Change dependencies to ....
38646         (tests-special): ... additions to this variable.
38647         * iconv/Makefile (xtests): Change dependencies to ....
38648         (xtests-special): ... additions to this variable.
38649         * iconvdata/Makefile (tests): Change dependencies to ....
38650         (tests-special): ... additions to this variable.
38651         * intl/Makefile (tests): Change dependencies to ....
38652         (tests-special): ... additions to this variable.  Also add
38653         $(objpfx)tst-gettext.out.
38654         * io/Makefile (tests): Change dependencies to ....
38655         (tests-special): ... additions to this variable.
38656         * libio/Makefile (tests): Change dependencies to ....
38657         (tests-special): ... additions to this variable.
38658         * malloc/Makefile (tests): Change dependencies to ....
38659         (tests-special): ... additions to this variable.
38660         * misc/Makefile (tests): Change dependencies to ....
38661         (tests-special): ... additions to this variable.
38662         * nptl/Makefile (tests): Change dependencies to ....
38663         (tests-special): ... additions to this variable.
38664         * nptl_db/Makefile (tests): Change dependencies to ....
38665         (tests-special): ... additions to this variable.
38666         * posix/Makefile (tests): Change dependencies to ....
38667         (tests-special): ... additions to this variable.
38668         (xtests): Change dependencies to ....
38669         (xtests-special): ... additions to this variable.
38670         * resolv/Makefile (tests): Change dependencies to ....
38671         (tests-special): ... additions to this variable.
38672         (xtests): Change dependencies to ....
38673         (xtests-special): ... additions to this variable.
38674         * stdio-common/Makefile (tests): Change dependencies to ....
38675         (tests-special): ... additions to this variable.
38676         (do-tst-unbputc): Remove target.
38677         (do-tst-printf): Likewise.
38678         * stdlib/Makefile (tests): Change dependencies to ....
38679         (tests-special): ... additions to this variable.
38680         * string/Makefile (tests): Change dependencies to ....
38681         (tests-special): ... additions to this variable.
38682         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38683         (tests-special): ... additions to this variable.
38685         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38686         whole file.
38687         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38688         whole file.
38689         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38690         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38692         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38693         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38694         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38695         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38696         * conform/data/libgen.h-data [XPG3]: Likewise.
38697         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38698         * conform/data/ndbm.h-data [XPG3]: Likewise.
38699         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38700         * conform/data/netdb.h-data [XPG3]: Likewise.
38701         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38702         * conform/data/poll.h-data [XPG3]: Likewise.
38703         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38704         * conform/data/strings.h-data [XPG3]: Likewise.
38705         * conform/data/stropts.h-data [XPG3]: Likewise.
38706         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38707         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38708         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38709         Likewise.
38710         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38711         * conform/data/sys/time.h-data [XPG3]: Likewise.
38712         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38713         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38714         * conform/data/sys/un.h-data [XPG3]: Likewise.
38715         * conform/data/syslog.h-data [XPG3]: Likewise.
38716         * conform/data/ucontext.h-data [XPG3]: Likewise.
38717         * conform/data/utmpx.h-data [XPG3]: Likewise.
38718         * conform/data/varargs.h-data [UNIX98]: Enable file.
38720         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38722         * math/libm-test.inc (struct test_f_f_data): Move expected results
38723         into structure for each rounding mode.
38724         (struct test_ff_f_data): Likewise.
38725         (struct test_ff_f_data_nexttoward): Likewise.
38726         (struct test_fi_f_data): Likewise.
38727         (struct test_fl_f_data): Likewise.
38728         (struct test_if_f_data): Likewise.
38729         (struct test_fff_f_data): Likewise.
38730         (struct test_c_f_data): Likewise.
38731         (struct test_f_f1_data): Likewise.
38732         (struct test_fF_f1_data): Likewise.
38733         (struct test_ffI_f1_data): Likewise.
38734         (struct test_c_c_data): Likewise.
38735         (struct test_cc_c_data): Likewise.
38736         (struct test_f_i_data): Likewise.
38737         (struct test_ff_i_data): Likewise.
38738         (struct test_f_l_data): Likewise.
38739         (struct test_f_L_data): Likewise.
38740         (struct test_fFF_11_data): Likewise.
38741         (RM_): New macro.
38742         (RM_FE_DOWNWARD): Likewise.
38743         (RM_FE_TONEAREST): Likewise.
38744         (RM_FE_TOWARDZERO): Likewise.
38745         (RM_FE_UPWARD): Likewise.
38746         (RUN_TEST_LOOP_f_f): Update references to expected results.
38747         (RUN_TEST_LOOP_2_f): Likewise.
38748         (RUN_TEST_LOOP_fff_f): Likewise.
38749         (RUN_TEST_LOOP_c_f): Likewise.
38750         (RUN_TEST_LOOP_f_f1): Likewise.
38751         (RUN_TEST_LOOP_fF_f1): Likewise.
38752         (RUN_TEST_LOOP_fI_f1): Likewise.
38753         (RUN_TEST_LOOP_ffI_f1): Likewise.
38754         (RUN_TEST_LOOP_c_c): Likewise.
38755         (RUN_TEST_LOOP_cc_c): Likewise.
38756         (RUN_TEST_LOOP_f_i): Likewise.
38757         (RUN_TEST_LOOP_f_i_tg): Likewise.
38758         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38759         (RUN_TEST_LOOP_f_b): Likewise.
38760         (RUN_TEST_LOOP_f_b_tg): Likewise.
38761         (RUN_TEST_LOOP_f_l): Likewise.
38762         (RUN_TEST_LOOP_f_L): Likewise.
38763         (RUN_TEST_LOOP_fFF_11): Likewise.
38764         * math/gen-libm-test.pl (parse_args): Output four copies of
38765         expected results for each test.
38767         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38768         (__ASSUME_UTIMES): Remove.
38769         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38770         (__ASSUME_UTIMES): Likewise.
38772         * math/gen-auto-libm-tests.c: Update comment on output format.
38773         (output_for_one_input_case): Generate before-rounding and
38774         after-rounding information as conditions on output flags not
38775         floating-point format.
38776         * math/auto-libm-test-out: Regenerated.
38777         * math/gen-libm-test.pl (cond_value): New function.
38778         (or_cond_value): Use cond_value.
38779         (generate_testfile): Handle conditional exceptions.
38781 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38783         * math/libm-test.inc (max_valid_error): New variable.
38784         (init_max_error): Take new argument specifying whether function
38785         results are exactly determined.  Set max_valid_error and bound
38786         other variables for errors based on this argument.
38787         (set_max_error): Do not record results above max_valid_error.
38788         (check_float_internal): Only accept errors of up to 0.5ulps if
38789         also at most max_valid_error.
38790         (START): Take new argument EXACT and pass it to init_max_error.
38791         (acos_test): Update call to START.
38792         (acos_test_tonearest): Likewise.
38793         (acos_test_towardzero): Likewise.
38794         (acos_test_downward): Likewise.
38795         (acos_test_upward): Likewise.
38796         (acosh_test): Likewise.
38797         (asin_test): Likewise.
38798         (asin_test_tonearest): Likewise.
38799         (asin_test_towardzero): Likewise.
38800         (asin_test_downward): Likewise.
38801         (asin_test_upward): Likewise.
38802         (asinh_test): Likewise.
38803         (atan_test): Likewise.
38804         (atanh_test): Likewise.
38805         (atan2_test): Likewise.
38806         (cabs_test): Likewise.
38807         (cacos_test): Likewise.
38808         (cacosh_test): Likewise.
38809         (carg_test): Likewise.
38810         (casin_test): Likewise.
38811         (casinh_test): Likewise.
38812         (catan_test): Likewise.
38813         (catanh_test): Likewise.
38814         (cbrt_test): Likewise.
38815         (ccos_test): Likewise.
38816         (ccosh_test): Likewise.
38817         (ceil_test): Likewise.
38818         (cexp_test): Likewise.
38819         (cimag_test): Likewise.
38820         (clog_test): Likewise.
38821         (clog10_test): Likewise.
38822         (conj_test): Likewise.
38823         (copysign_test): Likewise.
38824         (cos_test): Likewise.
38825         (cos_test_tonearest): Likewise.
38826         (cos_test_towardzero): Likewise.
38827         (cos_test_downward): Likewise.
38828         (cos_test_upward): Likewise.
38829         (cosh_test): Likewise.
38830         (cosh_test_tonearest): Likewise.
38831         (cosh_test_towardzero): Likewise.
38832         (cosh_test_downward): Likewise.
38833         (cosh_test_upward): Likewise.
38834         (cpow_test): Likewise.
38835         (cproj_test): Likewise.
38836         (creal_test): Likewise.
38837         (csin_test): Likewise.
38838         (csinh_test): Likewise.
38839         (csqrt_test): Likewise.
38840         (ctan_test): Likewise.
38841         (ctan_test_tonearest): Likewise.
38842         (ctan_test_towardzero): Likewise.
38843         (ctan_test_downward): Likewise.
38844         (ctan_test_upward): Likewise.
38845         (ctanh_test): Likewise.
38846         (ctanh_test_tonearest): Likewise.
38847         (ctanh_test_towardzero): Likewise.
38848         (ctanh_test_downward): Likewise.
38849         (ctanh_test_upward): Likewise.
38850         (erf_test): Likewise.
38851         (erfc_test): Likewise.
38852         (exp_test): Likewise.
38853         (exp_test_tonearest): Likewise.
38854         (exp_test_towardzero): Likewise.
38855         (exp_test_downward): Likewise.
38856         (exp_test_upward): Likewise.
38857         (exp10_test): Likewise.
38858         (exp10_test_tonearest): Likewise.
38859         (exp10_test_towardzero): Likewise.
38860         (exp10_test_downward): Likewise.
38861         (exp10_test_upward): Likewise.
38862         (pow10_test): Likewise.
38863         (exp2_test): Likewise.
38864         (expm1_test): Likewise.
38865         (expm1_test_tonearest): Likewise.
38866         (expm1_test_towardzero): Likewise.
38867         (expm1_test_downward): Likewise.
38868         (expm1_test_upward): Likewise.
38869         (fabs_test): Likewise.
38870         (fdim_test): Likewise.
38871         (floor_test): Likewise.
38872         (fma_test): Likewise.
38873         (fma_test_towardzero): Likewise.
38874         (fma_test_downward): Likewise.
38875         (fma_test_upward): Likewise.
38876         (fmax_test): Likewise.
38877         (fmin_test): Likewise.
38878         (fmod_test): Likewise.
38879         (fpclassify_test): Likewise.
38880         (frexp_test): Likewise.
38881         (hypot_test): Likewise.
38882         (ilogb_test): Likewise.
38883         (isfinite_test): Likewise.
38884         (finite_test): Likewise.
38885         (isgreater_test): Likewise.
38886         (isgreaterequal_test): Likewise.
38887         (isinf_test): Likewise.
38888         (isless_test): Likewise.
38889         (islessequal_test): Likewise.
38890         (islessgreater_test): Likewise.
38891         (isnan_test): Likewise.
38892         (isnormal_test): Likewise.
38893         (issignaling_test): Likewise.
38894         (isunordered_test): Likewise.
38895         (j0_test): Likewise.
38896         (j1_test): Likewise.
38897         (jn_test): Likewise.
38898         (ldexp_test): Likewise.
38899         (lgamma_test): Likewise.
38900         (gamma_test): Likewise.
38901         (lrint_test): Likewise.
38902         (lrint_test_tonearest): Likewise.
38903         (lrint_test_towardzero): Likewise.
38904         (lrint_test_downward): Likewise.
38905         (lrint_test_upward): Likewise.
38906         (llrint_test): Likewise.
38907         (llrint_test_tonearest): Likewise.
38908         (llrint_test_towardzero): Likewise.
38909         (llrint_test_downward): Likewise.
38910         (llrint_test_upward): Likewise.
38911         (log_test): Likewise.
38912         (log10_test): Likewise.
38913         (log1p_test): Likewise.
38914         (log2_test): Likewise.
38915         (logb_test): Likewise.
38916         (logb_test_downward): Likewise.
38917         (lround_test): Likewise.
38918         (llround_test): Likewise.
38919         (modf_test): Likewise.
38920         (nearbyint_test): Likewise.
38921         (nextafter_test): Likewise.
38922         (nexttoward_test): Likewise.
38923         (pow_test): Likewise.
38924         (pow_test_tonearest): Likewise.
38925         (pow_test_towardzero): Likewise.
38926         (pow_test_downward): Likewise.
38927         (pow_test_upward): Likewise.
38928         (remainder_test): Likewise.
38929         (drem_test): Likewise.
38930         (remainder_test_tonearest): Likewise.
38931         (drem_test_tonearest): Likewise.
38932         (remainder_test_towardzero): Likewise.
38933         (drem_test_towardzero): Likewise.
38934         (remainder_test_downward): Likewise.
38935         (drem_test_downward): Likewise.
38936         (remainder_test_upward): Likewise.
38937         (drem_test_upward): Likewise.
38938         (remquo_test): Likewise.
38939         (rint_test): Likewise.
38940         (rint_test_tonearest): Likewise.
38941         (rint_test_towardzero): Likewise.
38942         (rint_test_downward): Likewise.
38943         (rint_test_upward): Likewise.
38944         (round_test): Likewise.
38945         (scalb_test): Likewise.
38946         (scalbn_test): Likewise.
38947         (scalbln_test): Likewise.
38948         (signbit_test): Likewise.
38949         (sin_test): Likewise.
38950         (sin_test_tonearest): Likewise.
38951         (sin_test_towardzero): Likewise.
38952         (sin_test_downward): Likewise.
38953         (sin_test_upward): Likewise.
38954         (sincos_test): Likewise.
38955         (sinh_test): Likewise.
38956         (sinh_test_tonearest): Likewise.
38957         (sinh_test_towardzero): Likewise.
38958         (sinh_test_downward): Likewise.
38959         (sinh_test_upward): Likewise.
38960         (sqrt_test): Likewise.
38961         (sqrt_test_tonearest): Likewise.
38962         (sqrt_test_towardzero): Likewise.
38963         (sqrt_test_downward): Likewise.
38964         (sqrt_test_upward): Likewise.
38965         (tan_test): Likewise.
38966         (tan_test_tonearest): Likewise.
38967         (tan_test_towardzero): Likewise.
38968         (tan_test_downward): Likewise.
38969         (tan_test_upward): Likewise.
38970         (tanh_test): Likewise.
38971         (tgamma_test): Likewise.
38972         (trunc_test): Likewise.
38973         (y0_test): Likewise.
38974         (y1_test): Likewise.
38975         (yn_test): Likewise.
38976         (significand_test): Likewise.
38978         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38979         individual tests in comment.
38980         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38981         (prev_max_error): New variable.
38982         (prev_real_max_error): Likewise.
38983         (prev_imag_max_error): Likewise.
38984         (compare_ulp_data): Don't refer to test names in comment.
38985         (find_test_ulps): Remove function.
38986         (find_function_ulps): Likewise.
38987         (find_complex_function_ulps): Likewise.
38988         (init_max_error): Take function name as argument.  Look up ulps
38989         for that function.
38990         (print_ulps): Remove function.
38991         (print_max_error): Use prev_max_error instead of calling
38992         find_function_ulps.
38993         (print_complex_max_error): Use prev_real_max_error and
38994         prev_imag_max_error instead of calling find_complex_function_ulps.
38995         (check_float_internal): Take max_ulp parameter instead of calling
38996         find_test_ulps.  Don't call print_ulps.
38997         (check_float): Update call to check_float_internal.
38998         (check_complex): Update calls to check_float_internal.
38999         (START): Pass argument to init_max_error.
39000         * math/gen-libm-test.pl (%results): Don't include "kind"
39001         information.
39002         (parse_ulps): Don't handle ulps of individual tests.
39003         (print_ulps_file): Likewise.
39004         (output_ulps): Likewise.
39005         * math/README.libm-test: Update.
39006         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39007         individual tests.
39008         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39009         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39010         * sysdeps/arm/libm-test-ulps: Likewise.
39011         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39012         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39013         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39014         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39015         * sysdeps/microblaze/libm-test-ulps: Likewise.
39016         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39017         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39018         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39019         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39020         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39021         * sysdeps/sh/libm-test-ulps: Likewise.
39022         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39023         * sysdeps/tile/libm-test-ulps: Likewise.
39024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39026 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39028         * math/libm-test.inc (print_complex_max_error): Check separately
39029         whether real and imaginary errors are within allowed range and
39030         pass 0 to print_complex_function_ulps instead of value within
39031         allowed range.
39033 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39035         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39036         formatting.
39037         (get_handles_fopen): Likewise.
39038         (do_write_test): Likewise.
39040         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39042         * libio/fileops.c (do_ftell): Use cached offset when
39043         available.
39044         * libio/iofwide.c (do_ftell_wide): Likewise.
39045         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39046         _IO_file_attach.
39047         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39049         [BZ #16532]
39050         * libio/libioP.h (get_file_offset): New function.
39051         * libio/fileops.c (get_file_offset): Likewise.
39052         (do_ftell): Likewise.
39053         (_IO_new_file_seekoff): Split out ftell logic.
39054         * libio/wfileops.c (do_ftell_wide): Likewise.
39055         (_IO_wfile_seekoff): Split out ftell logic.
39056         * libio/tst-ftell-active-handler.c: New test case.
39057         * libio/Makefile (tests): Add it.
39059 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39061         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39062         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39064 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39066         [BZ #16639]
39067         * nscd/connections.c (nscd_init): Call do_exit.
39068         (start_threads): Call do_exit and notify_parent.
39069         (begin_drop_privileges): Call do_exit.
39070         (finish_drop_privileges): Likewise.
39071         * nscd/selinux.c (preserve_capabilities): Likewise.
39072         (install_real_capabilities): Likewise.
39073         (nscd_selinux_enabled): Likewise.
39074         (avc_create_thread): Likewise.
39075         (avc_alloc_lock): Likewise.
39076         (nscd_avc_init): Likewise.
39077         * nscd/nscd.c (parent_fd): New static variable.
39078         (main): Create a pipe between parent and child processes.
39079         Skip closing parent_fd.
39080         (monitor_child): New function.
39081         (do_exit): Likewise.
39082         (notify_parent): Likewise.
39083         * nscd/nscd.h (notify_parent): Likewise.
39084         (do_exit): Likewise.
39086 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39088         * malloc/malloc.c (__libc_calloc): Revert last change.
39090 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39094 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39096         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39098         implementation.
39099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39100         (__libc_ifunc_impl_list): Likewise.
39101         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39102         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39103         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39104         * string/strrchr.c: Define STRRCHR.
39106 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39108         * benchtest/bench-strtok.c (simple_strtok): Delete.
39109         (strtok_string): Use as benchmark.
39110         * string/strtok (STRTOK): New macro.
39112 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39114         * manual/threads.texi: Add header and standard comments to all
39115         functions.
39117         * elf/dl-lookup.c (check_match): New function.
39118         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39119         (do_lookup_x): Remove nested function check_match. Use non-nested
39120         function check_match.
39122 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39124         * csu/Makefile (generated, before-compile): Use += rather than =.
39125         * catgets/Makefile (generated, generated-dirs): Likewise.
39126         * debug/Makefile (generated): Likewise.
39127         * dlfcn/Makefile (generated): Likewise.
39128         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39129         * iconvdata/Makefile (before-compile, generated): Likewise.
39130         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39131         * libio/Makefile (generated): Likewise.
39132         * malloc/Makefile (generated): Likewise.
39133         * manual/Makefile (generated, generated-dirs): Likewise.
39134         * misc/Makefile (generated): Likewise.
39135         * posix/Makefile (generated): Likewise.
39136         * resolv/Makefile (generated): Likewise.
39137         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39138         * timezone/Makefile (generated, generated-dirs): Likewise.
39140         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39142 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39145         power8 implementation.
39146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39147         file: POWER8 llround ifunc implementation.
39148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39149         (__lllround): Add POWER8 implementation.
39150         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39151         POWER8 llround implementation.
39153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39154         power8 implementation.
39155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39156         file: POWER8 llrint ifunc implementation.
39157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39158         Add POWER8 implementation.
39159         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39160         POWER8 llrint implementation.
39162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39163         power8 implementation.
39164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39165         file: POWER8 finite ifunc implementation.
39166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39167         Add POWER8 implementation.
39168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39169         Likewise.
39170         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39171         POWER8 finite implementation.
39172         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39175         power8 implementation.
39176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39177         file: POWER8 isinf ifunc implementation.
39178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39179         POWER8 implementation.
39180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39181         Likewise.
39182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39183         isinf implementation.
39184         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39186         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39187         (INIT_ARCH): Add hwcap2 initialization.
39188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39189         power8 implementation.
39190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39191         file: POWER8 isnan ifunc implementation.
39192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39193         POWER8 implementation.
39194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39195         Likewise.
39196         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39197         isnan implementation.
39198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39200 2014-02-27  Joey Ye  <joey.ye@arm.com>
39202         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39203         (_FP_NANFRAC_Q): Set to zero.
39205 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39207         [BZ #16623]
39208         * math/auto-libm-test-in: New test inputs.
39209         * math/auto-libm-test-out: Regenerate.
39210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39211         and DA.
39212         (__cos): Likewise.
39213         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39215 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39217         * scripts/evaluate-test.sh: Take new argument indicating whether
39218         failure is expected.
39219         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39220         indicating whether failure is expected.
39221         * conform/Makefile (test-xfail-run-conformtest): New variable.
39222         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39223         level.
39224         * posix/Makefile (test-xfail-annexc): New variable.
39225         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39227 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39229         * argp/Makefile: Include Makeconfig immediately after defining
39230         subdir.
39231         * assert/Makefile: Likewise.
39232         * benchtests/Makefile: Likewise.
39233         * catgets/Makefile: Likewise.
39234         * conform/Makefile: Likewise.
39235         * crypt/Makefile: Likewise.
39236         * csu/Makefile: Likewise.
39237         (all): Remove target.
39238         * ctype/Makefile: Include Makeconfig immediately after defining
39239         subdir.
39240         * debug/Makefile: Likewise.
39241         * dirent/Makefile: Likewise.
39242         * dlfcn/Makefile: Likewise.
39243         * gmon/Makefile: Likewise.
39244         * gnulib/Makefile: Likewise.
39245         * grp/Makefile: Likewise.
39246         * gshadow/Makefile: Likewise.
39247         * hesiod/Makefile: Likewise.
39248         * hurd/Makefile: Likewise.
39249         (all): Remove target.
39250         * iconvdata/Makefile: Include Makeconfig immediately after
39251         defining subdir.
39252         * inet/Makefile: Likewise.
39253         * intl/Makefile: Likewise.
39254         * io/Makefile: Likewise.
39255         * libio/Makefile: Likewise.
39256         (all): Remove target.
39257         * locale/Makefile: Include Makeconfig immediately after defining
39258         subdir.
39259         * login/Makefile: Likewise.
39260         * mach/Makefile: Likewise.
39261         (all): Remove target.
39262         * malloc/Makefile: Include Makeconfig immediately after defining
39263         subdir.
39264         (all): Remove target.
39265         * manual/Makefile: Include Makeconfig immediately after defining
39266         subdir.
39267         * math/Makefile: Likewise.
39268         * misc/Makefile: Likewise.
39269         * nis/Makefile: Likewise.
39270         * nss/Makefile: Likewise.
39271         * po/Makefile: Likewise.
39272         (all): Remove target.
39273         * posix/Makefile: Include Makeconfig immediately after defining
39274         subdir.
39275         * pwd/Makefile: Likewise.
39276         * resolv/Makefile: Likewise.
39277         * resource/Makefile: Likewise.
39278         * rt/Makefile: Likewise.
39279         * setjmp/Makefile: Likewise.
39280         * shadow/Makefile: Likewise.
39281         * signal/Makefile: Likewise.
39282         * socket/Makefile: Likewise.
39283         * soft-fp/Makefile: Likewise.
39284         * stdio-common/Makefile: Likewise.
39285         * stdlib/Makefile: Likewise.
39286         * streams/Makefile: Likewise.
39287         * string/Makefile: Likewise.
39288         * sunrpc/Makefile: Likewise.
39289         (all): Remove target.
39290         * sysvipc/Makefile: Include Makeconfig immediately after defining
39291         subdir.
39292         * termios/Makefile: Likewise.
39293         * time/Makefile: Likewise.
39294         * timezone/Makefile: Likewise.
39295         (all): Remove target.
39296         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39297         subdir.
39298         * wctype/Makefile: Likewise.
39300 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39302         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39303         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39304         (libc_feholdexcept_setround_mips): Ditto.
39305         (libc_feholdsetround): New.
39306         (libc_feholdsetroundf): New.
39307         (libc_feholdsetroundl): New.
39308         (libc_feupdateenv_test_mips): New.
39309         (libc_feupdateenv_test): New.
39310         (libc_feupdateenv_testf): New.
39311         (libc_feupdateenv_testl): New.
39312         (libc_feresetround): New.
39313         (libc_feresetroundf): New.
39314         (libc_feresetroundl): New.
39315         (libc_fetestexcept_mips): New.
39316         (libc_fetestexcept): New.
39317         (libc_fetestexceptf): New.
39318         (libc_fetestexceptl): New.
39319         (HAVE_RM_CTX): New.
39320         (libc_feholdexcept_setround_mips_ctx): New.
39321         (libc_feholdexcept_setround_ctx): New.
39322         (libc_feholdexcept_setroundf_ctx): New.
39323         (libc_feholdexcept_setroundl_ctx): New.
39324         (libc_fesetenv_mips_ctx): New.
39325         (libc_fesetenv_ctx): New.
39326         (libc_fesetenv_ctxf): New.
39327         (libc_fesetenv_ctxl): New.
39328         (libc_feupdateenv_mips_ctx): New.
39329         (libc_feupdateenv_ctx): New.
39330         (libc_feupdateenvf_ctx): New.
39331         (libc_feupdateenvl_ctx): New.
39332         (libc_feholdsetround_mips_ctx): New.
39333         (libc_feholdsetround_ctx): New.
39334         (libc_feholdsetroundf_ctx): New.
39335         (libc_feholdsetroundl_ctx): New.
39336         (libc_feresetround_mips_ctx): New.
39337         (libc_feresetround_ctx): New.
39338         (libc_feresetroundf_ctx): New.
39339         (libc_feresetroundl_ctx): New.
39341 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39343         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39345         * manual/ipc.texi: New file.
39346         * manual/Makefile (chapters): Add ipc.
39347         * manual/job.texi: Add "Inter-Process Communication" to next.
39348         * manual/process.texi: Add "Inter-Process Communication" to prev.
39350 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39354 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39356         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39358         * manual/arith.texi: Fix spaces after sentences.
39359         * manual/charset.texi: Likewise.
39360         * manual/errno.texi: Likewise.
39361         * manual/install.texi: Likewise.
39362         * manual/llio.texi: Likewise.
39363         * manual/locale.texi: Likewise.
39364         * manual/maint.texi: Likewise.
39365         * manual/math.texi: Likewise.
39366         * manual/memory.texi: Likewise.
39367         * manual/message.texi: Likewise.
39368         * manual/probes.texi: Likewise.
39369         * manual/resource.texi: Likewise.
39370         * manual/signal.texi: Likewise.
39371         * manual/socket.texi: Likewise.
39372         * manual/stdio.texi: Likewise.
39373         * manual/string.texi: Likewise.
39374         * manual/time.texi: Likewise.
39375         * manual/users.texi: Likewise.
39377 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39379         [BZ #16632]
39380         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39381         _DEFAULT_SOURCE is defined.
39383 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39384             Carlos O'Donell  <carlos@redhat.com>
39386         [BZ #16613]
39387         * elf/dl-tls.c (_dl_count_modids): New function.
39388         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39389         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39390         audit library and increment generation counter.
39391         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39392         * elf/tst-audit9.c: New file.
39393         * elf/tst-auditmod9a.c: New file.
39394         * elf/tst-auditmod9b.c: New file.
39395         * elf/Makefile: Add rules to build and run tst-audit9.
39397 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39399         [BZ #15347]
39400         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39402 2014-02-25  Will Newton  <will.newton@linaro.org>
39404         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39405         (__longjmp): Restore sp and lr before restoring callee
39406         saved registers.  Add longjmp and longjmp_target
39407         SystemTap probe point.
39408         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39409         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39410         Define to zero to match jmpbuf layout.
39411         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39412         (__sigsetjmp): Save sp and lr before saving callee
39413         saved registers.  Add setjmp SystemTap probe point.
39415 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39417         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39419 2014-02-24  Andreas Schwab  <schwab@suse.de>
39421         [BZ #15804]
39422         * elf/pldd.c (wait_for_ptrace_stop): New function.
39423         (main): Call it after attaching.
39425 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39427         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39428         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39429         Versions files is now verboten.
39430         * hurd/Versions (libc: GLIBC_2.0):
39431         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39432         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39433         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39434         * mach/Versions: Likewise.
39436         * csu/Versions: Remove unused %include.
39437         * resolv/Versions: Likewise.
39439 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39441         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39442         ($(objpfx)check-local-headers.out): Likewise.
39443         ($(objpfx)begin-end-check.out): Likewise.
39444         * Makerules (check-abi-%.out): Likewise.
39445         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39446         ($(objpfx)test2.cat): Likewise.
39447         ($(objpfx)de/libc.cat): Likewise.
39448         ($(objpfx)test-gencat.out): Likewise.
39449         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39450         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39451         ($(objpfx)noload-mem): Likewise.
39452         ($(objpfx)tst-pathopt.out): Likewise.
39453         ($(objpfx)tst-rtld-load-self.out): Likewise.
39454         ($(objpfx)tst-array1-cmp.out): Likewise.
39455         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39456         ($(objpfx)tst-array2-cmp.out): Likewise.
39457         ($(objpfx)tst-array3-cmp.out): Likewise.
39458         ($(objpfx)tst-array4-cmp.out): Likewise.
39459         ($(objpfx)tst-array5-cmp.out): Likewise.
39460         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39461         ($(objpfx)check-textrel.out): Likewise.
39462         ($(objpfx)check-execstack.out): Likewise.
39463         ($(objpfx)check-localplt.out): Likewise.
39464         ($(objpfx)order2-cmp.out): Likewise.
39465         ($(objpfx)tst-leaks1-mem): Likewise.
39466         ($(objpfx)tst-leaks1-static-mem): Likewise.
39467         ($(objpfx)tst-initorder-cmp.out): Likewise.
39468         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39469         ($(objpfx)tst-unused-dep.out): Likewise.
39470         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39471         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39472         * iconv/Makefile (test-iconvconfig): Likewise.
39473         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39474         ($(objpfx)iconv-test.out): Likewise.
39475         ($(objpfx)tst-tables.out): Likewise.
39476         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39477         ($(objpfx)tst-gettext.out): Likewise.
39478         ($(objpfx)tst-translit.out): Likewise.
39479         ($(objpfx)tst-gettext2.out): Likewise.
39480         ($(objpfx)tst-gettext4.out): Likewise.
39481         ($(objpfx)tst-gettext6.out): Likewise.
39482         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39483         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39484         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39485         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39486         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39487         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39488         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39489         ($(objpfx)wordexp-tst.out): Likewise.
39490         ($(objpfx)annexc.out): Likewise.
39491         ($(objpfx)tst-fnmatch-mem): Likewise.
39492         ($(objpfx)bug-regex2-mem): Likewise.
39493         ($(objpfx)bug-regex14-mem): Likewise.
39494         ($(objpfx)bug-regex21-mem): Likewise.
39495         ($(objpfx)bug-regex31-mem): Likewise.
39496         ($(objpfx)tst-vfork3-mem): Likewise.
39497         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39498         ($(objpfx)tst-pcre-mem): Likewise.
39499         ($(objpfx)tst-boost-mem): Likewise.
39500         ($(objpfx)tst-getconf.out): Likewise.
39501         ($(objpfx)bug-ga2-mem): Likewise.
39502         ($(objpfx)bug-glob2-mem): Likewise.
39503         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39504         ($(objpfx)mtrace-tst-leaks2): Likewise.
39505         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39506         ($(objpfx)tst-printf.out): Likewise.
39507         ($(objpfx)tst-setvbuf1.out): Likewise.
39508         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39509         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39510         ($(objpfx)tst-fmtmsg.out): Likewise.
39511         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39512         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39514         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39515         * bits/sigaction.h [__USE_MISC]: Likewise.
39516         * bits/waitstatus.h: Update #endif comments.
39517         * ctype/ctype.h: Likewise.
39518         * dirent/dirent.h: Likewise.
39519         [__USE_MISC]: Remove redundant conditionals.
39520         * grp/grp.h: Update #endif comments.
39521         [__USE_GNU]: Remove redundant conditionals.
39522         [__USE_MISC]: Likewise.
39523         * inet/netinet/in.h [__USE_GNU]: Likewise.
39524         * io/sys/stat.h [__USE_MISC]: Likewise.
39525         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39526         * libio/bits/stdio.h: Update #endif comments.
39527         [__USE_MISC]: Remove redundant conditionals.
39528         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39529         * libio/stdio.h: Update #endif comments.
39530         [__USE_MISC]: Remove redundant conditionals.
39531         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39532         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39533         * math/math.h: Update #else and #endif comments.
39534         [__USE_MISC]: Remove redundant conditionals.
39535         * misc/sys/uio.h: Update #endif comments.
39536         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39537         * posix/glob.h [__USE_MISC]: Likewise.
39538         * posix/sys/types.h: Update #endif comments.
39539         [__USE_MISC]: Remove redundant conditionals.
39540         * posix/sys/wait.h: Update #endif comments.
39541         [__USE_MISC]: Remove redundant conditionals.
39542         * posix/unistd.h: Update #endif comments.
39543         [__USE_MISC]: Remove redundant conditionals.
39544         * pwd/pwd.h [__USE_GNU]: Likewise.
39545         [__USE_MISC]: Likewise.
39546         * resolv/netdb.h [__USE_GNU]: Likewise.
39547         * signal/signal.h: Update #endif comments.
39548         [__USE_MISC]: Remove redundant conditionals.
39549         * stdlib/stdlib.h: Update #else and #endif comments.
39550         [__USE_MISC]: Remove redundant conditionals.
39551         [__USE_GNU]: Likewise.
39552         * string/bits/string2.h [__USE_MISC]: Likewise.
39553         * string/string.h: Update #endif comments.
39554         [__USE_MISC]: Remove redundant conditionals.
39555         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39556         Likewise.
39557         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39558         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39559         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39560         Likewise.
39561         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39562         Likewise.
39563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39564         comments.
39565         [__USE_MISC]: Remove redundant conditionals.
39566         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39567         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39568         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39569         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39570         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39571         Likewise.
39572         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39573         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39574         Likewise.
39575         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39576         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39577         Likewise.
39578         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39579         Likewise.
39580         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39581         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39582         Likewise.
39583         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39584         Likewise.
39585         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39586         * sysdeps/x86/bits/string.h: Update #endif comments.
39587         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39588         conditionals.
39589         * time/sys/time.h: Update #endif comments.
39590         * time/time.h: Likewise.
39591         [__USE_MISC]: Remove redundant conditionals.
39593 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39595         [BZ #16600]
39596         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39598 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39600         * Versions.def (librt): Add GLIBC_2.17.
39602 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39604         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39605         synonym for _SYS_AUXV_H to allow direct inclusion.
39606         * sysdeps/sparc/bits/hwcap.h: Likewise.
39607         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39608         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39609         * sysdeps/sparc/sysdep.h: Likewise.
39611 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39613         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39615 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39617         * benchtests/bench-strrchr.c: Print length instead of position.
39619 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39621         [BZ #16611]
39622         * sysdeps/unix/sysv/linux/kernel-features.h
39623         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39624         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39625         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39626         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39627         Likewise.
39628         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39629         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39630         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39631         (__ASSUME_SENDMMSG): Define instead of using previous
39632         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39633         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39634         (__ASSUME_SENDMMSG_SYSCALL): Define.
39635         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39636         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39637         Likewise.
39638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39639         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39640         Likewise.
39641         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39642         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39643         Likewise.
39644         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39645         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39646         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39647         [__ASSUME_SENDMMSG]: Change conditionals to
39648         [__ASSUME_SENDMMSG_SOCKETCALL].
39649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39650         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39651         Define.
39652         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39653         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39654         Likewise.
39655         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39656         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39657         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39658         [!__ASSUME_SENDMMSG]: Change conditional to
39659         [!__ASSUME_SENDMMSG_SOCKETCALL].
39660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39661         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39662         Define.
39664         [BZ #16610]
39665         * sysdeps/unix/sysv/linux/kernel-features.h
39666         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39667         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39668         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39669         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39670         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39671         [__i386__ || __sparc__]
39672         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39673         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39674         (__ASSUME_RECVMMSG): Define instead of using previous
39675         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39676         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39677         (__ASSUME_RECVMMSG_SYSCALL): Define.
39678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39679         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39680         Likewise.
39681         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39682         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39683         Likewise.
39684         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39686         Likewise.
39687         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39688         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39689         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39690         [__ASSUME_RECVMMSG]: Change condition to
39691         [__ASSUME_RECVMMSG_SOCKETCALL].
39692         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39694         Define.
39695         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39696         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39697         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39698         Likewise.
39699         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39700         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39701         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39702         [!__ASSUME_RECVMMSG]: Change condition to
39703         [!__ASSUME_RECVMMSG_SOCKETCALL].
39704         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39705         (__ASSUME_RECVMMSG_SYSCALL): Define.
39707         [BZ #16609]
39708         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39709         __powerpc__ || __s390__ || __sh__ || __sparc__]
39710         (__ASSUME_SOCKETCALL): Define.
39711         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39712         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39713         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39714         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39715         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39716         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39717         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39718         (__ASSUME_ACCEPT4): Define instead of using previous
39719         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39720         __powerpc__ || __sparc__ || __s390__)] condition.
39721         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39722         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39723         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39724         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39725         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39726         [!__ASSUME_ACCEPT4]: Change condition to
39727         [!__ASSUME_ACCEPT4_SOCKETCALL].
39728         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39729         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39730         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39732         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39733         __ASSUME_ACCEPT4_SYSCALL.
39734         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39735         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39736         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39737         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39738         __ASSUME_ACCEPT4_SYSCALL.
39739         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39740         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39741         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39742         [__ASSUME_ACCEPT4]: Change condition to
39743         [__ASSUME_ACCEPT4_SOCKETCALL].
39744         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39745         (__ASSUME_SOCKETCALL): Define.
39746         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39748         (__ASSUME_SOCKETCALL): Define.
39749         (__ASSUME_ACCEPT4): Remove.
39750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39751         Define.
39752         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39753         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39754         Likewise.
39755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39756         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39758         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39759         macro.
39760         (HWCAP_ARM_LPAE): Likewise.
39761         (HWCAP_ARM_EVTSTRM): Likewise.
39762         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39763         Add vpfd32, lpae and evtstrm.
39764         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39765         Increase to 22.
39767 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39769         * math/auto-libm-test-in: Add tests of clog10.
39770         * math/auto-libm-test-out: Regenerated.
39771         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39772         * sysdeps/i386/fpu/libm-test-ulps: Update.
39773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39775 2014-02-18  Andreas Schwab  <schwab@suse.de>
39777         [BZ #16574]
39778         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39779         Store non-zero if the second buffer was newly allocated.
39780         (send_dg): Likewise.
39781         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39782         to send_vc and send_dg.
39783         (res_nsend): Pass NULL for ansp2_malloced.
39784         * resolv/res_query.c (__libc_res_nquery): Add parameter
39785         answerp2_malloced and pass it down to __libc_res_nsend.
39786         (res_nquery): Pass additional NULL to __libc_res_nquery.
39787         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39788         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39789         second answer buffer if answerp2_malloced was set.
39790         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39791         (__libc_res_nquerydomain): Add parameter
39792         answerp2_malloced and pass it down to __libc_res_nquery.
39793         (res_nquerydomain): Pass additional NULL to
39794         __libc_res_nquerydomain.
39795         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39796         additional NULL to __libc_res_nsend and __libc_res_nquery.
39797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39798         additional NULL to __libc_res_nsearch.
39799         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39800         parameter of __libc_res_nsearch to check for separately allocated
39801         second buffer.
39802         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39803         __libc_res_nquery.
39804         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39805         additional NULL to __libc_res_nquery.
39806         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39807         __libc_res_nsearch.
39808         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39809         * include/resolv.h: Update prototypes of __libc_res_nquery,
39810         __libc_res_nsearch, __libc_res_nsend.
39812 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39814         * math/auto-libm-test-in: Add tests of fma.
39815         * math/auto-libm-test-out: Regenerated.
39816         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39817         (fma_towardzero_test_data): Likewise.
39818         (fma_downward_test_data): Likewise.
39819         (fma_upward_test_data): Likewise.
39820         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39821         mpc_mode.
39822         (rounding_modes): Add values for new field.
39823         (func_calc_method): Add value mpfr_fff_f.
39824         (func_calc_desc): Add mpfr_fff_f union field.
39825         (test_function): Add field exact_args.
39826         (FUNC): Add macro argument EXACT_ARGS.
39827         (FUNC_mpfr_f_f): Update call to FUNC.
39828         (FUNC_mpfr_f_f): Likewise.
39829         (FUNC_mpfr_ff_f): Likewise.
39830         (FUNC_mpfr_if_f): Likewise.
39831         (FUNC_mpc_c_f): Likewise.
39832         (FUNC_mpc_c_c): Likewise.
39833         (test_functions): Add fma.  Update calls to FUNC.
39834         (handle_input_arg): Add argument exact_args.
39835         (add_test): Update call to handle_input_arg.
39836         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39837         (output_for_one_input_case): Update call to calc_generic_results.
39838         Recalculate exact zero results in each rounding mode.
39840         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39841         non-negative before setting low bit.
39842         * math/auto-libm-test-in: Mark one asin test possibly having
39843         spurious underflow.
39844         * math/auto-libm-test-out: Regenerated.
39845         * sysdeps/i386/fpu/libm-test-ulps: Update.
39846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39848 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39850         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39851         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39852         ports/sysdeps/unix/sysv/linux/microblaze.
39853         * README: Add missing listing for microblaze*-*-linux-gnu.
39855 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39857         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39858         duplicate code
39860 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39862         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39863         * sysdeps/unix/sysv/linux/ia64: Move directory from
39864         ports/sysdeps/unix/sysv/linux/ia64.
39865         * README: Update listing for ia64-*-linux-gnu.
39867 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39868             Joseph Myers  <joseph@codesourcery.com>
39870         * Makeconfig (test-name): New variable.
39871         (evaluate-test): Likewise.
39872         * Makerules (do-test-clean): Remove .test-result files.
39873         (common-mostlyclean): Likewise.
39874         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39875         * scripts/evaluate-test.sh: New file.
39877 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39879         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39880         separate $(objpfx)tst-fopenloc-cmp.out and
39881         $(objpfx)tst-fopenloc-mem.out targets.
39882         (tests): Update dependencies.
39883         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39884         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39885         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39886         (tst-rxspencer-no-utf8-ARGS): New variable.
39887         (tst-rxspencer-no-utf8-ENV): Likewise.
39888         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39889         instead of $(objpfx)tst-rxspencer-mem.
39890         ($(objpfx)tst-rxspencer-mem): Change target to
39891         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39892         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39893         * posix/tst-rxspencer-no-utf8.c: New file.
39895         * elf/Makefile ($(objpfx)order.out): Remove rule.
39896         [$(run-built-tests) = yes] (tests): Depend on
39897         $(objpfx)order-cmp.out.
39898         ($(objpfx)order-cmp.out): New rule.
39899         [$(run-built-tests) = yes] (tests): Depend on
39900         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39901         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39902         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39903         $(objpfx)tst-array5-static-cmp.out.
39904         ($(objpfx)tst-array1.out): Remove rule.
39905         ($(objpfx)tst-array1-cmp.out): New rule.
39906         ($(objpfx)tst-array1-static.out): Remove rule.
39907         ($(objpfx)tst-array1-static-cmp.out): New rule.
39908         ($(objpfx)tst-array2.out): Remove rule.
39909         ($(objpfx)tst-array2-cmp.out): New rule.
39910         ($(objpfx)tst-array3.out): Remove rule.
39911         ($(objpfx)tst-array3-cmp.out): New rule.
39912         ($(objpfx)tst-array4.out): Remove rule.
39913         ($(objpfx)tst-array4-cmp.out): New rule.
39914         ($(objpfx)tst-array5.out): Remove rule.
39915         ($(objpfx)tst-array5-cmp.out): New rule.
39916         ($(objpfx)tst-array5-static.out): Remove rule.
39917         ($(objpfx)tst-array5-static-cmp.out): New rule.
39918         [$(run-built-tests) = yes] (tests): Depend on
39919         $(objpfx)order2-cmp.out.
39920         ($(objpfx)order2.out): Remove rule.
39921         ($(objpfx)order2-cmp.out): New rule.
39922         ($(objpfx)tst-initorder.out): Remove rule.
39923         [$(run-built-tests) = yes] (tests): Depend on
39924         $(objpfx)tst-initorder-cmp.out.
39925         ($(objpfx)tst-initorder-cmp.out): New rule.
39926         ($(objpfx)tst-initorder2.out): Remove rule.
39927         [$(run-built-tests) = yes] (tests): Depend on
39928         $(objpfx)tst-initorder2-cmp.out.
39929         ($(objpfx)tst-initorder2-cmp.out): New rule.
39930         [$(run-built-tests) = yes] (tests): Depend on
39931         $(objpfx)tst-unused-dep-cmp.out.
39932         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39933         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39934         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39935         on $(objpfx)tst-setvbuf1-cmp.out.
39936         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39937         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39938         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39939         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39940         ($(objpfx)tst-svc.out): Remove rule.
39941         ($(objpfx)tst-svc-cmp.out): New rule.
39943 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39945         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39946         * ctype/ctype.h [__USE_MISC]: Likewise.
39947         * dirent/dirent.h [__USE_MISC]: Likewise.
39948         * grp/grp.h [__USE_MISC]: Likewise.
39949         * io/fcntl.h [__USE_MISC]: Likewise.
39950         * io/sys/stat.h [__USE_MISC]: Likewise.
39951         * libio/stdio.h [__USE_MISC]: Likewise.
39952         * posix/unistd.h [__USE_MISC]: Likewise.
39953         * pwd/pwd.h [__USE_MISC]: Likewise.
39954         * stdlib.h [__USE_MISC]: Likewise.
39955         * string/bits/string2.h [__USE_MISC]: Likewise.
39956         * string/string.h [__USE_MISC]: Likewise.
39957         * time/time.h [__USE_MISC]: Likewise.
39959 2014-02-13  Andreas Schwab  <schwab@suse.de>
39961         [BZ #16574]
39962         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39963         second answer buffer if it was separately allocated.
39965 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39967         * sysdeps/mips/math-tests.h: Include <features.h>.
39968         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39969         (ROUNDING_TESTS_long_double): Do not define.
39970         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39971         (EXCEPTION_TESTS_long_double): Likewise.
39972         * sysdeps/mips/mips64/libm-test-ulps: Update.
39974         * include/features.h (__USE_BSD): Remove macro definitions.
39975         (__USE_SVID): Likewise.
39976         (_BSD_SOURCE): Likewise.
39977         (_SVID_SOURCE): Likewise.
39978         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39979         from definition of _DEFAULT_SOURCE.
39980         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39981         [_DEFAULT_SOURCE].
39982         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39983         * bits/mman.h [__USE_BSD]: Likewise.
39984         * bits/termios.h [__USE_BSD]: Likewise.
39985         * bits/waitstatus.h [__USE_BSD]: Likewise.
39986         * ctype/ctype.h [__USE_SVID]: Likewise.
39987         * dirent/dirent.h [__USE_BSD]: Likewise.
39988         * grp/grp.h [__USE_SVID]: Likewise.
39989         [__USE_BSD]: Likewise.
39990         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39991         * io/fcntl.h [__USE_BSD]: Likewise.
39992         * io/ftw.h [__USE_BSD]: Likewise.
39993         * io/sys/stat.h [__USE_BSD]: Likewise.
39994         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39995         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39996         * libio/stdio.h [__USE_SVID]: Likewise.
39997         [__USE_BSD]: Likewise.
39998         * math/math.h [__USE_SVID]: Likewise.
39999         [__USE_BSD]: Likewise.
40000         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40001         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40002         * misc/search.h [__USE_SVID]: Likewise.
40003         * misc/sys/mman.h [__USE_BSD]: Likewise.
40004         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40005         * misc/sys/uio.h [__USE_BSD]: Likewise.
40006         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40007         * posix/glob.h [__USE_BSD]: Likewise.
40008         * posix/regex.h [__USE_BSD]: Likewise.
40009         * posix/sys/types.h [__USE_BSD]: Likewise.
40010         [__USE_SVID]: Likewise.
40011         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40012         * posix/sys/wait.h [__USE_BSD]: Likewise.
40013         [__USE_SVID]: Likewise.
40014         * posix/unistd.h [__USE_BSD]: Likewise.
40015         [__USE_SVID]: Likewise.
40016         * pwd/pwd.h [__USE_SVID]: Likewise.
40017         * resolv/netdb.h [__USE_BSD]: Likewise.
40018         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40019         * signal/signal.h [__USE_BSD]: Likewise.
40020         [__USE_SVID]: Likewise.
40021         * socket/sys/socket.h [__USE_BSD]: Likewise.
40022         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40023         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40024         [__USE_SVID]: Likewise.
40025         * string/bits/string2.h [__USE_BSD]: Likewise.
40026         [__USE_SVID]: Likewise.
40027         * string/bits/string3.h [__USE_BSD]: Likewise.
40028         * string/endian.h [__USE_BSD]: Likewise.
40029         * string/string.h [__USE_SVID]: Likewise.
40030         [__USE_BSD]: Likewise.
40031         * string/strings.h [__USE_BSD]: Likewise.
40032         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40033         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40034         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40035         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40036         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40037         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40038         Likewise.
40039         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40040         Likewise.
40041         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40042         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40043         Likewise.
40044         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40045         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40046         Likewise.
40047         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40048         Likewise.
40049         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40050         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40051         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40052         Likewise.
40053         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40054         Likewise.
40055         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40056         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40057         * termios/termios.h [__USE_BSD]: Likewise.
40058         * time/sys/time.h [__USE_BSD]: Likewise.
40059         * time/time.h [__USE_BSD]: Likewise.
40060         [__USE_SVID]: Likewise.
40062         * Makefile (subdir_targets): Remove subdir_lint.out.
40064         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40065         (do-tst-printf): Likewise.
40066         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40067         $(objpfx)tst-printf.out.
40069         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40071         * Makerules (check-abi-%): Change target to
40072         $(objpfx)check-abi-%.out.
40073         (check-abi target): Update dependencies.
40074         (check-abi-pattern variable): Redirect output of diff to $@.
40075         (check-abi variable): Likewise.
40076         * elf/Makefile (check-abi): Update dependencies.
40078         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40079         unused.
40080         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40081         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40082         subnormal range.
40083         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40084         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40085         value has largest subnormal exponent.
40086         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40087         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40088         * sysdeps/aarch64/soft-fp/sfp-machine.h
40089         (_FP_TININESS_AFTER_ROUNDING): New macro.
40090         * sysdeps/alpha/soft-fp/sfp-machine.h
40091         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40092         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40093         Likewise.
40094         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40095         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40096         * sysdeps/mips/soft-fp/sfp-machine.h
40097         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40098         * sysdeps/powerpc/soft-fp/sfp-machine.h
40099         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40100         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40101         Likewise.
40102         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40103         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40104         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40105         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40106         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40107         Likewise.
40109 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40111         [BZ #16545]
40112         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40113         model 1.
40115 2014-02-12  Richard Henderson  <rth@redhat.com>
40117         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40118         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40119         * sysdeps/unix/sysv/linux/alpha: Move directory from
40120         ports/sysdeps/unix/sysv/linux/alpha.
40121         * README: Update listing for alpha-*-linux-gnu.
40123 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40125         * include/features.h: Update comment documenting feature test
40126         macros.
40127         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40128         _DEFAULT_SOURCE.
40129         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40130         (_SVID_SOURCE): Likewise.
40131         (_DEFAULT_SOURCE): Update description of default features.
40132         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40133         with _GNU_SOURCE.
40134         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40135         (S_ISVTX): Likewise.
40136         * manual/math.texi (Mathematical Constants): Likewise.
40137         * manual/signal.texi (Interrupted Primitives): Likewise.
40138         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40139         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40140         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40141         Don't refer to _SVID_SOURCE in warning text.
40143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40145         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40146         already defined.
40147         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40148         * sysdeps/mips/dl-lookup.c: Remove.
40149         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40151 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40153         [BZ #16447]
40154         * math/auto-libm-test-in: Add testcase for expl.
40155         * math/auto-libm-test-out: Regenerate.
40156         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40157         calculation of unsafe.
40158         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40160 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40162         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40163         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40164         ports/sysdeps/unix/sysv/linux/aarch64.
40165         * README: Update listing for aarch64*-*-linux-gnu.
40167 2014-02-11  Will Newton  <will.newton@linaro.org>
40169         * manual/probes.texi (Mathematical Function Probes): Use
40170         "triggered" instead of "hit".
40172         * manual/probes.texi (Internal Probes): Add documentation
40173         of setjmp, longjmp and longjmp_target probes.
40175         * include/stap-probe.h: Add comment about probe argument
40176         format.
40178         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40179         definition.  (tr_where, tr_freehook, tr_mallochook,
40180         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40182 2014-02-11  David S. Miller  <davem@davemloft.net>
40184         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40185         processing int_tests.
40187 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40189         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40190         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40191         * sysdeps/unix/sysv/linux/mips: Move directory from
40192         ports/sysdeps/unix/sysv/linux/mips.
40193         * README: Update listing for mips-*-linux-gnu and
40194         mips64-*-linux-gnu.
40196 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40198         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40199         * sysdeps/unix/sysv/linux/m68k: Move directory from
40200         ports/sysdeps/unix/sysv/linux/m68k.
40201         * README: Update listing for m68k-*-linux-gnu.
40203 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40205         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40206         * sysdeps/unix/sysv/linux/generic: Move directory from
40207         ports/sysdeps/unix/sysv/linux/generic.
40208         * sysdeps/unix/sysv/linux/tile: Move directory from
40209         ports/sysdeps/unix/sysv/linux/tile.
40210         * README: Update listing for tile*-*-linux-gnu.
40212 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40214         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40215         __builtin_expect.
40216         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40217         * catgets/open_catalog.c (__open_catalog): Likewise.
40218         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40219         * debug/confstr_chk.c: Likewise.
40220         * debug/fread_chk.c (__fread_chk): Likewise.
40221         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40222         * debug/getgroups_chk.c: Likewise.
40223         * debug/mbsnrtowcs_chk.c: Likewise.
40224         * debug/mbsrtowcs_chk.c: Likewise.
40225         * debug/mbstowcs_chk.c: Likewise.
40226         * debug/memcpy_chk.c: Likewise.
40227         * debug/memmove_chk.c: Likewise.
40228         * debug/mempcpy_chk.c: Likewise.
40229         * debug/memset_chk.c: Likewise.
40230         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40231         * debug/strcat_chk.c (__strcat_chk): Likewise.
40232         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40233         * debug/strncat_chk.c (__strncat_chk): Likewise.
40234         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40235         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40236         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40237         * debug/wcpncpy_chk.c: Likewise.
40238         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40239         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40240         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40241         * debug/wcsncpy_chk.c: Likewise.
40242         * debug/wcsnrtombs_chk.c: Likewise.
40243         * debug/wcsrtombs_chk.c: Likewise.
40244         * debug/wcstombs_chk.c: Likewise.
40245         * debug/wmemcpy_chk.c: Likewise.
40246         * debug/wmemmove_chk.c: Likewise.
40247         * debug/wmempcpy_chk.c: Likewise.
40248         * debug/wmemset_chk.c: Likewise.
40249         * dirent/scandirat.c (SCANDIRAT): Likewise.
40250         * dlfcn/dladdr1.c (dladdr1): Likewise.
40251         * dlfcn/dladdr.c (dladdr): Likewise.
40252         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40253         * dlfcn/dlerror.c (__dlerror): Likewise.
40254         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40255         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40256         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40257         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40258         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40259         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40260         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40261         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40262         Likewise.
40263         * elf/dl-conflict.c: Likewise.
40264         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40265         * elf/dl-dst.h: Likewise.
40266         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40267         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40268         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40269         * elf/dl-init.c (call_init, _dl_init): Likewise.
40270         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40271         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40272         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40273         Likewise.
40274         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40275         Likewise.
40276         * elf/dl-minimal.c (__libc_memalign): Likewise.
40277         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40278         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40279         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40280         * elf/dl-sym.c (do_sym): Likewise.
40281         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40282         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40283         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40284         * elf/dl-writev.h (_dl_writev): Likewise.
40285         * elf/ldconfig.c (search_dir): Likewise.
40286         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40287         (dl_main): Likewise.
40288         * elf/setup-vdso.h (setup_vdso): Likewise.
40289         * grp/compat-initgroups.c (compat_call): Likewise.
40290         * grp/fgetgrent.c (fgetgrent): Likewise.
40291         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40292         * grp/putgrent.c (putgrent): Likewise.
40293         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40294         Likewise.
40295         * hurd/hurdinit.c: Likewise.
40296         * iconvdata/8bit-gap.c (struct): Likewise.
40297         * iconvdata/ansi_x3.110.c : Likewise.
40298         * iconvdata/big5.c : Likewise.
40299         * iconvdata/big5hkscs.c : Likewise.
40300         * iconvdata/cp1255.c: Likewise.
40301         * iconvdata/cp1258.c : Likewise.
40302         * iconvdata/cp932.c : Likewise.
40303         * iconvdata/euc-cn.c: Likewise.
40304         * iconvdata/euc-jisx0213.c : Likewise.
40305         * iconvdata/euc-jp.c: Likewise.
40306         * iconvdata/euc-jp-ms.c : Likewise.
40307         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40308         * iconvdata/gb18030.c : Likewise.
40309         * iconvdata/gbbig5.c (const): Likewise.
40310         * iconvdata/gbgbk.c: Likewise.
40311         * iconvdata/gbk.c : Likewise.
40312         * iconvdata/ibm1364.c : Likewise.
40313         * iconvdata/ibm930.c : Likewise.
40314         * iconvdata/ibm932.c: Likewise.
40315         * iconvdata/ibm933.c : Likewise.
40316         * iconvdata/ibm935.c : Likewise.
40317         * iconvdata/ibm937.c : Likewise.
40318         * iconvdata/ibm939.c : Likewise.
40319         * iconvdata/ibm943.c: Likewise.
40320         * iconvdata/iso_11548-1.c: Likewise.
40321         * iconvdata/iso-2022-cn.c : Likewise.
40322         * iconvdata/iso-2022-cn-ext.c : Likewise.
40323         * iconvdata/iso-2022-jp-3.c: Likewise.
40324         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40325         * iconvdata/iso-2022-kr.c : Likewise.
40326         * iconvdata/iso646.c (gconv_end): Likewise.
40327         * iconvdata/iso_6937-2.c : Likewise.
40328         * iconvdata/iso_6937.c : Likewise.
40329         * iconvdata/iso8859-1.c: Likewise.
40330         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40331         * iconvdata/shift_jisx0213.c : Likewise.
40332         * iconvdata/sjis.c : Likewise.
40333         * iconvdata/t.61.c : Likewise.
40334         * iconvdata/tcvn5712-1.c : Likewise.
40335         * iconvdata/tscii.c: Likewise.
40336         * iconvdata/uhc.c : Likewise.
40337         * iconvdata/unicode.c (gconv_end): Likewise.
40338         * iconvdata/utf-16.c (gconv_end): Likewise.
40339         * iconvdata/utf-32.c (gconv_end): Likewise.
40340         * iconvdata/utf-7.c (base64): Likewise.
40341         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40342         * iconv/gconv_close.c (__gconv_close): Likewise.
40343         * iconv/gconv_open.c (__gconv_open): Likewise.
40344         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40345         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40346         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40347         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40348         (ucs4le_internal_loop_single): Likewise.
40349         * iconv/iconv.c (iconv): Likewise.
40350         * iconv/iconv_close.c: Likewise.
40351         * iconv/loop.c (SINGLE): Likewise.
40352         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40353         * include/atomic.h: Likewise.
40354         * inet/inet6_option.c (option_alloc): Likewise.
40355         * intl/bindtextdom.c (set_binding_values): Likewise.
40356         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40357         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40358         * intl/localealias.c (read_alias_file): Likewise.
40359         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40360         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40361         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40362         * libio/fmemopen.c (fmemopen): Likewise.
40363         * libio/iofgets.c (_IO_fgets): Likewise.
40364         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40365         * libio/iofgetws.c (fgetws): Likewise.
40366         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40367         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40368         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40369         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40370         * locale/findlocale.c (_nl_find_locale): Likewise.
40371         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40372         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40373         Likewise.
40374         * locale/setlocale.c (setlocale): Likewise.
40375         * login/programs/pt_chown.c (main): Likewise.
40376         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40377         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40378         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40379         (mmap, mmap64, mremap, munmap): Likewise.
40380         * math/e_exp2l.c: Likewise.
40381         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40382         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40383         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40384         * math/s_catan.c (__catan): Likewise.
40385         * math/s_catanf.c (__catanf): Likewise.
40386         * math/s_catanh.c (__catanh): Likewise.
40387         * math/s_catanhf.c (__catanhf): Likewise.
40388         * math/s_catanhl.c (__catanhl): Likewise.
40389         * math/s_catanl.c (__catanl): Likewise.
40390         * math/s_ccosh.c (__ccosh): Likewise.
40391         * math/s_ccoshf.c (__ccoshf): Likewise.
40392         * math/s_ccoshl.c (__ccoshl): Likewise.
40393         * math/s_cexp.c (__cexp): Likewise.
40394         * math/s_cexpf.c (__cexpf): Likewise.
40395         * math/s_cexpl.c (__cexpl): Likewise.
40396         * math/s_clog10.c (__clog10): Likewise.
40397         * math/s_clog10f.c (__clog10f): Likewise.
40398         * math/s_clog10l.c (__clog10l): Likewise.
40399         * math/s_clog.c (__clog): Likewise.
40400         * math/s_clogf.c (__clogf): Likewise.
40401         * math/s_clogl.c (__clogl): Likewise.
40402         * math/s_csin.c (__csin): Likewise.
40403         * math/s_csinf.c (__csinf): Likewise.
40404         * math/s_csinh.c (__csinh): Likewise.
40405         * math/s_csinhf.c (__csinhf): Likewise.
40406         * math/s_csinhl.c (__csinhl): Likewise.
40407         * math/s_csinl.c (__csinl): Likewise.
40408         * math/s_csqrt.c (__csqrt): Likewise.
40409         * math/s_csqrtf.c (__csqrtf): Likewise.
40410         * math/s_csqrtl.c (__csqrtl): Likewise.
40411         * math/s_ctan.c (__ctan): Likewise.
40412         * math/s_ctanf.c (__ctanf): Likewise.
40413         * math/s_ctanh.c (__ctanh): Likewise.
40414         * math/s_ctanhf.c (__ctanhf): Likewise.
40415         * math/s_ctanhl.c (__ctanhl): Likewise.
40416         * math/s_ctanl.c (__ctanl): Likewise.
40417         * math/w_pow.c: Likewise.
40418         * math/w_powf.c: Likewise.
40419         * math/w_powl.c: Likewise.
40420         * math/w_scalb.c (sysv_scalb): Likewise.
40421         * math/w_scalbf.c (sysv_scalbf): Likewise.
40422         * math/w_scalbl.c (sysv_scalbl): Likewise.
40423         * misc/error.c (error_tail): Likewise.
40424         * misc/pselect.c (__pselect): Likewise.
40425         * nis/nis_callback.c (__nis_create_callback): Likewise.
40426         * nis/nis_call.c (__nisfind_server): Likewise.
40427         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40428         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40429         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40430         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40431         * nis/nis_lookup.c (nis_lookup): Likewise.
40432         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40433         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40434         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40435         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40436         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40437         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40438         * nis/nss_compat/compat-initgroups.c (add_group)
40439         (internal_getgrent_r): Likewise.
40440         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40441         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40442         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40443         (internal_getspnam_r): Likewise.
40444         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40445         (_nss_nis_getaliasbyname_r): Likewise.
40446         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40447         (_nss_nis_getntohost_r): Likewise.
40448         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40449         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40450         (_nss_nis_getgrgid_r): Likewise.
40451         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40452         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40453         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40454         (_nss_nis_gethostbyname4_r): Likewise.
40455         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40456         (initgroups_netid): Likewise.
40457         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40458         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40459         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40460         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40461         (_nss_nis_getprotobynumber_r): Likewise.
40462         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40463         (_nss_nis_getsecretkey): Likewise.
40464         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40465         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40466         (_nss_nis_getpwuid_r): Likewise.
40467         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40468         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40469         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40470         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40471         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40472         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40473         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40474         Likewise.
40475         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40476         (_nss_nisplus_getntohost_r): Likewise.
40477         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40478         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40479         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40480         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40481         Likewise.
40482         * nis/nss_nisplus/nisplus-initgroups.c
40483         (_nss_nisplus_initgroups_dyn): Likewise.
40484         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40485         (_nss_nisplus_getnetbyaddr_r): Likewise.
40486         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40487         (_nss_nisplus_getprotobynumber_r): Likewise.
40488         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40489         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40490         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40491         Likewise.
40492         * nis/nss_nisplus/nisplus-service.c
40493         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40494         (_nss_nisplus_getservbyport_r): Likewise.
40495         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40496         (_nss_nisplus_getspnam_r): Likewise.
40497         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40498         Likewise.
40499         * nscd/aicache.c (addhstaiX): Likewise.
40500         * nscd/cache.c (cache_search, prune_cache): Likewise.
40501         * nscd/connections.c (register_traced_file, send_ro_fd)
40502         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40503         (main_loop_epoll): Likewise.
40504         * nscd/grpcache.c (addgrbyX): Likewise.
40505         * nscd/hstcache.c (addhstbyX): Likewise.
40506         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40507         * nscd/mem.c (gc, mempool_alloc): Likewise.
40508         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40509         (addinnetgrX): Likewise.
40510         * nscd/nscd-client.h (__nscd_acquire_maplock)
40511         (__nscd_drop_map_ref): Likewise.
40512         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40513         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40514         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40515         Likewise.
40516         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40517         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40518         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40519         (__nscd_get_map_ref): Likewise.
40520         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40521         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40522         Likewise.
40523         * nscd/pwdcache.c (addpwbyX): Likewise.
40524         * nscd/selinux.c (preserve_capabilities): Likewise.
40525         * nscd/servicescache.c (addservbyX): Likewise.
40526         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40527         * posix/fnmatch.c (fnmatch): Likewise.
40528         * posix/getopt.c (_getopt_internal_r): Likewise.
40529         * posix/glob.c (glob, glob_in_dir): Likewise.
40530         * posix/wordexp.c (exec_comm_child): Likewise.
40531         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40532         (getanswer_r, gaih_getanswer_slice): Likewise.
40533         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40534         * resolv/res_init.c: Likewise.
40535         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40536         * resolv/res_query.c (__libc_res_nquery): Likewise.
40537         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40538         Likewise.
40539         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40540         * stdio-common/perror.c (perror): Likewise.
40541         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40542         * stdio-common/tmpnam.c (tmpnam): Likewise.
40543         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40544         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40545         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40546         Likewise.
40547         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40548         * stdlib/putenv.c (putenv): Likewise.
40549         * stdlib/setenv.c (__add_to_environ): Likewise.
40550         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40551         * stdlib/strtol_l.c (INTERNAL): Likewise.
40552         * string/memmem.c (memmem): Likewise.
40553         * string/strerror.c (strerror): Likewise.
40554         * string/strnlen.c (__strnlen): Likewise.
40555         * string/test-memmem.c (simple_memmem): Likewise.
40556         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40557         * sunrpc/pm_getport.c (__get_socket): Likewise.
40558         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40559         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40560         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40561         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40562         Likewise.
40563         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40564         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40565         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40566         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40567         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40568         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40569         Likewise.
40570         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40571         Likewise.
40572         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40573         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40574         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40575         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40576         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40578         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40580         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40581         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40582         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40583         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40584         Likewise.
40585         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40586         Likewise.
40587         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40588         Likewise.
40589         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40591         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40593         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40594         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40595         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40598         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40599         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40601         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40602         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40604         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40605         Likewise.
40606         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40607         Likewise.
40608         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40609         Likewise.
40610         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40611         Likewise.
40612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40614         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40615         Likewise.
40616         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40617         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40618         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40619         * sysdeps/posix/sleep.c: Likewise.
40620         * sysdeps/posix/tempname.c: Likewise.
40621         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40622         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40623         Likewise.
40624         * sysdeps/powerpc/powerpc32/dl-machine.h
40625         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40626         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40628         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40629         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40630         Likewise.
40631         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40632         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40633         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40634         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40635         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40636         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40637         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40638         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40639         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40640         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40641         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40642         (elf_machine_lazy_rel): Likewise.
40643         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40645         (elf_machine_lazy_rel): Likewise.
40646         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40647         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40648         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40649         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40650         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40651         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40652         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40653         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40654         Likewise.
40655         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40656         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40657         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40658         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40659         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40660         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40661         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40662         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40663         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40664         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40665         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40666         Likewise.
40667         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40668         (__posix_fallocate64_l64): Likewise.
40669         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40670         (posix_fallocate): Likewise.
40671         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40672         Likewise.
40673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40674         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40675         (getifaddrs_internal): Likewise.
40676         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40677         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40678         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40679         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40680         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40681         (__posix_fallocate64_l64): Likewise.
40682         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40683         Likewise.
40684         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40685         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40686         (__get_clockfreq): Likewise.
40687         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40688         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40689         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40692         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40693         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40694         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40695         Likewise.
40696         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40697         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40698         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40699         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40700         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40701         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40702         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40703         Likewise.
40704         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40705         (posix_fallocate): Likewise.
40706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40707         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40708         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40709         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40710         (elf_machine_rela, elf_machine_rela_relative)
40711         (elf_machine_lazy_rel): Likewise.
40712         * time/asctime.c (asctime_internal): Likewise.
40713         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40714         * time/tzset.c (__tzset_parse_tz): Likewise.
40715         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40716         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40717         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40718         * wcsmbs/wcsmbsload.h: Likewise.
40720         [BZ #15894]
40721         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40723         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40724         (arena_get2): Remove THREAD_STATS conditionals.
40725         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40726         (__malloc_stats, int): Likewise.
40728 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40730         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40731         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40733         * manual/setjmp.texi: Fix typos/grammar errors.
40735         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40736         Only return early when n is <= 0.  Delete unused return statement.
40738         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40739         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40740         * debug/tst-longjmp_chk3.c: New file.
40742         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40743         (test_main): Replace code with set_fortify_handler call.
40744         * debug/test-strcpy_chk.c: Likewise.
40745         * debug/tst-chk1.c: Likewise.
40746         * debug/tst-longjmp_chk.c: Likewise.
40747         * test-skeleton.c: Include fcntl.h & paths.h
40748         (set_fortify_handler): Define.
40750         * debug/tst-longjmp_chk.c: Add header comment and include
40751         ../test-skeleton.c.
40752         (do_test): Mark static.
40753         (TEST_FUNCTION): Define.
40755         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40756         (IP_PMTUDISC_INTERFACE): Likewise.
40757         (IP_MULTICAST_IF): Likewise.
40758         (IP_MULTICAST_TTL): Likewise.
40759         (IP_MULTICAST_LOOP): Likewise.
40760         (IP_ADD_MEMBERSHIP): Likewise.
40761         (IP_DROP_MEMBERSHIP): Likewise.
40762         (IP_UNBLOCK_SOURCE): Likewise.
40763         (IP_BLOCK_SOURCE): Likewise.
40764         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40765         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40766         (IP_MSFILTER): Likewise.
40767         (MCAST_JOIN_GROUP): Likewise.
40768         (MCAST_BLOCK_SOURCE): Likewise.
40769         (MCAST_UNBLOCK_SOURCE): Likewise.
40770         (MCAST_LEAVE_GROUP): Likewise.
40771         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40772         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40773         (MCAST_MSFILTER): Likewise.
40774         (IP_MULTICAST_ALL): Likewise.
40775         (IP_UNICAST_IF): Likewise.
40777         * timezone/Makefile: Delete $(have-ksh) check.
40778         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40779         * timezone/tzselect.ksh: Add +x mode bits.
40781         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40782         (ANON_INODE_FS_MAGIC): Likewise.
40783         (BDEVFS_MAGIC): Likewise.
40784         (BINFMTFS_MAGIC): Likewise.
40785         (BTRFS_TEST_MAGIC): Likewise.
40786         (CRAMFS_MAGIC_WEND): Likewise.
40787         (DEBUGFS_MAGIC): Likewise.
40788         (ECRYPTFS_SUPER_MAGIC): Likewise.
40789         (EXT3_SUPER_MAGIC): Likewise.
40790         (EXT4_SUPER_MAGIC): Likewise.
40791         (FUTEXFS_SUPER_MAGIC): Likewise.
40792         (HOSTFS_SUPER_MAGIC): Likewise.
40793         (HUGETLBFS_MAGIC): Likewise.
40794         (MINIX3_SUPER_MAGIC): Likewise.
40795         (MTD_INODE_FS_MAGIC): Likewise.
40796         (NILFS_SUPER_MAGIC): Likewise.
40797         (OPENPROM_SUPER_MAGIC): Likewise.
40798         (PIPEFS_MAGIC): Likewise.
40799         (PSTOREFS_MAGIC): Likewise.
40800         (QNX6_SUPER_MAGIC): Likewise.
40801         (RAMFS_MAGIC): Likewise.
40802         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40803         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40804         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40805         (SECURITYFS_MAGIC): Likewise.
40806         (SELINUX_MAGIC): Likewise.
40807         (SMACK_MAGIC): Likewise.
40808         (SOCKFS_MAGIC): Likewise.
40809         (SQUASHFS_MAGIC): Likewise.
40810         (STACK_END_MAGIC): Likewise.
40811         (TMPFS_MAGIC): Likewise.
40812         (USBDEVICE_SUPER_MAGIC): Likewise.
40813         (V9FS_MAGIC): Likewise.
40814         (XENFS_SUPER_MAGIC): Likewise.
40815         (CRAMFS_MAGIC): Fix typo in comment.
40816         (EXT2_SUPER_MAGIC): Update comment.
40817         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40819 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40821         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40822         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40823         * sysdeps/unix/sysv/linux/arm: Move directory from
40824         ports/sysdeps/unix/sysv/linux/arm.
40825         * README: Update listing for arm-*-linux-gnueabi.
40827         * README: Remove mention of am33.
40829 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40831         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40832         than the comma operator, to avoid "rhs of comma has no effect"
40833         compiler warnings.
40834         (__sigfillset, __sigandset, __sigorset): Likewise.
40835         * include/signal.h (__sigemptyset): Likewise.
40836         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40838 2014-02-07  Allan McRae  <allan@archlinux.org>
40840         * version.h (RELEASE): Set to "development".
40841         (VERSION): Set to "2.19.90"
40842         * NEWS: Add 2.20 section.
40844 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40846         [BZ #16529]
40847         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40849 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         * manual/contrib.texi: Update entry for Carlos O'Donell,
40852         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40854 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40856         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40858         * sysdeps/unix/sysv/linux/kernel-features.h
40859         [__LINUX_KERNEL_VERSION >= 0x020621]
40860         (__ASSUME_PROC_PID_TASK_COMM): Define.
40862 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40864         [BZ #16398]
40865         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40866         conversion when destination buffer does not have enough space.
40867         * libio/tst-ftell-partial-wide.c: New test case.
40868         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40870         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40871         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40872         Leonard and Allan McRae.
40874 2014-02-04  David S. Miller  <davem@davemloft.net>
40876         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40877         32-bit.
40879 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40882         New file
40883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40884         New file
40885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40886         New file.
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40888         New file.
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40890         New file.
40891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40892         New file.
40893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40894         New file.
40895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40896         New file.
40897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40898         New file.
40899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40900         New file.
40901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40902         New file.
40903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40904         New file.
40905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40906         New file.
40908 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40910         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40911         * shlib-versions: Likewise.
40913 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40916         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40917         (abilist-pattern): New variable, set to %-le.abilist.
40919         * Makerules (abilist-pattern): New variable.
40920         (vpath): Use $(abilist-pattern) in place of %.abilist.
40921         (check-abi-% pattern rule): Likewise.
40922         (check-abi, update-abi): Likewise.
40924 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40928 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40930         * manual/startup.texi: Add next, previous, and top entries for
40931         the `Program Arguments' and `Environment Variables' nodes.
40933 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40935         * manual/macros.texi: Add comments before MTASC-safety macros.
40937         * manual/users.texi: Document MTASC-safety properties.
40939         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40940         (pthread_getspecific, pthread_setspecific): Format with
40941         @deftypefun, and add @safety note.
40942         * manual/signal.texi: Move comments that analyze the above
40943         functions to their home place.
40945 2014-02-03  Allan McRae  <allan@archlinux.org>
40947         * po/sl.po: Update Slovenian translation from translation project.
40949 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40951         * manual/time.texi (timegm): Add missing blank after @c.
40952         Reported by Joseph Myers <joseph@codesourcery.com>.
40954 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40956         * manual/check-safety.sh: New.
40957         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40959         * manual/terminal.texi: Document MTASC-safety properties.
40961         * manual/filesys.texi: Document MTASC-safety properties.
40963         * manual/errno.texi: Document MTASC-safety properties.
40965         * manual/intro.texi: Document safety identifiers and
40966         conditionals.
40968         * manual/string.texi (wcstok): Fix prototype.
40969         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40971         * manual/time.texi: Document MTASC-safety properties.
40973         * manual/string.texi: Document MTASC-safety properties.
40975         * manual/threads.texi: Document MTASC-safety properties.
40977         * manual/stdio.texi: Document MTASC-safety properties.
40979         * manual/syslog.texi: Document MTASC-safety properties.
40981         * manual/sysinfo.texi: Document MTASC-safety properties.
40983         * manual/startup.texi: Document MTASC-safety properties.
40985         * manual/socket.texi: Document MTASC-safety properties.
40987         * manual/signal.texi: Document MTASC-safety properties.
40989 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40991         * manual/setjmp.texi: Document MTASC-safety properties.
40993         * manual/search.texi: Document MTASC-safety properties.
40995         * manual/resource.texi: Document MTASC-safety properties.
40997         * manual/process.texi: Document MTASC-safety properties.
40999         * manual/platform.texi: Document MTASC-safety properties.
41001         * manual/pipe.texi: Document MTASC-safety properties.
41003         * manual/pattern.texi: Document MTASC-safety properties.
41005         * manual/message.texi: Document MTASC-safety properties.
41007         [BZ #12751]
41008         * manual/memory.texi: Document MTASC-safety properties.
41010         * manual/math.texi: Document MTASC-safety properties.
41012         * manual/locale.texi: Document MTASC-safety properties.
41014         * manual/llio.texi: Document MTASC-safety properties.
41016         * manual/libdl.texi: New.
41018         * manual/lang.texi: Document MTASC-safety properties.
41020         * manual/job.texi: Document MTASC-safety properties.
41022         * manual/getopt.texi: Document MTASC-safety properties.
41024         * manual/ctype.texi: Document MTASC-safety properties.
41026 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41028         [BZ #16046]
41029         * csu/libc-tls.c (static_map): Remove variable.
41030         (__libc_setup_tls): Use main executable's link map for TLS data.
41031         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41032         casing for LM_ID_BASE and GL(dl_nns).
41033         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41034         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41035         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41036         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41037         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41038         member.
41039         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41040         l_phnum members.
41042 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41044         * manual/debug.texi: Document MTASC-safety properties.
41046 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41048         [BZ #16510]
41049         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41050         of __x86_64__ when disabling x87 inline functions.
41052 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41054         * manual/charset.texi: Document MTASC-safety properties.
41056         * manual/crypt.texi: Document MTASC-safety properties.
41058         * manual/conf.texi: Document MTASC-safety properties.
41060         * manual/arith.texi: Document MTASC-safety properties.
41062         * manual/argp.texi: Document MTASC-safety properties.
41064         * manual/macros.texi: Introduce macros to document multi
41065         thread, asynchronous signal and asynchronous cancellation
41066         safety properties.
41067         * manual/intro.texi: Introduce the properties themselves.
41069 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41071         * sysdeps/sh/sh4/Makefile: New file.
41073 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41075         * math/gen-libm-test.pl ($srcdir): New variable.
41076         ($auto_input): Use it.
41078 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41080         [BZ #16506]
41081         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41082         access beyond array bounds when parsing netgroups file.
41084         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41085         the old buffer before realloc.
41087 2014-01-27  Allan McRae  <allan@archlinux.org>
41089         * po/fr.po: Update French translation from translation project.
41091 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41093         * sysdeps/sh/libm-test-ulps: Regenerate.
41095 2014-01-24  David S. Miller  <davem@davemloft.net>
41097         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41099 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41101         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41102         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41104 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41106         [BZ #16474]
41107         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41108         string pointers after reallocation.
41110 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41112         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41113         __SH4A__ instead of __SH_FPU_ANY__.
41115 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41117         * sysdeps/sh/fpu_control.h: New file.
41118         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41119         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41120         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41121         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41122         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41123         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41124         * sysdeps/sh/sys/ucontext.h: Remove.
41125         * sysdeps/sh/sys: Remove directory.
41127 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41129         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41130         s390/sys/ucontext.h.
41131         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41134 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41136         [BZ #15605]
41137         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41139 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41141         [BZ#16431]
41142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41143         Adjust the vDSO correctly for internal calls.
41144         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41146 2014-01-20  Allan McRae  <allan@archlinux.org>
41148         * po/ca.po: Update Catalan translation from translation project.
41150 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41152         * sysdeps/s390/sotruss-lib.c: New file.
41154 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41156         [BZ#16430]
41157         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41158         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41159         local calls issues by not having a PLT stub required for IFUNC calls.
41160         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41162 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41164         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41165         * math/test-fpucw-static.c: Likewise.
41167 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41169         [BZ #16453]
41170         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41172 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41174         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41175         implementation for powerpc.
41177 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41179         [BZ #14782]
41180         * sysdeps/posix/system.c (__libc_system): Do not enable
41181         asynchronous cancellation.
41183 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41185         [BZ #16427]
41186         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41187         handling only for numbers special also in the IEEE case.
41189 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41193 2014-01-11  Allan McRae  <allan@archlinux.org>
41195         * po/bg.po: Update Bulgarian translation from translation project.
41197         * po/de.po: Update German translation from translation project.
41199 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41201         * sysdeps/generic/gcc-compat.h: New file.
41203 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41205         * benchtests/asin-inputs: Correct slow inputs.
41206         * benchtests/acos-inputs: Likewise.
41208 2014-01-10  Allan McRae  <allan@archlinux.org>
41210         * po:sv.po: Update Swedish translation from translation project.
41212         * po/vi.po: Update Vietnamese translation from translation project.
41214         * po/eo.po: Update Esperanto translation from translation project.
41216         * po/cs.po: Update Czech translation from translation project.
41218         * po/nl.po: Update Dutch translation from translation project.
41220         * po/pl.po: Update Polish translation from translation project.
41222         * po/ru.po: Update Russian translation from translation project.
41224         * po/uk.po: Update Ukrainian translation from translation project.
41226 2014-01-08  Brooks Moses  <bmoses@google.com>
41228         * elf/dl-load.c: Fix comment typo.
41230 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41232         * po/header.pot: Rename to...
41233         * po/pot.header: ... this.
41234         * po/Makefile: Use pot.header.
41236 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41237             Maxim Kuvyrkov  <maxim@kugelworks.com>
41239         [BZ #16394]
41240         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41241         SRC and DEST against LEN.
41243 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41245         [BZ #16414]
41246         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41247         implementation.
41248         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41250 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41254 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41256         [BZ #16408]
41257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41258         for large positive arguments.
41260 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41262         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41264         * math/auto-libm-test-in: Mark various tests with
41265         xfail-rounding:ldbl-128ibm.
41266         * math/auto-libm-test-out: Regenerated.
41268         [BZ #16407]
41269         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41270         Increase overflow threshold.
41272 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41274         [BZ #14286]
41275         * stdio-common/vfprintf.c: Check for integer overflow.
41277 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41279         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41280         the first argument and return value of __tls_get_addr_internal.
41282 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41284         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41285         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41287 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41289         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41290         * sysdeps/s390/rtld-global-offsets.sym: New file.
41291         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41292         GLIBC_2.19 symbol.
41293         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41294         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41295         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41296         ... this.
41297         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41299         ... this.
41300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41301         Regenerate.
41302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41303         Regenerate.
41304         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41305         halfs of GPRs for high_gprs contexts.
41306         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41307         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41308         field.
41309         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41310         uc_flags field.
41311         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41312         64 bit versions:
41313         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41314         for high GPRs (uc_high_gprs) and for future extensions
41315         (__reserved).
41316         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41317         for future extensions (__reserved).
41318         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41319         64 bit versions:
41320         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41321         SC_HIGHGPRS offset definition.
41322         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41323         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41325         * Versions.def: Add GLIBC_2.19 for libpthread.
41326         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41327         siglongjmp for libpthread with GLIBC_2.19 symver.
41328         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41329         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41330         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41331         * sysdeps/s390/__longjmp.c: New file.
41332         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41333         * sysdeps/s390/longjmp.c: New file.
41334         * sysdeps/s390/setjmp.S: New file.
41335         * sysdeps/s390/sigjmp.S: New file.
41336         * sysdeps/s390/v1-longjmp.c: New file.
41337         * sysdeps/s390/v1-setjmp.h: New file.
41338         * sysdeps/s390/v1-sigjmp.c: New file.
41339         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41340         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41341         GLIBC_2.19 version.
41342         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41343         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41344         versioned symbols for ____longjmp_chk.
41345         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41346         Likewise.
41347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41348         Regenerate.
41349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41350         Regenerate.
41351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41352         Regenerate.
41353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41354         Regenerate.
41355         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41356         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41357         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41358         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41359         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41360         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41361         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41362         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41363         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41364         * sysdeps/s390/rtld-__longjmp.c: New file.
41365         * sysdeps/s390/rtld-setjmp.S: New file.
41367 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41369         [BZ #16400]
41370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41371         Return -__logl (x) for small positive arguments without evaluating
41372         a polynomial.
41374 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41376         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41377         Rename to ...
41378         (__ptrace_peeksiginfo_args): ... this.
41379         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41380         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41381         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41383 2014-01-06  Allan McRae  <allan@archlinux.org>
41385         * inet/netinet/in.h: Fix typo in comment.
41387 2014-01-05  Andreas Jaeger  <aj@suse.de>
41389         * sysdeps/i386/fpu/libm-test-ulps: Update.
41391 2014-01-05  Allan McRae  <allan@archlinux.org>
41393         * po/libc.pot: Regenerated.
41395         * malloc/memusagestat.c: Fix gettext call formatting.
41397 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41399         * nscd/nscd.c: Improve usage() output.
41401 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41403         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41404         * sysdeps/unix/sysv/linux/configure: Regenerated.
41405         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41406         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41408 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41410         [BZ #16390]
41411         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41412         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41414 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41416         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41417         extra tokens at end of #undef directive.
41418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41419         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41420         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41422 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41424         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41426         * math/auto-libm-test-in: Mark various tests with
41427         xfail-rounding:ldbl-128ibm.
41428         * math/auto-libm-test-out: Regenerated.
41430 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41432         [BZ #16386]
41433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41434         numbers with subnormal high part when calculating exponent.
41436         [BZ #16385]
41437         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41438         fabs.
41440         [BZ #16384]
41441         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41442         M_LN2l.
41443         (__ieee754_acoshl): Use __log1pl not __log1p.
41445 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41447         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41448         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41449         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41450         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41451         (reused_arena, arena_get2): Convert to GNU style.
41452         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41453         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41454         (memalign_check, __malloc_set_state): Likewise.
41455         * malloc/mallocbug.c (main): Likewise.
41456         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41457         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41458         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41459         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41460         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41461         (__posix_memalign, malloc_info): Likewise.
41462         * malloc/malloc.h: Likewise.
41463         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41464         (mallochook, memalignhook, reallochook, mabort): Likewise.
41465         * malloc/mcheck.h: Likewise.
41466         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41467         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41468         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41469         * malloc/morecore.c (__default_morecore): Likewise.
41470         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41471         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41472         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41473         (print_and_abort): Likewise.
41474         * malloc/obstack.h: Likewise.
41475         * malloc/set-freeres.c (__libc_freeres): Likewise.
41476         * malloc/tst-mallocstate.c (main): Likewise.
41477         * malloc/tst-mtrace.c (main): Likewise.
41478         * malloc/tst-realloc.c (do_test): Likewise.
41480 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41482         [BZ #16366]
41483         * nscd/netgroupcache.c (do_notfound): New function.
41484         (addgetnetgrentX): Use it.
41486         [BZ # 16365]
41487         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41488         NSS_STATUS_NOTFOUND.
41490 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41492         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41495 2014-01-01  Allan McRae  <allan@archlinux.org>
41497         * scripts/update-copyrights: Update configure input file suffix.
41499         * NEWS: Update copyright year.
41500         * catgets/gencat.c: Likewise.
41501         * csu/version.c: Likewise.
41502         * debug/catchsegv.sh: Likewise.
41503         * debug/pcprofiledump.c: Likewise.
41504         * debug/xtrace.sh: Likewise.
41505         * elf/ldconfig.c: Likewise.
41506         * elf/ldd.bash.in: Likewise.
41507         * elf/pldd.c: Likewise.
41508         * elf/sotruss.ksh: Likewise.
41509         * elf/sprof.c: Likewise.
41510         * iconv/iconv_prog.c: Likewise.
41511         * iconv/iconvconfig.c: Likewise.
41512         * locale/programs/locale.c: Likewise.
41513         * locale/programs/localedef.c: Likewise.
41514         * login/programs/pt_chown.c: Likewise.
41515         * malloc/memusage.sh: Likewise.
41516         * malloc/memusagestat.c: Likewise.
41517         * malloc/mtrace.pl: Likewise.
41518         * manual/libc.texinfo: Likewise.
41519         * nscd/nscd.c: Likewise.
41520         * nss/getent.c: Likewise.
41521         * nss/makedb.c: Likewise.
41522         * posix/getconf.c: Likewise.
41523         * scripts/test-installation.pl: Likewise.
41525         * All files with FSF copyright notices: Update copyright dates
41526         using scripts/update-copyrights.
41527         * intl/plural.c: Regenerated.
41528         * locale/programs/charmap-kw.h: Likewise.
41529         * locale/programs/locfile-kw.h: Likewise.
41531 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41533         * sysdeps/unix/sysv/linux/configure: Regenerated.
41534         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41535         the linux/fanotify.h header.
41536         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41537         HAVE_LINUX_FANOTIFY_H is defined.
41539 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41541         * benchtests/cos-inputs: New inputs.
41542         * benchtests/sin-inputs: Likewise.
41544         * benchtests/atan-inputs: New inputs. Fix name of multiple
41545         precision fallback inputs.
41547         * benchtests/atanh-inputs: New inputs.
41548         * benchtests/tanh-inputs: Likewise.
41550         * benchtests/acosh-inputs: New inputs.
41551         * benchtests/asinh-inputs: Likewise.
41553         * benchtests/cosh-inputs: New inputs.
41554         * benchtests/sinh-inputs: Likewise.
41556         * benchtests/acos-inputs: Add more inputs.
41557         * benchtests/asin-inputs: Likewise.
41559 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41561         [BZ #16375]
41562         * manual/arith.texi: Fix spelling.
41563         * manual/charset.texi: Likewise.
41564         * manual/errno.texi: Likewise.
41565         * manual/filesys.texi: Likewise.
41566         * manual/lang.texi: Likewise.
41567         * manual/llio.texi: Likewise.
41568         * manual/locale.texi: Likewise.
41569         * manual/message.texi: Likewise.
41570         * manual/resource.texi: Likewise.
41571         * manual/search.texi: Likewise.
41572         * manual/setjmp.texi: Likewise.
41573         * manual/stdio.texi: Likewise.
41574         * manual/string.texi: Likewise.
41575         * manual/sysinfo.texi: Likewise.
41576         * manual/time.texi: Likewise.
41578 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41580         * po/sl.po: New file.
41582 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41584         * .gitignore: Add core/.gdbinit/.gdb_history.
41586 2013-12-27  Allan McRae  <allan@archlinux.org>
41588         [BZ #16369]
41589         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41590         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41592 2013-12-24  Brooks Moses  <bmoses@google.com>
41594         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41595         all compilers that claim C++98 compliance, not just GCC.
41596         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41597         Likewise.
41599 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41601         * NEWS: Restore accidentally deleted bug-fix entries.
41603 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41604             Ondřej Bílka  <neleai@seznam.cz>
41606         [BZ #15073]
41607         * malloc/malloc.c (_int_free): Perform sanity check only if we
41608         have_lock.
41610 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41612         [BZ #12986]
41613         * manual/stdio.texi (String Input Conversions): Clarify that character
41614         classes are not supported.
41616 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41620 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41622         [BZ #16337]
41623         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41624         Calculate results for small negative arguments directly rather
41625         than using reflection formula with special underflow handling.
41627         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41628         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41629         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41630         (fchflags): Likewise.
41631         (revoke): Likewise.
41632         (setlogin): Likewise.
41633         (sigaltstack): Likewise.
41634         (wait4): Likewise.
41635         (sigblock): Remove.
41636         (sigsetmask): Likewise.
41637         (wait3): Likewise.
41638         (waitpid): Likewise.
41639         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41640         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41641         file.
41642         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41643         * sysdeps/unix/bsd/Makefile: ... here.
41644         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41645         * sysdeps/unix/bsd/Versions: ... here.
41646         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41647         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41648         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41649         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41650         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41651         * sysdeps/unix/bsd/sigblock.c: ... here.
41652         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41653         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41654         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41655         * sysdeps/unix/bsd/sigvec.c: ... here.
41656         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41657         * sysdeps/unix/bsd/tcdrain.c: ... here.
41658         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41659         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41660         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41661         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41662         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41663         * sysdeps/unix/bsd/wait.c: ... here.
41664         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41665         * sysdeps/unix/bsd/wait3.c: ... here.
41666         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41667         * sysdeps/unix/bsd/waitpid.c: ... here.
41669 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41671         [BZ #16356]
41672         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41673         round-to-nearest for [!USE_AS_EXPM1L].
41674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41675         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41676         more tests of exp and exp10.  Expect some exp10 tests to miss
41677         exceptions or fail in directed rounding modes.
41678         * math/auto-libm-test-out: Regenerated.
41679         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41680         (exp10_test_tonearest): New function.
41681         (exp10_towardzero_test_data): New array.
41682         (exp10_test_towardzero): New function.
41683         (exp10_downward_test_data): New array.
41684         (exp10_test_downward): New function.
41685         (exp10_upward_test_data): New array.
41686         (exp10_test_upward): New function.
41687         (main): Call the new functions.
41688         * sysdeps/i386/fpu/libm-test-ulps: Update.
41689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41691 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41693         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41694         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41695         * math/auto-libm-test-out: Regenerated.
41696         * math/libm-test.inc (acosh_test_data): Add more tests.
41697         (atanh_test_data): Likewise.
41698         (ceil_test_data): Likewise.
41699         (copysign_test_data): Likewise.
41700         * sysdeps/i386/fpu/libm-test-ulps: Update.
41701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41703         * timezone/checktab.awk: Update from tzcode 2013i.
41704         * timezone/private.h: Likewise.
41705         * timezone/scheck.c: Likewise.
41706         * timezone/tzfile.h: Likewise.
41707         * timezone/tzselect.ksh: Likewise.
41708         * timezone/zdump.c: Likewise.
41709         * timezone/zic.c: Likewise.
41711         * math/auto-libm-test-in: Add tests of cpow.
41712         * math/auto-libm-test-out: Regenerated.
41713         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41714         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41715         mpc_cc_c.
41716         (func_calc_desc): Add mpc_cc_c union field.
41717         (test_functions): Add cpow.
41718         (special_fill_2pi): New function.
41719         (special_real_inputs): Add 2pi.
41720         (calc_generic_results): Handle mpc_cc_c.
41721         * sysdeps/i386/fpu/libm-test-ulps: Update.
41722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41724         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41725         csqrt, ctan and ctanh.
41726         * math/auto-libm-test-out: Regenerated.
41727         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41728         (TEST_COND_x86): Likewise.
41729         (ccos_test_data): Use AUTO_TESTS_c_c.
41730         (ccosh_test_data): Likewise.
41731         (cexp_test_data): Likewise.
41732         (clog_test_data): Likewise.
41733         (csqrt_test_data): Likewise.
41734         (ctan_test_data): Likewise.
41735         (ctan_tonearest_test_data): Likewise.
41736         (ctan_towardzero_test_data): Likewise.
41737         (ctan_downward_test_data): Likewise.
41738         (ctan_upward_test_data): Likewise.
41739         (ctanh_test_data): Likewise.
41740         (ctanh_tonearest_test_data): Likewise.
41741         (ctanh_towardzero_test_data): Likewise.
41742         (ctanh_downward_test_data): Likewise.
41743         (ctanh_upward_test_data): Likewise.
41744         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41745         mpc_c_c.
41746         (func_calc_desc): Add mpc_c_c union field.
41747         (FUNC_mpc_c_c): New macro.
41748         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41749         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41750         ctanh.
41751         (special_fill_min_subnorm_p120): New function.
41752         (special_real_inputs): Add min_subnorm_p120.
41753         (calc_generic_results): Handle mpc_c_c.
41754         * sysdeps/i386/fpu/libm-test-ulps: Update.
41755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41757 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41759         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41760         (do_sin_slow): New functions.
41761         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41762         (cslow2, csloww1, csloww2): Use the new functions.
41764         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41765         Use M to change sign of result instead of X.  Assume X is
41766         positive.
41767         (csloww1): Likewise.
41768         (__sin): Adjust.
41769         (__cos): Adjust.
41771         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41772         arguments A and DA.
41773         (__sin): Adjust.
41774         (__cos): Likewise.
41776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41777         (__cos): Likewise.
41778         (sloww1): Don't adjust sign of DX.
41779         (csloww1): Likewise.
41780         (sloww2): Use X directly and don't adjust sign of DX.
41781         (csloww2): Likewise.
41783 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41785         * math/auto-libm-test-in: Add tests of cabs and carg.
41786         * math/auto-libm-test-out: Regenerated.
41787         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41788         (carg_test_data): Likewise.
41789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41790         mpc_c_f.
41791         (func_calc_desc): Add mpc_c_f union field.
41792         (test_functions): Add cabs and carg.
41793         (calc_generic_results): Handle mpc_c_f.
41795         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41796         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41797         as a macro and a compat symbol.
41798         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41799         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41800         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41801         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41802         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41803         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41804         not use .hidden.
41805         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41806         Likewise.
41807         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41808         Likewise.
41809         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41810         Likewise.
41811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41812         Likewise.
41813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41814         Likewise.
41815         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41816         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41817         from GLIBC_2.3.2.
41819 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41823 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41825         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41826         trailing whitespace removed.
41827         * scripts/config.guess: Update to version 2013-11-29.
41828         * scripts/config.sub: Update to version 2013-10-01.
41830         * math/auto-libm-test-in: Add tests of sincos.
41831         * math/auto-libm-test-out: Regenerated.
41832         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41833         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41834         mpfr_f_11.
41835         (func_calc_desc): Add mpfr_f_11 union field.
41836         (test_functions): Add sincos.
41837         (calc_generic_results): Handle mpfr_f_11.
41838         * sysdeps/i386/fpu/libm-test-ulps: Update.
41839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41841 2013-12-19  Andreas Schwab  <schwab@suse.de>
41843         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41844         CALL_MCOUNT.
41845         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41846         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41847         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41849 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41851         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41852         * sysdeps/i386/fpu/libm-test-ulps: Update.
41853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41855         [BZ #16293]
41856         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41857         round-to-nearest mode when using frndint.
41858         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41859         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41860         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41861         Likewise.
41862         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41863         sinh test to fail.
41864         * math/auto-libm-test-out: Regenerated.
41865         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41866         (TEST_COND_x86): Likewise.
41867         (expm1_tonearest_test_data): New array.
41868         (expm1_test_tonearest): New function.
41869         (expm1_towardzero_test_data): New array.
41870         (expm1_test_towardzero): New function.
41871         (expm1_downward_test_data): New array.
41872         (expm1_test_downward): New function.
41873         (expm1_upward_test_data): New array.
41874         (expm1_test_upward): New function.
41875         (main): Run the new test functions.
41876         * sysdeps/i386/fpu/libm-test-ulps: Update.
41877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41879         * include/features.h: Update comment documenting feature test
41880         macros.  Mention _DEFAULT_SOURCE in comment.
41881         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41882         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41883         _BSD_SOURCE and _SVID_SOURCE.
41884         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41885         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41886         !_SVID_SOURCE]: Likewise.
41887         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41888         (__USE_POSIX_IMPLICITLY): Define.
41889         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41890         (_POSIX_SOURCE): Undefine and redefine.
41891         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41892         (_POSIX_C_SOURCE): Likewise.
41893         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41894         (Feature Test Macros): Update documentation of default features.
41896 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41898         * benchtests/Makefile: Add bench-strtok.
41899         * benchtests/bench-strtok.c: New file: strtok benchtest.
41901 2013-12-19  Allan McRae  <allan@archlinux.org>
41903         * manual/install.texi: Suppress menu for plain text output.
41904         * INSTALL: Regenerated.
41906 2013-12-18  Brooks Moses  <bmoses@google.com>
41908         [BZ #15846]
41909         * misc/getauxval.c: Include errno.h.
41910         (__getauxval): Set errno to ENOENT if the requested type is not
41911         found.
41912         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41913         don't declare with __attribute_const__.
41914         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41915         * manual/startup.texi: Document that getauxval sets errno.
41917 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41919         * math/auto-libm-test-in: Add tests of jn and yn.
41920         * math/auto-libm-test-out: Regenerated.
41921         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41922         (yn_test_data): Likewise.
41923         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41924         mpfr_if_f.
41925         (func_calc_desc): Add mpfr_if_f union field.
41926         (FUNC_mpfr_if_f): New macro.
41927         (test_functions): Add jn and yn.
41928         (calc_generic_results): Assert type of second input for
41929         mpfr_ff_f.  Handle mpfr_if_f.
41930         (output_for_one_input_case): Disable all checking for arguments
41931         fitting floating-point types in case of an integer argument.
41932         * sysdeps/i386/fpu/libm-test-ulps: Update.
41933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41936         Don't expect fegetround reference in libm.so.
41938 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41940         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41941         $(config-cflags-nofma).
41943 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41945         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41946         * math/auto-libm-test-out: Regenerated.
41948         [BZ #16338]
41949         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41950         to determine exponent and adjust argument to have exponent of -1.
41951         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41952         log2.
41953         * math/auto-libm-test-out: Regenerated.
41954         * sysdeps/i386/fpu/libm-test-ulps: Update.
41955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41957 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41959         * manual/probes.texi: Remove cases when per-thread arenas are
41960         disabled.
41962 2013-12-18  Andreas Schwab  <schwab@suse.de>
41964         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41965         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41966         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41967         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41968         * sysdeps/i386/i686/multiarch/Makefile: Update.
41969         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41971 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41973         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41974         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41976 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41978         [BZ #15968]
41979         Support TZ transition times < 00:00:00.
41980         This is needed for version-3 tz-format files; it supports time
41981         stamps past 2037 for America/Godthab (the only entry in the tz
41982         database for which this change is relevant).
41983         * manual/time.texi (TZ Variable): Document transition times
41984         from -167:59:59 through -00:00:01.
41985         * time/tzset.c (tz_rule): Time of day is now signed.
41986         (__tzset_parse_tz): Parse negative time of day.
41988         Document TZ transition times >= 25:00:00.
41989         * manual/time.texi (TZ Variable): Document transition times from
41990         25:00:00 through 167:59:59.  These are already supported, and this
41991         support will help with version-3 tz-format files.
41993         * manual/time.texi (TZ Variable): Modernize North America example
41994         to reflect current (i.e., 2007-and-later) daylight saving rules.
41996         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41998 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42000         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42001         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42003         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42004         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42005         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42006         * sysdeps/unix/bsd/clock.c: Likewise.
42007         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42008         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42009         * sysdeps/unix/bsd/init-posix.c: Likewise.
42010         * sysdeps/unix/bsd/poll.c: Likewise.
42011         * sysdeps/unix/bsd/ptsname.c: Likewise.
42012         * sysdeps/unix/bsd/seekdir.c: Likewise.
42013         * sysdeps/unix/bsd/setegid.c: Likewise.
42014         * sysdeps/unix/bsd/seteuid.c: Likewise.
42015         * sysdeps/unix/bsd/setgid.c: Likewise.
42016         * sysdeps/unix/bsd/setrgid.c: Likewise.
42017         * sysdeps/unix/bsd/setruid.c: Likewise.
42018         * sysdeps/unix/bsd/setsid.c: Likewise.
42019         * sysdeps/unix/bsd/setuid.c: Likewise.
42020         * sysdeps/unix/bsd/sigaction.c: Likewise.
42021         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42022         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42023         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42024         * sysdeps/unix/bsd/telldir.c: Likewise.
42025         * sysdeps/unix/bsd/times.c: Likewise.
42026         * sysdeps/unix/bsd/usleep.c: Likewise.
42028         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42029         ($(objpfx)libbsd-compat.a): Remove rule.
42031         * include/features.h (__FAVOR_BSD): Do not define.
42032         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42033         features conflicting with POSIX.
42034         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42035         (_BSD_SOURCE): Remove description of not being a subset of other
42036         feature test macros.
42037         * manual/job.texi (getpgrp): Do not document BSD version.
42038         (getpgid): Do not document by reference to BSD getpgrp.
42039         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42040         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42041         * signal/signal.h [__FAVOR_BSD]: Likewise.
42042         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42043         instead of making contents conditional on [__FAVOR_BSD].
42044         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42046 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42050 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42052         [BZ #16314]
42053         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42054         values below 2**-450, not 2**-500.
42055         * math/auto-libm-test-in: Don't allow spurious underflow from
42056         hypot.
42057         * math/auto-libm-test-out: Regenerated.
42059         [BZ #16316]
42060         [BZ #16330]
42061         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42062         values of ha and hb and sort them after adjusting subnormal
42063         arguments.
42064         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42065         Likewise.
42066         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42067         values of ea and eb and sort them after adjusting subnormal
42068         arguments.
42069         * math/auto-libm-test-in: Do not expect some hypot tests of
42070         subnormals to fail.  Add more hypot tests.
42071         * math/auto-libm-test-out: Regenerated.
42073 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42075         [BZ #13304]
42076         * sysdeps/sh/s_fma.c: New file.
42077         * sysdeps/sh/s_fmaf.c: New file.
42078         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42079         version.
42080         * sysdeps/sh/Implies: Add sh/soft-fp.
42082 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42084         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42085         level of indirection to members `objname', `errstring', `malloced'.
42086         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42087         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42088         it as the __longjmp argument (just pass 1 instead).
42089         (_dl_catch_error): Initialize C with argument pointers and address of
42090         volatile local ERRCODE rather than copying values out of C at return.
42092 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42094         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42095         * math/auto-libm-test-out: Regenerated.
42096         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42097         (hypot_test_data): Likewise.
42098         (pow_test_data): Likewise.
42099         (pow_tonearest_test_data): Likewise.
42100         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42101         mpfr_ff_f.
42102         (func_calc_desc): Add mpfr_ff_f union field.
42103         (FUNC_mpfr_ff_f): New macro.
42104         (test_functions): Add atan2, hypot and pow.
42105         (special_fill_min): New function.
42106         (special_fill_minus_min): Likewise.
42107         (special_fill_min_subnorm): Likewise.
42108         (special_fill_minus_min_subnorm): Likewise.
42109         (special_real_inputs): Add min, -min, min_subnorm and
42110         -min_subnorm.
42111         (calc_generic_results): Handle mpfr_ff_f.
42112         * sysdeps/i386/fpu/libm-test-ulps: Update.
42113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42115 2013-12-16  Will Newton  <will.newton@linaro.org>
42117         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42118         (Aligned Memory Blocks): Add documentation for aligned_alloc
42119         and suggest it as an alternative to posix_memalign.
42120         (Hooks for Malloc): Document __memalign_hook is also called
42121         for aligned_alloc.  (Summary of Malloc): Add summary for
42122         aligned alloc.  Document __memalign_hook is also called
42123         for aligned_alloc.
42125 2013-12-16  Will Newton  <will.newton@linaro.org>
42127         * manual/memory.texi (Malloc Examples): Clarify default
42128         alignment documentation.  Suggest posix_memalign rather
42129         than memalign or valloc.
42130         (Aligned Memory Blocks): Remove suggestion to use memalign
42131         or valloc.  Remove obsolete comment about BSD.
42132         Document memalign errno values and mark the function obsolete.
42133         Document posix_memalign returned error codes.  Mark valloc
42134         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42135         called for posix_memalign and valloc.
42136         (Summary of Malloc): Add posix_memalign to function summary.
42137         __memalign_hook is also called for posix_memalign and valloc.
42139 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42141         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42142         TAYLOR_SIN.
42143         (__sin): Adjust.
42144         (__cos): Likewise.
42145         (sloww): Use mynumber union.  Expand ternary operator into
42146         if-else statements.
42147         (cslow): use mynumber union.
42149 2013-12-16  Allan McRae  <allan@archlinux.org>
42151         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42152         * configure: Regenerated.
42154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42156         [BZ #14120]
42157         * configure.ac: Added --enable-maintainer-mode. Check for
42158         autoconf when enabled.
42159         * configure: Regenerated.
42161         * nscd/nscd.service: New file.
42162         * nscd/nscd.tmpfiles: New file.
42164 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42166         [BZ #12100]
42167         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42168         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42169         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42170         (strstr): Add __strstr_sse2_unaligned ifunc.
42171         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42172         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42173         (strcasestr): Remove __strcasestr_sse42 ifunc.
42174         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42178 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42180         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42181         * sysdeps/sh/bits/fenv.h: ... here.
42182         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42184 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42186         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42189         hypotf multiarch implementations.
42190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42191         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42192         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42193         multiarch hypot for PPC64.
42194         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42195         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42197         multiarch hypotf for PPC64.
42199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42200         modff multiarch implementations.
42201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42204         multiarch modf for PPC64.
42205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42208         multiarch modff for PPC64.
42210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42211         and logl multiarch implementations.
42212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42215         multiarch logb for PPC64.
42216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42219         multiarch logb for PPC64.
42220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42223         multiarch logb for PPC64.
42225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42226         isinff multiarch implementation.
42227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42228         file.
42229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42231         multiarch isinf for PPC64.
42232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42233         file.
42234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42235         multiarch isinff for PPC64.
42237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42238         finitef multiarch implementation.
42239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42240         file.
42241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42243         multiarch finite for PPC64.
42244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42245         file.
42246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42247         multiarch finitef for PPC64.
42249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42250         lrint multiarch implementation.
42251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42252         file.
42253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42255         multiarch llrint for PPC64.
42256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42257         multiarch lrint for PPC64.
42259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42260         copysignf multiarch implementation.
42261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42262         file.
42263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42264         file.
42265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42266         multiarch copysign for PPC64.
42267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42268         multiarch copysignf for PPC64.
42270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42271         multiarch implementation.
42272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42273         file.
42274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42275         file.
42276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42277         file.
42278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42279         file.
42280         multiarch llround for PPC64.
42281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42282         multiarch trunc for PPC64.
42283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42284         multiarch truncf for PPC64.
42286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42287         multiarch implementation.
42288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42289         file.
42290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42291         file.
42292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42293         file.
42294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42295         file.
42296         multiarch llround for PPC64.
42297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42298         multiarch round for PPC64.
42299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42300         multiarch roundf for PPC64.
42302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42303         multiarch implementation.
42304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42305         file.
42306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42307         file.
42308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42309         file.
42310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42311         file.
42312         multiarch llround for PPC64.
42313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42314         multiarch floor for PPC64.
42315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42316         multiarch floorf for PPC64.
42318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42319         multiarch implementation.
42320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42321         file.
42322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42323         file.
42324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42325         file.
42326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42327         file.
42328         multiarch llround for PPC64.
42329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42330         multiarch ceil for PPC64.
42331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42332         multiarch ceilf for PPC64.
42334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42335         multiarch implementation.
42336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42337         file.
42338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42339         file.
42340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42341         file.
42342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42343         multiarch llround for PPC64.
42344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42345         multiarch lround for PPC64.
42347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42348         multiarch implementation.
42349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42352         file.
42353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42356         multiarch isnan for PPC64.
42357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42358         multiarch isnanf for PPC64.
42360         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42361         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42362         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42363         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42364         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42367         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42368         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42373         multiarch implementations.
42374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42375         (__libc_ifunc_impl_list): Likewise.
42376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42379         multiarch stpcpy for PPC64.
42381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42382         multiarch implementations.
42383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42384         (__libc_ifunc_impl_list): Likewise.
42385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42386         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42387         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42388         multiarch strcpy for PPC64.
42390         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42391         redefine function name.
42392         (_wordcopy_fwd_dest_aligned): Likewise.
42393         (_wordcopy_bwd_aligned): Likewise.
42394         (_wordcopy_bwd_dest_aligned): Likewise.
42395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42396         multiarch implementations.
42397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42398         (__libc_ifunc_impl_list): Likewise.
42399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42400         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42402         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42403         multiarch wcscpy for PPC64.
42405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42406         multiarch implementations.
42407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42408         (__libc_ifunc_impl_list): Likewise.
42409         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42410         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42411         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42412         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42413         multiarch wcscpy for PPC64.
42415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42416         multiarch implementations.
42417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42418         (__libc_ifunc_impl_list): Likewise.
42419         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42420         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42421         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42422         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42423         multiarch wcsrchr for PPC64.
42425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42426         multiarch implementations.
42427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42428         (__libc_ifunc_impl_list): Likewise.
42429         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42430         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42431         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42432         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42433         multiarch wcschr for PPC64.
42435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42436         multiarch implementations.
42437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42438         (__libc_ifunc_impl_list): Likewise.
42439         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42440         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42441         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42442         multiarch strchrnul for PPC64.
42444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42445         implementations.
42446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42447         (__libc_ifunc_impl_list): Likewise.
42448         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42449         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42450         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42451         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42452         strchr for PPC64.
42454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42455         implementations.
42456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42457         (__libc_ifunc_impl_list): Likewise.
42458         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42459         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42460         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42461         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42462         strncmp for PPC64.
42464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42465         multiarch implementations.
42466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42467         (__libc_ifunc_impl_list): Likewise.
42468         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42469         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42470         strncasecmp for PPC64.
42471         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42472         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42473         multiarch strncasecmp_l for PPC64.
42475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42476         multiarch implementations.
42477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42478         (__libc_ifunc_impl_list): Likewise.
42479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42480         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42481         multiarch strcasecmp for PPC64.
42482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42483         file.
42484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42485         multiarch strcasecmp_l for PPC64.
42487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42488         implementations.
42489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42490         (__libc_ifunc_impl_list): Likewise.
42491         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42492         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42493         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42494         strnlen for PPC64.
42496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42497         implementations.
42498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42499         (__libc_ifunc_impl_list): Likewise.
42500         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42501         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42502         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42503         strlen for PPC64.
42505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42506         implementations.
42507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42508         (__libc_ifunc_impl_list): Likewise.
42509         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42510         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42511         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42512         rawmemrchr for PPC64.
42514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42515         implementation.
42516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42517         (__libc_ifunc_impl_list): Likewise.
42518         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42519         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42520         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42521         memrchr for PPC64.
42523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42524         implementation.
42525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42526         (__libc_ifunc_impl_list): Likewise.
42527         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42528         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42529         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42530         memchr for PPC64.
42532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42533         implementation.
42534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42535         (__libc_ifunc_impl_list): Likewise.
42536         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42537         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42538         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42539         mempcpy for PPC64.
42541         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42542         avoid cretion of __bzero symbol.
42543         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42544         Likewise.
42545         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42546         Likewise.
42547         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42548         Likewise.
42549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42550         multiarch implementations.
42551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42552         (__libc_ifunc_impl_list): Likewise.
42553         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42554         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42555         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42556         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42557         bzero for PPC32.
42558         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42559         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42560         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42561         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42562         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42563         memset for PPC64.
42564         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42566         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42568         implementations.
42569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42570         (__libc_ifunc_impl_list): Likewise.
42571         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42572         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42573         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42574         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42575         memcmp for PPC64.
42577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42578         multiarch for POWER/PPC64.
42579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42580         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42582         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42583         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42587         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42588         memcpy for PPC64.
42590         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42591         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42592         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42593         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42594         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42595         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42596         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42597         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42598         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42599         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42600         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42601         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42602         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42603         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42604         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42613 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42617 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42619         * benchtests/Makefile (bench): Add exp2 and log2.
42620         (LDLIBS-bench-exp2): Add -lm.
42621         (LDLIBS-bench-log2): Likewise.
42622         * benchtests/exp2-inputs: New inputs file.
42623         * benchtests/log2-inputs: New inputs file.
42624         * benchtests/log-inputs: Add new inputs.
42625         * benchtests/tan-inputs: Likewise.
42627 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42629         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42630         definition...
42631         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42632         (csloww2): ... from here.
42634         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42635         instead of structures.
42636         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42637         (POLYNOMIAL): Likewise.
42638         (TAYLOR_SLOW): Likewise.
42639         (__sin): Likewise.
42640         (__cos): Likewise.
42641         (slow1): Likewise.
42642         (slow2): Likewise.
42643         (sloww): Likewise.
42644         (sloww1); Likewise.
42645         (sloww2): Likewise.
42646         (bsloww1): Likewise.
42647         (bsloww2): Likewise.
42648         (cslow2): Likewise.
42649         (csloww): Likewise.
42650         (csloww1): Likewise.
42651         (csloww2): Likewise.
42653 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42655         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42656         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42657         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42658         * malloc/hooks.c (realloc_check): Likewise.
42660         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42661         * malloc/arena.c: Remove PER_THREAD conditional.
42662         [!PER_THREAD]: Remove code.
42663         (ptmalloc_unlock_all2): Likewise.
42664         (ptmalloc_init): Likewise.
42665         (_int_new_arena): Likewise.
42666         (arena_get2): Likewise.
42667         * malloc/hooks.c (__malloc_get_state): Likewise.
42668         (__malloc_set_state): Likewise.
42669         * malloc/malloc.c: Likewise.
42670         (struct malloc_state): Likewise.
42671         (struct malloc_par): Likewise.
42672         (__libc_realloc): Likewise.
42673         (__libc_mallopt): Likewise.
42675 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42677         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42679 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42681         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42682         macro to a function.  Check for zero perturb_byte.
42683         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42685         * malloc/malloc.c: (force_reg): Remove.
42686         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42687         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42688         force_reg by atomic_forced_read.
42689         * malloc/arena.c (ptmalloc_init): Likewise.
42690         * malloc/hooks.c (top_check): Likewise.
42692 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42696 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42700 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42702         * math/auto-libm-test-in: Add tests of lgamma.
42703         * math/auto-libm-test-out: Regenerated.
42704         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42705         (M_LOG_2_SQRT_PIl): Likewise.
42706         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42708         mpfr_f_f1.
42709         (func_calc_desc): Add mpfr_f_f1 union field.
42710         (ARGS1): New macro.
42711         (ARGS2): Likewise.
42712         (ARGS3): Likewise.
42713         (ARGS4): Likewise.
42714         (RET1): Likewise.
42715         (RET2): Likewise.
42716         (CALC): Likewise.
42717         (FUNC): Likewise.
42718         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42719         (test_functions): Add lgamma.
42720         (calc_generic_results): Handle mpfr_f_f1.
42721         * sysdeps/i386/fpu/libm-test-ulps: Update.
42722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42726         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42727         __mpn_add_n for PowerPC64/POWER7.
42728         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42729         __mpn_sub_n for PowerPC64/POWER7.
42731         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42732         __mpn_addmul_1 for PowerPC64.
42733         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42734         __mpn_submul_1 for PowerPC64.
42735         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42736         for PowerPC64.
42737         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42738         for PowerPC64.
42740 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42742         [BZ #15089]
42743         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42747         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42749         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42750         add multiarch folders.
42751         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42752         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42753         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42754         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42755         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42756         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42757         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42758         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42759         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42760         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42761         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42770         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42772         New file.
42773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42774         New file.
42775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42776         multiarch __ieee754_hypot for PowerPC32.
42777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42778         New file.
42779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42780         New file.
42781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42782         multiarch __ieee754_hypotf for PowerPC32.
42784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42785         long_double_symbol only if __logbl is defined.
42786         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42787         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42788         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42789         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42790         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42791         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42792         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42793         path for implementation.
42794         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42797         logb, and logbl multiarch implementations for PowerPC32.
42798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42799         file.
42800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42801         file.
42802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42803         multiarch logb for PowerPC32.
42804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42805         file.
42806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42807         file.
42808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42809         multiarch logbf for PowerPC32.
42810         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42812         file.
42813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42814         multiarch logbl implementation for PowerPC32.
42816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42817         and modff multiarch implementations.
42818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42819         New file.
42820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42821         New file.
42822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42823         multiarch modf for PowerPC32.
42824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42825         New file.
42826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42827         New file.
42828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42829         multiarch modff for PowerPC32.
42831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42832         and lrintf multiarch implementations.
42833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42834         New file.
42835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42836         New file.
42837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42838         multiarch lrint for PowerPC32.
42839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42840         file: multiarch lrintf for PowerPC32.
42842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42843         and lroundf multiarch implementations.
42844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42845         New file.
42846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42847         New file.
42848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42849         New file.
42850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42851         multiarch lround for PowerPC32.
42852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42853         file: multiarch lroundf for PowerPC32.
42855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42856         copysign and copysignf multiarch implementations.
42857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42858         New file.
42859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42860         New file.
42861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42862         file: multiarch copysign for PowerPC32.
42863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42864         file: multiarch copysignf for PowerPC32.
42866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42867         and truncf multiarch implementations.
42868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42869         New file.
42870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42871         file.
42872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42873         multiarch trunc for PowerPC32.
42874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42875         New file.
42876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42877         New file.
42878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42879         multiarch truncf for PowerPC32.
42881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42882         and roundf multiarch implementations.
42883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42884         New file.
42885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42886         file.
42887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42888         multiarch round for PowerPC32.
42889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42890         New file.
42891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42892         New file.
42893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42894         multiarch roundf for PowerPC32.
42896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42897         and floorf multiarch implementations.
42898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42899         New file.
42900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42901         file.
42902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42903         multiarch floor for PowerPC32.
42904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42905         New file.
42906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42907         New file.
42908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42909         multiarch floorf for PowerPC32.
42911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42912         and ceilf multiarch implementations.
42913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42914         New file.
42915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42916         file.
42917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42918         multiarch ceil for PowerPC32.
42919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42920         New file.
42921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42922         file.
42923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42924         multiarch ceilf for PowerPC32.
42926         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42927         is defined.
42928         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42929         FINITEF is defined.
42930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42931         and finitef multiarch implementations.
42932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42933         New file.
42934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42935         file.
42936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42937         multiarch finite for PowerPC32.
42938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42939         New file.
42940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42941         file: multiarch finitef for PowerPC32.
42943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42944         and isinff multiarch implementations.
42945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42946         file.
42947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42948         file.
42949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42950         multiarch isinf for PowerPC32.
42951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42952         New file.
42953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42954         multiarch isinff for PowerPC32.
42956         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42957         alias when __isnan is defined.
42958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42959         and isnanf multiarch implementations.
42960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42961         file.
42962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42963         file.
42964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42965         file.
42966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42967         file.
42968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42969         multiarch isnan for PowerPC32.
42970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42971         New file.
42972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42973         New file.
42974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42975         multiarch isnanf for PowerPC32.
42977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42978         and sqrtf multiarch implementations.
42979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42980         file.
42981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42982         file.
42983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42984         multiarch sqrt for PowerPC32.
42985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42986         file.
42987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42988         file.
42989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42990         multiarch sqrtf for PowerPC32.
42992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42993         and llroundf multiarch implementations.
42994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42995         New file.
42996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42997         New file.
42998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42999         New file.
43000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43001         file: multiarch llround for PowerPC32.
43002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43003         file: multiarch llroundf for PowerPC32.
43005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43006         multiarch PowerPC32 fpu implementations.
43007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43008         New file.
43009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43010         New file.
43011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43012         multiarch llrint for PowerPC32.
43013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43014         New file.
43015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43016         New file.
43017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43018         file.
43020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43023         file.
43024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43025         file.
43026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43027         file.
43028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43029         multiarch wordcopy for PPC32.
43030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43031         wordcopy objects.
43032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43033         (__libc_ifunc_impl_list): Likewise.
43034         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43035         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43036         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43037         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43038         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43039         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43041         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43043         file.
43044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43045         file.
43046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43047         file.
43048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43049         multiarch wcscpy for PPC32.
43050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43051         multiarch objects.
43052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43053         (__libc_ifunc_impl_list): Likewise.
43054         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43055         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43056         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43057         sysdeps/powerpc/power6/wcscpy.c.
43059         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43061         file.
43062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43063         file.
43064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43065         file.
43066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43067         multiarch wcsrchr for PPC32.
43068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43069         multiarch objects.
43070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43071         (__libc_ifunc_impl_list): Likewise.
43072         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43073         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43074         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43075         sysdeps/powerpc/power6/wcsrchr.c.
43077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43078         file.
43079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43080         file.
43081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43083         multiarch wcschr for PPc32.
43084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43085         multiarch objects.
43086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43087         (__libc_ifunc_impl_list): Likewise.
43088         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43089         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43090         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43091         sysdeps/powerpc/power6/wcschr.c.
43093         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43094         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43095         file.
43096         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43097         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43098         file: multiarch strchr for PPC32.
43099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43100         multiarch objects.
43101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43102         (__libc_ifunc_impl_list): Likewise.
43104         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43105         name.
43106         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43107         file.
43108         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43109         file.
43110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43111         multiarch strchrnul for PPC32.
43112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43113         multiarch objects.
43114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43115         (__libc_ifunc_impl_list): Likewise.
43117         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43118         file.
43119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43120         multiarch strncasecmp for PPC32.
43121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43122         file.
43123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43124         multiarch strncasecmp_l for PPC32.
43125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43126         strncasecmp multiarch objects.
43127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43128         (__libc_ifunc_impl_list): Likewise.
43130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43131         file.
43132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43133         multiarch strncasecmp for PPC32.
43134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43135         New file.
43136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43137         multiarch strcasecmp_l for PPC32.
43138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43139         multiarch objects.
43140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43141         (__libc_ifunc_impl_list): Likewise.
43143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43144         file.
43145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43146         file.
43147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43148         multiarch strncmp for PPC32.
43149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43150         multiarch objects.
43151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43152         (__libc_ifunc_impl_list): Likewise.
43154         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43155         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43156         file.
43157         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43158         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43160         multiarch objects.
43161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43162         (__libc_ifunc_impl_list): Likewise.
43164         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43165         file.
43166         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43167         file.
43168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43170         multiarch objects.
43171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43172         (__libc_ifunc_impl_list): Likewise.
43174         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43175         file.
43176         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43177         file.
43178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43179         multiarch rawmemchr for PPC32.
43180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43181         multiarch objects.
43182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43183         (__libc_ifunc_impl_list): Likewise.
43185         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43186         file.
43187         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43188         file.
43189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43190         file: memrchr multiarch for PPC32.
43191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43192         multiarch objects.
43193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43194         (__libc_ifunc_impl_list): Likewise.
43196         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43197         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43198         file.
43199         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43200         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43201         multiarch memchr for PPC32.
43202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43203         multiarch objects.
43204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43205         (__libc_ifunc_impl_list): Likewise.
43207         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43208         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43209         file.
43210         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43211         file.
43212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43213         file: multiarch mempcpy for PPC32.
43214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43215         multiarch objects.
43216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43217         (__libc_ifunc_impl_list): Likewise.
43219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43220         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43221         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43222         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43223         multiarch bzero for PPC32.
43224         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43225         file.
43226         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43227         file.
43228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43229         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43230         file: multiarch memset for PPC32.
43231         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43233         memset multiarch objects.
43234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43235         (__libc_ifunc_impl_list): Likewise.
43237         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43238         file.
43239         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43241         memcmp for PPC32.
43242         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43244         multiarch objects.
43245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43246         (__libc_ifunc_impl_list): Likewise.
43248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43251         file.
43252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43253         file.
43254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43255         file.
43256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43257         multiarch memcpy for PPC32.
43258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43259         multiarch objects.
43260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43261         (__libc_ifunc_impl_list): Likewise.
43263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43264         support multiarch for POWER/PPC32.
43265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43266         Likewise.
43267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43269         Implies file to make multiarch folder appers before the fpu and
43270         default folder for power4 configuration.
43272 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43274         * scripts/bench.pl: Append volatile keyword to type.
43276 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43278         * sysdeps/sh/sotruss-lib.c: New file.
43279         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43281 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43285 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43287         [BZ #6810]
43288         * math/w_tgamma.c: Include <errno.h>.
43289         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43290         * math/w_tgammaf.c: Include <errno.h>.
43291         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43292         * math/w_tgammal.c: Include <errno.h>.
43293         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43294         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43295         underflow.  Add more tgamma tests.
43296         * math/auto-libm-test-out: Regenerated.
43297         * sysdeps/i386/fpu/libm-test-ulps: Update.
43298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43300         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43301         sin, sinh, tan, tanh, tgamma, y0 and y1.
43302         * math/auto-libm-test-out: Regenerated.
43303         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43304         (TEST_COND_x86): Likewise.
43305         (M_E2l): Remove macro.
43306         (M_E3l): Likewise.
43307         (M_2_SQRT_PIl): Likewise.
43308         (M_SQRT_PIl): Likewise.
43309         (M_1_DIV_El): Likewise.
43310         (log_test_data): Use AUTO_TESTS_f_f.
43311         (log10_test_data): Likewise.
43312         (log1p_test_data): Likewise.
43313         (log2_test_data): Likewise.
43314         (sin_test_data): Likewise.
43315         (sin_tonearest_test_data): Likewise.
43316         (sin_towardzero_test_data): Likewise.
43317         (sin_downward_test_data): Likewise.
43318         (sin_upward_test_data): Likewise.
43319         (sinh_test_data): Likewise.
43320         (sinh_tonearest_test_data): Likewise.
43321         (sinh_towardzero_test_data): Likewise.
43322         (sinh_downward_test_data): Likewise.
43323         (sinh_upward_test_data): Likewise.
43324         (tan_test_data): Likewise.
43325         (tan_tonearest_test_data): Likewise.
43326         (tan_towardzero_test_data): Likewise.
43327         (tan_downward_test_data): Likewise.
43328         (tan_upward_test_data): Likewise.
43329         (tanh_test_data): Likewise.
43330         (tgamma_test_data): Likewise.
43331         (y0_test_data): Likewise.
43332         (y1_test_data): Likewise.
43333         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43334         (special_real_inputs): Add pi/4.
43335         * sysdeps/i386/fpu/libm-test-ulps: Update.
43336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43338 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43340         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43341         "longjmp_target" static probes.
43342         (__longjmp): Rename to __longjmp_symbol.
43343         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43344         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43345         on which longjmp to generate.
43346         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43348         probe.
43349         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43350         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43351         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43352         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43353         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43354         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43356         __longjmp_symbol based on which __longjmp to generate.
43357         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43358         probe.
43359         (setjmp): Rename to setjmp_symbol.
43360         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43361         (_setjmp): Rename to _setjmp_symbol.
43362         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43363         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43364         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43365         which setjmp to generate.
43366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43367         "longjmp_target" static probes.
43369 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43371         * benchtests/README: Add note about output arguments.
43372         * benchtests/bench-sincos.c: Remove file.
43373         * benchtests/sincos-inputs: New file.
43374         * scripts/bench.pl: Identify output arguments and define
43375         static variables for them.
43377         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43379         [BZ #15941]
43380         * Makefile (INSTALL): Add install-plain.texi as the primary
43381         dependency.
43382         * manual/install-plain.texi: New file.
43383         * manual/install.texi: Include node directive only for
43384         non-plaintext output.
43386 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43388         * stdlib/longlong.h: Update from GCC.
43390         [BZ #6807]
43391         [BZ #15901]
43392         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43393         * math/w_j0f.c (y0f): Likewise.
43394         * math/w_j0l.c (__y0l): Likewise.
43395         * math/w_j1.c (y1): Likewise.
43396         * math/w_j1f.c (y1f): Likewise.
43397         * math/w_j1l.c (__y1l): Likewise.
43398         * math/w_jn.c (yn): Likewise.
43399         * math/w_jnf.c (ynf): Likewise.
43400         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43401         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43402         value for Bessel function domain errors outside _SVID_ mode.
43403         Adjust sign of return value for yn (negative integer, 0).
43404         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43405         by zero in return for negative x and set sign appropriately for
43406         negative n.
43407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43408         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43409         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43410         expectations in error cases.
43411         (y1_test_data): Likewise.
43412         (yn_test_data): Likewise.
43413         * sysdeps/i386/fpu/libm-test-ulps: Update.
43414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43416 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43418         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43419         "64" to "64-v1".  Add "64-v2".
43420         (abi-64-options): Rename to ...
43421         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43422         (abi-64-condition): Rename to ...
43423         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43424         (abi-64-ld-soname): Rename to ...
43425         (abi-64-v1-ld-soname): ... this.
43426         (abi-64-v2-options): Define.
43427         (abi-64-v2-condition): Likewise.
43428         (abi-64-v2-ld-soname): Likewise.
43429         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43430         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43435 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43436             Alan Modra  <amodra@gmail.com>
43438         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43439         New versions for use with the ELFv2 ABI.
43440         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43441         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43442         declaration.
43443         (struct La_ppc64v2_retval): Likewise.
43444         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43445         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43446         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43447         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43448         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43449         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43450         Do not save or restore CR.
43451         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43452         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43453         return values for ELFv2 ABI.  Fix location of FPR return registers.
43454         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43455         updated values for _CALL_ELF == 2.
43456         (La_regs, La_retval, int_retval): Likewise.
43458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43460         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43461         (FRAME_MIN_SIZE_PARM): Likewise.
43462         (FRAME_BACKCHAIN): Likewise.
43463         (FRAME_CR_SAVE): Likewise.
43464         (FRAME_LR_SAVE): Likewise.
43465         (FRAME_TOC_SAVE): Likewise.
43466         (FRAME_PARM_SAVE): Likewise.
43467         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43468         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43469         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43470         (call_mcount_parm_offset): New macro.
43471         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43472         (PROF): Use symbolic stack frame offsets.
43473         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43474         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43475         Redefine in terms of FRAME_MIN_SIZE.
43476         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43477         (_dl_profile_resolve): Likewise.  Update comment.
43478         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43479         symbols stack frame offsets.
43480         (__sigsetjmp): Likewise.
43481         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43482         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43483         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43484         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43487         (FRAME_BACKCHAIN): Remove.
43488         (FRAME_CR_SAVE): Likewise.
43489         (FRAME_LR_SAVE): Likewise.
43490         (FRAME_COMPILER_DW): Likewise.
43491         (FRAME_LINKER_DW): Likewise.
43492         (FRAME_TOC_SAVE): Likewise.
43493         (FRAME_PARM_SAVE): Likewise.
43494         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43495         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43496         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43498         (CHECK_SP): Use symbolic stack frame offsets.
43499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43500         zone" instead of caller's parameter save area for temp storage.
43501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43502         Likewise.  Also, use symbolic stack frame offsets.
43503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43504         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43505         our own stack frame instead of the caller's.
43506         (__socket): Use symbolic stack frame offsets.
43508 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43509             Alan Modra  <amodra@gmail.com>
43511         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43512         Define.
43513         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43514         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43515         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43516         New function.
43517         (elf_machine_fixup_plt): Call it.
43518         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43519         reloc arguments.
43520         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43521         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43522         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43523         r2 before calling target.
43525 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43526             Alan Modra  <amodra@gmail.com>
43528         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43529         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43530         versions of macros to support ELFv2 ABI.
43531         (LOCALENTRY): New macro.
43532         (ENTRY, EALIGN): Use it.
43533         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43534         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43535         fall through into ENTRY entry point.
43536         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43537         Only define if _CALL_ELF != 2.
43539         (elf_machine_matches_host): Verify ABI version matches.
43540         (RTLD_START): Use LOCALENTRY.
43541         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43542         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43543         (PLT_ENTRY_WORDS): New macro.
43544         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43545         (elf_machine_runtime_setup): Support ELFv2 ABI.
43546         (elf_machine_fixup_plt): Likewise.
43547         (elf_machine_plt_conflict): Likewise.
43548         (resolve_ifunc): Likewise.
43549         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43551         Likewise.
43552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43553         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43555         (makecontext): Support ELFv2 ABI.
43556         * elf/elf.h (EF_PPC64_ABI): Define.
43558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43560         * sysdeps/powerpc/powerpc64/sysdep.h
43561         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43562         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43563         (ENTRY) [ASSEMBLER]: ... but instead here ...
43564         (EALIGN) [ASSEMBLER]: ... and here.
43565         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43566         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43567         (ENTRY_2) [!ASSEMBLER]: Use it.
43568         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43569         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43570         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43571         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43572         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43574         Use PPC64_LOAD_FUNCPTR.
43576         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43578 2013-12-04  Alan Modra  <amodra@gmail.com>
43580         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43581         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43582         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43583         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43585         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43586         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43587         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43588         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43589         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43590         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43592 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43595         (__makecontext): Fix incorrect CFI when backtracing out of
43596         context created via makecontext.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43598         (__setcontext): Fix incorrect CFI during switch to new context.
43599         (__novec_setcontext): Likewise.
43601 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43603         [BZ #4772]
43604         * time/strptime_l.c (__strptime_internal): Allow modifiers
43605         in strptime.
43606         * time/tst-strptime.c (day_tests): Add testcase.
43608 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43610         * scripts/bench.pl: Skip over blank lines.
43612 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43614         [BZ #926]
43615         * manual/time.texi (Calendar Time): Clarify what timezone functions
43616         use.
43618 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43622 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43624         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43625         implementation.
43626         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43627         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43628         * debug/memset_chk.c (__memset_chk): Likewise.
43629         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43630         * debug/strncpy_chk.c: Likewise.
43632 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43634         [BZ #15268]
43635         [BZ #15425]
43636         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43637         (__ieee754_exp): For possibly underflowing results, check size of
43638         result and force underflow exception if required.
43639         * math/auto-libm-test-in: Add more tests of exp.
43640         * math/auto-libm-test-out: Regenerated.
43641         * sysdeps/i386/fpu/libm-test-ulps: Update.
43642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43644         [BZ #16283]
43645         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43646         * math/w_exp2f.c (__exp2f): Likewise.
43647         * math/w_exp2l.c (__exp2l): Likewise.
43648         * math/auto-libm-test-in: Do not allow missing errno on exp2
43649         underflow.
43650         * math/auto-libm-test-out: Regenerated.
43652 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43654         [BZ #16274]
43655         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43656         handle filename validation.
43657         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43658         (do_open): Delete.
43660 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43662         [BZ #6786]
43663         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43664         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43665         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43666         <float.h>.
43667         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43668         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43669         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43671         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43672         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43673         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43674         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43675         Add more erfc tests.
43676         * math/auto-libm-test-out: Regenerated.
43677         * sysdeps/i386/fpu/libm-test-ulps: Update.
43678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43680         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43681         exp2, expm1, j0 and j1.
43682         * math/auto-libm-test-out: Regenerated.
43683         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43684         (erfc_test_data): Likewise.
43685         (exp_test_data): Likewise.
43686         (exp_tonearest_test_data): Likewise.
43687         (exp_towardzero_test_data): Likewise.
43688         (exp_downward_test_data): Likewise.
43689         (exp_upward_test_data): Likewise.
43690         (exp10_test_data): Likewise.
43691         (exp2_test_data): Likewise.
43692         (expm1_test_data): Likewise.
43693         (j0_test_data): Likewise.
43694         (j1_test_data): Likewise.
43695         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43696         (input_flag_type): Add flag_xfail_rounding.
43697         (input_flags): Add xfail-rounding.
43698         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43699         (output_for_one_input_case): Handle flag_xfail_rounding.
43700         * sysdeps/i386/fpu/libm-test-ulps: Update.
43701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43703 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43705         [BZ #16289]
43706         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43707         division by 0.
43709 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43711         [BZ #16195]
43712         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43713         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43714         (STAP_PROBE0): New macro.
43715         (STAP_PROBE1): Likewise.
43716         (STAP_PROBE2): Likewise.
43717         (STAP_PROBE3): Likewise.
43718         (STAP_PROBE4): Likewise.
43720 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43722         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43724 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43726         * benchtests/Makefile (bench): Add sqrt.
43727         (LDLIBS-bench-sqrt): New.
43728         * benchtests/sqrt-input: New.
43730 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43732         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43733         (GAIH_EAI): Likewise.
43734         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43735         (gaih_inet): Likewise.
43736         (getaddrinfo): Don't use GAIH_EAI.
43738         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43739         (struct gaih): Remove definition.
43741 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43743         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43744         Use HERRNOP directly.
43746 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43750 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43752         * math/gen-auto-libm-tests.c (test_functions): Add more
43753         single-argument functions.
43754         (special_fill_pi_2): New function.
43755         (special_fill_minus_pi_2): Likewise.
43756         (special_fill_pi_6): Likewise.
43757         (special_fill_minus_pi_6): Likewise.
43758         (special_fill_pi_3): Likewise.
43759         (special_fill_2pi_3): Likewise.
43760         (special_fill_e): Likewise.
43761         (special_fill_1_e): Likewise.
43762         (special_fill_e_minus_1): Likewise.
43763         (special_real_inputs): Add more special inputs.
43764         (output_for_one_input_case): Do not require ERANGE on underflow to
43765         zero if round-to-nearest result does not underflow to zero, unless
43766         exact results required.
43767         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43768         atan, atanh, cbrt, cos and cosh.
43769         * math/auto-libm-test-out: Regenerated.
43770         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43771         (acos_tonearest_test_data): Likewise.
43772         (acos_towardzero_test_data): Likewise.
43773         (acos_downward_test_data): Likewise.
43774         (acos_upward_test_data): Likewise.
43775         (acosh_test_data): Likewise.
43776         (asin_test_data): Likewise.
43777         (asin_tonearest_test_data): Likewise.
43778         (asin_towardzero_test_data): Likewise.
43779         (asin_upward_test_data): Likewise.
43780         (asinh_test_data): Likewise.
43781         (atan_test_data): Likewise.
43782         (atanh_test_data): Likewise.
43783         (cbrt_test_data): Likewise.
43784         (cos_test_data): Likewise.
43785         (cos_tonearest_test_data): Likewise.
43786         (cos_towardzero_test_data): Likewise.
43787         (cos_downward_test_data): Likewise.
43788         (cos_upward_test_data): Likewise.
43789         (cosh_test_data): Likewise.
43790         (cosh_tonearest_test_data): Likewise.
43791         (cosh_towardzero_test_data): Likewise.
43792         (cosh_downward_test_data): Likewise.
43793         (cosh_upward_test_data): Likewise.
43794         * sysdeps/i386/fpu/libm-test-ulps: Update.
43795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43797 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43799         [BZ #6787]
43800         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43801         * math/w_exp10f.c (__exp10f): Likewise.
43802         * math/w_exp10l.c (__exp10l): Likewise.
43803         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43804         errno settings in existing tests.
43806         [BZ #14032]
43807         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43808         precision control set to double precision.
43809         * sysdeps/i386/fpu/w_sqrt.c: New file.
43810         * math/auto-libm-test-in: Add more tests.
43811         * math/auto-libm-test-out: Update.
43813         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43814         (sqrt_test_tonearest): New function.
43815         (sqrt_towardzero_test_data): New variable.
43816         (sqrt_test_towardzero): New function.
43817         (sqrt_downward_test_data): New variable.
43818         (sqrt_test_downward): New function.
43819         (sqrt_upward_test_data): New variable.
43820         (sqrt_test_upward): New function.
43821         (main): Call the new functions.
43823         * math/gen-auto-libm-tests.c: New file.
43824         * math/auto-libm-test-in: Likewise.
43825         * math/auto-libm-test-out: New generated file.
43826         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43827         variables.
43828         (%beautify): Add generated representations of zero.
43829         (top level): Set $auto_input and call parse_auto_input.
43830         (beautify): Remove trailing "f" from hex float constants.
43831         (parse_args): Handle XFAIL_TEST.
43832         (convert_condition): New function.
43833         (or_value): Likewise.
43834         (or_cond_value): Likewise.
43835         (generate_testfile): Handle AUTO_TESTS_* lines.
43836         (parse_auto_input): New function.
43837         * math/libm-test.inc (XFAIL_TEST): New macro.
43838         (ERRNO_UNCHANGED): Update value.
43839         (ERRNO_EDOM): Likewise.
43840         (ERRNO_ERANGE): Likewise.
43841         (IGNORE_RESULT): Likewise.
43842         (TEST_COND_flt_32): New macro.
43843         (TEST_COND_dbl_64): Likewise.
43844         (TEST_COND_ldbl_96_intel): Likewise.
43845         (TEST_COND_ldbl_96_m68k): Likewise.
43846         (TEST_COND_ldbl_128): Likewise.
43847         (TEST_COND_ldbl_128ibm): Likewise.
43848         (TEST_COND_long32): Likewise.
43849         (TEST_COND_long64): Likewise.
43850         (TEST_COND_before_rounding): Likewise.
43851         (TEST_COND_after_rounding): Likewise.
43852         (enable_test): Handle XFAIL_TEST flag.
43853         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43854         with finite results.
43855         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43856         auto-libm-test-out.
43858 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43859             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43861         [BZ #16214]
43862         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43863         __tls_get_addr_internal instead of __tls_get_offset in order to
43864         avoid GOT pointer dependency.  Make rtld export
43865         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43866         __tls_get_addr since we are a __tls_get_offset platform.
43867         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43868         GOT pointer being set up before.
43869         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43871 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43873         * manual/math.texi (Errors in Math Functions): Document accuracy
43874         goals.
43876         [BZ #15004]
43877         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43878         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43879         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43880         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43881         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43882         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43883         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43884         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43885         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43886         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43887         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43888         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43889         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43890         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43891         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43892         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43894         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43895         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43896         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43897         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43898         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43899         Likewise.
43900         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43901         Likewise.
43902         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43903         Likewise.
43904         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43905         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43906         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43907         atomic-feupdateenv and flt-rounds.
43908         * sysdeps/powerpc/nofpu/Versions (libc): Add
43909         __atomic_feholdexcept, __atomic_feclearexcept,
43910         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43911         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43912         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43913         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43914         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43915         here.
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43917         Update.
43919         * manual/arith.texi (FP Exceptions): Document that exceptions may
43920         not be raised when matherr is used.
43921         (Math Error Reporting): Document overflow in directed rounding
43922         modes.  Document that errno may not be set when finite values are
43923         returned on overflow.  Document intent to set errno on underflow
43924         only for underflow to zero.
43926         [BZ #16271]
43927         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43928         round-to-nearest then adjust result for other rounding modes.
43929         * include/fenv.h (fegetround): Use libm_hidden_proto.
43930         * math/fegetround.c (fegetround): Use libm_hidden_def.
43931         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43932         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43933         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43935         Likewise.
43936         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43937         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43938         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43939         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43941 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43943         [BZ #16077]
43944         * nss/Versions (libnss_files): Add
43945         _nss_files_gethostbyname3_r.
43946         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43947         New function.
43948         (HOST_DB_LOOKUP): Remove macro.
43949         (_nss_files_gethostbyname_r): Implement function without the
43950         HOST_DB_LOOKUP macro.
43951         (_nss_files_gethostbyname2_r): Likewise.
43953 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43955         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43957 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43959         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43960         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43961         warning.
43963 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43965         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43966         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43967         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43968         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43969         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43970         __fe_nomask_env_priv and attribute_hidden.
43971         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43972         (libc_feupdateenv_test_ppc): Likewise.
43973         (libc_feresetround_ppc): Likewise.
43974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43975         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43976         compat_symbol macro.
43977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43978         (__fe_nomask_env): Likewise.
43979         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43981 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43983         * string/Makefile: Remove ifunc tests.
43984         * string/test-string.h: Define TEST_IFUNC.
43985         * string/test-bcopy-ifunc.c: Remove.
43986         * string/test-bzero-ifunc.c: Likewise.
43987         * string/test-memccpy-ifunc.c: Likewise.
43988         * string/test-memchr-ifunc.c: Likewise.
43989         * string/test-memcmp-ifunc.c: Likewise.
43990         * string/test-memcpy-ifunc.c: Likewise.
43991         * string/test-memmem-ifunc.c: Likewise.
43992         * string/test-memmove-ifunc.c: Likewise.
43993         * string/test-mempcpy-ifunc.c: Likewise.
43994         * string/test-memrchr-ifunc.c: Likewise.
43995         * string/test-memset-ifunc.c: Likewise.
43996         * string/test-rawmemchr-ifunc.c: Likewise.
43997         * string/test-stpcpy-ifunc.c: Likewise.
43998         * string/test-stpncpy-ifunc.c: Likewise.
43999         * string/test-strcasecmp-ifunc.c: Likewise.
44000         * string/test-strcasestr-ifunc.c: Likewise.
44001         * string/test-strcat-ifunc.c: Likewise.
44002         * string/test-strchr-ifunc.c: Likewise.
44003         * string/test-strchrnul-ifunc.c: Likewise.
44004         * string/test-strcmp-ifunc.c: Likewise.
44005         * string/test-strcpy-ifunc.c: Likewise.
44006         * string/test-strcspn-ifunc.c: Likewise.
44007         * string/test-strlen-ifunc.c: Likewise.
44008         * string/test-strncasecmp-ifunc.c: Likewise.
44009         * string/test-strncat-ifunc.c: Likewise.
44010         * string/test-strncmp-ifunc.c: Likewise.
44011         * string/test-strncpy-ifunc.c: Likewise.
44012         * string/test-strnlen-ifunc.c: Likewise.
44013         * string/test-strpbrk-ifunc.c: Likewise.
44014         * string/test-strrchr-ifunc.c: Likewise.
44015         * string/test-strspn-ifunc.c: Likewise.
44016         * string/test-strstr-ifunc.c: Likewise.
44018 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44020         * benchtests/Makefile: Remove ifunc tests.
44021         * benchtests/bench-string.h: Define TEST_IFUNC.
44022         * benchtests/bench-bcopy-ifunc.c: Remove.
44023         * benchtests/bench-bzero-ifunc.c: Likewise.
44024         * benchtests/bench-memccpy-ifunc.c: Likewise.
44025         * benchtests/bench-memchr-ifunc.c: Likewise.
44026         * benchtests/bench-memcmp-ifunc.c: Likewise.
44027         * benchtests/bench-memcpy-ifunc.c: Likewise.
44028         * benchtests/bench-memmem-ifunc.c: Likewise.
44029         * benchtests/bench-memmove-ifunc.c: Likewise.
44030         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44031         * benchtests/bench-memrchr-ifunc.c: Likewise.
44032         * benchtests/bench-memset-ifunc.c: Likewise.
44033         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44034         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44035         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44036         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44037         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44038         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44039         * benchtests/bench-strcat-ifunc.c: Likewise.
44040         * benchtests/bench-strchr-ifunc.c: Likewise.
44041         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44042         * benchtests/bench-strcmp-ifunc.c: Likewise.
44043         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44044         * benchtests/bench-strcpy-ifunc.c: Likewise.
44045         * benchtests/bench-strcspn-ifunc.c: Likewise.
44046         * benchtests/bench-strlen-ifunc.c: Likewise.
44047         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44048         * benchtests/bench-strncat-ifunc.c: Likewise.
44049         * benchtests/bench-strncmp-ifunc.c: Likewise.
44050         * benchtests/bench-strncpy-ifunc.c: Likewise.
44051         * benchtests/bench-strnlen-ifunc.c: Likewise.
44052         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44053         * benchtests/bench-strrchr-ifunc.c: Likewise.
44054         * benchtests/bench-strsep-ifunc.c: Likewise.
44055         * benchtests/bench-strspn-ifunc.c: Likewise.
44056         * benchtests/bench-strstr-ifunc.c: Likewise.
44058 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44060         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44062 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44064         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44065         * rt/aio.h: Likewise.
44066         * sysdeps/gnu/bits/utmp.h: Likewise.
44067         * sysdeps/gnu/bits/utmpx.h: Likewise.
44068         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44069         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44070         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44071         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44072         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44073         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44074         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44075         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44076         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44077         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44078         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44079         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44080         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44082         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44083         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44084         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44085         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44086         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44087         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44088         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44089         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44090         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44091         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44092         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44094         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44095         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44096         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44097         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44098         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44099         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44100         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44101         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44102         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44103         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44104         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44105         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44106         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44107         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44108         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44109         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44111 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44113         [BZ #16245]
44114         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44115         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44117 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44119         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44120         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44121         Likewise.
44123 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44125         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44126         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44127         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44128         (__fesetround): Remove define.
44129         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44130         rounding and exceptions handling.
44131         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44132         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44133         (__fe_nomask_env): Likewise.
44134         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44135         __fegetround instead of fegetround.
44136         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44137         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44139 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44141         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44142         it's there.
44144         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44146 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44148         [BZ #11157]
44149         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44150         (encrypt_r): Likewise.
44151         * malloc/obstack.h (obstack_free): Likewise.
44152         * posix/unistd.h (encrypt): Likewise.
44154 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44156         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44157         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44158         DL_CALL_DT_FINI() that call the functions directly.
44159         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44160         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44161         * elf/dl-fini.c: Likewise.
44163 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44165         * malloc/hooks.c (memalign_check): Add alignment rounding.
44166         * malloc/malloc.c (_mid_memalign): New function.
44167         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44168         Implement by calling _mid_memalign.
44169         * manual/probes.texi (Memory Allocation Probes): Remove
44170         memory_valloc_retry and memory_pvalloc_retry.
44172 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44174         * locale/programs/locarchive.c (open_archive): Add const
44175         qualifier to ARCHIVEFNAME and copy default fname to
44176         DEFAULT_FNAME.
44178         [BZ #15601]
44179         * libio/tst-widetext.input: Rename Oriya to Odia.
44180         * locale/iso-639.def: Likewise.
44182         * manual/probes.texi (Mathematical Function Probes): Add
44183         documentation for sin, cos, asin and acos probes.
44184         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44185         (__sin32): Add slowasin probe.
44186         (__cos32): Add slowacos probe.
44187         (__mpsin): Add slowsin probe.
44188         (__mpcos): Add slowcos probe.
44190 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44192         [BZ #15483]
44193         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44194         thread-local __sim_exceptions_thread and global
44195         __sim_exceptions_global.
44196         (__sim_disabled_exceptions): Change to thread-local
44197         __sim_disabled_exceptions_thread and global
44198         __sim_disabled_exceptions_global.
44199         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44200         and global __sim_round_mode_global.
44201         (__simulate_exceptions): Use thread-local floating-point state and
44202         set global state from it as needed.
44203         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44204         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44205         __sim_round_mode_thread.
44206         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44207         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44208         and global __sim_exceptions_global.
44209         (__sim_disabled_exceptions): Change to thread-local
44210         __sim_disabled_exceptions_thread and global
44211         __sim_disabled_exceptions_global.
44212         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44213         and global __sim_round_mode_global.
44214         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44215         (SIM_SET_GLOBAL): Likewise.
44216         * sysdeps/powerpc/soft-fp/sfp-machine.h
44217         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44218         __sim_round_mode_thread.
44219         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44220         __sim_disabled_exceptions_thread.
44221         (__sim_exceptions): Change to __sim_exceptions_thread.
44222         (__sim_disabled_exceptions): Change to
44223         __sim_disabled_exceptions_thread.
44224         (__sim_round_mode): Change to __sim_round_mode_thread.
44225         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44226         thread-local floating-point state and set global state from it as
44227         needed.
44228         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44229         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44230         (__sim_disabled_exceptions): Remove extern declaration.
44231         (feenableexcept): Use thread-local floating-point state and set
44232         global state from it as needed.
44233         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44234         extern declaration.
44235         (__sim_disabled_exceptions): Likewise.
44236         (__sim_round_mode): Likewise.
44237         (__fegetenv): Use thread-local floating-point state.
44238         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44239         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44240         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44241         floating-point state and set global state from it as needed.
44242         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44243         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44244         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44245         Likewise.
44246         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44247         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44248         Likewise.
44249         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44250         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44251         Use __sim_round_mode_thread.
44252         * math/test-fenv-tls.c: New file.
44253         * math/Makefile (tests): Add test-fenv-tls.
44254         ($(objpfx)test-fenv-tls): Depend on
44255         $(common-objpfx)nptl/libpthread.so.
44257 2013-11-19  Andreas Schwab  <schwab@suse.de>
44259         * locale/programs/locale.c (show_info): Decode wordarray elements.
44260         * locale/categories.def (LC_MONETARY): Add element for
44261         _NL_MONETARY_CRNCYSTR.
44262         * locale/C-monetary.c (conversion_rate): New variable.
44263         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44264         element.
44266 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44268         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44269         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44271 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44273         * elf/Makefile (tst-auxv): New test.
44274         * elf/tst-auxv.c: New
44275         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44277 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44279         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44280         (hidden_proto): Caller changed.
44281         (hidden_tls_proto): New macro.
44282         (libc_hidden_tls_proto): Likewise.
44283         (rtld_hidden_tls_proto): Likewise.
44284         (libm_hidden_tls_proto): Likewise.
44285         (libresolv_hidden_tls_proto): Likewise.
44286         (librt_hidden_tls_proto): Likewise.
44287         (libdl_hidden_tls_proto): Likewise.
44288         (libnss_files_hidden_tls_proto): Likewise.
44289         (libnsl_hidden_tls_proto): Likewise.
44290         (libnss_nisplus_hidden_tls_proto): Likewise.
44291         (libutil_hidden_tls_proto): Likewise.
44293 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44295         [BZ #10253]
44296         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44297         (decompose_rpath): Defer expansion to fillin_rpath.
44298         (_dl_init_paths): Pass linkmap to fillin_rpath.
44300 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44302         * benchtests/Makefile: Add strsep.
44303         * benchtests/bench-strsep.c: New file: strsep benchtest.
44304         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44306 2013-11-18  Andreas Schwab  <schwab@suse.de>
44308         * locale/programs/locale.c (show_info) [case byte]: Check for
44309         '\377' instead of '\177'.
44310         * locale/C-monetary.c (not_available): Always use "\377".
44311         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44312         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44313         detect unavailable sign_posn locale elements.
44314         * locale/localeconv.c (__localeconv): For grouping and
44315         mon_grouping handle "\177" and "\377" like no grouping.
44316         (INT_ELEM): New macro.  Use it to set all numeric members.
44317         * locale/programs/ld-monetary.c (monetary_read)
44318         <tok_mon_grouping>: Normalize single -1 to the empty string.
44319         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44320         Likewise.
44322 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44324         [BZ #16055]
44325         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44326         when we match (nil).
44327         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44329 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44331         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44332         (NO_TEST_INLINE): Update value.
44333         (ERRNO_UNCHANGED): Likewise.
44334         (ERRNO_EDOM): Likewise.
44335         (ERRNO_ERANGE): Likewise.
44336         (IGNORE_RESULT): Likewise.
44337         (check_float_internal): Check signs of NaN results if
44338         TEST_NAN_SIGN used.
44339         (check_complex): Pass TEST_NAN_SIGN flag through to second
44340         check_float_internal call.
44341         (copysign_test_data): Add tests with quiet NaNs as second
44342         argument.  Use TEST_NAN_SIGN.
44343         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44344         TEST_NAN_SIGN.
44345         (signbit_test_data): Add tests of quiet NaN argument.
44346         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44348         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44349         $ignore_result.
44350         (parse_args): Handle function results specified as IGNORE.
44351         * math/libm-test.inc (IGNORE_RESULT): New macro.
44352         (check_float_internal): Do not check numerical result if flag
44353         IGNORE_RESULT set.
44354         (check_complex): Pass through IGNORE_RESULT to second
44355         check_float_internal call.
44356         (check_int): Do not check numerical result if flag IGNORE_RESULT
44357         set.
44358         (check_long): Likewise.
44359         (check_bool): Likewise.
44360         (check_longlong): Likewise.
44361         (lrint_test_data): Add tests of infinite and NaN arguments.
44362         (lrint_tonearest_test_data): Likewise.
44363         (lrint_towardzero_test_data): Likewise.
44364         (lrint_downward_test_data): Likewise.
44365         (lrint_upward_test_data): Likewise.
44366         (llrint_test_data): Likewise.
44367         (llrint_tonearest_test_data): Likewise.
44368         (llrint_towardzero_test_data): Likewise.
44369         (llrint_downward_test_data): Likewise.
44370         (llrint_upward_test_data): Likewise.
44371         (lround_test_data): Likewise.
44372         (llround_test_data): Likewise.
44374         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44375         (ERRNO_UNCHANGED): Update value.
44376         (ERRNO_EDOM): Likewise.
44377         (ERRNO_ERANGE): Likewise.
44378         (NO_TEST_INLINE_FLOAT): New macro.
44379         (NO_TEST_INLINE_DOUBLE): Likewise.
44380         (enable_test): New function.
44381         (RUN_TEST_f_f): Check enable_test before running test.
44382         (RUN_TEST_2_f): Likewise.
44383         (RUN_TEST_fff_f): Likewise.
44384         (RUN_TEST_c_f): Likewise.
44385         (RUN_TEST_f_f1): Likewise.
44386         (RUN_TEST_fF_f1): Likewise.
44387         (RUN_TEST_fI_f1): Likewise.
44388         (RUN_TEST_ffI_f1): Likewise.
44389         (RUN_TEST_c_c): Likewise.
44390         (RUN_TEST_cc_c): Likewise.
44391         (RUN_TEST_f_i): Likewise.
44392         (RUN_TEST_f_i_tg): Likewise.
44393         (RUN_TEST_ff_i_tg): Likewise.
44394         (RUN_TEST_f_b): Likewise.
44395         (RUN_TEST_f_b_tg): Likewise.
44396         (RUN_TEST_f_l): Likewise.
44397         (RUN_TEST_f_L): Likewise.
44398         (RUN_TEST_fFF_11): Likewise.
44399         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44400         conditionals.
44401         (cosh_test_data): Likewise.
44402         (exp_test_data): Likewise.
44403         (expm1_test_data): Likewise.
44404         (hypot_test_data): Likewise.
44405         (pow_test_data): Likewise.
44406         (sinh_test_data): Likewise.
44407         (tanh_test_data): Likewise.
44408         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44409         flags argument.
44411         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44412         tests with quiet NaN input and output.
44413         (acosh_test_data): Likewise.
44414         (asin_test_data): Likewise.
44415         (asinh_test_data): Likewise.
44416         (atan_test_data): Likewise.
44417         (atanh_test_data): Likewise.
44418         (atan2_test_data): Likewise.
44419         (cbrt_test_data): Likewise.
44420         (cos_test_data): Likewise.
44421         (cosh_test_data): Likewise.
44422         (erf_test_data): Likewise.
44423         (erfc_test_data): Likewise.
44424         (exp_test_data): Likewise.
44425         (exp10_test_data): Likewise.
44426         (exp2_test_data): Likewise.
44427         (expm1_test_data): Likewise.
44428         (hypot_test_data): Likewise.
44429         (j0_test_data): Likewise.
44430         (j1_test_data): Likewise.
44431         (jn_test_data): Likewise.
44432         (lgamma_test_data): Likewise.
44433         (log_test_data): Likewise.
44434         (log10_test_data): Likewise.
44435         (log1p_test_data): Likewise.
44436         (log2_test_data): Likewise.
44437         (pow_test_data): Likewise.
44438         (scalb_test_data): Likewise.
44439         (sin_test_data): Likewise.
44440         (sincos_test_data): Likewise.
44441         (sinh_test_data): Likewise.
44442         (tan_test_data): Likewise.
44443         (tanh_test_data): Likewise.
44444         (tgamma_test_data): Likewise.
44445         (y0_test_data): Likewise.
44446         (y1_test_data): Likewise.
44447         (yn_test_data): Likewise.
44449         [BZ #16167]
44450         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44451         argument being NaN and avoid computations with second argument in
44452         that case.
44453         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44454         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44455         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44457 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44459         * locale/iso-639.def: Add Chitwani Tharu (the).
44461 2013-11-14  Andreas Schwab  <schwab@suse.de>
44463         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44464         word instead of empty string.
44466 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44469         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44471         (__fe_nomask_env): Likewise.
44473 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44475         * benchtests/bench-timing.h: Include time.h.
44477 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44479         [BZ #15997]
44480         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44481         to 3.4.0 for x32.
44482         * sysdeps/unix/sysv/linux/configure: Regenerated.
44484 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44486         [BZ #16151]
44487         * stdlib/strtod_l.c (round_and_return): Do not consider
44488         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44489         exponent one less than half the least subnormal exponent.
44490         * stdlib/test-strtod-round-data: Add more tests.
44491         * stdlib/tst-strtod-round.c (tests): Regenerated.
44493 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44495         [BZ #14143]
44496         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44497         (__fe_mask_env): Likewise.
44498         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44499         libm_hidden_proto and add function prototype.
44500         (__fe_mask_env): Add function prototype.
44501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44502         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44504         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44506         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44508 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44510         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44511         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44513 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44515         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44516         of htab_find_slot().
44518 2013-11-11  David S. Miller  <davem@davemloft.net>
44520         [BZ #16150]
44521         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44522         symbol in the non-vis3 case in static builds.
44523         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44524         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44525         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44526         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44528 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44530         [BZ #387]
44531         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44532         it is empty.
44534 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44536         * benchtests/Makefile: Add bench-strtod.
44537         * benchtests/bench-strtod.c: New file: strtod benchtest
44539 2013-11-11  Andreas Schwab  <schwab@suse.de>
44541         [BZ #16153]
44542         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44543         terminating NUL in key length.
44545 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44547         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44548         Add artificial ODP entry for vDSO symbol for PPC64.
44549         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44550         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44552 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44554         [BZ #15374]
44555         * nss/getent.c (services_keys): Recognize services starting with digit.
44557 2013-11-06  David S. Miller  <davem@davemloft.net>
44559         [BZ #15985]
44560         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44561         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44563 2013-11-06  Will Newton  <will.newton@linaro.org>
44565         * manual/memory.texi (Malloc Examples): Remove register
44566         keyword from examples.
44568 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44570         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44572 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44574         [BZ #6981]
44575         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44576         depending on [__GCC_IEC_559 > 0].
44577         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44578         depending on [__GCC_IEC_559_COMPLEX > 0].
44580 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44582         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44583         to iso-639.def.
44585 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44587         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44589 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44591         [BZ #16112]
44592         * malloc/malloc (malloc_info): Do not handle first bin as
44593         special case.
44595 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44597         * locale/iso-639.def: Add Central Nahuatl (nhn).
44599 2013-11-01  Bruno Haible  <bruno@clisp.org>
44601         [BZ #7003]
44602         * manual/math.texi (BSD Random): Specify range upper bound as
44603         in POSIX.
44605 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44607         * locale/iso-639.def: Add Meadow Mari (mhr).
44609 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44611         [BZ #14752], [BZ #15763]
44612         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44613         Validate name.
44614         * rt/tst_shm.c: Add test for escaping directory.
44616 2013-10-31  Andreas Schwab  <schwab@suse.de>
44618         [BZ #15917]
44619         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44620         followed by 'x' as part of digit sequence.
44621         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44623 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44625         [BZ #16037]
44626         * configure.ac: allow GNU Make 4.0 and greater.
44627         * configure: Regenerated.
44629 2013-10-30  Will Newton  <will.newton@linaro.org>
44631         [BZ #16038]
44632         * malloc/hooks.c (memalign_check): Limit alignment to the
44633         maximum representable power of two.
44634         * malloc/malloc.c (__libc_memalign): Likewise.
44635         * malloc/tst-memalign.c (do_test): Add test for very
44636         large alignment values.
44637         * malloc/tst-posix_memalign.c (do_test): Likewise.
44639 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44641         [BZ #11087]
44642         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44643         (munmap_chunk): Likewise.
44644         (mremap_chunk): Likewise.
44646 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44648         [BZ #15799]
44649         * stdlib/div.c (div): Remove obsolete code.
44650         * stdlib/ldiv.c (ldiv): Likewise.
44651         * stdlib/lldiv.c (lldiv): Likewise.
44653 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44655         [BZ #16071]
44656         * nss/nss_files/files-XXX.c (get_contents_ret): New
44657         enumerator.
44658         (get_contents): New function.
44659         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44661 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44663         * configure.in: Moved to ...
44664         * configure.ac: ... here. Change reference to configure.in
44665         to configure.ac.
44666         * sysdeps/arm/preconfigure.ac: ... here.
44667         configure.in to configure.ac.
44668         * sysdeps/gnu/configure.in: Moved to ...
44669         * sysdeps/gnu/configure.ac: ... here.
44670         * sysdeps/i386/configure.in: Moved to ...
44671         * sysdeps/i386/configure.ac: ... here.
44672         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44673         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44674         * sysdeps/mach/configure.in: Moved to ...
44675         * sysdeps/mach/configure.ac: ... here.
44676         * sysdeps/mach/hurd/configure.in: Moved to ...
44677         * sysdeps/mach/hurd/configure.ac: ... here.
44678         * sysdeps/powerpc/configure.in: Moved to ...
44679         * sysdeps/powerpc/configure.ac: ... here.
44680         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44681         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44682         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44683         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44684         * sysdeps/s390/s390-32/configure.in: Moved to ...
44685         * sysdeps/s390/s390-32/configure.ac: ... here.
44686         * sysdeps/s390/s390-64/configure.in: Moved to ...
44687         * sysdeps/s390/s390-64/configure.ac: ... here.
44688         * sysdeps/sh/configure.in: Moved to ...
44689         * sysdeps/sh/configure.ac: ... here.
44690         * sysdeps/sparc/configure.in: Moved to ...
44691         * sysdeps/sparc/configure.ac: ... here.
44692         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44693         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44694         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44695         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44696         * sysdeps/x86_64/configure.in: Moved to ...
44697         * sysdeps/x86_64/configure.ac: ... here.
44698         * sysdeps/x86_64/preconfigure.in: Moved to ...
44699         * sysdeps/x86_64/preconfigure.ac: ... here.
44700         * aclocal.m4: Change reference to configure.in to configure.ac.
44701         * config.h.in: Likewise.
44702         * manual/install.texi: Likewise.
44703         * manual/maint.texi: Likewise.
44704         * Makefile: Likewise.
44705         * malloc/Makefile: Likewise.
44706         * nscd/Makefile: Likewise.
44707         * Makeconfig: Change reference to configure.in and
44708         preconfigure.in to configure.ac and preconfigure.ac
44709         respectively.
44710         * INSTALL: Regenerated.
44711         * configure: Likewise.
44712         * sysdeps/gnu/configure: Likewise.
44713         * sysdeps/i386/configure: Likewise.
44714         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44715         * sysdeps/mach/configure: Likewise.
44716         * sysdeps/mach/hurd/configure: Likewise.
44717         * sysdeps/powerpc/configure: Likewise.
44718         * sysdeps/powerpc/powerpc32/configure: Likewise.
44719         * sysdeps/powerpc/powerpc64/configure: Likewise.
44720         * sysdeps/s390/s390-32/configure: Likewise.
44721         * sysdeps/s390/s390-64/configure: Likewise.
44722         * sysdeps/sh/configure: Likewise.
44723         * sysdeps/sparc/configure: Likewise.
44724         * sysdeps/unix/sysv/linux/configure: Likewise.
44725         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44726         * sysdeps/x86_64/configure: Likewise.
44727         * sysdeps/x86_64/preconfigure: Likewise.
44729 2013-10-29  Andreas Schwab  <schwab@suse.de>
44731         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44733 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44735         * benchtests/pow-inputs: Add new inputs.
44737         * benchtests/exp-inputs: Add new inputs.
44739         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44740         conditional check for return value.
44741         (__cos32): Likewise.
44743 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44745         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44746         to provide a boost for large inputs with word alignment.
44747         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44748         implementation based on optimized PPC64 strcpy.
44749         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44750         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44751         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44752         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44754 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44756         [BZ #2801]
44757         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44759 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44761         [BZ #14876]
44762         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44763         * time/tst-strptime.c (day_tests): Add testcase.
44765 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44767         [BZ #14029]
44768         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44770 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44772         [BZ #16074]
44773         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44774         MAP_FAILED on error.
44776 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44778         [BZ #16072]
44779         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44780         heap for large requests.
44782 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44784         [BZ #9954]
44785         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44786         result if the result has no associated interface.
44787         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44788         interface for all 127.X.Y.Z addresses.
44790 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44792         * locale/iso-639.def: Add Ligurian (lij)
44794 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44796         [BZ #15825]
44797         * sunrpc/rpc_main.c: Document rpcgen -5.
44799 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44801         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44803 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44805         [BZ #10278]
44806         * posix/glob.c: Match only directories when trailing slash is present.
44807         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44808         (main): Add testcase.
44810 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44812         [BZ #15670]
44813         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44815 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44817         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44818         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44819         AUTH_DES and cindex for FIPS 140-2.
44820         (DES Encryption): Add cindex FIPS 46-3.
44822         * locale/locarchive.h (struct locarhandle): Add fname.
44823         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44824         if an optional argument was specified to --list-archive,
44825         otherwise NULL.
44826         * locale/programs/locarchive.c (show_archive_content): Take new
44827         argument fname and pass it via ah.fname to open_archive.
44828         * locale/programs/localedef.h: Update decl.
44829         (open_archive): If AH->fname is non-null, open that file
44830         rather than the default file name, and don't ignore ENOENT.
44831         (create_archive): Set AH.fname to NULL.
44832         (delete_locales_from_archive): Likewise.
44833         (add_locales_to_archive): Likewise.
44834         * locale/programs/locfile.c (write_all_categories): Likewise.
44836 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44837             Aldy Hernandez  <aldyh@redhat.com>
44839         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44840         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44841         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44842         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44843         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44844         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44845         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44847         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44849         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44850         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44851         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44852         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44853         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44854         Likewise.
44855         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44856         Likewise.
44857         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44858         Likewise.
44859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44860         Likewise.
44861         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44862         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44863         Likewise.
44864         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44865         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44866         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44867         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44868         Likewise.
44869         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44870         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44871         * sysdeps/powerpc/preconfigure: Likewise.
44872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44873         Likewise.
44874         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44875         Replace contents of file by #include of <fenv_libc.h>.
44876         * sysdeps/powerpc/soft-fp/sfp-machine.h
44877         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44878         and <sys/prctl.h>.
44879         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44892         Allow copysignl PLT reference to be missing.
44894 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44895             Joseph Myers  <joseph@codesourcery.com
44897         [BZ #15948]
44898         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44899         single character.
44900         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44902 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44904         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44905         * elf/tst-tls1.c: Likewise.
44906         * elf/tst-tls10.h: Likewise.
44907         * elf/tst-tls14.c: Likewise.
44908         * elf/tst-tls2.c: Likewise.
44909         * elf/tst-tls3.c: Likewise.
44910         * elf/tst-tls4.c: Likewise.
44911         * elf/tst-tls5.c: Likewise.
44912         * elf/tst-tls6.c: Likewise.
44913         * elf/tst-tls7.c: Likewise.
44914         * elf/tst-tls8.c: Likewise.
44915         * elf/tst-tls9.c: Likewise.
44916         * elf/tst-tlsmod1.c: Likewise.
44917         * elf/tst-tlsmod13.c: Likewise.
44918         * elf/tst-tlsmod13a.c: Likewise.
44919         * elf/tst-tlsmod14a.c: Likewise.
44920         * elf/tst-tlsmod16a.c: Likewise.
44921         * elf/tst-tlsmod16b.c: Likewise.
44922         * elf/tst-tlsmod2.c: Likewise.
44923         * elf/tst-tlsmod3.c: Likewise.
44924         * elf/tst-tlsmod4.c: Likewise.
44925         * elf/tst-tlsmod5.c: Likewise.
44926         * elf/tst-tlsmod6.c: Likewise.
44928 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44930         [BZ #12486]
44931         * malloc/malloc.c: remove checks for statistics.
44933 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44935         [BZ #15277]
44936         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44937         * inet/tst-network.c: Add testcase.
44939 2013-10-17  Andreas Schwab  <schwab@suse.de>
44941         [BZ #15218]
44942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44943         to determine canonical name.
44945 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44947         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44948         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44950         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44951         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44952         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44953         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44954         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44955         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44956         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44957         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44958         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44959         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44960         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44961         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44965         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44967         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44969         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44970         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44971         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44972         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44973         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44974         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44977         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44978         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44980         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44982         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44983         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44984         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44985         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44986         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44987         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44988         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44989         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44990         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44991         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44992         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44993         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44994         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44995         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44996         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44997         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44998         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44999         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45001         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45002         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45003         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45004         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45006 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45008         [BZ #16041]
45009         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45010         make result into a quiet NaN.
45012 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45014         * soft-fp/adddf3.c: Fix horizontal whitespace.
45015         * soft-fp/addsf3.c: Likewise.
45016         * soft-fp/addtf3.c: Likewise.
45017         * soft-fp/divdf3.c: Likewise.
45018         * soft-fp/divsf3.c: Likewise.
45019         * soft-fp/divtf3.c: Likewise.
45020         * soft-fp/double.h: Likewise.
45021         * soft-fp/eqdf2.c: Likewise.
45022         * soft-fp/eqsf2.c: Likewise.
45023         * soft-fp/eqtf2.c: Likewise.
45024         * soft-fp/extenddftf2.c: Likewise.
45025         * soft-fp/extended.h: Likewise.
45026         * soft-fp/extendsfdf2.c: Likewise.
45027         * soft-fp/extendsftf2.c: Likewise.
45028         * soft-fp/extendxftf2.c: Likewise.
45029         * soft-fp/fixdfdi.c: Likewise.
45030         * soft-fp/fixdfsi.c: Likewise.
45031         * soft-fp/fixdfti.c: Likewise.
45032         * soft-fp/fixsfdi.c: Likewise.
45033         * soft-fp/fixsfsi.c: Likewise.
45034         * soft-fp/fixsfti.c: Likewise.
45035         * soft-fp/fixtfdi.c: Likewise.
45036         * soft-fp/fixtfsi.c: Likewise.
45037         * soft-fp/fixtfti.c: Likewise.
45038         * soft-fp/fixunsdfdi.c: Likewise.
45039         * soft-fp/fixunsdfsi.c: Likewise.
45040         * soft-fp/fixunsdfti.c: Likewise.
45041         * soft-fp/fixunssfdi.c: Likewise.
45042         * soft-fp/fixunssfsi.c: Likewise.
45043         * soft-fp/fixunssfti.c: Likewise.
45044         * soft-fp/fixunstfdi.c: Likewise.
45045         * soft-fp/fixunstfsi.c: Likewise.
45046         * soft-fp/fixunstfti.c: Likewise.
45047         * soft-fp/floatdidf.c: Likewise.
45048         * soft-fp/floatdisf.c: Likewise.
45049         * soft-fp/floatditf.c: Likewise.
45050         * soft-fp/floatsidf.c: Likewise.
45051         * soft-fp/floatsisf.c: Likewise.
45052         * soft-fp/floatsitf.c: Likewise.
45053         * soft-fp/floattidf.c: Likewise.
45054         * soft-fp/floattisf.c: Likewise.
45055         * soft-fp/floattitf.c: Likewise.
45056         * soft-fp/floatundidf.c: Likewise.
45057         * soft-fp/floatundisf.c: Likewise.
45058         * soft-fp/floatunditf.c: Likewise.
45059         * soft-fp/floatunsidf.c: Likewise.
45060         * soft-fp/floatunsisf.c: Likewise.
45061         * soft-fp/floatunsitf.c: Likewise.
45062         * soft-fp/floatuntidf.c: Likewise.
45063         * soft-fp/floatuntisf.c: Likewise.
45064         * soft-fp/floatuntitf.c: Likewise.
45065         * soft-fp/fmadf4.c: Likewise.
45066         * soft-fp/fmasf4.c: Likewise.
45067         * soft-fp/fmatf4.c: Likewise.
45068         * soft-fp/gedf2.c: Likewise.
45069         * soft-fp/gesf2.c: Likewise.
45070         * soft-fp/getf2.c: Likewise.
45071         * soft-fp/ledf2.c: Likewise.
45072         * soft-fp/lesf2.c: Likewise.
45073         * soft-fp/letf2.c: Likewise.
45074         * soft-fp/muldf3.c: Likewise.
45075         * soft-fp/mulsf3.c: Likewise.
45076         * soft-fp/multf3.c: Likewise.
45077         * soft-fp/negdf2.c: Likewise.
45078         * soft-fp/negsf2.c: Likewise.
45079         * soft-fp/negtf2.c: Likewise.
45080         * soft-fp/op-1.h: Likewise.
45081         * soft-fp/op-2.h: Likewise.
45082         * soft-fp/op-4.h: Likewise.
45083         * soft-fp/op-8.h: Likewise.
45084         * soft-fp/op-common.h: Likewise.
45085         * soft-fp/quad.h: Likewise.
45086         * soft-fp/single.h: Likewise.
45087         * soft-fp/soft-fp.h: Likewise.
45088         * soft-fp/sqrtdf2.c: Likewise.
45089         * soft-fp/sqrtsf2.c: Likewise.
45090         * soft-fp/sqrttf2.c: Likewise.
45091         * soft-fp/subdf3.c: Likewise.
45092         * soft-fp/subsf3.c: Likewise.
45093         * soft-fp/subtf3.c: Likewise.
45094         * soft-fp/truncdfsf2.c: Likewise.
45095         * soft-fp/trunctfdf2.c: Likewise.
45096         * soft-fp/trunctfsf2.c: Likewise.
45097         * soft-fp/trunctfxf2.c: Likewise.
45098         * soft-fp/unorddf2.c: Likewise.
45099         * soft-fp/unordsf2.c: Likewise.
45100         * soft-fp/unordtf2.c: Likewise.
45102 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45104         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45105         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45107 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45109         * elf/dl-libc.c: Clear initfini list after freeing.
45111 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45113         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45114         * soft-fp/addsf3.c: Likewise.
45115         * soft-fp/addtf3.c: Likewise.
45116         * soft-fp/divdf3.c: Likewise.
45117         * soft-fp/divsf3.c: Likewise.
45118         * soft-fp/divtf3.c: Likewise.
45119         * soft-fp/double.h: Likewise.
45120         * soft-fp/eqdf2.c: Likewise.
45121         * soft-fp/eqsf2.c: Likewise.
45122         * soft-fp/eqtf2.c: Likewise.
45123         * soft-fp/extenddftf2.c: Likewise.
45124         * soft-fp/extended.h: Likewise.
45125         * soft-fp/extendsfdf2.c: Likewise.
45126         * soft-fp/extendsftf2.c: Likewise.
45127         * soft-fp/extendxftf2.c: Likewise.
45128         * soft-fp/fixdfdi.c: Likewise.
45129         * soft-fp/fixdfsi.c: Likewise.
45130         * soft-fp/fixdfti.c: Likewise.
45131         * soft-fp/fixsfdi.c: Likewise.
45132         * soft-fp/fixsfsi.c: Likewise.
45133         * soft-fp/fixsfti.c: Likewise.
45134         * soft-fp/fixtfdi.c: Likewise.
45135         * soft-fp/fixtfsi.c: Likewise.
45136         * soft-fp/fixtfti.c: Likewise.
45137         * soft-fp/fixunsdfdi.c: Likewise.
45138         * soft-fp/fixunsdfsi.c: Likewise.
45139         * soft-fp/fixunsdfti.c: Likewise.
45140         * soft-fp/fixunssfdi.c: Likewise.
45141         * soft-fp/fixunssfsi.c: Likewise.
45142         * soft-fp/fixunssfti.c: Likewise.
45143         * soft-fp/fixunstfdi.c: Likewise.
45144         * soft-fp/fixunstfsi.c: Likewise.
45145         * soft-fp/fixunstfti.c: Likewise.
45146         * soft-fp/floatdidf.c: Likewise.
45147         * soft-fp/floatdisf.c: Likewise.
45148         * soft-fp/floatditf.c: Likewise.
45149         * soft-fp/floatsidf.c: Likewise.
45150         * soft-fp/floatsisf.c: Likewise.
45151         * soft-fp/floatsitf.c: Likewise.
45152         * soft-fp/floattidf.c: Likewise.
45153         * soft-fp/floattisf.c: Likewise.
45154         * soft-fp/floattitf.c: Likewise.
45155         * soft-fp/floatundidf.c: Likewise.
45156         * soft-fp/floatundisf.c: Likewise.
45157         * soft-fp/floatunsidf.c: Likewise.
45158         * soft-fp/floatunsisf.c: Likewise.
45159         * soft-fp/floatuntidf.c: Likewise.
45160         * soft-fp/floatuntisf.c: Likewise.
45161         * soft-fp/floatuntitf.c: Likewise.
45162         * soft-fp/fmadf4.c: Likewise.
45163         * soft-fp/fmasf4.c: Likewise.
45164         * soft-fp/fmatf4.c: Likewise.
45165         * soft-fp/gedf2.c: Likewise.
45166         * soft-fp/gesf2.c: Likewise.
45167         * soft-fp/getf2.c: Likewise.
45168         * soft-fp/ledf2.c: Likewise.
45169         * soft-fp/lesf2.c: Likewise.
45170         * soft-fp/letf2.c: Likewise.
45171         * soft-fp/muldf3.c: Likewise.
45172         * soft-fp/mulsf3.c: Likewise.
45173         * soft-fp/multf3.c: Likewise.
45174         * soft-fp/negdf2.c: Likewise.
45175         * soft-fp/negsf2.c: Likewise.
45176         * soft-fp/negtf2.c: Likewise.
45177         * soft-fp/op-1.h: Likewise.
45178         * soft-fp/op-2.h: Likewise.
45179         * soft-fp/op-4.h: Likewise.
45180         * soft-fp/op-8.h: Likewise.
45181         * soft-fp/op-common.h: Likewise.
45182         * soft-fp/quad.h: Likewise.
45183         * soft-fp/single.h: Likewise.
45184         * soft-fp/soft-fp.h: Likewise.
45185         * soft-fp/sqrtdf2.c: Likewise.
45186         * soft-fp/sqrtsf2.c: Likewise.
45187         * soft-fp/sqrttf2.c: Likewise.
45188         * soft-fp/subdf3.c: Likewise.
45189         * soft-fp/subsf3.c: Likewise.
45190         * soft-fp/subtf3.c: Likewise.
45191         * soft-fp/truncdfsf2.c: Likewise.
45192         * soft-fp/trunctfdf2.c: Likewise.
45193         * soft-fp/trunctfsf2.c: Likewise.
45194         * soft-fp/trunctfxf2.c: Likewise.
45195         * soft-fp/unorddf2.c: Likewise.
45196         * soft-fp/unordsf2.c: Likewise.
45197         * soft-fp/unordtf2.c: Likewise.
45199 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45201         [BZ #15672]
45202         * misc/error.c (error_tail): Fix possible buffer overflow.
45204 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45206         [BZ #13028]
45207         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45208         address.
45210 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45212         [BZ #832]
45213         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45214         testing pipefail option.
45216 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45218         * soft-fp/double.h: Indent preprocessor directives inside #if.
45219         * soft-fp/extended.h: Likewise.
45220         * soft-fp/op-2.h: Likewise.
45221         * soft-fp/op-4.h: Likewise.
45222         * soft-fp/op-common.h: Likewise.
45223         * soft-fp/quad.h: Likewise.
45224         * soft-fp/single.h: Likewise.
45225         * soft-fp/soft-fp.h: Likewise.
45227 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45229         * iconv/iconv_prog.c: Fix typos.
45230         * stdio-common/psiginfo-data.h: Likewise.
45232 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45234         [BZ #15764]
45235         * locale/setlocale.c: Fix typo.
45237 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45239         [BZ #16036]
45240         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45241         signaling NaN arguments.
45242         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45243         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45245         [BZ #14910]
45246         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45247         unordered operands.
45248         * soft-fp/gesf2.c (__gesf2): Likewise.
45249         * soft-fp/getf2.c (__getf2): Likewise.
45250         * soft-fp/ledf2.c (__ledf2): Likewise.
45251         * soft-fp/lesf2.c (__lesf2): Likewise.
45252         * soft-fp/letf2.c (__letf2): Likewise.
45254         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45255         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45256         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45257         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45258         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45259         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45260         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45261         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45262         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45263         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45264         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45265         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45266         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45267         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45268         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45269         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45270         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45271         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45272         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45273         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45274         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45275         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45276         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45277         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45278         * soft-fp/floattidf.c (__floattidf): Likewise.
45279         * soft-fp/floattisf.c (__floattisf): Likewise.
45280         * soft-fp/floattitf.c (__floattitf): Likewise.
45281         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45282         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45283         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45284         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45285         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45286         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45287         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45288         * soft-fp/gesf2.c (__gesf2): Likewise.
45289         * soft-fp/getf2.c (__getf2): Likewise.
45290         * soft-fp/ledf2.c (__ledf2): Likewise.
45291         * soft-fp/lesf2.c (__lesf2): Likewise.
45292         * soft-fp/letf2.c (__letf2): Likewise.
45294         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45295         Undefine and redefine.
45296         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45297         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45298         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45299         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45300         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45301         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45302         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45303         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45304         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45305         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45306         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45307         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45308         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45309         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45310         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45312         [BZ #16032]
45313         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45314         without decrementing exponent if mantissa >= that for the
45315         denominator, not >.
45316         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45317         denominator, not >.  Decrement exponent in < case instead of
45318         incrementing in >= case.
45319         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45320         without decrementing exponent if mantissa >= that for the
45321         denominator, not >.
45323         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45324         computing saturated result for unsigned overflow.
45326 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45327             Jeff Law  <law@redhat.com>
45329         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45330         (atan2Mp): Add systemtap probe marker.
45331         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45332         (__ieee754_log): Add systemtap probe marker.
45333         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45334         (atanMp): Add systemtap probe marker.
45335         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45336         (tanMp): Add systemtap probe marker.
45337         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45338         (__slowexp): Add systemtap probe marker.
45339         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45340         (__slowpow): Add systemtap probe marker.
45341         * manual/probes.texi: Document probes.
45343 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45345         [BZ #15362]
45346         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45347         written.
45348         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45349         written.
45350         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45351         written to buffer but not flushed.
45352         * libio/iofwrite_u.c:  Likewise.
45353         * libio/iopadn.c:  Return bytes returned even if EOF was
45354         encountered.
45355         * libio/iowpadn.c:  Likewise.
45356         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45357         if _IO_padn does not write the whole buffer.
45358         [!COMPILE_WPRINTF] (PAD): Likewise.
45360 2013-10-10  David S. Miller  <davem@davemloft.net>
45362         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45363         directory block.
45365 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45367         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45368         instead of FSF address.
45369         * soft-fp/fixdfti.c: Likewise.
45370         * soft-fp/fixsfti.c: Likewise.
45371         * soft-fp/fixtfti.c: Likewise.
45372         * soft-fp/fixunsdfti.c: Likewise.
45373         * soft-fp/fixunssfti.c: Likewise.
45374         * soft-fp/fixunstfti.c: Likewise.
45375         * soft-fp/floattidf.c: Likewise.
45376         * soft-fp/floattisf.c: Likewise.
45377         * soft-fp/floattitf.c: Likewise.
45378         * soft-fp/floatuntidf.c: Likewise.
45379         * soft-fp/floatuntisf.c: Likewise.
45380         * soft-fp/floatuntitf.c: Likewise.
45381         * soft-fp/trunctfxf2.c: Likewise.
45383         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45384         * soft-fp/fixdfti.c: Likewise.
45385         * soft-fp/fixsfti.c: Likewise.
45386         * soft-fp/fixtfti.c: Likewise.
45387         * soft-fp/fixunsdfti.c: Likewise.
45388         * soft-fp/fixunssfti.c: Likewise.
45389         * soft-fp/fixunstfti.c: Likewise.
45390         * soft-fp/floattidf.c: Likewise.
45391         * soft-fp/floattisf.c: Likewise.
45392         * soft-fp/floattitf.c: Likewise.
45393         * soft-fp/floatuntidf.c: Likewise.
45394         * soft-fp/floatuntisf.c: Likewise.
45395         * soft-fp/floatuntitf.c: Likewise.
45396         * soft-fp/trunctfxf2.c: Likewise.
45398 2013-10-10  David S. Miller  <davem@davemloft.net>
45400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45402 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45404         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45405         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45406         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45407         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45408         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45409         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45410         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45412         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45413         for NaNs before doing comparisons on argument.
45414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45415         Likewise.
45417 2013-10-10  Will Newton  <will.newton@linaro.org>
45419         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45420         passed to _int_memalign does not overflow.
45422 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45424         * scripts/bench.pl: Add include-sources directive.
45425         * benchtests/README: Update documentation.
45427 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45429         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45430         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45431         instead of FP_INIT_ROUNDMODE.
45432         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45433         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45435         [BZ #16034]
45436         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45437         copy class of input value.
45438         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45439         not handle exceptions.
45440         * soft-fp/negsf2.c (__negsf2): Likewise.
45441         * soft-fp/negtf2.c (__negtf2): Likewise.
45442         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45444 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45446         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45447         semicolon.  From Linux kernel.
45449 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45451         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45453 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45455         [BZ #156]
45456         * manual/socket.texi: Added statement about buffer
45457         for gethostbyname2_r.
45459 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45461         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45462         Use .p2align directive instead, throughout.
45463         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45464         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45465         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45468         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45469         * sysdeps/x86_64/strchr.S: Likewise.
45470         * sysdeps/x86_64/strrchr.S: Likewise.
45472 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45474         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45476         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45478         * sysdeps/generic/math_private.h (__mpsin1): Remove
45479         declaration.
45480         (__mpcos1): Likewise.
45481         (__mpsin): New argument __range_reduce.
45482         (__mpcos): Likewise.
45483         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45484         (slow): Use __mpsin and __mpcos.
45485         (slow1): Likewise.
45486         (slow2): Likewise.
45487         (sloww): Likewise.
45488         (sloww1): Likewise.
45489         (sloww2): Likewise.
45490         (bsloww): Likewise.
45491         (bsloww1): Likewise.
45492         (bsloww2): Likewise.
45493         (cslow2): Likewise.
45494         (csloww): Likewise.
45495         (csloww1): Likewise.
45496         (csloww2): Likewise.
45497         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45498         range_reduce.  Merge in __mpsin1.
45499         (__mpcos): Likewise.
45500         (__mpsin1): Remove.
45501         (__mpcos1): Likewise.
45503 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45505         * locale/loadlocale.c (_nl_intern_locale_data): Use
45506         LOCFILE_ALIGNED_P.
45507         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45508         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45509         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45510         obstack data is appropriately aligned.
45511         (obstack_int32_grow_fast): Likewise.
45512         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45513         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45514         (add_locale_uint32_array): Likewise.
45516 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45518         * benchtests/Makefile: Remove ARGLIST and RET variables.
45519         ($(objpfx)bench-%.c): Pass only function name to the script.
45520         * benchtests/README: Update documentation.
45521         * benchtests/acos-inputs: Add new directives.
45522         * benchtests/acosh-inputs: Likewise.
45523         * benchtests/asin-inputs: Likewise.
45524         * benchtests/asinh-inputs: Likewise.
45525         * benchtests/atan-inputs: Likewise.
45526         * benchtests/atanh-inputs: Likewise.
45527         * benchtests/cos-inputs: Likewise.
45528         * benchtests/cosh-inputs: Likewise.
45529         * benchtests/exp-inputs: Likewise.
45530         * benchtests/log-inputs: Likewise.
45531         * benchtests/pow-inputs: Likewise.
45532         * benchtests/rint-inputs: Likewise.
45533         * benchtests/sin-inputs: Likewise.
45534         * benchtests/sinh-inputs: Likewise.
45535         * benchtests/tan-inputs: Likewise.
45536         * benchtests/tanh-inputs: Likewise.
45537         * scripts/bench.pl: Add support for new directives.
45539 2013-10-07  Alan Modra  <amodra@gmail.com>
45541         * README: Fix careless merge.
45543 2013-10-05  Alan Modra  <amodra@gmail.com>
45545         * NEWS: Mention powerpc64le support and bugs fixed.
45546         * README: Both big-endian and little-endian powerpc64 supported.
45548 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45550         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45551         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45552         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45553         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45555 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45557         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45558         match prototype.
45560 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45562         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45563         Move -mhard-float appending from
45564         ports/sysdeps/powerpc/powerpc32/Makefile.
45565         [$(with-fp) = yes] (ASFLAGS): Likewise.
45566         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45567         * sysdeps/powerpc/nofpu: Move directory from
45568         ports/sysdeps/powerpc/nofpu.
45569         * sysdeps/powerpc/soft-fp: Move directory from
45570         ports/sysdeps/powerpc/soft-fp.
45571         * sysdeps/powerpc/powerpc32/405: Move directory from
45572         ports/sysdeps/powerpc/powerpc32/405.
45573         * sysdeps/powerpc/powerpc32/440: Move directory from
45574         ports/sysdeps/powerpc/powerpc32/440.
45575         * sysdeps/powerpc/powerpc32/464: Move directory from
45576         ports/sysdeps/powerpc/powerpc32/464.
45577         * sysdeps/powerpc/powerpc32/476: Move directory from
45578         ports/sysdeps/powerpc/powerpc32/476.
45579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45580         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45582         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45584         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45589         * README: Update for powerpc-*-linux-gnu software floating point
45590         support in libc.
45592         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45593         case to powerpc/powerpc32*.
45594         * sysdeps/unix/sysv/linux/configure: Regenerated.
45596         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45597         (_FPU_MASK_OM): Define as 0x04.
45598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45600         0x00c10080.
45601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45602         0x0000003c.
45603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45606         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45607         getcontext_e500.
45608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45609         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45610         setcontext_e500.
45611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45612         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45613         and setcontext_e500.
45615 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45617         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45619 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45621         * manual/threads.texi (Default Thread Attributes): Fix typo.
45623 2013-10-04  Will Newton  <will.newton@linaro.org>
45625         * malloc/Makefile: Add tst-memalign.
45626         * malloc/tst-memalign.c: New file.
45628         * malloc/tst-posix_memalign.c: Add comments.
45629         (do_test): Add comments and call free on all potentially
45630         allocated pointers. Add space after cast.
45632         * malloc/tst-pvalloc.c: Add comments.
45633         (do_test): Add comments and call free on all potentially
45634         allocated pointers. Remove duplicate check for NULL pointer.
45635         Add space after cast.
45637         * malloc/tst-valloc.c: Add comments.
45638         (do_test): Add comments and call free on all potentially
45639         allocated pointers. Remove duplicate check for NULL pointer.
45640         Add space after cast.
45642 2013-10-04  Alan Modra  <amodra@gmail.com>
45644         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45645         Use stdint types in rather than __attribute__((mode())).
45646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45648 2013-10-04  Alan Modra  <amodra@gmail.com>
45650         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45651         Correct handling of unaligned relocs for little-endian.
45652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45654 2013-10-04  Alan Modra  <amodra@gmail.com>
45656         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45657         * configure: Regenerate.
45658         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45659         * shlib-versions: Likewise.
45661 2013-10-04  Alan Modra  <amodra@gmail.com>
45663         * string/tester.c (test_memrchr): Increment reported test cycle.
45665 2013-10-04  Alan Modra  <amodra@gmail.com>
45667         * string/test-memcpy.c (do_one_test): When reporting errors, print
45668         string address and don't overrun end of string.
45670 2013-10-04  Alan Modra  <amodra@gmail.com>
45672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45673         insrdi.  Make better use of reg selection to speed exit slightly.
45674         Schedule entry path a little better.  Remove useless "are we done"
45675         checks on entry to main loop.  Handle wrapping around zero address.
45676         Correct main loop count.  Handle single left-over word from main
45677         loop inline rather than by using loop_small.  Remove extra word
45678         case in loop_small caused by wrong loop count.  Add little-endian
45679         support.
45680         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45681         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45682         cache hint.
45683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45684         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45685         support.  Avoid rlwimi.
45686         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45688 2013-10-04  Alan Modra  <amodra@gmail.com>
45690         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45691         insrdi.  Formatting.
45692         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45693         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45694         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45695         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45696         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45697         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45699 2013-10-04  Alan Modra  <amodra@gmail.com>
45701         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45703         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45704         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45705         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45706         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45707         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45708         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45709         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45710         use of regs.  Use power7 mtocrf.  Tidy function tails.
45712 2013-10-04  Alan Modra  <amodra@gmail.com>
45714         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45715         Formatting.  Consistently use rXXX register defines or rN defines.
45716         Use early exit labels that avoid restoring unused non-volatile regs.
45717         Make cr field use more consistent with rWORDn compares.  Rename
45718         regs used as shift registers for unaligned loop, using rN defines
45719         for short lifetime/multiple use regs.
45720         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45722         addi 1,1,64 to pop stack frame.  Simplify return value code.
45723         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45725 2013-10-04  Alan Modra  <amodra@gmail.com>
45727         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45728         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45729         rather than rlwimi.
45730         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45731         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45732         little-endian support.  Correct typos.
45733         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45734         rather than rlwimi.
45735         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45736         in loop and entry code to keep "and." results.
45737         (strchr): Add little-endian support.  Comment.  Move cntlzd
45738         earlier in tail.
45739         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45741 2013-10-04  Alan Modra  <amodra@gmail.com>
45743         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45744         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45745         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45746         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45748 2013-10-04  Alan Modra  <amodra@gmail.com>
45750         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45751         (rTMP): Define as r11.
45752         (strcmp): Add little-endian support.  Optimise tail.
45753         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45754         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45755         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45756         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45757         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45758         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45759         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45761 2013-10-04  Alan Modra  <amodra@gmail.com>
45763         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45764         little-endian support.  Remove unnecessary "are we done" tests.
45765         Handle "s" wrapping around zero and extremely large "size".
45766         Correct main loop count.  Handle single left-over word from main
45767         loop inline rather than by using small_loop.  Correct comments.
45768         Delete "zero" tail, use "end_max" instead.
45769         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45771 2013-10-04  Alan Modra  <amodra@gmail.com>
45773         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45774         support.  Don't branch over align.
45775         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45776         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45777         support.  Rearrange tmp reg use to suit.  Comment.
45778         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45780 2013-10-04  Alan Modra  <amodra@gmail.com>
45782         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45784 2013-10-04  Alan Modra  <amodra@gmail.com>
45786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45787         conditional form of branch and link when obtaining pc.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45790 2013-10-04  Alan Modra  <amodra@gmail.com>
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45793         HIWORD/LOWORD.
45794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45797 2013-10-04  Alan Modra  <amodra@gmail.com>
45799         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45800         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45801         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45802         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45803         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45804         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45805         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45806         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45807         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45808         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45810 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45811             Alistair Popple <alistair@ozlabs.au.ibm.com>
45812             Alan Modra <amodra@gmail.com>
45814         [BZ #15723]
45815         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45816         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45817         _dl_hwcap access for little-endian.
45818         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45819         destroy vmx regs when saving unaligned.
45820         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45821         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45822         destroy vmx regs when saving unaligned.
45824 2013-10-04  Alan Modra  <amodra@gmail.com>
45826         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45827         Don't use a union to pack hi/low value.
45829 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45831         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45832         for little-endian.
45833         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45834         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45835         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45836         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45837         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45839 2013-10-04  Alan Modra  <amodra@gmail.com>
45841         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45842         constants to usual value for .cst8 section, and remove redundant
45843         high address load.
45844         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45845         constant for 0x1p52.  Load little-endian words of double from
45846         correct stack offsets.
45848 2013-10-04  Alan Modra  <amodra@gmail.com>
45850         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45851         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45852         words of double from correct stack offsets.
45853         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45854         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45855         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45856         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45857         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45858         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45859         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45860         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45861         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45862         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45863         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45865         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45866         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45867         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45868         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45869         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45871 2013-10-04  Alan Modra  <amodra@gmail.com>
45873         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45874         64-bit int/double union.
45875         (_FPU_SETCW): Likewise.
45876         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45877         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45879 2013-10-04  Alan Modra  <amodra@gmail.com>
45881         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45882         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45884 2013-10-04  Alan Modra  <amodra@gmail.com>
45886         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45887         use vector int constants.
45888         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45890 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45892         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45893         array with long long.
45894         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45895         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45896         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45897         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45898         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45899         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45900         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45901         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45902         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45903         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45904         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45905         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45906         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45908 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45910         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45911         (__signbit): Likewise.  Correct for little-endian.
45912         (__signbitl): Call __signbit.
45913         (lrint): Correct for little-endian.
45914         (lrintf): Call lrint.
45916 2013-10-04  Alan Modra  <amodra@gmail.com>
45918         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45919         union 32-bit int array member with 64-bit int array.
45920         (t515, tm256): Double rather than long double.
45921         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45923 2013-10-04  Alan Modra  <amodra@gmail.com>
45925         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45926         Delete.
45927         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45928         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45929         version of math_ldbl.h.
45931 2013-10-04  Alan Modra  <amodra@gmail.com>
45933         [BZ #15734], [BZ #15735]
45934         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45935         all uses of ieee875 long double macros and unions.  Simplify test
45936         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45937         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45938         normalize after ldbl_extract_mantissa, and don't add hidden bit
45939         already handled.  Don't treat low word of ieee854 mantissa like
45940         low word of IBM long double and mask off bit when testing for
45941         zero.
45942         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45943         all uses of ieee875 long double macros and unions.  Simplify tests
45944         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45945         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45946         two1022, instead use their values.  Recognise that tests for large
45947         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45948         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45949         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45950         test for 0.0L and nan.  Correct negation.
45951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45952         ieee875 long double macros and unions.  Correct output for large
45953         magnitude x.  Correct absolute value calculation.
45954         (__erfcl): Likewise.
45955         * math/libm-test.inc: Add tests for errors discovered in IBM long
45956         double versions of fmodl, remainderl, erfl and erfcl.
45958 2013-10-04  Alan Modra  <amodra@gmail.com>
45960         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45961         all uses of ieee854 long double macros and unions.  Simplify tests
45962         for long doubles that are fully specified by the high double.
45963         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45964         Likewise.
45965         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45966         Remove dead code too.
45967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45968         (__ieee754_ynl): Likewise.
45969         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45972         Remove dead code too.
45973         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45974         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45976         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45977         Simplify.
45978         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45979         Simplify.
45980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45981         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45983         Comment on variable precision.
45984         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45985         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45986         Likewise.
45987         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45988         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45989         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45990         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45991         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45993 2013-10-04  Alan Modra  <amodra@gmail.com>
45995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45996         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45997         all uses of ieee854 long double macros and unions.
45998         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46000         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46001         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46002         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46003         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46004         Likewise.
46005         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46006         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46007         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46008         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46009         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46010         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46011         Simplify sign and nan test too.
46012         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46013         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46014         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46015         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46016         Likewise.
46017         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46018         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46019         Likewise.
46020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46021         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46022         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46023         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46024         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46027 2013-10-04  Alan Modra  <amodra@gmail.com>
46029         * stdio-common/printf_size.c (__printf_size): Don't use
46030         union ieee854_long_double in fpnum union.
46031         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46032         signbit macro to retrieve sign from long double.
46033         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46034         retrieve sign from long double.
46035         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46036         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46037         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46038         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46039         * math/test-misc.c (main): Don't use union ieee854_long_double.
46041 2013-10-04  Alan Modra  <amodra@gmail.com>
46043         [BZ #15680]
46044         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46045         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46046         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46047         calculation.  Remove unnecessary test for denormal exponent.
46048         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46049         Correct handling of denormals.  Avoid undefined shift behaviour.
46050         Correct normalisation of low mantissa when low double is denormal.
46051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46052         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46053         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46054         Correct normalisation of low mantissa.  Test for overflow of high
46055         mantissa and normalise.
46056         (ldbl_nearbyint): Use more readable constant for two52.
46057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46058         (__mpn_construct_long_double): Fix test for overflow of high
46059         mantissa and correct normalisation.  Avoid undefined shift.
46061 2013-10-04  Alan Modra  <amodra@gmail.com>
46063         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46064         (union ibm_extended_long_double): Define as an array of ieee754_double.
46065         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46066         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46067         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46068         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46070         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46072         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46073         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46074         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46075         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46077 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46079         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46080         page size instead of calling getpagesize.
46082         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46083         (LOCFILE_ALIGN_MASK): Likewise.
46084         (LOCFILE_ALIGN_UP): Likewise.
46085         (LOCFILE_ALIGNED_P): Likewise.
46086         * locale/programs/ld-collate.c (collate_output): Use the new
46087         macros instead of __alignof__ (int32_t).
46088         * locale/weight.h (findidx): Likewise.
46090 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46092         [BZ #431]
46093         * manual/string.texi: Fix strncat and wcsncat.
46095 2013-10-03  Brooks Moses  <bmoses@google.com>
46097         [BZ #15915]
46098         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46099         * Makerules: ...here, and adjust associated comments.
46101 2013-10-02  Will Newton  <will.newton@linaro.org>
46103         * malloc/Makefile: Add tst-pvalloc.
46104         * malloc/tst-pvalloc.c: New file.
46106 2013-10-02  Will Newton  <will.newton@linaro.org>
46108         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46109         improve test coverage.
46111 2013-10-02  Will Newton  <will.newton@linaro.org>
46113         * malloc/Makefile: Add tst-posix_memalign.
46114         * malloc/tst-posix_memalign.c: New file.
46116 2013-10-01  Eric Blake  <eblake@redhat.com>
46118         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46119         Use __THROWNL rather than __THROW on static functions.
46121 2013-09-30  Petr Machata  <pmachata@redhat.com>
46123         * elf/elf.h (R_AARCH64_ABS16): New macro.
46124         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46125         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46126         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46127         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46128         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46129         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46130         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46131         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46132         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46133         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46134         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46135         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46136         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46137         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46138         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46139         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46140         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46141         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46142         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46143         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46144         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46145         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46146         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46147         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46148         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46149         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46150         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46151         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46152         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46153         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46154         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46155         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46156         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46157         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46158         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46159         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46160         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46161         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46162         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46163         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46164         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46165         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46166         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46167         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46168         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46169         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46170         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46171         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46172         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46173         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46174         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46175         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46176         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46177         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46178         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46179         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46180         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46181         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46182         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46183         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46184         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46185         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46186         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46187         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46188         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46189         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46190         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46191         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46192         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46193         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46194         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46195         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46196         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46197         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46198         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46199         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46200         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46201         (R_AARCH64_TLSDESC_LDR): Likewise.
46202         (R_AARCH64_TLSDESC_ADD): Likewise.
46203         (R_AARCH64_TLSDESC_CALL): Likewise.
46205 2013-09-30  Andreas Schwab  <schwab@suse.de>
46207         [BZ #15048]
46208         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46209         the nss database lookup.
46210         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46213 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46215         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46217 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46219         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46220         ${Bash-specific parameter/pattern/string} parameter expansion.
46221         * sysdeps/unix/make-syscalls.sh: Likewise.
46223 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46225         * sysdeps/sh/stackguard-macros.h: New file.
46227 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46231         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46232         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46233         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46234         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46236 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46238         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46239         Fix thread ID register.
46241 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46243         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46244         [POSIX || UNIX98]: Require rather than permitting all symbols from
46245         <time.h>.
46246         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46247         element of struct sched_param.
46248         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46249         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46250         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46251         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46252         constant.
46254 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46256         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46257         argument calculation.
46259 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46261         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46262         Expect macro.
46263         [POSIX] (pthread_attr_t): Do not require type.
46264         [POSIX] (pthread_cond_t): Likewise.
46265         [POSIX] (pthread_condattr_t): Likewise.
46266         [POSIX] (pthread_key_t): Likewise.
46267         [POSIX] (pthread_mutex_t): Likewise.
46268         [POSIX] (pthread_mutexattr_t): Likewise.
46269         [POSIX] (pthread_once_t): Likewise.
46270         [POSIX] (pthread_t): Likewise.
46271         [POSIX-based standards] (pthread_atfork): Expect function.
46273 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46274             Richard Sandiford  <richard@codesourcery.com>
46276         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46277         (swap_endianness_p): New extern variable.
46278         (set_big_endian): New inline function.
46279         (maybe_swap_uint32): Likewise.
46280         (maybe_swap_uint32_array): Likewise.
46281         (maybe_swap_uint32_obstack): Likewise.
46282         * locale/programs/locfile.c: Include <stdbool.h>.
46283         (swap_endianness_p): New variable.
46284         (add_locale_uint32): Call maybe_swap_uint32.
46285         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46286         (write_locale_data): Call maybe_swap_uint32_array.
46287         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46288         maybe_swap_uint32.
46289         (obstack_int32_grow_fast): Likewise.
46290         (output_weightwc): Call maybe_swap_uint32_obstack.
46291         (collate_output): Likewise.
46292         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46293         (OPT_LITTLE_ENDIAN): Likewise.
46294         (options): Add --little-endian and --big-endian options.
46295         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46296         * locale/programs/locarchive.c: Include "locfile.h".
46297         (GET): New macro.
46298         (SET): Likewise.
46299         (INC): Likewise.
46300         (create_archive): Use the new macros to access fields of
46301         structures directly mapped from or written to locale archives.
46302         (oldlocrecentcmp): Likewise.
46303         (enlarge_archive): Likewise.
46304         (insert_name): Likewise.
46305         (add_alias): Likewise.
46306         (add_locale): Likewise.
46307         (delete_locales_from_archive): Likewise.
46308         (show_archive_content): Likewise.
46309         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46310         locale data.
46312 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46314         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46315         http://www.gnu.org/doc/freemanuals.texi.
46316         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46318 2013-09-24  Will Newton  <will.newton@linaro.org>
46320         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46321         macro.
46323 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46325         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46326         unsigned char.
46328 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46330         * manual/threads.texi (POSIX Threads): Fix a typo.
46332 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46334         [BZ #14547]
46335         * string/tst-strcoll-overflow.c: New test case.
46336         * string/Makefile (xtests): Add tst-strcoll-overflow.
46337         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46338         cache if string sizes may cause integer overflow.
46340         [BZ #14547]
46341         * string/strcoll_l.c (coll_seq): New members rule, idx,
46342         save_idx and back_us.
46343         (get_next_seq_nocache): New function.
46344         (do_compare_nocache): New function.
46345         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46346         when malloc fails.
46348 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46350         [BZ #15754]
46351         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46352         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46353         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46355         [BZ #15754]
46356         * elf/Makefile (tests): Add tst-ptrguard1.
46357         (tests-static): Add tst-ptrguard1-static.
46358         (tst-ptrguard1-ARGS): Define.
46359         (tst-ptrguard1-static-ARGS): Define.
46360         * elf/tst-ptrguard1.c: New file.
46361         * elf/tst-ptrguard1-static.c: New file.
46362         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46363         * sysdeps/i386/stackguard-macros.h: Likewise.
46364         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46365         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46366         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46367         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46368         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46369         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46371 2013-09-23  Hector Marco  <hecmargi@upv.es>
46372             Ismael Ripoll  <iripoll@disca.upv.es>
46373             Carlos O'Donell  <carlos@redhat.com>
46375         [BZ #15754]
46376         * sysdeps/generic/stackguard-macros.h: Define
46377         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46378         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46379         Define __pointer_chk_guard_local.
46380         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46381         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46383 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46385         [BZ #15859]
46386         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46388 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46390         * include/string.h (__ffs): Declare as hidden.
46391         * string/ffs.c (__ffs): Define as hidden.
46392         * sysdeps/i386/ffs.c (__ffs): Likewise.
46393         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46394         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46395         * sysdeps/s390/ffs.c (__ffs): Likewise.
46396         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46398 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46400         * NEWS: Mention malloc probes.
46402         * malloc/arena.c (new_heap): New memory_heap_new probe.
46403         (grow_heap): New memory_heap_more probe.
46404         (shrink_heap): New memory_heap_less probe.
46405         (heap_trim): New memory_heap_free probe.
46406         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46407         (systrim): New memory_sbrk_less probe.
46408         * manual/probes.texi: Document them.
46410         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46411         * manual/probes.texi: Document it.
46413         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46414         (__libc_realloc): Add memory_realloc_retry probe.
46415         (__libc_memalign): Add memory_memalign_retry probe.
46416         (__libc_valloc): Add memory_valloc_retry probe.
46417         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46418         (__libc_calloc): Add memory_calloc_retry probe.
46419         * manual/probes.texi: Document them.
46421         * malloc/arena.c (get_free_list): Add probe
46422         memory_arena_reuse_free_list.
46423         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46424         and memory_arena_reuse.
46425         (arena_get2) [!PER_THREAD]: Likewise.
46426         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46427         memory_arena_reuse_realloc.
46428         * manual/probes.texi: Document them.
46430         * malloc/malloc.c (__libc_free): Add
46431         memory_mallopt_free_dyn_thresholds probe.
46432         (__libc_mallopt): Add multiple memory_mallopt probes.
46433         * manual/probes.texi: Document them.
46435         * malloc/malloc.c: Include stap-probe.h.
46436         (__libc_mallopt): Add memory_mallopt probe.
46437         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46438         * manual/probes.texi: New.
46439         * manual/Makefile (chapters): Add probes.
46440         * manual/threads.texi: Set next node.
46442 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46444         [BZ #15963, #13985]
46445         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46446         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46447         Add `Chinese' to `nan' entry name.
46449 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46451         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46452         (POLYNOMIAL): Likewise.
46453         (TAYLOR_SINCOS): Likewise.
46454         (TAYLOR_SLOW): Likewise.
46455         (__sin): Use TAYLOR_SINCOS.
46456         (__cos): Likewise.
46457         (slow): Use TAYLOR_SLOW.
46458         (sloww): Likewise.
46459         (bsloww): Likewise.
46460         (csloww): Likewise.
46462 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46464         * stdlib/strtod_l.c: Fix buffer overrun.
46466 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46468         * benchtests/Makefile (bench): Add sincos.
46469         * benchtests/bench-sincos.c: New file.
46471         * math/libm-test.inc (cos_test_data): New test inputs.
46472         (sin_test_data): Likewise.
46474         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46475         macro.
46476         (__sin): Use it.
46477         (__cos): Likewise.
46478         (slow1): Likewise.
46479         (slow2): Likewise.
46480         (sloww1): Likewise.
46481         (sloww2): Likewise.
46482         (bsloww1): Likewise.
46483         (bsloww2): Likewise.
46484         (cslow2): Likewise.
46485         (csloww1): Likewise.
46486         (csloww2): Likewise.
46488         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46489         function.
46490         (__sin): Use it.
46491         (__cos): Likewise.
46493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46494         gotos.
46495         (__cos): Likewise.
46497 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46499         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46500         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46501         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46502         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46503         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46504         * elf/cache.c (print_entry): Handle the new cache flags.
46506 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46507             Aldy Hernandez  <aldyh@redhat.com>
46509         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46510         Change condition to [_SOFT_FLOAT].
46511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46523         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46526         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46527         declaration.
46529 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46531         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46532         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46533         (__longjmp): Use LOAD_GP to load saved GPRs.
46534         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46535         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46536         (__sigsetjmp): Use SAVE_GP to save GPRs.
46538         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46539         Do not append -msoft-float.
46540         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46542 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46544         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46546 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46548         [BZ #15966]
46549         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46550         (_FPU_GETCW): Use initial "__" on variable and field names but not
46551         on macro parameter name.
46552         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46553         parentheses around reference to macro parameter.
46555 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46557         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46558         prototype.
46559         (ctype_startup): Use uint32_t in cast and sizeof for
46560         ctype->charnames.
46562 2013-09-11  Jia Liu  <proljc@gmail.com>
46564         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46565         __daddr_t_defined.
46566         [__FreeBSD__]: Likewise.
46568 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46571         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46572         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46573         (strchr): Remove __strchr_sse42 ifunc selection.
46574         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46575         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46577 2013-09-11  Will Newton  <will.newton@linaro.org>
46579         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46580         parameter to RES. Remove hardcoded 1000 value.
46581         * benchtests/bench-skeleton.c (main): Pass RES parameter
46582         to TIMING_INIT and multiply result by 1000.
46584 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46588 2013-09-11  Andreas Schwab  <schwab@suse.de>
46590         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46591         if not defined.
46592         (O_TMPFILE) [__USE_GNU]: Define.
46593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46594         Define.
46596 2013-09-11  Will Newton  <will.newton@linaro.org>
46598         [BZ #15857]
46599         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46600         does not overflow.
46602 2013-09-11  Will Newton  <will.newton@linaro.org>
46604         [BZ #15856]
46605         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46606         does not overflow.
46608 2013-09-11  Will Newton  <will.newton@linaro.org>
46610         [BZ #15855]
46611         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46612         does not overflow.
46614 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46616         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46617         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46618         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46619         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46620         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46622 2013-09-10  Allan McRae  <allan@archlinux.org>
46624         [BZ #15748]
46625         * manual/arith.texi (Parsing of Floats): Clarify
46626         cross-reference.
46628         [BZ #15849]
46629         * manual/install.texi (Running make install): Mention
46630         --enable-pt-chown.
46631         * INSTALL: Regenerated.
46633 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46635         * csu/init-first.c (_init): Remove the !SHARED condition around
46636         FPU control word initialization.
46637         * elf/dl-support.c (_dl_fpu_control): New variable.
46638         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46639         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46640         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46641         * math/test-fpucw-static.c: New file.
46642         * math/test-fpucw-ieee.c: New file.
46643         * math/test-fpucw-ieee-static.c: New file.
46644         * math/Makefile (tests): Add `test-fpucw-ieee' and
46645         `$(tests-static)'.
46646         (tests-static): New variable.
46647         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46648         dependency to...
46649         [($(build-shared),yes)]
46650         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46651         ... this.
46652         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46653         New dependency.
46655 2013-09-09  Allan McRae  <allan@archlinux.org>
46657         [BZ #15939]
46658         * manual/string.texi (Collation Functions): Fix typo in
46659         strcoll example.
46660         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46662         [BZ #15893]
46663         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46665         [BZ #15892]
46666         * libio/memstream.c (open_memstream): Fix memory leak.
46667         * libio/wmemstream.c (open_wmemstream): Likewise.
46669         [BZ #15895]
46670         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46672 2013-09-09  Will Newton  <will.newton@linaro.org>
46674         * malloc/Makefile: Add tst-realloc to tests.
46675         * malloc/tst-realloc.c: New file.
46677 2013-09-09  Allan McRae  <allan@archlinux.org>
46679         [BZ #15844]
46680         * COPYING: Update from GNU website to fix FSF address.
46681         * COPYING.LIB: Likewise.
46683 2013-09-06  David S. Miller  <davem@davemloft.net>
46685         * po/zh_TW.po: Update Chinese (traditional) translation from
46686         translation project.
46688 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46689             Joseph Myers  <joseph@codesourcery.com>
46691         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46692         "localeinfo.h".
46693         (obstack_chunk_alloc): New macro.
46694         (obstack_chunk_free): Likewise.
46695         (record_offset): New function.
46696         (init_locale_data): Likewise.
46697         (align_locale_data): Likewise.
46698         (add_locale_empty): Likewise.
46699         (add_locale_raw_data): Likewise.
46700         (add_locale_raw_obstack): Likewise.
46701         (add_locale_string): Likewise.
46702         (add_locale_wstring): Likewise.
46703         (add_locale_uint32): Likewise.
46704         (add_locale_uint32_array): Likewise.
46705         (add_locale_char): Likewise.
46706         (start_locale_structure): Likewise.
46707         (end_locale_structure): Likewise.
46708         (start_locale_prelude): Likewise.
46709         (end_locale_prelude): Likewise.
46710         (write_locale_data): Take locale_file structure rather than an
46711         iovec.
46712         * locale/programs/locfile.h: Include "obstack.h".
46713         (struct locale_file): Change to store locale file contents instead
46714         of header.
46715         (init_locale_data): New prototype.
46716         (align_locale_data): Likewise.
46717         (add_locale_empty): Likewise.
46718         (add_locale_raw_data): Likewise.
46719         (add_locale_raw_obstack): Likewise.
46720         (add_locale_string): Likewise.
46721         (add_locale_wstring): Likewise.
46722         (add_locale_uint32): Likewise.
46723         (add_locale_uint32_array): Likewise.
46724         (add_locale_char): Likewise.
46725         (start_locale_structure): Likewise.
46726         (end_locale_structure): Likewise.
46727         (start_locale_prelude): Likewise.
46728         (end_locale_prelude): Likewise.
46729         (write_locale_data): Update prototype.
46730         * locale/programs/3level.h (struct TABLE): Remove result field.
46731         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46732         Use new locale_file interface.
46733         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46734         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46735         * locale/programs/ld-address.c (address_output): Use new
46736         locale_file interface.
46737         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46738         NO_ADD_LOCALE.
46739         (collate_finish): Don't call collseq_table_finalize.
46740         (collate_output): Use new locale_file interface.
46741         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46742         in file.
46743         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46744         (TABLE): Move defines earlier in file.
46745         (ELEMENT): Likewise.
46746         (DEFAULT): Likewise.
46747         (wctrans_table_add): Move macro and inline function earlier in
46748         file.
46749         (struct wctype_table): Move type earlier in file.
46750         (add_locale_wctype_table): New static prototype.
46751         (struct locale_ctype_t): Use logical types instead of struct iovec
46752         pointers for members.
46753         (ctype_output): Use new locale_file interface.
46754         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46755         new locale_file interface.
46756         (allocate_arrays): Update for use of new locale_file interface.
46757         * locale/programs/ld-identification.c (identification_output): Use
46758         new locale_file interface.
46759         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46760         * locale/programs/ld-messages.c (messages_output): Likewise.
46761         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46762         * locale/programs/ld-name.c (name_output): Likewise.
46763         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46764         * locale/programs/ld-paper.c (paper_output): Likewise.
46765         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46766         * locale/programs/ld-time.c (time_output): Likewise.
46768 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46770         * benchtests/Makefile: Add memrchr benchmark.
46771         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46772         benchmark as memrchr.
46773         * benchtests/bench-memrchr-ifunc.c: New file.
46774         * benchtests/bench-memrchr.c: New file.
46776 2013-09-06   Will Newton  <will.newton@linaro.org>
46778         * benchtests/Makefile (string-bench): Add memcpy.
46780 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46781             Cong Wang  <amwang@redhat.com>
46783         [BZ #15850]
46784         * sysdeps/unix/sysv/linux/bits/in.h
46785         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46786         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46787         before __USE_KERNEL_IPV6_DEFS uses.
46788         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46789         IPPROTO_BEETPH.
46790         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46791         sockaddr_in6, or ipv6_mreq.
46793 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46795         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46796         memory access for final bytes in some large inputs.
46797         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46799 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46801         * string/test-memrchr.c: New file.
46802         * string/test-memrchr-ifunc.c: New file.
46803         * string/Makefile: Add new memrchr testcase.
46805 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46807         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46808         fanotify_init returns EPERM.
46810 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46812         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46813         errors.
46814         (top level): Treat second token from macro or constant entries for
46815         allowed headers as allowed.
46816         * include/complex.h: Condition internal declarations on
46817         [!_ISOMAC].
46818         * include/fenv.h: Condition include of <stdbool.h> and internal
46819         declarations on [!_ISOMAC].
46821 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46823         [BZ #15923]
46824         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46826 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46828         * configure.in (--enable-versioning): Remove configure option.
46829         (libc_cv_asm_symver_directive): Remove configure test.
46830         (libc_cv_ld_version_script_option): Likewise.
46831         (VERSIONING): Remove variable and AC_SUBST.
46832         (DO_VERSIONING): Remove AC_DEFINE.
46833         * configure: Regenerated.
46834         * config.h.in (DO_VERSIONING): Remove macro.
46835         * Makerules [$(versioning) = yes]: Change conditionals to
46836         [$(build-shared) = yes].
46837         * config.make.in (versioning): Remove variable.
46838         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46839         [$(build-shared) = yes].
46840         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46841         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46842         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46843         [$(build-shared) = yes].
46844         * extra-lib.mk [$(versioning) = yes]: Likewise.
46845         * hurd/Makefile [$(versioning) = yes]: Likewise.
46846         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46847         [SHARED].
46848         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46849         [SHARED].
46850         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46851         [SHARED && !NO_HIDDEN].
46852         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46853         [SHARED].
46854         [SHARED && DO_VERSIONING]: Likewise..
46855         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46856         [$(build-shared) = yes].
46857         * manual/install.texi (--disable-versioning): Remove
46858         documentation.
46859         * INSTALL: Regenerated.
46860         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46861         to [SHARED].
46862         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46863         [$(build-shared) = yes].
46864         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46865         * sysdeps/i386/i686/multiarch/strstr-c.c
46866         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46867         [SHARED && !NO_HIDDEN].
46868         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46869         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46870         * sysdeps/powerpc/powerpc32/dl-machine.c
46871         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46872         * sysdeps/powerpc/powerpc32/sysdep.h
46873         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46874         to [SHARED && PIC && !NO_HIDDEN].
46875         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46876         conditional to [SHARED].
46878 2013-09-04   Will Newton  <will.newton@linaro.org>
46880         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46881         * benchtests/bench-string.h: Include bench-timing.h instead
46882         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46883         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46884         call to HP_TIMING_DIFF_INIT.
46885         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46886         instead of hp-timing.h macros.
46887         * benchtests/bench-memchr.c: Likewise.
46888         * benchtests/bench-memcmp.c: Likewise.
46889         * benchtests/bench-memcpy.c: Likewise.
46890         * benchtests/bench-memmem.c: Likewise.
46891         * benchtests/bench-memmove.c: Likewise.
46892         * benchtests/bench-memset.c: Likewise.
46893         * benchtests/bench-rawmemchr.c: Likewise.
46894         * benchtests/bench-strcasecmp.c: Likewise.
46895         * benchtests/bench-strcasestr.c: Likewise.
46896         * benchtests/bench-strcat.c: Likewise.
46897         * benchtests/bench-strchr.c: Likewise.
46898         * benchtests/bench-strcmp.c: Likewise.
46899         * benchtests/bench-strcpy.c: Likewise.
46900         * benchtests/bench-strcpy_chk.c: Likewise.
46901         * benchtests/bench-strlen.c: Likewise.
46902         * benchtests/bench-strncasecmp.c: Likewise.
46903         * benchtests/bench-strncat.c: Likewise.
46904         * benchtests/bench-strncmp.c: Likewise.
46905         * benchtests/bench-strncpy.c: Likewise.
46906         * benchtests/bench-strnlen.c: Likewise.
46907         * benchtests/bench-strpbrk.c: Likewise.
46908         * benchtests/bench-strrchr.c: Likewise.
46909         * benchtests/bench-strspn.c: Likewise.
46910         * benchtests/bench-strstr.c: Likewise.
46912 2013-09-04  Will Newton  <will.newton@linaro.org>
46914         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46916 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46918         [BZ #15427]
46919         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46920         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46921         * math/libm-test.inc (lgamma_test_data): Add more tests.
46922         * sysdeps/i386/fpu/libm-test-ulps: Update.
46923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46925 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46927         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46929         Add ifunc.
46930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46931         Add strcmp-sse2-unaligned
46932         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46934 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46936         * Versions.def (libc): Add GLIBC_2.19.
46938 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46940         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46941         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46943 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46945         [BZ #14155]
46946         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46947         intermediate calculations in recurrence.
46948         (__ieee754_ynf): Likewise.
46949         * math/libm-test.inc (jn_test_data): Do not allow spurious
46950         underflow exception.  Add more tests.
46951         (yn_test_data): Add more tests.
46952         * sysdeps/i386/fpu/libm-test-ulps: Update.
46953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46955 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46957         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46959 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46961         * csu/init-first.c: Fix then/than typos.
46962         * locale/programs/ld-collate.c: Likewise.
46963         * locale/programs/linereader.h: Likewise.
46964         * manual/charset.texi: Likewise.
46965         * manual/filesys.texi: Likewise.
46966         * manual/stdio.texi: Likewise.
46967         * manual/string.texi: Likewise.
46968         * stdlib/fmtmsg.c: Likewise.
46969         * sysdeps/i386/stpncpy.S: Likewise.
46970         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46971         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46973         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46975 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46977         * elf/dl-open.c: Fix typos.
46978         * iconvdata/gbbig5.c: Likewise.
46979         * iconvdata/iso-2022-jp.c: Likewise.
46980         * iconv/gconv_int.h: Likewise.
46981         * iconv/loop.c: Likewise.
46982         * nis/rpcsvc/nis.h: Likewise.
46983         * resolv/ns_name.c: Likewise.
46984         * stdio-common/vfscanf.c: Likewise.
46985         * streams/stropts.h: Likewise.
46986         * sunrpc/rpc_thread.c: Likewise.
46987         * sysdeps/i386/strpbrk.S: Likewise.
46988         * sysdeps/ieee754/k_standard.c: Likewise.
46989         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46990         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46991         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46992         * sysdeps/mach/hurd/profil.c: Likewise.
46993         * sysdeps/s390/dl-procinfo.h: Likewise.
46994         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46995         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46996         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46997         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46998         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47000 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47002         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47005 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47007         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47008         aix specific files.
47009         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47010         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47011         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47012         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47013         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47014         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47015         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47016         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47018 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47019             Roland McGrath  <roland@hack.frob.com>
47021         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47022         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47024 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47026         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47027         __executable_start symbol instead of _start.
47029 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47031         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47032         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47033         Move macros to...
47034         * sysdeps/gnu/ldsodefs.h: ... this new file.
47036         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47037         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47038         instead of ELFOSABI_LINUX.
47040         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47041         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47042         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47043         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47044         Likewise.
47045         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47046         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47047         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47048         Likewise.
47049         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47050         (ibm_extended_long_double): Add ieee_nan member.
47051         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47052         (do_test): New function.
47054         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47055         TEST_TRUNC.
47056         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47057         functions, renamed from truncdfsf_test, trunctfsf_test,
47058         trunctfdf_test.
47059         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47060         functions.
47061         (do_test): Run all these.
47063 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47065         * argp/argp-help.c: Fix typos.
47066         * argp/argp-parse.c: Likewise.
47067         * debug/backtracesyms.c: Likewise.
47068         * elf/elf.h: Likewise.
47069         * malloc/malloc.c: Likewise.
47070         * nis/nis_print.c: Likewise.
47071         * resolv/res_comp.c: Likewise.
47072         * stdlib/stdlib.h: Likewise.
47073         * sunrpc/clnt_tcp.c: Likewise.
47074         * sunrpc/clnt_udp.c: Likewise.
47075         * sunrpc/clnt_unix.c: Likewise.
47076         * sysdeps/unix/bsd/ptsname.c: Likewise.
47077         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47078         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47080         Likewise.
47081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47082         Likewise.
47083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47084         Likewise.
47085         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47087 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47089         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47092 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47094         [BZ #15897]
47095         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47096         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47097         ($(objpfx)bug-dl-leaf): New rule.
47098         ($(objpfx)bug-dl-leaf.so): Likewise.
47099         ($(objpfx)bug-dl-leaf.out): Likewise.
47100         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47101         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47102         * dlfcn/bug-dl-leaf.c: New test.
47103         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47104         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47105         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47106         (dlclose): Likewise.
47107         (dlmopen): Likewise.
47109 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47111         * include/netdb.h [!_ISOMAC]:
47112         Don't include <tls.h>.
47113         (h_errno, __libc_h_errno): Move declaration and macros out of
47114         [_LIBC_REENTRANT].
47116         * include/resolv.h [_RESOLV_H_]:
47117         Don't include <tls.h>.
47118         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47119         * resolv/res_libc.c: Don't include <tls.h>.
47120         (_res): Use __attribute__ ((nocommon)) in place of
47121         __attribute__ ((section (".bss"))).
47123         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47124         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47126         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47128         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47129         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47131         * resolv/res_mkquery.c: Include <sys/time.h>.
47133         * inet/ifreq.c: Moved to ...
47134         * sysdeps/unix/ifreq.c: ... here.
47135         * inet/ifreq.c: New file, true stub version.
47137         * socket/sa_len.c: New file.
47138         * socket/Makefile (aux): Add it.
47139         * sysdeps/unix/sysv/linux/Makefile
47140         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47141         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47142         and #include <socket/sa_len.c>.
47143         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47144         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47146         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47147         * bits/socket.h: ... here.
47149         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47150         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47151         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47153 2013-08-27  Andreas Schwab  <schwab@suse.de>
47155         [BZ #15736]
47156         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47157         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47158         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47159         * string/test-strcasecmp.c (test_main): Run tests in several
47160         locales.
47161         * string/test-strncasecmp.c (test_main): Likewise.
47163         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47164         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47165         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47167         (__strncasecmp_ssse3) [PIC]: Likewise.
47169 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47171         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47173         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47174         instead of explicitly declaring xdecrypt.
47175         * nis/nss_nis/nis-publickey.c: Likewise.
47177 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47179         [BZ #15890]
47180         * nscd/aicache.c: Include res_hconf.h.
47181         (addhstaiX): Initialize res_hconf.
47183 2013-08-26  Andreas Schwab  <schwab@suse.de>
47185         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47186         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47188 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47190         * nscd/aicache.c (addhstaiX): Fix indentation.
47192 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47194         * configure.ac: Quote $build_pt_chown test.
47195         * configure: Regenerated.
47197 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47199         [BZ #15532]
47200         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47201         * math/s_cexpf.c (__cexpf): Likewise.
47202         * math/s_cexpl.c (__cexpl): Likewise.
47203         * math/libm-test.inc (cexp_test_data): Correct expected return
47204         value for NaN + i0.  Add another test.
47206 2013-08-22  David S. Miller  <davem@davemloft.net>
47208         * po/ca.po: Update Catalan translation from translation project.
47209         * po/uk.po: Add Ukrainian translations from translation project.
47211 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47213         [BZ #15797]
47214         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47215         is infinite, not alongside NaN test.
47216         * math/s_fdimf.c (__fdimf): Likewise.
47217         * math/s_fdiml.c (__fdiml): Likewise.
47218         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47219         errno is unchanged.
47221 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47223         * argp/argp-help.c: Fix typos.
47224         * crypt/speeds.c: Likewise.
47225         * csu/check_fds.c: Likewise.
47226         * elf/dl-load.c: Likewise.
47227         * elf/dl-open.c: Likewise.
47228         * elf/reldep3.c: Likewise.
47229         * elf/reldep.c: Likewise.
47230         * elf/sprof.c: Likewise.
47231         * iconv/iconv_charmap.c: Likewise.
47232         * iconv/skeleton.c: Likewise.
47233         * iconv/strtab.c: Likewise.
47234         * io/lockf64.c: Likewise.
47235         * libio/libioP.h: Likewise.
47236         * resolv/gai_notify.c: Likewise.
47237         * resolv/ns_name.c: Likewise.
47238         * resolv/ns_samedomain.c: Likewise.
47239         * resolv/res_send.c: Likewise.
47240         * stdlib/random.c: Likewise.
47241         * sunrpc/rpc/xdr.h: Likewise.
47242         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47243         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47244         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47245         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47246         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47250         * sysdeps/mach/hurd/check_fds.c: Likewise.
47251         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47252         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47254         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47255         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47256         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47257         * sysdeps/pthread/aio_notify.c: Likewise.
47258         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47259         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47260         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47261         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47262         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47264 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47266         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47267         version if bit_Slow_SSE4_2 is set.
47268         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47269         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47271 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47273         [BZ #15867]
47274         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47275         trampoline stack frame information.
47276         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47277         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47278         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47279         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47280         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47281         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47282         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47283         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47284         sa_flags value.
47285         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47286         interrupting a syscall and set with option SA_SIGINFO.
47288 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47290         [BZ #15531]
47291         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47292         argument is infinite.
47293         * math/s_cprojf.c (__cprojf): Likewise.
47294         * math/s_cprojl.c (__cprojl): Likewise.
47295         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47296         * math/libm-test.inc (cproj_test_data): Add more tests.
47298         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47300         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47301         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47302         size.  Use __ffs to determine corresponding shift.
47304 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47305             Roland McGrath  <roland@hack.frob.com>
47307         * Makefile (INSTALL): Remove trailing blank lines from output of
47308         makeinfo.
47310 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47312         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47313         Align 32 bit compat elf_greg to 8 bytes.
47315 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47317         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47319 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47321         * string/strcoll_l.c (coll_seq): New structure.
47322         (get_next_seq_cached): New function.
47323         (get_next_seq): New function.
47324         (do_compare): New function.
47325         (STRCOLL): Use GNU style definition.  Simplify implementation
47326         by using get_next_seq, get_next_seq_cached and do_compare.
47328 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47330         [BZ #14699]
47331         CVE-2013-4237
47332         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47333         member.
47334         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47335         member.
47336         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47337         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47338         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47339         conditional.
47340         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47341         GETDENTS_64BIT_ALIGNED.
47342         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47343         * manual/filesys.texi (Reading/Closing Directory): Document
47344         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47345         strongly.
47346         * manual/conf.texi (Limits for Files): Add portability note to
47347         NAME_MAX, PATH_MAX.
47348         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47350 2013-08-13  Andreas Schwab  <schwab@suse.de>
47352         [BZ #15749]
47353         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47354         of fabs.
47355         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47356         LDBL_MAX_EXP >= 16384]: Add tests for it.
47358 2013-08-12  David S. Miller  <davem@davemloft.net>
47360         * version.h (RELEASE): Set to "development".
47361         (VERSION): Set to "2.18.90".
47362         * NEWS: Add 2.19 section.
47364 2013-08-03  David S. Miller  <davem@davemloft.net>
47366         * po/ko.po: Update Korean translation from translation project.
47368 2013-08-01  David S. Miller  <davem@davemloft.net>
47370         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47371         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47372         Bilka.
47374 2013-07-30  David S. Miller  <davem@davemloft.net>
47376         * po/fr.po: Update French translation from translation project.
47378 2013-07-28  David S. Miller  <davem@davemloft.net>
47380         * po/cs.po: Update Czech translation from translation project.
47382         * po/sv.po: Update Swedish translation from translation project.
47384 2013-07-27  David S. Miller  <davem@davemloft.net>
47386         * po/eo.po: Update Esperanto translation from translation project.
47388         * po/vi.po: Update Vietnamese translation from translation project.
47390         * po/de.po: Update German translation from translation project.
47392 2013-07-26  David S. Miller  <davem@davemloft.net>
47394         * po/bg.po: Update Bulgarian translation from translation project.
47396         * po/nl.po: Update Dutch translation from translation project.
47397         * po/pl.po: Update Polish translation from translation project.
47398         * po/ru.po: Update Russian translation from translation project.
47400 2013-07-24  David S. Miller  <davem@davemloft.net>
47402         * po/libc.pot: Update.
47404 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47406         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47407         variable page size.
47408         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47409         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47410         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47412 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47414         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47416 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47417             Andreas Schwab  <schwab@suse.de>
47418             Roland McGrath  <roland@hack.frob.com>
47419             Joseph Myers  <joseph@codesourcery.com>
47420             Carlos O'Donell  <carlos@redhat.com>
47422         [BZ #15755]
47423         * config.h.in: Define HAVE_PT_CHOWN.
47424         * config.make.in (build-pt-chown): New variable.
47425         * configure.in (--enable-pt_chown): New configure option.
47426         * configure: Regenerate.
47427         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47428         build-pt-chown is enabled.
47429         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47430         pt_chown to fix pty ownership.
47431         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47432         CLOSE_ALL_FDS.
47433         * manual/install.texi (Configuring and compiling): Mention
47434         --enable-pt_chown. Add @findex for grantpt.
47435         * INSTALL: Regenerate.
47437 2013-07-20  David S. Miller  <davem@davemloft.net>
47439         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47440         difference between 32-bit and 64-bit.
47442 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47444         [BZ #15711]
47445         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47446         Avoid system header dependency with -ffreestanding.
47447         ($(objpfx)bits/syscall%d): Likewise.
47449 2013-07-13  David S. Miller  <davem@davemloft.net>
47451         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47452         underflows from atanl/atan2l due to bug 15319.
47453         (casinh_test_data): Likewise.
47455 2013-07-07  David S. Miller  <davem@davemloft.net>
47457         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47459 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47461         * sysdeps/i386/fpu/libm-test-ulps: Update.
47462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47464 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47466         * configure.in (--enable-lock-elision): Fix message text.
47467         * INSTALL: Regenerate.
47468         * configure: Regenerate.
47470 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47474 2013-07-03  Andreas Jaeger  <aj@suse.de>
47476         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47477         define.
47478         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47479         (ptrace_peeksiginfo_args): Add.
47480         (__ptrace_peeksiginfo_flags): Add.
47481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47482         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47485 2013-07-03  Allan McRae  <allan@archlinux.org>
47487         * sysdeps/i386/fpu/libm-test-ulps: Update.
47489 2013-07-02  David S. Miller  <davem@davemloft.net>
47491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47493 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47497 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47499         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47502 2013-07-02  Andi Kleen <ak@linux.intel.com>
47504         * config.h.in (ENABLE_LOCK_ELISION): Add.
47505         * configure.in (--enable-lock-elision): Add option.
47506         * manual/install.texi: Document --enable lock elision.
47507         * configure: Regenerate
47508         * INSTALL: Regenerate.
47510 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47512         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47513         SSE4.2 strcasecmp for libc.a.
47514         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47516 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47518         [BZ #13304]
47519         * soft-fp/op-common.h (_FP_FMA): New macro.
47520         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47521         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47522         (_FP_MUL_MEAT_1_imm): ... here.
47523         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47524         (_FP_MUL_MEAT_1_wide): ... here.
47525         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47526         (_FP_MUL_MEAT_1_hard): ... here.
47527         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47528         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47529         (_FP_MUL_MEAT_2_wide): ... here.
47530         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47531         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47532         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47533         (_FP_MUL_MEAT_2_gmp): ... here.
47534         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47535         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47536         (_FP_MUL_MEAT_4_wide): ... here.
47537         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47538         (_FP_MUL_MEAT_4_gmp): ... here.
47539         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47540         (_FP_WFRACBITS_DW_S): Likewise.
47541         (_FP_WFRACXBITS_DW_S): Likewise.
47542         (_FP_HIGHBIT_DW_S): Likewise.
47543         (FP_FMA_S): Likewise.
47544         (_FP_FRAC_HIGH_DW_S): Likewise.
47545         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47546         (_FP_WFRACBITS_DW_D): Likewise.
47547         (_FP_WFRACXBITS_DW_D): Likewise.
47548         (_FP_HIGHBIT_DW_D): Likewise.
47549         (FP_FMA_D): Likewise.
47550         (_FP_FRAC_HIGH_DW_D): Likewise.
47551         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47552         (_FP_WFRACBITS_DW_E): Likewise.
47553         (_FP_WFRACXBITS_DW_E): Likewise.
47554         (_FP_HIGHBIT_DW_E): Likewise.
47555         (FP_FMA_E): Likewise.
47556         (_FP_FRAC_HIGH_DW_E): Likewise.
47557         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47558         (_FP_WFRACBITS_DW_Q): Likewise.
47559         (_FP_WFRACXBITS_DW_Q): Likewise.
47560         (_FP_HIGHBIT_DW_Q): Likewise.
47561         (FP_FMA_Q): Likewise.
47562         (_FP_FRAC_HIGH_DW_Q): Likewise.
47563         * soft-fp/fmasf4.c: New file.
47564         * soft-fp/fmadf4.c: Likewise.
47565         * soft-fp/fmatf4.c: Likewise.
47567 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47570         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47571         Silvermont.
47572         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47573         macro.
47574         (index_Slow_SSE4_2): Likewise.
47575         (index_Prefer_PMINUB_for_stringop): Likewise.
47576         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47577         bit_Slow_SSE4_2 is set.
47578         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47579         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47581 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47583         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47584         rtld_global._dl_hwcap2.
47585         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47586         POWER8.
47587         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47588         POWER8 feature descriptions defined in _dl_hwcap2.
47589         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47590         string handling for POWER8 feature bits.
47591         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47592         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47593         _dl_powerpc_cap_flags.
47594         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47595         * sysdeps/powerpc/rtld-global-offsets.sym
47596         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47597         _dl_hwcap2 in the rtld_global_ro structure.
47599 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47601         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47602         hardware capabilities in support of AT_HWCAP2.
47603         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47604         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47605         GLRO(dl_hwcap2).
47606         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47607         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47608         explicitly the unknown a_type display mechanism is used.
47609         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47610         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47611         struct member.
47612         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47613         to macro prototype for AT_HWCAP2 support.
47614         * sysdeps/i386/dl-procinfo.h: Likewise.
47615         * sysdeps/s390/dl-procinfo.h: Likewise.
47616         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47617         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47618         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47619         return -1 for unknown a_type display fallback.
47620         * sysdeps/sparc/dl-procinfo.h: Likewise.
47621         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47622         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47624 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47626         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47627         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47629 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47631         [BZ #12492]
47632         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47633         mprotect making __stack_prot writable.
47635 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47636             Joseph Myers  <joseph@codesourcery.com>
47638         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47639         as being properly aligned.
47641 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47643         * dlfcn/modstatic5.c: New file.
47644         * dlfcn/tststatic5.c: New file.
47645         * dlfcn/Makefile (tests): Add tststatic5.
47646         (tests-static): Likewise.
47647         (modules-names): Add modstatic5.
47648         (tststatic5-ENV): New variable.
47649         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47651         [BZ #15022]
47652         * elf/dl-support.c (_dl_main_map): New variable.
47653         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47654         (_dl_nns, _dl_load_adds): Set to 1.
47655         (_dl_initial_searchlist): Refer to _dl_main_map.
47656         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47657         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47658         call to _dl_get_origin.
47659         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47660         around call_map.
47661         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47662         * dlfcn/modstatic3.c: New file.
47663         * dlfcn/tststatic3.c: New file.
47664         * dlfcn/tststatic4.c: New file.
47665         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47666         (tests-static): Likewise.
47667         (modules-names): Add modstatic3.
47668         (tststatic3-ENV, tststatic4-ENV): New variables.
47669         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47670         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47672 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47674         * configure.in (CC): Require GCC version 4.4 or later.
47675         * configure: Regenerated.
47676         * manual/install.texi (Tools for Compilation): Update GCC version
47677         requirement.
47678         * INSTALL: Regenerated.
47680 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47682         [BZ #15674]
47683         * string/test-memcmp.c (check2): New.
47684         (main): Call check2.
47686         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47688 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47690         [BZ #15022]
47691         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47692         over to...
47693         (dl_open_worker) [!SHARED]: ... here.
47695 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47697         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47699 2013-06-25  Richard Henderson  <rth@redhat.com>
47701         * locale/programs/locarchive.c: Include <libc-internal.h>
47703 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47705         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47706         trailing whitespace removed.
47708 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47710         [BZ #10283]
47711         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47712         * locale/programs/locarchive.c: Include libc-mmap.h.
47713         (prepare_address_space): Take two new outputs (the mmap base and len).
47714         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47715         values.
47716         (create_archive): Declare new mmap base and len values for
47717         prepare_address_space, and store the result in ah.
47718         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47719         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47720         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47721         Declare new mmap base and len values for
47722         prepare_address_space, and store the result in new_ah.
47723         (open_archive): Declare new mmap base and len values for
47724         prepare_address_space, and store the result in ah.
47725         (close_archive): If ah->mmap_base is not NULL, use that and
47726         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47727         * sysdeps/generic/libc-mmap.h: New file.
47729 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47731         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47732         (ALIGN_UP): Likewise.
47733         (PTR_ALIGN_DOWN): Likewise.
47734         (PTR_ALIGN_UP): Likewise.
47736 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47738         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47739         entry mapped to PPC_PLATFORM_POWER8.
47740         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47741         POWER8.
47742         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47743         (_dl_string_platform): Add case for exporting platform position for
47744         POWER8.
47745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47746         search path to sysdeps/powerpc/powerpc32/power8 directory.
47747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47748         search path to sysdeps/powerpc/powerpc64/power8 directory.
47749         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47750         power7 directories.
47751         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47752         power7 directories.
47754 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47756         * INSTALL: Regenerate.
47758         * nscd/connections.c (nscd_init): Fix comment.
47760 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47762         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47764         [BZ #15667]
47765         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47766         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47768 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47770         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47771         DL_DST_REQ_STATIC.
47772         (DL_DST_REQ_STATIC): Remove macro.
47774 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47776         [BZ #7006]
47777         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47778         with a shift of 0 bits.
47780 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47782         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47783         $(tststatic-ENV).
47785 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47787         [BZ #15655]
47788         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47790 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47792         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47793         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47794         accepts -fno-tree-loop-distribute-patterns.
47795         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47796         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47797         recursive call.
47798         * string/memset.c (memset): Likewise.
47799         * string/test-memmove.c (simple_memmove): Disable loop transformation
47800         to library calls.
47801         * string/test-memset.c (simple_memset): Likewise.
47802         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47803         * benchtests/bench-memset.c (simple_memset): Likewise.
47804         * configure: Regenerated.
47806 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47808         * math/test-misc.c (main): Ignore fesetround failure when failures
47809         of subsequent rounding tests would be ignored.
47811         [BZ #15654]
47812         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47813         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47814         * math/fegetenv.c (__fegetenv): Return 0.
47815         * math/fegetexcept.c (fegetexcept): Return 0.
47816         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47817         FE_TONEAREST.
47818         * math/feholdexcpt.c (feholdexcept): Return 0.
47819         * math/fesetenv.c (__fesetenv): Return 0.
47820         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47821         argument FE_TONEAREST.
47822         * math/feupdateenv.c (__feupdateenv): Return 0.
47823         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47825 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47827         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47828         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47829         ($(objpfx)rtld-%.os rules): Use them.
47831 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47833         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47834         fields.
47836 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47838         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47839         length of target pattern, then descending length of dependency pattern.
47840         * configure.in (AWK): Require gawk 3.1.2 or newer.
47841         * manual/install.texi (Tools for Compilation): Say that we do.
47842         * configure: Regenerated.
47844         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47845         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47846         * scripts/sysd-rules.awk: ... this new script.
47847         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47848         than a glob-style pattern.
47850 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47852         * math/test-misc.c (main): Do not treat incorrectly rounded
47853         conversions as failure unless ROUNDING_TESTS passes.
47855 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47857         [BZ #15631]
47858         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47859         restore exception state around main square root computation, then
47860         check for inexactness explicitly.
47862         * math/libm-test.inc (fma_test_data): Add another test.
47864 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47866         * manual/threads.texi (Non-POSIX Extensions): New document
47867         node.  Document pthread_getattr_default_np and
47868         pthread_setattr_default_np.
47870         * Versions.def (libpthread): Add GLIBC_2.18.
47871         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47873         Likewise.
47874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47875         Likewise.
47876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47877         Likewise.
47878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47879         Likewise.
47880         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47881         Likewise.
47882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47883         Likewise.
47884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47885         Likewise.
47886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47887         Likewise.
47888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47889         Likewise.
47891 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47894         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47896 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47897             H.J. Lu  <hjl.tools@gmail.com>
47899         [BZ #15627]
47900         * sysdeps/x86_64/rtld-memset.c: Remove file.
47901         * sysdeps/x86_64/rtld-memset.S: New file.
47903 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47905         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47906         (test_in_one_mode): Take arguments for whether the rounding mode
47907         is supported for each floating-point type.
47908         (do_test): Pass new arguments to test_in_one_mode using
47909         ROUNDING_TESTS.
47911 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47913         * posix/tst-waitid.c (do_test): Distinguish different instances of
47914         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47915         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47916         before entering the kernel for waitpid.
47918 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47920         * NEWS: Fix note on clock function precision.  Text by Roland
47921         McGrath.
47923 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47925         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47926         it into place only when and if the sanity check passes.
47928 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47930         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47931         output for whether conversion result is exact.  Take argument
47932         indicating whether type is IBM long double.
47933         (round_for_all): Change need_exact field to ibm_ld.
47934         * stdlib/tst-strtod-round.c (struct exactness): New type.
47935         (struct test): Change bool ld_ok field to struct exactness exact.
47936         (TEST): Update all definitions for change to field.
47937         (tests): Regenerate array contents.
47938         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47939         field value.  Check for IBM long double here.
47940         (do_test): Update calls to test_in_one_mode.
47942 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47944         [BZ #12515]
47945         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47946         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47948 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47950         [BZ #15605]
47951         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47952         generated by the compiler on loop optimizations.
47953         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47954         general definitions.
47956 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47958         * math/bug-nextafter.c: Include <math-tests.h>.
47959         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47960         the relevant type.
47961         * math/bug-nexttoward.c: Include <math-tests.h>.
47962         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47963         the relevant type.
47964         * math/test-misc.c: Include <math-tests.h>.
47965         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47966         the relevant type.
47968 2013-06-12  Andreas Jaeger  <aj@suse.de>
47970         * po/ia.po: Update Interlingua translation from translation
47971         project.
47973 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47975         * include/fenv.h: Include stdbool.h.
47976         (struct rm_ctx): New structure.
47977         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47978         Define macro.
47979         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47980         (SET_RESTORE_ROUNDF): Likewise.
47981         (SET_RESTORE_ROUNDL): Likewise.
47982         (SET_RESTORE_ROUND_NOEX): Likewise.
47983         (SET_RESTORE_ROUND_NOEXF): Likewise.
47984         (SET_RESTORE_ROUND_NOEXL): Likewise.
47985         (SET_RESTORE_ROUND_53BIT): Likewise.
47986         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47987         (libc_feresetround_noexf_ctx): Likewise.
47988         (libc_feresetround_noexl_ctx): Likewise.
47989         (libc_feholdsetround_53bit_ctx): Likewise.
47990         (libc_feresetround_53bit_ctx): Likewise.
47991         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47992         (libc_feholdexcept_setround_sse_ctx): New function.
47993         (libc_fesetenv_sse_ctx): Likewise.
47994         (libc_feupdateenv_sse_ctx): Likewise.
47995         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47996         (libc_feholdexcept_setround_387_ctx): Likewise.
47997         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47998         (libc_feholdsetround_387_prec_ctx): Likewise.
47999         (libc_feholdsetround_387_ctx): Likewise.
48000         (libc_feholdsetround_387_53bit_ctx): Likewise.
48001         (libc_feholdsetround_sse_ctx): Likewise.
48002         (libc_feresetround_sse_ctx): Likewise.
48003         (libc_feresetround_387_ctx): Likewise.
48004         (libc_feupdateenv_387_ctx): Likewise.
48005         (libc_feholdexcept_setroundf_ctx): Define macro.
48006         (libc_fesetenvf_ctx): Likewise.
48007         (libc_feupdateenvf_ctx): Likewise.
48008         (libc_feholdsetroundf_ctx): Likewise.
48009         (libc_feresetroundf_ctx): Likewise.
48010         (libc_feholdexcept_setround_ctx): Likewise.
48011         (libc_fesetenv_ctx): Likewise.
48012         (libc_feupdateenv_ctx): Likewise.
48013         (libc_feholdsetround_ctx): Likewise.
48014         (libc_feresetround_ctx): Likewise.
48015         (libc_feholdexcept_setroundl_ctx): Likewise.
48016         (libc_feupdateenvl_ctx): Likewise.
48017         (libc_feholdsetroundl_ctx): Likewise.
48018         (libc_feresetroundl_ctx): Likewise.
48019         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48020         (libc_feresetround_53bit_ctx): Likewise.
48022 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48024         * locale/iso-639.def: Convert to UTF-8.
48026 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48028         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48029         (EXCEPTION_TESTS_double): Likewise.
48030         (EXCEPTION_TESTS_long_double): Likewise.
48031         (EXCEPTION_TESTS): Likewise.
48032         * math/libm-test.inc (test_exceptions): Only test exceptions if
48033         EXCEPTION_TESTS (FLOAT).
48035 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48037         * benchtests/Makefile (string-bench): Add strcpy_chk and
48038         stpcpy_chk.
48039         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48040         * benchtests/bench-stpcpy_chk.c: New file.
48041         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48042         * benchtests/bench-strcpy_chk.c: New file.
48043         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48044         code.
48045         (do_test): Likewise.
48047 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48049         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48050         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48051         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48052         with tabs where appropriate.
48053         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48054         dl-procinfo.h.
48055         [PPC_PLATFORM_PPC440]: Likewise.
48056         [PPC_PLATFORM_PPC464]: Likewise.
48057         [PPC_PLATFORM_PPC476]: Likewise.
48058         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48059         ppc464, and ppc476 platform strings merging from ports/
48060         dl-procinfo.h.
48062 2013-06-11  Andreas Schwab  <schwab@suse.de>
48064         [BZ #14991]
48065         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48066         (from_ucs4_idx): Regenerate.
48067         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48068         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48069         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48070         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48071         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48072         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48073         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48074         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48075         from FROM_LOOP and TO_LOOP specific macros.
48076         (BODY): Handle combining characters.
48077         * iconvdata/BIG5HKSCS.irreversible: Update.
48078         * iconvdata/BIG5HKSCS.precomposed: New file.
48079         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48080         characters.
48081         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48083 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48085         * include/sys/time.h: Fix indentation and add copyright header.
48087         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48088         (do_test): Likewise.
48089         * string/test-memchr.c (do_one_test): Likewise.
48090         (do_test): Likewise.
48091         * string/test-memcmp.c (do_one_test): Likewise.
48092         (do_test): Likewise.
48093         * string/test-memcpy.c (do_one_test): Likewise.
48094         (do_test): Likewise.
48095         * string/test-memmem.c (do_one_test): Likewise.
48096         (do_test): Likewise.
48097         (do_random_tests): Likewise.
48098         * string/test-memmove.c (do_one_test): Likewise.
48099         (do_test): Likewise.
48100         * string/test-memset.c (do_one_test): Likewise.
48101         (do_test): Likewise.
48102         * string/test-rawmemchr.c (do_one_test): Likewise.
48103         (do_test): Likewise.
48104         * string/test-strcasecmp.c (do_one_test): Likewise.
48105         (do_test): Likewise.
48106         * string/test-strcasestr.c (do_one_test): Likewise.
48107         (do_test): Likewise.
48108         * string/test-strcat.c (do_one_test): Likewise.
48109         (do_test): Likewise.
48110         * string/test-strchr.c (do_one_test): Likewise.
48111         (do_test): Likewise.
48112         * string/test-strcmp.c (do_one_test): Likewise.
48113         (do_test): Likewise.
48114         * string/test-strcpy.c (do_one_test): Likewise.
48115         (do_test): Likewise.
48116         * string/test-string.h: Likewise.
48117         (test_init): Likewise.
48118         * string/test-strlen.c (do_one_test): Likewise.
48119         (do_test): Likewise.
48120         * string/test-strncasecmp.c (do_one_test): Likewise.
48121         (do_test): Likewise.
48122         * string/test-strncat.c (do_one_test): Likewise.
48123         (do_test): Likewise.
48124         * string/test-strncmp.c (do_one_test): Likewise.
48125         (do_test_limit): Likewise.
48126         (do_test): Likewise.
48127         * string/test-strncpy.c (do_one_test): Likewise.
48128         (do_test): Likewise.
48129         * string/test-strnlen.c (do_one_test): Likewise.
48130         (do_test): Likewise.
48131         * string/test-strpbrk.c (do_one_test): Likewise.
48132         (do_test): Likewise.
48133         * string/test-strrchr.c (do_one_test): Likewise.
48134         (do_test): Likewise.
48135         * string/test-strspn.c (do_one_test): Likewise.
48136         (do_test): Likewise.
48137         * string/test-strstr.c (do_one_test): Likewise.
48138         (do_test): Likewise.
48140         * benchtests/Makefile (string-bench): Add string benchmarks.
48141         * benchtests/bench-bcopy-ifunc.c: New file.
48142         * benchtests/bench-bcopy.c: New file.
48143         * benchtests/bench-bzero-ifunc.c: New file.
48144         * benchtests/bench-bzero.c: New file.
48145         * benchtests/bench-memccpy-ifunc.c: New file.
48146         * benchtests/bench-memccpy.c: New file.
48147         * benchtests/bench-memchr-ifunc.c: New file.
48148         * benchtests/bench-memchr.c: New file.
48149         * benchtests/bench-memcmp-ifunc.c: New file.
48150         * benchtests/bench-memcmp.c: New file.
48151         * benchtests/bench-memmem-ifunc.c: New file.
48152         * benchtests/bench-memmem.c: New file.
48153         * benchtests/bench-memmove-ifunc.c: New file.
48154         * benchtests/bench-memmove.c: New file.
48155         * benchtests/bench-mempcpy-ifunc.c: New file.
48156         * benchtests/bench-mempcpy.c: New file.
48157         * benchtests/bench-memset-ifunc.c: New file.
48158         * benchtests/bench-memset.c: New file.
48159         * benchtests/bench-rawmemchr-ifunc.c: New file.
48160         * benchtests/bench-rawmemchr.c: New file.
48161         * benchtests/bench-stpcpy-ifunc.c: New file.
48162         * benchtests/bench-stpcpy.c: New file.
48163         * benchtests/bench-stpncpy-ifunc.c: New file.
48164         * benchtests/bench-stpncpy.c: New file.
48165         * benchtests/bench-strcasecmp-ifunc.c: New file.
48166         * benchtests/bench-strcasecmp.c: New file.
48167         * benchtests/bench-strcasestr-ifunc.c: New file.
48168         * benchtests/bench-strcasestr.c: New file.
48169         * benchtests/bench-strcat-ifunc.c: New file.
48170         * benchtests/bench-strcat.c: New file.
48171         * benchtests/bench-strchr-ifunc.c: New file.
48172         * benchtests/bench-strchr.c: New file.
48173         * benchtests/bench-strchrnul-ifunc.c: New file.
48174         * benchtests/bench-strchrnul.c: New file.
48175         * benchtests/bench-strcmp-ifunc.c: New file.
48176         * benchtests/bench-strcmp.c: New file.
48177         * benchtests/bench-strcpy-ifunc.c: New file.
48178         * benchtests/bench-strcpy.c: New file.
48179         * benchtests/bench-strcspn-ifunc.c: New file.
48180         * benchtests/bench-strcspn.c: New file.
48181         * benchtests/bench-strlen-ifunc.c: New file.
48182         * benchtests/bench-strlen.c: New file.
48183         * benchtests/bench-strncasecmp-ifunc.c: New file.
48184         * benchtests/bench-strncasecmp.c: New file.
48185         * benchtests/bench-strncat-ifunc.c: New file.
48186         * benchtests/bench-strncat.c: New file.
48187         * benchtests/bench-strncmp-ifunc.c: New file.
48188         * benchtests/bench-strncmp.c: New file.
48189         * benchtests/bench-strncpy-ifunc.c: New file.
48190         * benchtests/bench-strncpy.c: New file.
48191         * benchtests/bench-strnlen-ifunc.c: New file.
48192         * benchtests/bench-strnlen.c: New file.
48193         * benchtests/bench-strpbrk-ifunc.c: New file.
48194         * benchtests/bench-strpbrk.c: New file.
48195         * benchtests/bench-strrchr-ifunc.c: New file.
48196         * benchtests/bench-strrchr.c: New file.
48197         * benchtests/bench-strspn-ifunc.c: New file.
48198         * benchtests/bench-strspn.c: New file.
48199         * benchtests/bench-strstr-ifunc.c: New file.
48200         * benchtests/bench-strstr.c: New file.
48202         * benchtests/Makefile: Disable parallel execution of targets.
48203         (string-bench): Add memcpy.
48204         (benchset): New variable to store a list of benchmark sets.
48205         (bench-func): Renamed from bench.
48206         (bench-set): New target.
48207         (bench): Depend on bench-func and bench-set.
48208         * benchtests/README: Add section on benchmark sets.
48209         * benchtests/bench-memcpy-ifunc.c: New file.
48210         * benchtests/bench-memcpy.c: New file.
48211         * benchtests/bench-string.h: New file.
48213 2013-06-11  Andreas Schwab  <schwab@suse.de>
48215         [BZ #15577]
48216         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48217         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48218         values in the triple.
48219         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48220         terminator in the group key.
48222 2013-06-11  Andreas Jaeger  <aj@suse.de>
48224         * po/zh_TW.po: Update Chinese (traditional) translation from
48225         translation project.
48227 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48229         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48230         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48231         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48232         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48233         (clock_getcpuclockid): Likewise.
48234         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48235         Add weak_alias and libc_hidden_def.
48236         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48237         * rt/clock_gettime.c (clock_gettime): Rename to
48238         __clock_gettime.  Add weak_alias and libc_hidden_def.
48239         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48240         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48241         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48242         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48243         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48244         Likewise.
48245         * rt/clock_settime.c (clock_settime): Rename to
48246         __clock_settime.  Add weak_alias and libc_hidden_def.
48247         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48249 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48251         * mach/err_boot.sub: Remove trailing whitespace.
48252         * mach/err_ipc.sub: Likewise.
48253         * mach/err_mach.sub: Likewise.
48255         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48256         (ROUNDING_TESTS_double): Likewise.
48257         (ROUNDING_TESTS_long_double): Likewise.
48258         (ROUNDING_TESTS): Likewise.
48259         * math/libm-test.inc: Include <math-tests.h>.
48260         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48261         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48262         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48263         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48265 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48267         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48268         of assigning.
48270 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48272         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48273         otherwise empty TRANS lines.
48274         * sysdeps/gnu/errlist.c: Regenerated.
48276         * catgets/gencat.c (error_print): Use (void) in function
48277         definition.
48278         * crypt/crypt_util.c (__init_des): Likewise.
48279         * crypt/speeds.c (Stop): Likewise.
48280         (main): Likewise.
48281         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48282         * inet/ruserpass.c (token): Likewise.
48283         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48284         * intl/localealias.c (extend_alias_table): Likewise.
48285         * intl/plural-exp.c (init_germanic_plural): Likewise.
48286         * libio/fcloseall.c (__fcloseall): Likewise.
48287         * libio/genops.c (_IO_flush_all): Likewise.
48288         (_IO_flush_all_linebuffered): Likewise.
48289         (_IO_cleanup): Likewise.
48290         (_IO_iter_begin): Likewise.
48291         (_IO_iter_end): Likewise.
48292         (_IO_list_lock): Likewise.
48293         (_IO_list_unlock): Likewise.
48294         (_IO_list_resetlock): Likewise.
48295         * libio/getchar.c (getchar): Likewise.
48296         * libio/getchar_u.c (getchar_unlocked): Likewise.
48297         * libio/getwchar.c (getwchar): Likewise.
48298         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48299         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48300         * login/getpt.c (__getpt): Likewise.
48301         * login/tst-utmp.c (main): Likewise.
48302         * malloc/hooks.c (__malloc_check_init): Likewise.
48303         * malloc/malloc.c (__malloc_stats): Likewise.
48304         * malloc/mtrace.c (tr_break): Likewise.
48305         (mtrace): Likewise.
48306         (muntrace): Likewise.
48307         * misc/fstab.c (endfsent): Likewise.
48308         * misc/getclktck.c (__getclktck): Likewise.
48309         * misc/getdtsz.c (__getdtablesize): Likewise.
48310         * misc/gethostid.c (gethostid): Likewise.
48311         * misc/getpagesize.c (__getpagesize): Likewise.
48312         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48313         (__get_nprocs): Likewise.
48314         (__get_phys_pages): Likewise.
48315         (__get_avphys_pages): Likewise.
48316         * misc/getttyent.c (getttyent): Likewise.
48317         (setttyent): Likewise.
48318         (endttyent): Likewise.
48319         * misc/getusershell.c (getusershell): Likewise.
48320         (endusershell): Likewise.
48321         (setusershell): Likewise.
48322         (initshells): Likewise.
48323         * misc/hsearch.c (__hdestroy): Likewise.
48324         * misc/sync.c (sync): Likewise.
48325         * misc/syslog.c (closelog_internal): Likewise.
48326         (closelog): Likewise.
48327         * misc/ttyslot.c (ttyslot): Likewise.
48328         * misc/vhangup.c (vhangup): Likewise.
48329         * posix/fork.c (__fork): Likewise.
48330         * posix/getegid.c (__getegid): Likewise.
48331         * posix/geteuid.c (__geteuid): Likewise.
48332         * posix/getgid.c (__getgid): Likewise.
48333         * posix/getpid.c (__getpid): Likewise.
48334         * posix/getppid.c (__getppid): Likewise.
48335         * posix/getuid.c (__getuid): Likewise.
48336         * posix/pause.c (pause): Likewise.
48337         * posix/setpgrp.c (setpgrp): Likewise.
48338         * posix/setsid.c (__setsid): Likewise.
48339         * posix/test-vfork.c (noop): Likewise.
48340         * resolv/gethnamaddr.c (_endhtent): Likewise.
48341         (_gethtent): Likewise.
48342         (ht_endhostent): Likewise.
48343         (gethostent): Likewise.
48344         (dns_service): Likewise.
48345         * stdlib/drand48.c (drand48): Likewise.
48346         * stdlib/lrand48.c (lrand48): Likewise.
48347         * stdlib/mrand48.c (mrand48): Likewise.
48348         * stdlib/rand.c (rand): Likewise.
48349         * stdlib/random.c (__random): Likewise.
48350         * stdlib/setenv.c (clearenv): Likewise.
48351         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48352         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48353         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48354         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48355         (__get_nprocs): Likewise.
48356         (__get_phys_pages): Likewise.
48357         (__get_avphys_pages): Likewise.
48358         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48359         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48360         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48361         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48362         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48363         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48364         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48365         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48366         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48367         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48368         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48369         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48370         * sysdeps/posix/clock.c (clock): Likewise.
48371         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48372         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48373         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48374         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48375         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48377         (__get_nprocs_conf): Likewise.
48378         (__get_phys_pages): Likewise.
48379         (__get_avphys_pages): Likewise.
48380         * time/clock.c (clock): Likewise.
48381         * time/tzset.c (__tzname_max): Likewise.
48383 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48385         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48386         (__bswap_32): Do not use "register".
48387         * crypt/crypt.c (_ufc_doit_r): Likewise.
48388         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48389         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48390         * gmon/gmon.c (__monstartup): Likewise.
48391         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48392         * hurd/hurdmalloc.c (more_memory): Likewise.
48393         (malloc): Likewise.
48394         (free): Likewise.
48395         (realloc): Likewise.
48396         (malloc_fork_prepare): Likewise.
48397         (malloc_fork_parent): Likewise.
48398         (malloc_fork_child): Likewise.
48399         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48400         (_svcauth_des): Likewise.
48401         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48402         * inet/inet_net.c (inet_network): Likewise.
48403         * inet/inet_netof.c (inet_netof): Likewise.
48404         * inet/rcmd.c (__validuser2_sa): Likewise.
48405         * io/fts.c (fts_open): Likewise.
48406         (fts_load): Likewise.
48407         (fts_close): Likewise.
48408         (fts_read): Likewise.
48409         (fts_children): Likewise.
48410         (fts_build): Likewise.
48411         (fts_stat): Likewise.
48412         (fts_sort): Likewise.
48413         (fts_alloc): Likewise.
48414         (fts_lfree): Likewise.
48415         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48416         (_IO_file_xsgetn): Likewise.
48417         (_IO_file_xsgetn_mmap): Likewise.
48418         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48419         (_IO_cookie_write): Likewise.
48420         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48421         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48422         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48423         * malloc/obstack.c (_obstack_begin): Likewise.
48424         (_obstack_begin_1): Likewise.
48425         (_obstack_newchunk): Likewise.
48426         (_obstack_allocated_p): Likewise.
48427         (obstack_free): Likewise.
48428         (_obstack_memory_used): Likewise.
48429         * misc/getttyent.c (getttynam): Likewise.
48430         (getttyent): Likewise.
48431         (skip): Likewise.
48432         (value): Likewise.
48433         * misc/getusershell.c (initshells): Likewise.
48434         * misc/syslog.c (__vsyslog_chk): Likewise.
48435         * misc/ttyslot.c (ttyslot): Likewise.
48436         * nis/nis_hash.c (__nis_hash): Likewise.
48437         * posix/fnmatch_loop.c (FCT): Likewise.
48438         * posix/getconf.c (print_all): Likewise.
48439         (main): Likewise.
48440         * posix/getopt.c (exchange): Likewise.
48441         * posix/glob.c (globfree): Likewise.
48442         (prefix_array): Likewise.
48443         (__glob_pattern_type): Likewise.
48444         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48445         (NS_GET32): Likewise.
48446         (NS_PUT16): Likewise.
48447         (NS_PUT32): Likewise.
48448         * resolv/gethnamaddr.c (getanswer): Likewise.
48449         (gethostbyname2): Likewise.
48450         (gethostbyaddr): Likewise.
48451         (_gethtent): Likewise.
48452         (_gethtbyname2): Likewise.
48453         (_gethtbyaddr): Likewise.
48454         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48455         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48456         * resolv/res_init.c (__res_vinit): Likewise.
48457         (net_mask): Likewise.
48458         * resolv/res_mkquery.c (outchar): Likewise.
48459         (PRINT): Likewise.
48460         * stdio-common/printf_fp.c (outchar): Likewise.
48461         (PRINT): Likewise.
48462         * stdio-common/printf_fphex.c (outchar): Likewise.
48463         (PRINT): Likewise.
48464         * stdio-common/printf_size.c (outchar): Likewise.
48465         (PRINT): Likewise.
48466         * stdio-common/test_rdwr.c (main): Likewise.
48467         * stdio-common/tfformat.c (matches): Likewise.
48468         * stdio-common/vfprintf.c (outchar): Likewise.
48469         (printf_unknown): Likewise.
48470         (buffered_vfprintf): Likewise.
48471         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48472         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48473         (ReadFile): Likewise.
48474         * stdlib/qsort.c (SWAP): Likewise.
48475         (_quicksort): Likewise.
48476         * stdlib/setenv.c (__add_to_environ): Likewise.
48477         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48478         * stdlib/strtol_l.c (__strtol_l): Likewise.
48479         * stdlib/tst-strtod.c (main): Likewise.
48480         * stdlib/tst-strtol.c (main): Likewise.
48481         * stdlib/tst-strtoll.c (main): Likewise.
48482         * string/bits/string2.h (__strcmp_cc): Likewise.
48483         (__strcmp_cg): Likewise.
48484         (__strcspn_c1): Likewise.
48485         (__strcspn_c2): Likewise.
48486         (__strcspn_c3): Likewise.
48487         (__strspn_c1): Likewise.
48488         (__strspn_c2): Likewise.
48489         (__strspn_c3): Likewise.
48490         (__strsep_1c): Likewise.
48491         (__strsep_2c): Likewise.
48492         (__strsep_3c): Likewise.
48493         * string/memccpy.c (__memccpy): Likewise.
48494         * string/stpcpy.c (__stpcpy): Likewise.
48495         * string/strcmp.c (strcmp): Likewise.
48496         * string/strrchr.c (strrchr): Likewise.
48497         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48498         Likewise.
48499         * sysdeps/mach/hurd/getcwd.c
48500         (_hurd_canonicalize_directory_name_internal): Likewise.
48501         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48502         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48503         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48504         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48505         Likewise, in both definitions.
48506         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48507         definitions.
48508         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48509         64] (__bswap_64): Likewise.
48510         * time/test_time.c (main): Likewise.
48511         * time/tzfile.c (__tzfile_read): Likewise.
48512         (__tzfile_compute): Likewise.
48513         * time/tzset.c (__tzset_parse_tz): Likewise.
48514         (tzset_internal): Likewise.
48515         (compute_change): Likewise.
48516         * wcsmbs/wcscat.c (__wcscat): Likewise.
48517         * wcsmbs/wcschr.c (wcschr): Likewise.
48518         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48519         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48520         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48521         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48522         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48523         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48524         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48525         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48526         * wcsmbs/wmemset.c (wmemset): Likewise.
48528 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48530         * scripts/config.guess: Update to version 2013-05-16.
48531         * scripts/config.sub: Update to version 2013-04-24.
48532         * scripts/install-sh: Update to version 2011-11-20.07.
48533         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48534         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48536 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48538         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48539         * elf/sln.c: Likewise.
48540         * hurd/hurd/ioctl.h: Likewise.
48541         * hurd/hurdmalloc.c: Likewise.
48542         * hurd/xattr.c: Likewise.
48543         * include/shlib-compat.h: Likewise.
48544         * inet/ruserpass.c: Likewise.
48545         * libio/iofgets_u.c: Likewise.
48546         * libio/iofgetws_u.c: Likewise.
48547         * locale/programs/ld-identification.c: Likewise.
48548         * locale/programs/ld-time.c: Likewise.
48549         * mach/msg-destroy.c: Likewise.
48550         * nss/nss_files/files-netgrp.c: Likewise.
48551         * resolv/res_data.c: Likewise.
48552         * soft-fp/op-1.h: Likewise.
48553         * soft-fp/op-2.h: Likewise.
48554         * soft-fp/op-4.h: Likewise.
48555         * soft-fp/op-common.h: Likewise.
48556         * stdio-common/printf_fphex.c: Likewise.
48557         * stdlib/strtod_l.c: Likewise.
48558         * sunrpc/rpc/clnt.h: Likewise.
48559         * sysdeps/generic/framestate.c: Likewise.
48560         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48561         * sysdeps/i386/bsd-setjmp.S: Likewise.
48562         * sysdeps/i386/__longjmp.S: Likewise.
48563         * sysdeps/i386/setjmp.S: Likewise.
48564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48565         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48566         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48567         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48570         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48571         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48572         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48574         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48575         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48576         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48577         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48578         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48579         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48580         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48581         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48582         * sysdeps/ieee754/support.c: Likewise.
48583         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48584         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48585         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48586         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48587         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48588         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48589         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48590         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48591         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48592         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48593         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48594         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48595         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48596         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48597         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48598         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48599         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48602 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48604         * posix/transbug.c: Remove executable mode.
48606 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48608         * crypt/speeds.c: Remove trailing whitespace.
48609         * dlfcn/default.c: Likewise.
48610         * elf/ifuncdep2.c: Likewise.
48611         * elf/ifuncmain1.c: Likewise.
48612         * elf/ifuncmain1vis.c: Likewise.
48613         * elf/testobj.h: Likewise.
48614         * elf/tst-stackguard1.c: Likewise.
48615         * gmon/sys/gmon.h: Likewise.
48616         * hurd/hurdmsg.c: Likewise.
48617         * hurd/new-fd.c: Likewise.
48618         * hurd/ports-get.c: Likewise.
48619         * iconvdata/ibm1008_420.c: Likewise.
48620         * inet/tst-getni1.c: Likewise.
48621         * inet/tst-getni2.c: Likewise.
48622         * libio/ioungetc.c: Likewise.
48623         * libio/wfiledoalloc.c: Likewise.
48624         * manual/libm-err-tab.pl: Likewise.
48625         * math/w_dremf.c: Likewise.
48626         * misc/ftruncate.c: Likewise.
48627         * posix/bug-glob2.c: Likewise.
48628         * posix/tst-pcre.c: Likewise.
48629         * posix/wait4.c: Likewise.
48630         * resolv/README: Likewise.
48631         * resolv/res_debug.h: Likewise.
48632         * resolv/tst-inet_ntop.c: Likewise.
48633         * setjmp/bug269-setjmp.c: Likewise.
48634         * soft-fp/extended.h: Likewise.
48635         * soft-fp/op-1.h: Likewise.
48636         * soft-fp/op-2.h: Likewise.
48637         * soft-fp/op-4.h: Likewise.
48638         * soft-fp/op-8.h: Likewise.
48639         * soft-fp/testit.c: Likewise.
48640         * stdio-common/bug16.c: Likewise.
48641         * stdlib/random.c: Likewise.
48642         * sunrpc/rpcsvc/rquota.x: Likewise.
48643         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48644         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48646         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48647         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48648         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48649         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48650         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48651         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48653         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48655         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48658         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48659         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48661         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48662         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48663         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48664         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48665         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48666         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48667         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48668         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48669         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48670         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48672         * sysdeps/ieee754/s_lib_version.c: Likewise.
48673         * sysdeps/mach/hurd/check_fds.c: Likewise.
48674         * sysdeps/mach/hurd/getsockname.c: Likewise.
48675         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48676         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48677         * sysdeps/powerpc/bits/link.h: Likewise.
48678         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48679         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48680         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48681         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48682         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48683         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48684         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48685         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48686         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48687         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48688         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48689         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48690         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48691         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48692         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48693         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48694         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48695         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48696         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48697         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48698         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48699         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48701         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48702         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48703         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48704         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48705         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48706         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48709         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48710         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48711         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48712         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48713         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48714         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48715         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48716         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48717         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48718         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48719         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48720         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48721         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48722         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48723         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48724         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48725         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48726         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48727         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48730         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48731         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48732         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48733         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48734         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48735         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48736         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48737         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48738         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48739         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48740         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48741         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48742         * sysdeps/powerpc/sysdep.h: Likewise.
48743         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48744         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48745         * sysdeps/sh/dl-trampoline.S: Likewise.
48746         * sysdeps/sh/memset.S: Likewise.
48747         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48748         * sysdeps/sh/strlen.S: Likewise.
48749         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48750         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48751         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48752         * sysdeps/sparc/sparc32/rem.S: Likewise.
48753         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48754         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48755         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48756         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48757         * sysdeps/sparc/sparc32/urem.S: Likewise.
48758         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48759         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48760         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48761         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48762         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48763         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48764         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48765         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48766         * sysdeps/unix/bsd/times.c: Likewise.
48767         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48768         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48772         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48773         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48774         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48775         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48776         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48777         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48778         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48779         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48780         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48781         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48782         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48783         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48784         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48785         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48786         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48787         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48788         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48789         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48790         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48791         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48792         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48793         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48794         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48795         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48796         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48797         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48798         * sysdeps/x86_64/strcspn.S: Likewise.
48800 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48802         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48803         generated file.  Regenerate properly from gen-translit.pl.
48804         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48805         locale/C-translit.h.
48807 2013-06-05  Andreas Schwab  <schwab@suse.de>
48809         [BZ #15100]
48810         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48811         week as 6 instead of -1.
48812         * time/tst-strptime.c (day_tests): Add test case.
48814 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48816         * sysdeps/generic/math_private.h
48817         (libc_feholdexcept_setround_53bit): Replace with
48818         libc_feholdsetround_53bit.
48819         (libc_feupdateenv_53bit): Replace with
48820         libc_feresetround_53bit.
48821         (SET_RESTORE_ROUND_53BIT): Adjust.
48823 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48825         * string/test-strchrnul.c: Add copyright header.
48827         * posix/tst-getaddrinfo4.c: Increase test timeout.
48829 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48831         [BZ #15536]
48832         * math/libm-test.inc (MAX_EXP): Remove
48833         (MIN_EXP): Define.
48834         (ulp): Use MIN_EXP - MANT_DIG.
48835         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48837 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48839         * po/be.po: Revert last change.
48840         * po/zh_CN.po: Likewise.
48841         * po/header.pot: Likewise.
48843 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48845         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48846         link-libc-deps to empty as target-specific variable.
48847         * Makerules (link-libc-args): New variable.
48848         (libc-for-link): Likewise.
48849         (link-libc-deps): Likewise.
48850         (lib%.so): Depend on $(link-libc-deps).  Link with
48851         $(link-libc-args).
48852         (build-module): Link with $(link-libc-args).
48853         (build-module-asneeded): Likewise.
48854         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48855         list of objects.
48856         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48857         target-specific variable.
48858         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48859         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48860         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48861         libc.
48862         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48863         libc and ld.so.
48864         ($(objpfx)libpcprofile.so): Likewise.
48865         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48866         libc_nonshared.a.
48867         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48868         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48869         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48870         $(link-libc-deps).
48871         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48872         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48873         * login/Makefile ($(objpfx)libutil.so): Likewise.
48874         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48875         * math/Makefile ($(objpfx)libm.so): Likewise.
48876         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48877         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48878         variable instead of depending directly on libc.
48879         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48880         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48881         $(link-libc-deps).
48882         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48883         libc.
48884         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48885         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48886         ($(objpfx)libanl.so): Likewise.
48887         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48888         ld.so.
48889         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48890         $(link-libc-deps).
48891         * sysdeps/i386/fpu/Makefile: Remove file.
48892         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48893         ($(objpfx)libm.so): Remove dependency on ld.so.
48895 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48897         [BZ # 15553]
48898         * nis/yp_xdr.c (XDRMAXNAME): Define.
48899         (XDRMAXRECORD): Define.
48900         (xdr_domainname): Use XDRMAXNAME.
48901         (xdr_mapname): Likewise.
48902         (xdr_peername): Likewise.
48903         (xdr_keydat): Use XDRMAXRECORD.
48904         (xdr_valdat): Likewise.
48906 2013-05-30  Jeff Law  <law@redhat.com>
48908         [BZ #14256]
48909         * manual/errno.texi (ESTALE): Update to account for more than
48910         just NFS file systems.
48911         * sysdeps/gnu/errlist.c: Regenerated.
48913 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48915         [BZ #15465]
48916         * elf/Makefile (tests): Add tst-null-argv.
48917         (modules-names):  Add tst-null-argv-lib.
48918         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48919         (tst-null-argv-ENV): Set environment for tst-null-argv.
48920         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48921         (RTLD_PROGNAME): New macro.
48922         * elf/tst-null-argv.c: New test case.
48923         * elf/tst-null-argv-lib.c: Library for test case.
48924         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48925         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48926         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48927         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48928         * elf/dl-init.c (call_init): Likewise.
48929         (_dl_init): Likewise.
48930         * elf/dl-load.c (print_search_path): Likewise.
48931         (_dl_map_object): Likewise.
48932         * elf/dl-lookup.c (do_lookup_x): Likewise.
48933         (add_dependency): Likewise.
48934         (_dl_lookup_symbol_x): Likewise.
48935         (_dl_debug_bindings): Likewise.
48936         * elf/dl-open.c (_dl_show_scope): Likewise.
48937         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48938         * elf/dl-version.c (match_symbol): Likewise.
48939         (_dl_check_map_versions): Likewise.
48940         * elf/rtld.c (dl_main): Likewise.
48941         (print_unresolved): Use RTLD_PROGNAME.
48942         (print_missing_version): Likewise.
48943         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48944         (elf_machine_rela): Likewise.
48945         * sysdeps/powerpc/powerpc32/dl-machine.c
48946         (__process_machine_rela): Likewise.
48947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48948         Likewise.
48949         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48950         Likewise.
48951         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48952         Likewise.
48953         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48954         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48955         Likewise.
48956         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48957         Likewise.
48958         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48960 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48962         * po/be.po: Add descriptive title.
48963         * po/zh_CN.po: Likewise.
48964         * po/header.pot: Likewise.
48966 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48968         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48969         error message.
48970         (enlarge_archive): Likewise.
48972 2013-05-28  Ben North  <ben@redfrontdoor.org>
48974         * manual/arith.texi (frexp): It is the magnitude of the return
48975         value which lies in [0.5, 1), not the return value itself.
48977 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48981 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48983         * stdio-common/bug26.c (main): Correct fscanf template.
48985         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48986         declare _dl_skip_args.
48988         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48989         Don't declare.
48991         * manual/platform.texi: Add missing @end deftypefun.
48993 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48995         [BZ #15529]
48996         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48997         bit of mantissa of 2^16382.
48998         * math/libm-test.inc (hypot_test_data): Add more tests.
49000         * math/libm-test.inc: Add drem and pow10 to list of tested
49001         functions.
49002         (pow10_test): New function.
49003         (drem_test): Likewise.
49004         (drem_test_tonearest): Likewise.
49005         (drem_test_towardzero): Likewise.
49006         (drem_test_downward): Likewise.
49007         (drem_test_upward): Likewise.
49008         (main): Call the new functions.
49010         * math/libm-test.inc (finite_test_data): Remove.
49011         (finite_test): Run tests from isfinite_test_data.
49012         (gamma_test_data): Remove.
49013         (gamma_test): Run tests from lgamma_test_data.
49014         * sysdeps/i386/fpu/libm-test-ulps: Update.
49015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49017 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49019         * manual/platform.texi: Add PowerPC PPR function set documentation.
49020         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49021         implementation.
49023 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49025         * math/libm-test.inc (MAX_EXP): Define.
49026         (ULPDIFF): Define.
49027         (ulp): New function.
49028         (check_float_internal): Use ULPDIFF.
49029         (cpow_test): Disable failing test.
49030         (check_ulp): Test ulp() implemetnation.
49031         (main): Call check_ulp before starting tests.
49033 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49035         * math/gen-libm-test.pl (generate_testfile): Do not handle
49036         START_DATA and END_DATA.
49037         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49038         END_DATA.
49039         (acos_tonearest_test_data): Likewise.
49040         (acos_towardzero_test_data): Likewise.
49041         (acos_downward_test_data): Likewise.
49042         (acos_upward_test_data): Likewise.
49043         (acosh_test_data): Likewise.
49044         (asin_test_data): Likewise.
49045         (asin_tonearest_test_data): Likewise.
49046         (asin_towardzero_test_data): Likewise.
49047         (asin_downward_test_data): Likewise.
49048         (asin_upward_test_data): Likewise.
49049         (asinh_test_data): Likewise.
49050         (atan_test_data): Likewise.
49051         (atanh_test_data): Likewise.
49052         (atan2_test_data): Likewise.
49053         (cabs_test_data): Likewise.
49054         (cacos_test_data): Likewise.
49055         (cacosh_test_data): Likewise.
49056         (carg_test_data): Likewise.
49057         (casin_test_data): Likewise.
49058         (casinh_test_data): Likewise.
49059         (catan_test_data): Likewise.
49060         (catanh_test_data): Likewise.
49061         (cbrt_test_data): Likewise.
49062         (ccos_test_data): Likewise.
49063         (ccosh_test_data): Likewise.
49064         (ceil_test_data): Likewise.
49065         (cexp_test_data): Likewise.
49066         (cimag_test_data): Likewise.
49067         (clog_test_data): Likewise.
49068         (clog10_test_data): Likewise.
49069         (conj_test_data): Likewise.
49070         (copysign_test_data): Likewise.
49071         (cos_test_data): Likewise.
49072         (cos_tonearest_test_data): Likewise.
49073         (cos_towardzero_test_data): Likewise.
49074         (cos_downward_test_data): Likewise.
49075         (cos_upward_test_data): Likewise.
49076         (cosh_test_data): Likewise.
49077         (cosh_tonearest_test_data): Likewise.
49078         (cosh_towardzero_test_data): Likewise.
49079         (cosh_downward_test_data): Likewise.
49080         (cosh_upward_test_data): Likewise.
49081         (cpow_test_data): Likewise.
49082         (cproj_test_data): Likewise.
49083         (creal_test_data): Likewise.
49084         (csin_test_data): Likewise.
49085         (csinh_test_data): Likewise.
49086         (csqrt_test_data): Likewise.
49087         (ctan_test_data): Likewise.
49088         (ctan_tonearest_test_data): Likewise.
49089         (ctan_towardzero_test_data): Likewise.
49090         (ctan_downward_test_data): Likewise.
49091         (ctan_upward_test_data): Likewise.
49092         (ctanh_test_data): Likewise.
49093         (ctanh_tonearest_test_data): Likewise.
49094         (ctanh_towardzero_test_data): Likewise.
49095         (ctanh_downward_test_data): Likewise.
49096         (ctanh_upward_test_data): Likewise.
49097         (erf_test_data): Likewise.
49098         (erfc_test_data): Likewise.
49099         (exp_test_data): Likewise.
49100         (exp_tonearest_test_data): Likewise.
49101         (exp_towardzero_test_data): Likewise.
49102         (exp_downward_test_data): Likewise.
49103         (exp_upward_test_data): Likewise.
49104         (exp10_test_data): Likewise.
49105         (exp2_test_data): Likewise.
49106         (expm1_test_data): Likewise.
49107         (fabs_test_data): Likewise.
49108         (fdim_test_data): Likewise.
49109         (finite_test_data): Likewise.
49110         (floor_test_data): Likewise.
49111         (fma_test_data): Likewise.
49112         (fma_towardzero_test_data): Likewise.
49113         (fma_downward_test_data): Likewise.
49114         (fma_upward_test_data): Likewise.
49115         (fmax_test_data): Likewise.
49116         (fmin_test_data): Likewise.
49117         (fmod_test_data): Likewise.
49118         (fpclassify_test_data): Likewise.
49119         (frexp_test_data): Likewise.
49120         (gamma_test_data): Likewise.
49121         (hypot_test_data): Likewise.
49122         (ilogb_test_data): Likewise.
49123         (isfinite_test_data): Likewise.
49124         (isgreater_test_data): Likewise.
49125         (isgreaterequal_test_data): Likewise.
49126         (isinf_test_data): Likewise.
49127         (isless_test_data): Likewise.
49128         (islessequal_test_data): Likewise.
49129         (islessgreater_test_data): Likewise.
49130         (isnan_test_data): Likewise.
49131         (isnormal_test_data): Likewise.
49132         (issignaling_test_data): Likewise.
49133         (isunordered_test_data): Likewise.
49134         (j0_test_data): Likewise.
49135         (j1_test_data): Likewise.
49136         (jn_test_data): Likewise.
49137         (ldexp_test_data): Likewise.
49138         (lgamma_test_data): Likewise.
49139         (lrint_test_data): Likewise.
49140         (lrint_tonearest_test_data): Likewise.
49141         (lrint_towardzero_test_data): Likewise.
49142         (lrint_downward_test_data): Likewise.
49143         (lrint_upward_test_data): Likewise.
49144         (llrint_test_data): Likewise.
49145         (llrint_tonearest_test_data): Likewise.
49146         (llrint_towardzero_test_data): Likewise.
49147         (llrint_downward_test_data): Likewise.
49148         (llrint_upward_test_data): Likewise.
49149         (log_test_data): Likewise.
49150         (log10_test_data): Likewise.
49151         (log1p_test_data): Likewise.
49152         (log2_test_data): Likewise.
49153         (logb_test_data): Likewise.
49154         (logb_downward_test_data): Likewise.
49155         (lround_test_data): Likewise.
49156         (llround_test_data): Likewise.
49157         (modf_test_data): Likewise.
49158         (nearbyint_test_data): Likewise.
49159         (nextafter_test_data): Likewise.
49160         (nexttoward_test_data): Likewise.
49161         (pow_test_data): Likewise.
49162         (pow_tonearest_test_data): Likewise.
49163         (pow_towardzero_test_data): Likewise.
49164         (pow_downward_test_data): Likewise.
49165         (pow_upward_test_data): Likewise.
49166         (remainder_test_data): Likewise.
49167         (remainder_tonearest_test_data): Likewise.
49168         (remainder_towardzero_test_data): Likewise.
49169         (remainder_downward_test_data): Likewise.
49170         (remainder_upward_test_data): Likewise.
49171         (remquo_test_data): Likewise.
49172         (rint_test_data): Likewise.
49173         (rint_tonearest_test_data): Likewise.
49174         (rint_towardzero_test_data): Likewise.
49175         (rint_downward_test_data): Likewise.
49176         (rint_upward_test_data): Likewise.
49177         (round_test_data): Likewise.
49178         (scalb_test_data): Likewise.
49179         (scalbn_test_data): Likewise.
49180         (scalbln_test_data): Likewise.
49181         (signbit_test_data): Likewise.
49182         (sin_test_data): Likewise.
49183         (sin_tonearest_test_data): Likewise.
49184         (sin_towardzero_test_data): Likewise.
49185         (sin_downward_test_data): Likewise.
49186         (sin_upward_test_data): Likewise.
49187         (sincos_test_data): Likewise.
49188         (sinh_test_data): Likewise.
49189         (sinh_tonearest_test_data): Likewise.
49190         (sinh_towardzero_test_data): Likewise.
49191         (sinh_downward_test_data): Likewise.
49192         (sinh_upward_test_data): Likewise.
49193         (sqrt_test_data): Likewise.
49194         (tan_test_data): Likewise.
49195         (tan_tonearest_test_data): Likewise.
49196         (tan_towardzero_test_data): Likewise.
49197         (tan_downward_test_data): Likewise.
49198         (tan_upward_test_data): Likewise.
49199         (tanh_test_data): Likewise.
49200         (tgamma_test_data): Likewise.
49201         (trunc_test_data): Likewise.
49202         (y0_test_data): Likewise.
49203         (y1_test_data): Likewise.
49204         (yn_test_data): Likewise.
49205         (significand_test_data): Likewise.
49207         * math/gen-libm-test.pl (@functions): Remove variable.
49208         (generate_testfile): Don't handle START and END lines.
49209         * math/libm-test.inc (START): New macro.
49210         (END): Likewise.
49211         (END_COMPLEX): Likewise.
49212         (acos_test): Use END macro without arguments.
49213         (acos_test_tonearest): Likewise.
49214         (acos_test_towardzero): Likewise.
49215         (acos_test_downward): Likewise.
49216         (acos_test_upward): Likewise.
49217         (acosh_test): Likewise.
49218         (asin_test): Likewise.
49219         (asin_test_tonearest): Likewise.
49220         (asin_test_towardzero): Likewise.
49221         (asin_test_downward): Likewise.
49222         (asin_test_upward): Likewise.
49223         (asinh_test): Likewise.
49224         (atan_test): Likewise.
49225         (atanh_test): Likewise.
49226         (atan2_test): Likewise.
49227         (cabs_test): Likewise.
49228         (cacos_test): Use END_COMPLEX macro without arguments.
49229         (cacosh_test): Likewise.
49230         (carg_test): Use END macro without arguments.
49231         (casin_test): Use END_COMPLEX macro without arguments.
49232         (casinh_test): Likewise.
49233         (catan_test): Likewise.
49234         (catanh_test): Likewise.
49235         (cbrt_test): Use END macro without arguments.
49236         (ccos_test): Use END_COMPLEX macro without arguments.
49237         (ccosh_test): Likewise.
49238         (ceil_test): Use END macro without arguments.
49239         (cexp_test): Use END_COMPLEX macro without arguments.
49240         (cimag_test): Use END macro without arguments.
49241         (clog_test): Use END_COMPLEX macro without arguments.
49242         (clog10_test): Likewise.
49243         (conj_test): Likewise.
49244         (copysign_test): Use END macro without arguments.
49245         (cos_test): Likewise.
49246         (cos_test_tonearest): Likewise.
49247         (cos_test_towardzero): Likewise.
49248         (cos_test_downward): Likewise.
49249         (cos_test_upward): Likewise.
49250         (cosh_test): Likewise.
49251         (cosh_test_tonearest): Likewise.
49252         (cosh_test_towardzero): Likewise.
49253         (cosh_test_downward): Likewise.
49254         (cosh_test_upward): Likewise.
49255         (cpow_test): Use END_COMPLEX macro without arguments.
49256         (cproj_test): Likewise.
49257         (creal_test): Use END macro without arguments.
49258         (csin_test): Use END_COMPLEX macro without arguments.
49259         (csinh_test): Likewise.
49260         (csqrt_test): Likewise.
49261         (ctan_test): Likewise.
49262         (ctan_test_tonearest): Likewise.
49263         (ctan_test_towardzero): Likewise.
49264         (ctan_test_downward): Likewise.
49265         (ctan_test_upward): Likewise.
49266         (ctanh_test): Likewise.
49267         (ctanh_test_tonearest): Likewise.
49268         (ctanh_test_towardzero): Likewise.
49269         (ctanh_test_downward): Likewise.
49270         (ctanh_test_upward): Likewise.
49271         (erf_test): Use END macro without arguments.
49272         (erfc_test): Likewise.
49273         (exp_test): Likewise.
49274         (exp_test_tonearest): Likewise.
49275         (exp_test_towardzero): Likewise.
49276         (exp_test_downward): Likewise.
49277         (exp_test_upward): Likewise.
49278         (exp10_test): Likewise.
49279         (exp2_test): Likewise.
49280         (expm1_test): Likewise.
49281         (fabs_test): Likewise.
49282         (fdim_test): Likewise.
49283         (finite_test): Likewise.
49284         (floor_test): Likewise.
49285         (fma_test): Likewise.
49286         (fma_test_towardzero): Likewise.
49287         (fma_test_downward): Likewise.
49288         (fma_test_upward): Likewise.
49289         (fmax_test): Likewise.
49290         (fmin_test): Likewise.
49291         (fmod_test): Likewise.
49292         (fpclassify_test): Likewise.
49293         (frexp_test): Likewise.
49294         (gamma_test): Likewise.
49295         (hypot_test): Likewise.
49296         (ilogb_test): Likewise.
49297         (isfinite_test): Likewise.
49298         (isgreater_test): Likewise.
49299         (isgreaterequal_test): Likewise.
49300         (isinf_test): Likewise.
49301         (isless_test): Likewise.
49302         (islessequal_test): Likewise.
49303         (islessgreater_test): Likewise.
49304         (isnan_test): Likewise.
49305         (isnormal_test): Likewise.
49306         (issignaling_test): Likewise.
49307         (isunordered_test): Likewise.
49308         (j0_test): Likewise.
49309         (j1_test): Likewise.
49310         (jn_test): Likewise.
49311         (ldexp_test): Likewise.
49312         (lgamma_test): Likewise.
49313         (lrint_test): Likewise.
49314         (lrint_test_tonearest): Likewise.
49315         (lrint_test_towardzero): Likewise.
49316         (lrint_test_downward): Likewise.
49317         (lrint_test_upward): Likewise.
49318         (llrint_test): Likewise.
49319         (llrint_test_tonearest): Likewise.
49320         (llrint_test_towardzero): Likewise.
49321         (llrint_test_downward): Likewise.
49322         (llrint_test_upward): Likewise.
49323         (log_test): Likewise.
49324         (log10_test): Likewise.
49325         (log1p_test): Likewise.
49326         (log2_test): Likewise.
49327         (logb_test): Likewise.
49328         (logb_test_downward): Likewise.
49329         (lround_test): Likewise.
49330         (llround_test): Likewise.
49331         (modf_test): Likewise.
49332         (nearbyint_test): Likewise.
49333         (nextafter_test): Likewise.
49334         (nexttoward_test): Likewise.
49335         (pow_test): Likewise.
49336         (pow_test_tonearest): Likewise.
49337         (pow_test_towardzero): Likewise.
49338         (pow_test_downward): Likewise.
49339         (pow_test_upward): Likewise.
49340         (remainder_test): Likewise.
49341         (remainder_test_tonearest): Likewise.
49342         (remainder_test_towardzero): Likewise.
49343         (remainder_test_downward): Likewise.
49344         (remainder_test_upward): Likewise.
49345         (remquo_test): Likewise.
49346         (rint_test): Likewise.
49347         (rint_test_tonearest): Likewise.
49348         (rint_test_towardzero): Likewise.
49349         (rint_test_downward): Likewise.
49350         (rint_test_upward): Likewise.
49351         (round_test): Likewise.
49352         (scalb_test): Likewise.
49353         (scalbn_test): Likewise.
49354         (scalbln_test): Likewise.
49355         (signbit_test): Likewise.
49356         (sin_test): Likewise.
49357         (sin_test_tonearest): Likewise.
49358         (sin_test_towardzero): Likewise.
49359         (sin_test_downward): Likewise.
49360         (sin_test_upward): Likewise.
49361         (sincos_test): Likewise.
49362         (sinh_test): Likewise.
49363         (sinh_test_tonearest): Likewise.
49364         (sinh_test_towardzero): Likewise.
49365         (sinh_test_downward): Likewise.
49366         (sinh_test_upward): Likewise.
49367         (sqrt_test): Likewise.
49368         (tan_test): Likewise.
49369         (tan_test_tonearest): Likewise.
49370         (tan_test_towardzero): Likewise.
49371         (tan_test_downward): Likewise.
49372         (tan_test_upward): Likewise.
49373         (tanh_test): Likewise.
49374         (tgamma_test): Likewise.
49375         (trunc_test): Likewise.
49376         (y0_test): Likewise.
49377         (y1_test): Likewise.
49378         (yn_test): Likewise.
49379         (significand_test): Likewise.
49381 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49383         [BZ #15381]
49384         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49386 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49388         [BZ #14894]
49389         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49390         __ppc_mdoio and __ppc_mdoom.
49391         * manual/platform.texi: Document new functions __ppc_yield,
49392         __ppc_mdoio and __ppc_mdoom.
49394 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49396         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49397         (main): Mention "tls" pseudo-hwcap is legacy.
49398         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49400 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49402         * math/gen-libm-test.pl (parse_args): Output only string of
49403         arguments as text for test name, not full call or descriptions of
49404         tests for extra outputs.
49405         (generate_testfile): Do not pass function name to parse_args.
49406         Generate this_func variable from START.
49407         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49408         field to arg_str.
49409         (struct test_ff_f_data): Likewise.
49410         (test_ff_f_data_nexttoward): Likewise.
49411         (struct test_fi_f_data): Likewise.
49412         (struct test_fl_f_data): Likewise.
49413         (struct test_if_f_data): Likewise.
49414         (struct test_fff_f_data): Likewise.
49415         (struct test_c_f_data): Likewise.
49416         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49417         (struct test_fF_f1_data): Likewise.
49418         (struct test_ffI_f1_data): Likewise.
49419         (struct test_c_c_data): Rename test_name field to arg_str.
49420         (struct test_cc_c_data): Likewise.
49421         (struct test_f_i_data): Likewise.
49422         (struct test_ff_i_data): Likewise.
49423         (struct test_f_l_data): Likewise.
49424         (struct test_f_L_data): Likewise.
49425         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49426         and extra2_name.
49427         (COMMON_TEST_SETUP): New macro.
49428         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49429         (COMMON_TEST_CLEANUP): Likewise.
49430         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49431         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49432         macros.
49433         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49434         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49435         macros.
49436         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49437         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49438         cleanup macros.
49439         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49440         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49441         macros.
49442         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49443         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49444         macros.
49445         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49446         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49447         cleanup macros.
49448         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49449         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49450         cleanup macros.
49451         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49452         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49453         cleanup macros.
49454         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49455         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49456         macros.
49457         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49458         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49459         macros.
49460         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49461         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49462         macros.
49463         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49464         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49465         cleanup macros.
49466         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49467         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49468         cleanup macros.
49469         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49470         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49471         macros.
49472         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49473         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49474         cleanup macros.
49475         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49476         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49477         macros.
49478         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49479         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49480         macros.
49481         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49482         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49483         cleanup macros.
49484         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49486 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49488         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49489         to _sifields.sigfault.
49490         (si_addr_lsb): Define new macro.
49491         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49493         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49495 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49497         [BZ #15441]
49498         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49499         returns -1.
49500         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49501         null return -1.
49502         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49503         loading the domain.
49505 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49507         * math/gen-libm-test.pl (parse_args): Do not include expected
49508         result in test name.
49509         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49510         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49511         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49512         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49513         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49516 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49518         * benchtests/Makefile: Sort function entries.
49520         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49521         tanh, asinh, acosh, atanh.
49522         * benchtests/acos-inputs: New file.
49523         * benchtests/acosh-inputs: New file.
49524         * benchtests/asin-inputs: New file.
49525         * benchtests/asinh-inputs: New file.
49526         * benchtests/atanh-inputs: New file.
49527         * benchtests/cosh-inputs: New file.
49528         * benchtests/log-inputs: New file.
49529         * benchtests/sinh-inputs: New file.
49530         * benchtests/tanh-inputs: New file.
49532 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49534         [BZ #15339]
49535         * posix/tst-getaddrinfo4.c: New test.
49536         * posix/Makefile (tests): Add it.
49538 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49540         [BZ #15339]
49541         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49542         when no services were used.
49543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49544         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49546 2013-05-21  Andreas Schwab  <schwab@suse.de>
49548         [BZ #15014]
49549         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49550         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49551         successful.
49552         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49553         redundant variable declarations and reallocation of buffer when
49554         parsing as IPv6 address.  Always set NSS status when called from
49555         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49556         buffer too small.  Correct computation of needed size.
49557         * nss/Makefile (tests): Add test-digits-dots.
49558         * nss/test-digits-dots.c: New test.
49560 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49562         * benchtests/Makefile: Remove instructions for adding
49563         benchmark tests.
49564         * benchtests/README: New file to explain how to execute and
49565         enhance the benchmark tests.
49567 2013-05-21  Andreas Schwab  <schwab@suse.de>
49569         [BZ #15493]
49570         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49571         * setjmp/tst-sigsetjmp.c: New test.
49573 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49575         * sysdeps/x86_64/memset.S (memset): New implementation.
49576         (__bzero): Likewise.
49577         (__memset_tail): New function.
49579 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49581         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49582         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49583         __memcpy_sse2_unaligned ifunc selection.
49584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49585         Add memcpy-sse2-unaligned.S.
49586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49587         Add: __memcpy_sse2_unaligned.
49589 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49591         [BZ #15490]
49592         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49593         math_force_eval before restoring floating-point envrionment.
49594         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49596         Likewise.
49597         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49598         <math_private.h>.
49599         (__nearbyintl): Use math_force_eval before restoring
49600         floating-point environment.
49601         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49603         * math/gen-libm-test.pl (special_functions): Remove.
49604         (parse_args): Don't handle TEST_extra.  Handle functions with no
49605         return value.
49606         * math/libm-test.inc (struct test_sincos_data): Replace with
49607         struct test_fFF_11_data.
49608         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49609         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49610         (sincos_test_data): Change element type to struct
49611         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49612         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49613         RUN_TEST_LOOP_sincos.
49614         * math/README.libm-test: Don't mention special handling of
49615         individual functions.
49616         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49617         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49618         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49619         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49620         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49623         * math/gen-libm-test.pl (get_variable): Remove function.
49624         (parse_args): Don't show pointer parameters to call in test
49625         names.  Use "extra output N" in test names for extra outputs
49626         rather than naming variables.
49628 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49630         [BZ #15488]
49631         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49632         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49633         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49634         double tests.
49635         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49636         disable.
49637         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49638         check_long_double.
49640         * math/gen-libm-test.pl (@tests): Remove variable.
49641         ($count): Likewise.
49642         (new_test): Remove function.
49643         (show_exceptions): New function.
49644         (special_functions): Use show_exceptions instead of new_test.
49645         (parse_args): Likewise.
49646         (generate_testfile): Pass only function name in generated call to
49647         print_max_error or print_complex_max_error.
49648         (get_ulps): Do not handle complex tests specially.
49649         (output_test): Rename to ...
49650         (get_all_ulps_for_test): ... this.  Return a string rather than
49651         printing to a file.  Require ulps to be present.
49652         (output_ulps): Generate arrays rather than #defines.
49653         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49654         (struct ulp_data): New type.
49655         (BUILD_COMPLEX_ULP): Remove macro.
49656         (compare_ulp_data): New function.
49657         (find_ulps): Likewise.
49658         (find_test_ulps): Likewise.
49659         (find_function_ulps): Likewise.
49660         (find_complex_function_ulps): Likewise.
49661         (print_max_error): Determine allowed ulps using
49662         find_function_ulps.
49663         (print_complex_max_error): Determine allowed ulps using
49664         find_complex_function_ulps.
49665         (check_float_internal): Determine max ulps using find_test_ulps.
49666         (check_float): Do not take max_ulp parameter.  Update call to
49667         check_float_internal.
49668         (check_complex): Likewise.
49669         (check_int): Do not take max_ulp parameter.
49670         (check_long): Likewise.
49671         (check_bool): Likewise.
49672         (check_longlong): Likewise.
49673         (struct test_f_f_data): Remove max_ulp field.
49674         (struct test_ff_f_data): Likewise.
49675         (struct test_ff_f_data_nexttoward): Likewise.
49676         (struct test_fi_f_data): Likewise.
49677         (struct test_fl_f_data): Likewise.
49678         (struct test_if_f_data): Likewise.
49679         (struct test_fff_f_data): Likewise.
49680         (struct test_c_f_data): Likewise.
49681         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49682         (struct test_fF_f1_data): Likewise.
49683         (struct test_ffI_f1_data): Likewise.
49684         (struct test_c_c_data): Remove max_ulp field.
49685         (struct test_cc_c_data): Likewise.
49686         (struct test_f_i_data): Likewise.
49687         (struct test_ff_i_data): Likewise.
49688         (struct test_f_l_data): Likewise.
49689         (struct test_f_L_data): Likewise.
49690         (struct test_sincos_data): Likewise.
49691         (RUN_TEST_f_f): Do not handle ulps.
49692         (RUN_TEST_LOOP_f_f): Likewise.
49693         (RUN_TEST_2_f): Likewise.
49694         (RUN_TEST_LOOP_2_f): Likewise.
49695         (RUN_TEST_fff_f): Likewise.
49696         (RUN_TEST_LOOP_fff_f): Likewise.
49697         (RUN_TEST_c_f): Likewise.
49698         (RUN_TEST_LOOP_c_f): Likewise.
49699         (RUN_TEST_f_f1): Likewise.
49700         (RUN_TEST_LOOP_f_f1): Likewise.
49701         (RUN_TEST_fF_f1): Likewise.
49702         (RUN_TEST_LOOP_fF_f1): Likewise.
49703         (RUN_TEST_fI_f1): Likewise.
49704         (RUN_TEST_LOOP_fI_f1): Likewise.
49705         (RUN_TEST_ffI_f1): Likewise.
49706         (RUN_TEST_LOOP_ffI_f1): Likewise.
49707         (RUN_TEST_c_c): Likewise.
49708         (RUN_TEST_LOOP_c_c): Likewise.
49709         (RUN_TEST_cc_c): Likewise.
49710         (RUN_TEST_LOOP_cc_c): Likewise.
49711         (RUN_TEST_f_i): Likewise.
49712         (RUN_TEST_LOOP_f_i): Likewise.
49713         (RUN_TEST_f_i_tg): Likewise.
49714         (RUN_TEST_LOOP_f_i_tg): Likewise.
49715         (RUN_TEST_ff_i_tg): Likewise.
49716         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49717         (RUN_TEST_f_b): Likewise.
49718         (RUN_TEST_LOOP_f_b): Likewise.
49719         (RUN_TEST_f_b_tg): Likewise.
49720         (RUN_TEST_LOOP_f_b_tg): Likewise.
49721         (RUN_TEST_f_l): Likewise.
49722         (RUN_TEST_LOOP_f_l): Likewise.
49723         (RUN_TEST_f_L): Likewise.
49724         (RUN_TEST_LOOP_f_L): Likewise.
49725         (RUN_TEST_sincos): Likewise.
49726         (RUN_TEST_LOOP_sincos): Likewise.
49728 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49730         [BZ #15480]
49731         [BZ #15485]
49732         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49733         main case of finite arguments, set rounding mode to FE_TONEAREST
49734         and discard exceptions.
49735         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49736         exceptions.
49737         (remainder_tonearest_test_data): New variable.
49738         (remainder_test_tonearest): New function.
49739         (remainder_towardzero_test_data): New variable.
49740         (remainder_test_towardzero): New function.
49741         (remainder_downward_test_data): New variable.
49742         (remainder_test_downward): New function.
49743         (remainder_upward_test_data): New variable.
49744         (remainder_test_upward): New function.
49745         (main): Call the new test functions.
49747         * math/libm-test.inc (struct test_f_f1_data): Remove field
49748         extra_init.
49749         (struct test_fF_f1_data): Likewise.
49750         (struct test_ffI_f1_data): Likewise.
49751         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49752         based on value of EXTRA_EXPECTED.
49753         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49754         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49755         EXTRA_VAR based on value of EXTRA_EXPECTED.
49756         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49757         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49758         EXTRA_VAR based on value of EXTRA_EXPECTED.
49759         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49760         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49761         EXTRA_VAR based on value of EXTRA_EXPECTED.
49762         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49763         * math/gen-libm-test.pl (parse_args): Don't output initializers
49764         for extra output values.
49766         * math/libm-test.inc (check_int): Expect result to be exactly
49767         equal to expected value and do not handle ulps.
49768         (check_long): Likewise.
49769         (check_longlong): Likewise.
49771         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49772         exceptions.
49773         (cimag_test_data): Likewise.
49774         (conj_test_data): Likewise.
49775         (copysign_test_data): Likewise.
49776         (cproj_test_data): Likewise.
49777         (creal_test_data): Likewise.
49778         (fabs_test_data): Likewise.
49779         (fdim_test_data): Likewise.
49780         (finite_test_data): Likewise.
49781         (floor_test_data): Likewise.
49782         (fmax_test_data): Likewise.
49783         (fmin_test_data): Likewise.
49784         (fmod_test_data): Likewise.
49785         (fpclassify_test_data): Likewise.
49786         (frexp_test_data): Likewise.
49787         (ilogb_test_data): Likewise.
49788         (isfinite_test_data): Likewise.
49789         (isgreater_test_data): Likewise.
49790         (isgreaterequal_test_data): Likewise.
49791         (isinf_test_data): Likewise.
49792         (isless_test_data): Likewise.
49793         (islessequal_test_data): Likewise.
49794         (islessgreater_test_data): Likewise.
49795         (isnan_test_data): Likewise.
49796         (isnormal_test_data): Likewise.
49797         (issignaling_test_data): Likewise.
49798         (isunordered_test_data): Likewise.
49799         (ldexp_test_data): Likewise.
49800         (lrint_test_data): Likewise.
49801         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49802         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49803         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49804         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49805         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49806         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49807         test input.
49808         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49809         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49810         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49811         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49812         that test input.
49813         (lrint_downward_test_data): Test for "inexact" exceptions.
49814         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49815         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49816         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49817         test input.
49818         (lrint_upward_test_data): Test for "inexact" exceptions.
49819         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49820         test input.
49821         (llrint_test_data): Test for "inexact" exceptions.
49822         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49823         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49824         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49825         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49826         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49827         (llrint_downward_test_data): Test for "inexact" exceptions.
49828         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49829         (llrint_upward_test_data): Test for "inexact" exceptions.
49830         (logb_test_data): Likewise.
49831         (logb_downward_test_data): Likewise.
49832         (nextafter_test_data): Likewise.
49833         (nexttoward_test_data): Likewise.
49834         (remainder_test_data): Likewise.
49835         (remquo_test_data): Likewise.
49836         (scalbn_test_data): Likewise.
49837         (scalbln_test_data): Likewise.
49838         (signbit_test_data): Likewise.
49839         (sqrt_test_data): Likewise.
49840         (significand_test_data): Likewise.
49842 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49844         [BZ #15424]
49845         * benchtests/bench-modf.c (struct args): Mark arg0 as
49846         volatile.
49847         * scripts/bench.pl: Mark members of struct args as volatile.
49849 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49851         [BZ # 15497]
49852         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49853         negative infinity on POWER6 or lower.
49854         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49856 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49858         [BZ #15442]
49859         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49860         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49861         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49862         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49863         (_FP_SETQNAN): New macro.
49864         (_FP_SETQNAN_SEMIRAW): Likewise.
49865         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49866         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49867         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49868         (FP_EXTEND): Use _FP_FRAC_SNANP.
49869         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49870         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49871         into account.
49872         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49873         New macro.
49874         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49875         Likewise.
49877 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49879         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49880         with DIVIDE_BY_ZERO_EXCEPTION.
49881         (gamma_test_data): Likewise.
49882         (lgamma_test_data): Likewise.
49883         (log_test_data): Likewise.
49884         (log10_test_data): Likewise.
49885         (log2_test_data): Likewise.
49886         (tgamma_test_data): Likewise.
49888         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49889         (acos_test_tonearest): Likewise.
49890         (acos_test_towardzero): Likewise.
49891         (acos_test_downward): Likewise.
49892         (acos_test_upward): Likewise.
49893         (acosh_test): Likewise.
49894         (asin_test): Likewise.
49895         (asin_test_tonearest): Likewise.
49896         (asin_test_towardzero): Likewise.
49897         (asin_test_downward): Likewise.
49898         (asin_test_upward): Likewise.
49899         (asinh_test): Likewise.
49900         (atan_test): Likewise.
49901         (atanh_test): Likewise.
49902         (atan2_test): Likewise.
49903         (cabs_test): Likewise.
49904         (cacos_test): Likewise.
49905         (cacosh_test): Likewise.
49906         (casin_test): Likewise.
49907         (casinh_test): Likewise.
49908         (catan_test): Likewise.
49909         (catanh_test): Likewise.
49910         (cbrt_test): Likewise.
49911         (ccos_test): Likewise.
49912         (ccosh_test): Likewise.
49913         (cexp_test): Likewise.
49914         (clog_test): Likewise.
49915         (clog10_test): Likewise.
49916         (cos_test): Likewise.
49917         (cos_test_tonearest): Likewise.
49918         (cos_test_towardzero): Likewise.
49919         (cos_test_downward): Likewise.
49920         (cos_test_upward): Likewise.
49921         (cosh_test): Likewise.
49922         (cosh_test_tonearest): Likewise.
49923         (cosh_test_towardzero): Likewise.
49924         (cosh_test_downward): Likewise.
49925         (cosh_test_upward): Likewise.
49926         (cpow_test): Likewise.
49927         (csin_test): Likewise.
49928         (csinh_test): Likewise.
49929         (csqrt_test): Likewise.
49930         (ctan_test): Likewise.
49931         (ctan_test_tonearest): Likewise.
49932         (ctan_test_towardzero): Likewise.
49933         (ctan_test_downward): Likewise.
49934         (ctan_test_upward): Likewise.
49935         (ctanh_test): Likewise.
49936         (ctanh_test_tonearest): Likewise.
49937         (ctanh_test_towardzero): Likewise.
49938         (ctanh_test_downward): Likewise.
49939         (ctanh_test_upward): Likewise.
49940         (erf_test): Likewise.
49941         (erfc_test): Likewise.
49942         (exp_test): Likewise.
49943         (exp_test_tonearest): Likewise.
49944         (exp_test_towardzero): Likewise.
49945         (exp_test_downward): Likewise.
49946         (exp_test_upward): Likewise.
49947         (exp10_test): Likewise.
49948         (exp2_test): Likewise.
49949         (expm1_test): Likewise.
49950         (fmod_test): Likewise.
49951         (gamma_test): Likewise.
49952         (hypot_test): Likewise.
49953         (j0_test): Likewise.
49954         (j1_test): Likewise.
49955         (jn_test): Likewise.
49956         (lgamma_test): Likewise.
49957         (log_test): Likewise.
49958         (log10_test): Likewise.
49959         (log1p_test): Likewise.
49960         (log2_test): Likewise.
49961         (logb_test_downward): Likewise.
49962         (pow_test): Likewise.
49963         (pow_test_tonearest): Likewise.
49964         (pow_test_towardzero): Likewise.
49965         (pow_test_downward): Likewise.
49966         (pow_test_upward): Likewise.
49967         (remainder_test): Likewise.
49968         (remquo_test): Likewise.
49969         (sin_test): Likewise.
49970         (sin_test_tonearest): Likewise.
49971         (sin_test_towardzero): Likewise.
49972         (sin_test_downward): Likewise.
49973         (sin_test_upward): Likewise.
49974         (sincos_test): Likewise.
49975         (sinh_test): Likewise.
49976         (sinh_test_tonearest): Likewise.
49977         (sinh_test_towardzero): Likewise.
49978         (sinh_test_downward): Likewise.
49979         (sinh_test_upward): Likewise.
49980         (sqrt_test): Likewise.
49981         (tan_test): Likewise.
49982         (tan_test_tonearest): Likewise.
49983         (tan_test_towardzero): Likewise.
49984         (tan_test_downward): Likewise.
49985         (tan_test_upward): Likewise.
49986         (tanh_test): Likewise.
49987         (tgamma_test): Likewise.
49988         (y0_test): Likewise.
49989         (y1_test): Likewise.
49990         (yn_test): Likewise.
49992         * math/gen-libm-test.pl (adjust_arg): Remove function.
49993         (special_function): Remove argument $in_func.  Only handle
49994         generating output for tables of tests, not inside functions.
49995         (parse_args): Likewise.
49996         (generate_testfile): Remove variable $in_func.  Update call to
49997         parse_args.
49998         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49999         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50000         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50001         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50002         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50003         (MAX_VALUE_INIT): Rename macro to max_value.
50004         (MIN_VALUE_INIT): Rename macro to min_value.
50005         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50006         (plus_zero): Remove variable.
50007         (minus_zero): Likewise.
50008         (plus_infty): Likewise.
50009         (minus_infty): Likewise.
50010         (qnan_value): Likewise.
50011         (max_value): Likewise.
50012         (min_value): Likewise.
50013         (min_subnorm_value): Likewise.
50015 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50017         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50018         uint64_t or uint32_t usage.
50019         * crypt/sha256-block.c: Likewise.
50020         * crypt/sha256-crypt.c: Likewise.
50021         * crypt/sha256.c: Likewise.
50022         * crypt/sha512-block.c: Likewise.
50023         * crypt/sha512-crypt.c: Likewise.
50024         * crypt/sha512.c: Likewise.
50025         * debug/backtrace-tst.c: Likewise.
50026         * debug/pcprofiledump.c: Likewise.
50027         * elf/cache.c: Likewise.
50028         * elf/dl-cache.c: Likewise.
50029         * elf/dl-misc.c: Likewise.
50030         * elf/dl-profile.c: Likewise.
50031         * elf/dl-support.c: Likewise.
50032         * elf/ldconfig.c: Likewise.
50033         * elf/sprof.c: Likewise.
50034         * iconv/dummy-repertoire.c: Likewise.
50035         * iconv/iconv_charmap.c: Likewise.
50036         * iconv/skeleton.c: Likewise.
50037         * iconvdata/8bit-generic.c: Likewise.
50038         * iconvdata/cp737.h: Likewise.
50039         * iconvdata/cp775.h: Likewise.
50040         * iconvdata/ibm1008.h: Likewise.
50041         * iconvdata/ibm1025.h: Likewise.
50042         * iconvdata/ibm1046.h: Likewise.
50043         * iconvdata/ibm1097.h: Likewise.
50044         * iconvdata/ibm1112.h: Likewise.
50045         * iconvdata/ibm1122.h: Likewise.
50046         * iconvdata/ibm1123.h: Likewise.
50047         * iconvdata/ibm1124.h: Likewise.
50048         * iconvdata/ibm1129.h: Likewise.
50049         * iconvdata/ibm1130.h: Likewise.
50050         * iconvdata/ibm1132.h: Likewise.
50051         * iconvdata/ibm1133.h: Likewise.
50052         * iconvdata/ibm1137.h: Likewise.
50053         * iconvdata/ibm1140.h: Likewise.
50054         * iconvdata/ibm1141.h: Likewise.
50055         * iconvdata/ibm1142.h: Likewise.
50056         * iconvdata/ibm1143.h: Likewise.
50057         * iconvdata/ibm1144.h: Likewise.
50058         * iconvdata/ibm1145.h: Likewise.
50059         * iconvdata/ibm1146.h: Likewise.
50060         * iconvdata/ibm1147.h: Likewise.
50061         * iconvdata/ibm1148.h: Likewise.
50062         * iconvdata/ibm1149.h: Likewise.
50063         * iconvdata/ibm1153.h: Likewise.
50064         * iconvdata/ibm1154.h: Likewise.
50065         * iconvdata/ibm1155.h: Likewise.
50066         * iconvdata/ibm1156.h: Likewise.
50067         * iconvdata/ibm1157.h: Likewise.
50068         * iconvdata/ibm1158.h: Likewise.
50069         * iconvdata/ibm1160.h: Likewise.
50070         * iconvdata/ibm1161.h: Likewise.
50071         * iconvdata/ibm1162.h: Likewise.
50072         * iconvdata/ibm1163.h: Likewise.
50073         * iconvdata/ibm1164.h: Likewise.
50074         * iconvdata/ibm1166.h: Likewise.
50075         * iconvdata/ibm1167.h: Likewise.
50076         * iconvdata/ibm12712.h: Likewise.
50077         * iconvdata/ibm1390.h: Likewise.
50078         * iconvdata/ibm1399.h: Likewise.
50079         * iconvdata/ibm16804.h: Likewise.
50080         * iconvdata/ibm4517.h: Likewise.
50081         * iconvdata/ibm4899.h: Likewise.
50082         * iconvdata/ibm4909.h: Likewise.
50083         * iconvdata/ibm4971.h: Likewise.
50084         * iconvdata/ibm5347.h: Likewise.
50085         * iconvdata/ibm803.h: Likewise.
50086         * iconvdata/ibm856.h: Likewise.
50087         * iconvdata/ibm901.h: Likewise.
50088         * iconvdata/ibm902.h: Likewise.
50089         * iconvdata/ibm9030.h: Likewise.
50090         * iconvdata/ibm9066.h: Likewise.
50091         * iconvdata/ibm921.h: Likewise.
50092         * iconvdata/ibm922.h: Likewise.
50093         * iconvdata/ibm9448.h: Likewise.
50094         * iconvdata/isiri-3342.h: Likewise.
50095         * iconvdata/jis0201.h: Likewise.
50096         * include/link.h: Likewise.
50097         * include/netdb.h: Likewise.
50098         * inet/check_native.c: Likewise.
50099         * inet/check_pf.c: Likewise.
50100         * inet/getipv4sourcefilter.c: Likewise.
50101         * inet/getnameinfo.c: Likewise.
50102         * inet/getsourcefilter.c: Likewise.
50103         * inet/htonl.c: Likewise.
50104         * inet/setipv4sourcefilter.c: Likewise.
50105         * inet/setsourcefilter.c: Likewise.
50106         * inet/test-inet6_opt.c: Likewise.
50107         * inet/tst-network.c: Likewise.
50108         * locale/C-collate.c: Likewise.
50109         * locale/C-ctype.c: Likewise.
50110         * locale/C-time.c: Likewise.
50111         * locale/C-translit.h: Likewise.
50112         * locale/loadarchive.c: Likewise.
50113         * locale/programs/3level.h: Likewise.
50114         * locale/programs/charmap.c: Likewise.
50115         * locale/programs/charmap.h: Likewise.
50116         * locale/programs/ld-address.c: Likewise.
50117         * locale/programs/ld-collate.c: Likewise.
50118         * locale/programs/ld-ctype.c: Likewise.
50119         * locale/programs/ld-identification.c: Likewise.
50120         * locale/programs/ld-measurement.c: Likewise.
50121         * locale/programs/ld-messages.c: Likewise.
50122         * locale/programs/ld-monetary.c: Likewise.
50123         * locale/programs/ld-name.c: Likewise.
50124         * locale/programs/ld-numeric.c: Likewise.
50125         * locale/programs/ld-paper.c: Likewise.
50126         * locale/programs/ld-telephone.c: Likewise.
50127         * locale/programs/ld-time.c: Likewise.
50128         * locale/programs/linereader.c: Likewise.
50129         * locale/programs/locale.c: Likewise.
50130         * locale/programs/locarchive.c: Likewise.
50131         * locale/programs/locfile.h: Likewise.
50132         * locale/programs/repertoire.c: Likewise.
50133         * locale/programs/simple-hash.c: Likewise.
50134         * locale/programs/simple-hash.h: Likewise.
50135         * malloc/memusage.c: Likewise.
50136         * malloc/memusagestat.c: Likewise.
50137         * nis/nis_defaults.c: Likewise.
50138         * nis/nis_hash.c: Likewise.
50139         * nis/nis_print.c: Likewise.
50140         * nis/nis_xdr.c: Likewise.
50141         * nscd/connections.c: Likewise.
50142         * nscd/hstcache.c: Likewise.
50143         * nscd/nscd_gethst_r.c: Likewise.
50144         * nscd/nscd_getserv_r.c: Likewise.
50145         * nscd/nscd_helper.c: Likewise.
50146         * nscd/servicescache.c: Likewise.
50147         * nss/makedb.c: Likewise.
50148         * nss/nss_db/db-XXX.c: Likewise.
50149         * nss/nss_db/db-initgroups.c: Likewise.
50150         * nss/nss_db/db-netgrp.c: Likewise.
50151         * nss/nss_files/files-network.c: Likewise.
50152         * nss/nss_files/files-parse.c: Likewise.
50153         * posix/bug-regex5.c: Likewise.
50154         * posix/fnmatch_loop.c: Likewise.
50155         * posix/regcomp.c: Likewise.
50156         * posix/regexec.c: Likewise.
50157         * posix/tst-rfc3484-2.c: Likewise.
50158         * posix/tst-rfc3484-3.c: Likewise.
50159         * posix/tst-rfc3484.c: Likewise.
50160         * resolv/nss_dns/dns-canon.c: Likewise.
50161         * resolv/nss_dns/dns-network.c: Likewise.
50162         * resolv/res_init.c: Likewise.
50163         * resolv/res_mkquery.c: Likewise.
50164         * resolv/tst-aton.c: Likewise.
50165         * stdlib/cxa_atexit.c: Likewise.
50166         * stdlib/cxa_finalize.c: Likewise.
50167         * stdlib/gen-fpioconst.c: Likewise.
50168         * stdlib/strtol_l.c: Likewise.
50169         * string/tst-endian.c: Likewise.
50170         * sunrpc/auth_des.c: Likewise.
50171         * sunrpc/clnt_udp.c: Likewise.
50172         * sunrpc/rtime.c: Likewise.
50173         * sunrpc/svcauth_des.c: Likewise.
50174         * sunrpc/xdr.c: Likewise.
50175         * sunrpc/xdr_intXX_t.c: Likewise.
50176         * sunrpc/xdr_rec.c: Likewise.
50177         * sysdeps/generic/ldconfig.h: Likewise.
50178         * sysdeps/generic/ldsodefs.h: Likewise.
50179         * sysdeps/generic/memusage.h: Likewise.
50180         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50181         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50182         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50183         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50185         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50186         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50187         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50188         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50190         * sysdeps/posix/getaddrinfo.c: Likewise.
50191         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50192         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50193         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50194         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50195         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50196         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50197         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50198         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50199         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50200         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50201         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50202         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50203         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50204         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50205         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50206         * sysdeps/x86_64/dl-tls.h: Likewise.
50207         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50208         * time/alt_digit.c: Likewise.
50209         * time/era.c: Likewise.
50210         * wcsmbs/tst-c16c32-1.c: Likewise.
50212 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50214         * math/libm-test.inc (struct test_sincos_data): New type.
50215         (RUN_TEST_LOOP_sincos): New macro.
50216         (sincos_test_data): New variable.
50217         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50219 2013-05-16  Richard Henderson  <rth@redhat.com>
50221         * math/atest-exp2.c (LIMB64): New macro.
50222         (CONSTSZ): New macro.
50223         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50224         (hexdig): Move ...
50225         (print_mpn_fp): ... to function scope.
50226         (read_mpn_hex): Remove.
50227         (get_log2): Remove.
50228         (exp2_mpn): Use mp_log2.
50229         (main): Use mp_exp1.
50231 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50233         * math/libm-test.inc: Remove comment about not testing "inexact"
50234         exceptions.
50235         (INEXACT_EXCEPTION): New macro.
50236         (NO_INEXACT_EXCEPTION): Likewise.
50237         (INVALID_EXCEPTION_OK): Update value.
50238         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50239         (OVERFLOW_EXCEPTION_OK): Likewise.
50240         (UNDERFLOW_EXCEPTION_OK): Likewise.
50241         (IGNORE_ZERO_INF_SIGN): Likewise.
50242         (ERRNO_UNCHANGED): Likewise.
50243         (ERRNO_EDOM): Likewise.
50244         (ERRNO_ERANGE): Likewise.
50245         (test_exceptions): Handle testing "inexact" exceptions.
50246         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50247         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50248         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50249         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50250         INEXACT_EXCEPTION.
50251         (rint_towardzero_test_data): Likewise.
50252         (rint_downward_test_data): Likewise.
50253         (rint_upward_test_data): Likewise.
50255         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50256         with OVERFLOW_EXCEPTION.
50257         (exp10_test_data): Likewise.
50258         (exp2_test_data): Likewise.
50259         (expm1_test_data): Likewise.
50260         (lgamma_test_data): Likewise.
50261         (pow_test_data): Likewise.
50262         (tgamma_test_data): Likewise.
50263         (yn_test_data): Remove duplicate test of overflow.
50265         * math/libm-test.inc (struct test_cc_c_data): New type.
50266         (RUN_TEST_LOOP_cc_c): New macro.
50267         (cpow_test_data): New variable.
50268         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50270         * math/libm-test.inc (struct test_f_L_data): New type.
50271         (RUN_TEST_LOOP_f_L): New macro.
50272         (llrint_test_data): New variable.
50273         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50274         (llrint_tonearest_test_data): New variable.
50275         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50276         (llrint_towardzero_test_data): New variable.
50277         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50278         (llrint_downward_test_data): New variable.
50279         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50280         (llrint_upward_test_data): New variable.
50281         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50282         (llround_test_data): New variable.
50283         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50285 2013-05-13  Peter Collingbourne  <pcc@google.com>
50287         * math/atest-exp2.c (get_log2): Remove const attribute.
50289 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50291         * math/libm-test.inc (struct test_f_l_data): New type.
50292         (RUN_TEST_LOOP_f_l): New macro.
50293         (lrint_test_data): New variable.
50294         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50295         (lrint_tonearest_test_data): New variable.
50296         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50297         (lrint_towardzero_test_data): New variable.
50298         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50299         (lrint_downward_test_data): New variable.
50300         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50301         (lrint_upward_test_data): New variable.
50302         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50303         (lround_test_data): New variable.
50304         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50306 2013-05-15  Peter Collingbourne  <pcc@google.com>
50308         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50309         (EXTRACT_WORDS64) Use where appropriate.
50310         (INSERT_WORDS64) Likewise.
50312         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50313         constraints with x constraints.
50314         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50316         * malloc/obstack.c (_obstack_compat): Add initializer.
50318 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50321         si_trapno and add si_addr_lsb to _sifields.sigfault.
50322         (si_trapno): Remove macro.
50323         (si_addr_lsb): Define new macro.
50324         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50326 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50328         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50329         instead of TEST_f_l.
50330         (llrint_test_tonearest): Likewise.
50331         (llrint_test_towardzero): Likewise.
50332         (llrint_test_downward): Likewise.
50333         (llrint_test_upward): Likewise.
50334         (llround_test): Likewise.
50336         * math/libm-test.inc (struct test_f_i_data): Add comment.
50337         (RUN_TEST_LOOP_f_b): New macro.
50338         (RUN_TEST_LOOP_f_b_tg): Likewise.
50339         (finite_test_data): New variable.
50340         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50341         (isfinite_test_data): New variable.
50342         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50343         (isinf_test_data): New variable.
50344         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50345         (isnan_test_data): New variable.
50346         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50347         (isnormal_test_data): New variable.
50348         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50349         (issignaling_test_data): New variable.
50350         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50351         (signbit_test_data): New variable.
50352         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50354         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50355         with INVALID_EXCEPTION.
50356         (acosh_test_data): Likewise.
50357         (asin_test_data): Likewise.
50358         (atanh_test_data): Likewise.
50359         (fmod_test_data): Likewise.
50360         (log_test_data): Likewise.
50361         (log10_test_data): Likewise.
50362         (log2_test_data): Likewise.
50363         (pow_test_data): Likewise.
50364         (sqrt_test_data): Likewise.
50365         (y0_test_data): Likewise.
50366         (y1_test_data): Likewise.
50367         (yn_test_data): Likewise.
50369         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50370         function contents.
50372         * math/libm-test.inc (struct test_ff_i_data): New type.
50373         (RUN_TEST_LOOP_ff_i_tg): New macro.
50374         (isgreater_test_data): New variable.
50375         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50376         (isgreaterequal_test_data): New variable.
50377         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50378         (isless_test_data): New variable.
50379         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50380         (islessequal_test_data): New variable.
50381         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50382         (islessgreater_test_data): New variable.
50383         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50384         (isunordered_test_data): New variable.
50385         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50387 2013-05-14  David S. Miller  <davem@davemloft.net>
50389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50391 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50393         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50395         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50396         extra_test to int.
50397         (struct test_f_i_data): Change type of max_ulp to int.
50399         * math/libm-test.inc (test_ffI_f1_data): New type.
50400         (RUN_TEST_LOOP_ffI_f1): New macro.
50401         (remquo_test_data): New variable.
50402         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50404         * setjmp/tst-setjmp-fp.c: New file.
50405         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50406         (link-libm): New variable.
50407         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50409         * math/libm-test.inc (struct test_f_i_data): New type.
50410         (RUN_TEST_LOOP_f_i): New macro.
50411         (RUN_TEST_LOOP_f_i_tg): Likewise.
50412         (fpclassify_test_data): New variable.
50413         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50414         (ilogb_test_data): New variable.
50415         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50417         * math/libm-test.inc (scalbln_test): Correct function name in END
50418         call.
50420         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50421         (RUN_TEST_LOOP_fI_f1): New macro.
50422         (frexp_test_data): New variable.
50423         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50425         * math/libm-test.inc (struct test_fF_f1_data): New type.
50426         (RUN_TEST_LOOP_fF_f1): New macro.
50427         (modf_test_data): New variable.
50428         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50430         * math/libm-test.inc (struct test_f_f1_data): New type.
50431         (RUN_TEST_LOOP_f_f1): New macro.
50432         (gamma_test_data): New variable.
50433         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50434         (lgamma_test_data): New variable.
50435         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50437 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50440         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50441         (main): Comment "tls" pseudo-hwcap.
50443 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50445         * math/libm-test.inc (struct test_fl_f_data): New type.
50446         (RUN_TEST_LOOP_fl_f): New variable.
50447         (scalbln_test_data): New variable.
50448         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50450         * math/libm-test.inc (struct test_fi_f_data): New type.
50451         (RUN_TEST_LOOP_fi_f): New macro.
50452         (ldexp_test_data): New variable.
50453         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50454         (scalbn_test_data): New variable.
50455         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50457         * math/libm-test.inc (struct test_c_f_data): New type.
50458         (RUN_TEST_LOOP_c_f): New macro.
50459         (cabs_test_data): New variable.
50460         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50461         (carg_test_data): New variable.
50462         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50463         (cimag_test_data): New variable.
50464         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50465         (creal_test_data): New variable.
50466         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50468         * math/libm-test.inc (struct test_if_f_data): New type.
50469         (RUN_TEST_LOOP_if_f): New macro.
50470         (jn_test_data): New variable.
50471         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50472         (yn_test_data): New variable.
50473         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50475         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50477 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50479         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50480         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50482 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50484         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50485         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50486         (bench-deps): Add bench-timing.h.
50487         * benchtests-bench-skeleton.c: Include bench-timing.h.
50488         (main): Use TIMING_* macros instead of clock_gettime.
50489         * benchtests/bench-timing.h: New file.
50491         [BZ #14582]
50492         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50493         Renamed from _LIB_VERSION.
50494         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50496 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50498         * math/libm-test.inc (struct test_fff_f_data): New type.
50499         (RUN_TEST_LOOP_fff_f): New macro.
50500         (fma_test_data): New variable.
50501         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50502         (fma_towardzero_test_data): New variable.
50503         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50504         (fma_downward_test_data): New variable.
50505         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50506         (fma_upward_test_data): New variable.
50507         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50509         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50510         (struct test_c_c_data): New type.
50511         (RUN_TEST_LOOP_c_c): New macro.
50512         (cacos_test_data): New variable.
50513         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50514         (cacosh_test_data): New variable.
50515         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50516         (casin_test_data): New variable.
50517         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50518         (casinh_test_data): New variable.
50519         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50520         (catan_test_data): New variable.
50521         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50522         (catanh_test_data): New variable.
50523         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50524         (ccos_test_data): New variable.
50525         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50526         (ccosh_test_data): New variable.
50527         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50528         (cexp_test_data): New variable.
50529         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50530         (clog_test_data): New variable.
50531         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50532         (clog10_test_data): New variable.
50533         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50534         (conj_test_data): New variable.
50535         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50536         (cproj_test_data): New variable.
50537         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50538         (csin_test_data): New variable.
50539         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50540         (csinh_test_data): New variable.
50541         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50542         (csqrt_test_data): New variable.
50543         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50544         (ctan_test_data): New variable.
50545         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50546         (ctan_tonearest_test_data): New variable.
50547         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50548         (ctan_towardzero_test_data): New variable.
50549         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50550         (ctan_downward_test_data): New variable.
50551         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50552         (ctan_upward_test_data): New variable.
50553         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50554         (ctanh_test_data): New variable.
50555         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50556         (ctanh_tonearest_test_data): New variable.
50557         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50558         (ctanh_towardzero_test_data): New variable.
50559         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50560         (ctanh_downward_test_data): New variable.
50561         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50562         (ctanh_upward_test_data): New variable.
50563         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50564         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50565         of BUILD_COMPLEX.
50567         * math/libm-test.inc (struct test_ff_f_data): New type.
50568         (struct test_ff_f_data_nexttoward): Likewise.
50569         (RUN_TEST_LOOP_2_f): New macro.
50570         (RUN_TEST_LOOP_ff_f): Likewise.
50571         (atan2_test_data): New variable.
50572         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50573         (copysign_test_data): New variable.
50574         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50575         (fdim_test_data): New variable.
50576         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50577         (fmax_test_data): New variable.
50578         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50579         (fmin_test_data): New variable.
50580         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50581         (fmod_test_data): New variable.
50582         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50583         (hypot_test_data): New variable.
50584         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50585         (nextafter_test_data): New variable.
50586         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50587         (nexttoward_test_data): New variable.
50588         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50589         (pow_test_data): New variable.
50590         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50591         (pow_tonearest_test_data): New variable.
50592         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50593         (pow_towardzero_test_data): New variable.
50594         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50595         (pow_downward_test_data): New variable.
50596         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50597         (pow_upward_test_data): New variable.
50598         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50599         (remainder_test_data): New variable.
50600         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50601         (scalb_test_data): New variable.
50602         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50603         * sysdeps/i386/fpu/libm-test-ulps: Update.
50605 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50607         * math/libm-test.inc (fma_test): Use max_value instead of local
50608         variable fltmax.
50609         (nextafter_test): Likewise.
50611         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50612         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50613         (acos_downward_test_data): New variable.
50614         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50615         (acos_upward_test_data): New variable.
50616         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50617         (acosh_test_data): New variable.
50618         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50619         (asin_test_data): New variable.
50620         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50621         (asin_tonearest_test_data): New variable.
50622         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50623         (asin_towardzero_test_data): New variable.
50624         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50625         (asin_downward_test_data): New variable.
50626         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50627         (asin_upward_test_data): New variable.
50628         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50629         (asinh_test_data): New variable.
50630         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50631         (atan_test_data): New variable.
50632         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50633         (atanh_test_data): New variable.
50634         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50635         (cbrt_test_data): New variable.
50636         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50637         (ceil_test_data): New variable.
50638         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50639         (cos_test_data): New variable.
50640         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50641         (cos_tonearest_test_data): New variable.
50642         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50643         (cos_towardzero_test_data): New variable.
50644         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50645         (cos_downward_test_data): New variable.
50646         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50647         (cos_upward_test_data): New variable.
50648         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50649         (cosh_test_data): New variable.
50650         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50651         (cosh_tonearest_test_data): New variable.
50652         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50653         (cosh_towardzero_test_data): New variable.
50654         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50655         (cosh_downward_test_data): New variable.
50656         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50657         (cosh_upward_test_data): New variable.
50658         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50659         (erf_test_data): New variable.
50660         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50661         (erfc_test_data): New variable.
50662         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50663         (exp_test_data): New variable.
50664         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50665         (exp_tonearest_test_data): New variable.
50666         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50667         (exp_towardzero_test_data): New variable.
50668         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50669         (exp_downward_test_data): New variable.
50670         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50671         (exp_upward_test_data): New variable.
50672         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50673         (exp10_test_data): New variable.
50674         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50675         (exp2_test_data): New variable.
50676         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50677         (expm1_test_data): New variable.
50678         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50679         (fabs_test_data): New variable.
50680         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50681         (floor_test_data): New variable.
50682         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50683         (j0_test_data): New variable.
50684         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50685         (j1_test_data): New variable.
50686         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50687         (log_test_data): New variable.
50688         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50689         (log10_test_data): New variable.
50690         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50691         (log1p_test_data): New variable.
50692         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50693         (log2_test_data): New variable.
50694         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50695         (logb_test_data): New variable.
50696         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50697         (logb_downward_test_data): New variable.
50698         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50699         (nearbyint_test_data): New variable.
50700         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50701         (rint_test_data): New variable.
50702         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50703         (rint_tonearest_test_data): New variable.
50704         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50705         (rint_towardzero_test_data): New variable.
50706         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50707         (rint_downward_test_data): New variable.
50708         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50709         (rint_upward_test_data): New variable.
50710         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50711         (round_test_data): New variable.
50712         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50713         (sin_test_data): New variable.
50714         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50715         (sin_tonearest_test_data): New variable.
50716         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50717         (sin_towardzero_test_data): New variable.
50718         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50719         (sin_downward_test_data): New variable.
50720         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50721         (sin_upward_test_data): New variable.
50722         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50723         (sinh_test_data): New variable.
50724         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50725         (sinh_tonearest_test_data): New variable.
50726         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50727         (sinh_towardzero_test_data): New variable.
50728         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50729         (sinh_downward_test_data): New variable.
50730         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50731         (sinh_upward_test_data): New variable.
50732         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50733         (sqrt_test_data): New variable.
50734         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50735         (tan_test_data): New variable.
50736         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50737         (tan_tonearest_test_data): New variable.
50738         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50739         (tan_towardzero_test_data): New variable.
50740         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50741         (tan_downward_test_data): New variable.
50742         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50743         (tan_upward_test_data): New variable.
50744         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50745         (tanh_test_data): New variable.
50746         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50747         (tgamma_test_data): New variable.
50748         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50749         (trunc_test_data): New variable.
50750         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50751         (y0_test_data): New variable.
50752         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50753         (y1_test_data): New variable.
50754         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50755         (significand_test_data): New variable.
50756         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50758 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50760         [BZ #12387]
50761         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50763 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50765         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50767 2013-05-10  Andreas Jaeger  <aj@suse.de>
50769         [BZ #15448]
50770         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50771         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50773 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50775         * math/gen-libm-test.pl (adjust_arg): New function.
50776         (special_functions): Handle generating output in both functions
50777         and arrays.
50778         (parse_args): Likewise.
50779         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50780         $in_func argument to parse_args.
50781         * math/libm-test.inc (struct test_f_f_data): New type.
50782         (IF_ROUND_INIT_): New macro.
50783         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50784         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50785         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50786         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50787         (ROUND_RESTORE_): Likewise.
50788         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50789         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50790         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50791         (ROUND_RESTORE_FE_UPWARD): Likewise.
50792         (RUN_TEST_LOOP_f_f): New macro.
50793         (acos_test_data): New variable.
50794         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50795         (acos_tonearest_test_data): New variable.
50796         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50798 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50800         * benchtests/bench-skeleton.c (startup): Fix coding style.
50802 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50804         [BZ #6809]
50805         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50806         negative infinity argument.
50807         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50808         negative infinity argument.
50809         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50810         negative infinity argument.
50811         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50812         domain errors.
50814 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50816         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50817         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50818         * iconv/iconv_prog.c (main): Likewise.
50819         * locale/programs/charmap-dir.c (charmap_readdir)
50820         (fopen_uncompressed): Likewise.
50821         * locale/programs/locfile.c (siblings_uncached)
50822         (write_locale_data): Use lstat64 instead of lstat.
50823         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50824         stat.
50826 2013-05-10  Andreas Jaeger  <aj@suse.de>
50828         [BZ #15395]
50829         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50830         localization.
50831         Include <locale.h>.
50833 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50835         * elf/dl-close.c (_dl_close_worker): Add comments.
50837 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50839         [BZ #15359]
50840         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50841         high part of pi/2.
50842         (__ieee754_rem_pio2l): Update comments.
50844         [BZ #15429]
50845         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50846         high part of pi/2.
50847         (__ieee754_rem_pio2l): Update comments.
50849         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50850         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50852         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50853         M_PI_4l.
50855         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50856         (M_PI_34_LOG10El): Likewise.
50857         (M_PI2_LOG10El): Likewise.
50858         (M_PI4_LOG10El): Likewise.
50859         (M_PI_LOG10El): Likewise.
50861 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50865 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50867         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50868         (MINUS_ZERO_INIT): Likewise.
50869         (PLUS_INFTY_INIT): Likewise.
50870         (MINUS_INFTY_INIT): Likewise.
50871         (QNAN_VALUE_INIT): Likewise.
50872         (MAX_VALUE_INIT): Likewise.
50873         (MIN_VALUE_INIT): Likewise.
50874         (MIN_SUBNORM_VALUE_INIT): Likewise.
50875         (plus_zero): Initialize with PLUS_ZERO_INIT.
50876         (minus_zero): Initialize with MINUS_ZERO_INIT.
50877         (plus_infty): Initialize with PLUS_INFTY_INIT.
50878         (minus_infty): Initialize with MINUS_INFTY_INIT.
50879         (qnan_value): Initialize with QNAN_VALUE_INIT.
50880         (max_value): Initialize with MAX_VALUE_INIT.
50881         (min_value): Initialize with MIN_VALUE_INIT.
50882         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50884         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50885         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50886         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50887         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50889         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50890         (RUN_TEST_2_f): Likewise.
50891         (RUN_TEST_ff_f): Likewise.
50892         (RUN_TEST_fi_f): Likewise.
50893         (RUN_TEST_fl_f): Likewise.
50894         (RUN_TEST_fff_f): Likewise.
50895         (RUN_TEST_c_f): Likewise.
50896         (RUN_TEST_f_f1): Likewise.
50897         (RUN_TEST_fF_f1): Likewise.
50898         (RUN_TEST_fI_f1): Likewise.
50899         (RUN_TEST_ffI_f1): Likewise.
50900         (RUN_TEST_c_c): Likewise.
50901         (RUN_TEST_cc_c): Likewise.
50902         (RUN_TEST_f_i): Likewise.
50903         (RUN_TEST_f_i_tg): Likewise.
50904         (RUN_TEST_ff_i_tg): Likewise.
50905         (RUN_TEST_f_b): Likewise.
50906         (RUN_TEST_f_b_tg): Likewise.
50907         (RUN_TEST_f_l): Likewise.
50908         (RUN_TEST_f_L): Likewise.
50909         (RUN_TEST_sincos): Likewise.
50910         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50911         whether to show exceptions.  Do not include ");\n" in return
50912         value.
50913         (special_functions): Output call to RUN_TEST_sincos instead of
50914         check_float calls.  Update calls to new_test.
50915         (parse_args): Output call to single RUN_TEST_* macro instead of
50916         check_* calls and other assignments.  Update calls to new_test.
50918         [BZ #2546]
50919         [BZ #2560]
50920         [BZ #5159]
50921         [BZ #15426]
50922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50923         input to result for tgamma overflow.
50924         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50925         (gamma_coeff): New variable.
50926         (NCOEFF): New macro.
50927         (gamma_positive): New function.
50928         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50929         underflow here.  Use gamma_positive instead of exp (lgamma) for
50930         other arguments.
50931         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50932         (gamma_coeff): New variable.
50933         (NCOEFF): New macro.
50934         (gammaf_positive): New function.
50935         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50936         underflow here.  Use gamma_positive instead of exp (lgamma) for
50937         other arguments.
50938         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50939         (gamma_coeff): New variable.
50940         (NCOEFF): New macro.
50941         (gammal_positive): New function.
50942         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50943         underflow here.  Use gamma_positive instead of exp (lgamma) for
50944         other arguments.
50945         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50946         (gamma_coeff): New variable.
50947         (NCOEFF): New macro.
50948         (gammal_positive): New function.
50949         (__ieee754_gammal_r): Handle positive infinity, overflow and
50950         underflow here.  Handle NaN the same as positive infinity.  Remove
50951         check x < 0xffffffff for negative integers.  Use gamma_positive
50952         instead of exp (lgamma) for other arguments.
50953         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50954         (gamma_coeff): New variable.
50955         (NCOEFF): New macro.
50956         (gammal_positive): New function.
50957         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50958         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50959         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50961         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50962         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50963         * sysdeps/generic/math_private.h (__gamma_productf): New
50964         prototype.
50965         (__gamma_product): Likewise.
50966         (__gamma_productl): Likewise.
50967         * math/Makefile (libm-calls): Add gamma_product.
50968         * math/libm-test.inc (tgamma_test): Add more tests.
50969         * sysdeps/i386/fpu/libm-test-ulps: Update.
50970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50972 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50974         * benchtests/bench-skeleton.c (main): Preheat CPU.
50976 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50978         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50980 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50982         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50983         and _dl_skip_args_internal.
50985 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50987         * manual/message.texi (Message Translation): Talk about users.
50988         Message to key mapping impacts design.
50990 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50992         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50994         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50996         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50997         * sysdeps/wordsize-64/glob64.c: ... here.
50999         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51000         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51001         New macros.
51003         * debug/getlogin_r_chk.c: Moved to ...
51004         * login/getlogin_r_chk.c: ... here.
51005         * debug/Makefile (routines): Move getlogin_r_chk to ...
51006         * login/Makefile (routines): ... here.
51007         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51008         * login/Versions (libc: GLIBC_2.4): ... here.
51010         * io/poll.c (__poll): Renamed from poll.
51011         Add libc_hidden_def.
51012         (poll): Define as weak alias.
51014         * debug/ptsname_r_chk.c: Moved to ...
51015         * login/ptsname_r_chk.c: ... here.
51016         * debug/Makefile (routines): Move ptsname_r_chk to ...
51017         * login/Makefile (routines): ... here.
51018         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51019         * login/Versions (libc: GLIBC_2.4): ... here.
51021         * posix/getlogin.c: Moved to ...
51022         * login/getlogin.c: ... here.
51023         * posix/getlogin_r.c: Moved to ...
51024         * login/getlogin_r.c: ... here.
51025         * posix/getlogin_r.c: Moved to ...
51026         * login/getlogin_r.c: ... here.
51027         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51028         * login/Makefile (routines): ... here.
51029         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51030         * login/Versions (libc: GLIBC_2.0): ... here.
51032         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51033         (setrlimit): Define as weak alias.
51035         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51036         Call __ names for open, ftruncate, and close.
51037         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51038         (truncate): Define as weak alias.
51040 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51042         * math/gen-libm-test.pl (parse_args): Initialize x before each
51043         test of frexp, modf and remquo.
51045         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51046         test signgam value.
51048 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51050         [BZ #15418]
51051         [BZ #15419]
51052         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51053         internal tests.
51054         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51056 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51058         * elf/dl-writev.h: New file.
51059         * elf/dl-misc.c: Include it.
51060         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51061         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51063 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51065         * math/libm-test.inc (noXFails): Remove variable.
51066         (noXPasses): Likewise.
51067         (BUILD_COMPLEX_INT): Remove macro.
51068         (print_screen): Remove xfail argument.
51069         (print_screen_max_error): Likewise.
51070         (update_stats): Likewise.
51071         (print_max_error): Likewise.  Update calls to other affected
51072         functions.
51073         (print_complex_max_error): Likewise.
51074         (test_single_exception): Update calls to print_screen.
51075         (test_single_errno): Likewise.
51076         (check_float_internal): Remove xfail argument.  Update calls to
51077         other affected functions.
51078         (check_float): Likewise.
51079         (check_complex): Likewise.
51080         (check_int): Likewise.
51081         (check_long): Likewise.
51082         (check_bool): Likewise.
51083         (check_longlong): Likewise.
51084         (main): Don't print noXFails and noXPasses.
51085         * math/gen-libm-test.pl (top level): Don't mention expected
51086         failure handling in comment.
51087         (new_test): Don't handle expected failures.
51088         (parse_args): Don't mention expected failure handling in comment.
51089         (generate_testfile): Don't handle expected failures.
51090         (parse_ulps): Likewise.
51091         (print_ulps_file): Likewise.
51092         (get_failure): Remove function.
51093         (output_test): Don't handle expected failures.
51094         * make/README.libm-test: Don't mention expected failure handling.
51096         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51097         (minus_zero): Likewise.
51098         (plus_infty): Likewise.
51099         (minus_infty): Likewise.
51100         (qnan_value): Likewise.
51101         (max_value): Likewise.
51102         (min_value): Likewise.
51103         (min_subnorm_value): Likewise.
51104         (initialize): Do not initialize those variables dynamically.
51106 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51108         * io/open.c (__open_2): Moved to ...
51109         * io/open_2.c: ... this new file.
51110         * io/open64.c (__open64_2): Moved to ...
51111         * io/open64_2.c: ... this new file.
51112         * io/openat.c (__openat_2): Moved to ...
51113         * io/openat_2.c: ... this new file.
51114         * io/openat64.c (__openat64_2): Moved to ...
51115         * io/openat64_2.c: ... this new file.
51116         * io/Makefile (routines): Add them.
51117         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51118         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51119         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51120         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51121         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51122         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51123         (__openat64): Add hidden_ver.
51124         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51125         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51127         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51128         Separately conditionalize setting of GLRO(dl_sysinfo) so
51129         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51130         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51132 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51134         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51136         definition.
51137         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51138         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51139         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51140         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51141         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51143 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51145         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51146         test signgam value.
51148         * math/libm-test.inc (hypot_test): Do not use
51149         IGNORE_ZERO_INF_SIGN.
51151 2013-05-03  Andreas Jaeger  <aj@suse.de>
51153         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51154         Linux 3.9.
51155         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51156         (PF_MAX): Adjust for VSOCK change.
51158 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51162 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51164         [BZ #15264]
51165         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51166         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51167         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51169 2013-05-02  David S. Miller  <davem@davemloft.net>
51171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51173 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51175         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51177 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51179         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51181 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51183         [BZ #14952]
51184         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51185         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51186         Use __attribute__ ((__gnu_inline__)).
51187         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51188         Don't use __attribute__ ((__gnu_inline__)).
51190 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51192         [BZ #15423]
51193         * math/s_catan.c (__catan): Handle small real or imaginary part of
51194         input specially to avoid spurious underflow.
51195         * math/s_catanf.c (__catanf): Likewise.
51196         * math/s_catanh.c (__catanh): Likewise.
51197         * math/s_catanhf.c (__catanhf): Likewise.
51198         * math/s_catanhl.c (__catanhl): Likewise.
51199         * math/s_catanl.c (__catanl): Likewise.
51200         * math/libm-test.inc (catan_test): Add more tests.
51201         (catanh_test): Likewise.
51202         * sysdeps/i386/fpu/libm-test-ulps: Update.
51203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51205 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51209 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51211         [BZ #15416]
51212         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51213         accurately for denominator in atan2.
51214         * math/s_catanf.c (__catanf): Likewise.
51215         * math/s_catanh.c (__catanh): Likewise.
51216         * math/s_catanhf.c (__catanhf): Likewise.
51217         * math/s_catanhl.c (__catanhl): Likewise.
51218         * math/s_catanl.c (__catanl): Likewise.
51219         * math/libm-test.inc (catan_test): Add more tests.
51220         (catanh_test): Likewise.
51221         * sysdeps/i386/fpu/libm-test-ulps: Update.
51222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51224 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51226         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51228         * benchtests/Makefile (bench): Remove slow benchmarks.
51229         * benchtests/atan-inputs: Add slow benchmark inputs.
51230         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51231         (BENCH_FUNC): Accept variant offset.
51232         (VARIANT): Define.
51233         * benchtests/bench-skeleton.c (main): Run benchmark for each
51234         variant.
51235         * benchtests/cos-inputs: Add slow benchmark inputs.
51236         * benchtests/exp-inputs: Likewise.
51237         * benchtests/pow-inputs: Likewise.
51238         * benchtests/sin-inputs: Likewise.
51239         * benchtests/slowatan-inputs: Remove.
51240         * benchtests/slowatan.c: Remove.
51241         * benchtests/slowcos-inputs: Remove.
51242         * benchtests/slowcos.c: Remove.
51243         * benchtests/slowexp-inputs: Remove.
51244         * benchtests/slowexp.c: Remove.
51245         * benchtests/slowpow-inputs: Remove.
51246         * benchtests/slowpow.c: Remove.
51247         * benchtests/slowsin-inputs: Remove.
51248         * benchtests/slowsin.c: Remove.
51249         * benchtests/slowtan-inputs: Remove.
51250         * benchtests/slowtan.c: Remove.
51251         * benchtests/tan-inputs: Add slow benchmark inputs.
51252         * scripts/bench.pl: Parse comments and directives.
51254         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51255         in CPPFLAGS.
51256         ($(objpfx)bench-%.c): Remove *-ITER.
51257         * benchtests/bench-modf.c: Remove definition of ITER.
51258         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51259         (main): Loop for DURATION seconds instead of fixed number of
51260         iterations.
51261         * scripts/bench.pl: Don't expect iterations in parameters.
51263 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51265         * io/fchdir.c (__fchdir): Renamed from fchdir.
51266         (fchdir): Define as weak alias.
51268 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51270         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51271         (ERRNO_EDOM): Likewise.
51272         (ERRNO_ERANGE): Likewise.
51273         (noErrnoTests): New variable.
51274         (init_max_error): Set errno to 0.
51275         (test_single_errno): New function.
51276         (test_errno): Likewise.
51277         (check_float_internal): Call test_errno.  Set errno to 0.
51278         (check_complex): Refer to errno tests in comment.
51279         (check_int): Call test_errno.  Set errno to 0.
51280         (check_long): Likewise.
51281         (check_bool): Likewise.
51282         (check_longlong): Likewise.
51283         (cos_test): Use ERRNO_* flags for errno tests instead of
51284         check_int.
51285         (expm1_test): Likewise.
51286         (fmod_test): Likewise.
51287         (ilogb_test): Likewise.
51288         (lgamma_test): Likewise.
51289         (pow_test): Likewise.
51290         (remainder_test): Likewise.
51291         (sin_test): Likewise.
51292         (tan_test): Likewise.
51293         (yn_test): Likewise.
51294         (initialize): Set errno to 0.
51295         (main): Print number of errno tests.
51296         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51298 2013-04-29  Andreas Jaeger  <aj@suse.de>
51300         [BZ #15084]
51301         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51302         and RES_USEVC.
51304         [BZ #15085]
51305         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51306         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51307         unimplemented.
51309         [BZ #15380]
51310         * stdlib/random.c (__initstate): Return NULL if
51311         __initstate fails.
51313         [BZ #15086]
51314         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51315         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51316         RES_SNGLKUPREOP.
51318 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51322 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51324         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51325         of individual tests.
51326         (casin_test): Likewise.
51327         (casinh_test): Likewise.
51329 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51331         [BZ #15409]
51332         * math/s_catan.c (__catan): Handle arguments with large real or
51333         imaginary part separately without squaring.
51334         * math/s_catanf.c (__catanf): Likewise.
51335         * math/s_catanh.c (__catanh): Likewise.
51336         * math/s_catanhf.c (__catanhf): Likewise.
51337         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51338         and redefine.
51339         (__catanhl): Handle arguments with large real or imaginary part
51340         separately without squaring.
51341         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51342         and redefine.
51343         (__catanl): Handle arguments with large real or imaginary part
51344         separately without squaring.
51345         * math/libm-test.inc (catan_test): Add more tests.
51346         (catanh_test): Likewise.
51347         * sysdeps/i386/fpu/libm-test-ulps: Update.
51348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51350 2013-04-27  Andreas Jaeger  <aj@suse.de>
51352         [BZ #15007]
51353         * stdlib/stdlib.h: Update guards for qecvt.
51354         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51355         <stdlib.h>.
51357 2013-04-27  Allan McRae  <allan@archlinux.org>
51359         * sysdeps/i386/fpu/libm-test-ulps: Update.
51361 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51363         [BZ #15406]
51364         * math/s_catan.c: Include <float.h>.
51365         (__catan): Ensure underflow exception occurs for underflowed
51366         result.
51367         * math/s_catanf.c: Include <float.h>.
51368         (__catanf): Ensure underflow exception occurs for underflowed
51369         result.
51370         * math/s_catanh.c: Include <float.h>.
51371         (__catanh): Ensure underflow exception occurs for underflowed
51372         result.
51373         * math/s_catanhf.c: Include <float.h>.
51374         (__catanhf): Ensure underflow exception occurs for underflowed
51375         result.
51376         * math/s_catanhl.c: Include <float.h>.
51377         (__catanhl): Ensure underflow exception occurs for underflowed
51378         result.
51379         * math/s_catanl.c: Include <float.h>.
51380         (__catanl): Ensure underflow exception occurs for underflowed
51381         result.
51382         * math/libm-test.inc (catan_test): Add more tests.
51383         (catanh_test): Likewise.
51385         [BZ #15405]
51386         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51387         underflowed result.
51388         * math/s_ccoshf.c (__ccoshf): Likewise.
51389         * math/s_ccoshl.c (__ccoshl): Likewise.
51390         * math/s_csin.c (__csin): Likewise.
51391         * math/s_csinf.c (__csinf): Likewise.
51392         * math/s_csinh.c (__csinh): Likewise.
51393         * math/s_csinhf.c (__csinhf): Likewise.
51394         * math/s_csinhl.c (__csinhl): Likewise.
51395         * math/s_csinl.c (__csinl): Likewise.
51396         * math/libm-test.inc (ccos_test): Add more tests.
51397         (ccosh_test): Likewise.
51398         (csin_test): Likewise.
51399         (csinh_test): Likewise.
51401 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51403         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51404         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51405         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51406         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51407         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51408         powerpc/power5+/fpu folders.
51409         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51412 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51416 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51418         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51419         additions to variable.
51420         [$(config-machine) = x86_64] (modules-names): Likewise.
51421         ($(objpfx)tst-audit3): Remove dependency.
51422         ($(objpfx)tst-audit3.out): Likewise.
51423         ($(objpfx)tst-audit4): Likewise.
51424         ($(objpfx)tst-audit4.out): Likewise.
51425         ($(objpfx)tst-audit5): Likewise.
51426         ($(objpfx)tst-audit5.out): Likewise.
51427         ($(objpfx)tst-audit6): Likewise.
51428         ($(objpfx)tst-audit6.out): Likewise.
51429         ($(objpfx)tst-audit7): Likewise.
51430         ($(objpfx)tst-audit7.out): Likewise.
51431         (tst-audit3-ENV): Remove variable.
51432         (tst-audit4-ENV): Likewise.
51433         (tst-audit5-ENV): Likewise.
51434         (tst-audit6-ENV): Likewise.
51435         (tst-audit7-ENV): Likewise.
51436         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51437         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51438         addition to variable.
51439         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51440         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51441         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51442         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51443         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51444         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51445         tst-audit3, tst-audit4 and tst-audit5.
51446         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51447         tst-audit6 and tst-audit7.
51448         [$(subdir) = elf] (modules-names): Add audit modules for those
51449         tests.
51450         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51451         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51452         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51453         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51454         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51455         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51456         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51457         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51458         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51459         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51460         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51461         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51462         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51463         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51464         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51465         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51466         Likewise.
51467         [$(subdir) = elf && $(config-cflags-avx) = yes]
51468         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51469         [$(subdir) = elf && $(config-cflags-avx) = yes]
51470         (CFLAGS-tst-auditmod4a.c): Likewise.
51471         [$(subdir) = elf && $(config-cflags-avx) = yes]
51472         (CFLAGS-tst-auditmod4b.c): Likewise.
51473         [$(subdir) = elf && $(config-cflags-avx) = yes]
51474         (CFLAGS-tst-auditmod6b.c): Likewise.
51475         [$(subdir) = elf && $(config-cflags-avx) = yes]
51476         (CFLAGS-tst-auditmod6c.c): Likewise.
51477         [$(subdir) = elf && $(config-cflags-avx) = yes]
51478         (CFLAGS-tst-auditmod7b.c): Likewise.
51479         * elf/tst-audit3.c: Move to ...
51480         * sysdeps/x86_64/tst-audit3.c: ... here.
51481         * elf/tst-audit4.c: Move to ...
51482         * sysdeps/x86_64/tst-audit4.c: ... here.
51483         * elf/tst-audit5.c: Move to ...
51484         * sysdeps/x86_64/tst-audit5.c: ... here.
51485         * elf/tst-audit6.c: Move to ...
51486         * sysdeps/x86_64/tst-audit6.c: ... here.
51487         * elf/tst-audit7.c: Move to ...
51488         * sysdeps/x86_64/tst-audit7.c: ... here.
51489         * elf/tst-auditmod3a.c: Move to ...
51490         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51491         * elf/tst-auditmod3b.c: Move to ...
51492         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51493         * elf/tst-auditmod4a.c: Move to ...
51494         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51495         * elf/tst-auditmod4b.c: Move to ...
51496         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51497         * elf/tst-auditmod5a.c: Move to ...
51498         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51499         * elf/tst-auditmod5b.c: Move to ...
51500         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51501         * elf/tst-auditmod6a.c: Move to ...
51502         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51503         * elf/tst-auditmod6b.c: Move to ...
51504         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51505         * elf/tst-auditmod6c.c: Move to ...
51506         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51507         * elf/tst-auditmod7a.c: Move to ...
51508         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51509         * elf/tst-auditmod7b.c: Move to ...
51510         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51512 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51514         [BZ #15366]
51515         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51516         define unconditionally.
51517         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51518         define unconditionally.
51519         (INT8_C, INT16_C, etc.): Likewise.
51521 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51523         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51524         __ehdr_start with hidden visibility.
51526         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51528 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51530         * math/libm-test.inc (cos_test): Use accurate hex constants.
51531         (sincost_test): Likewise.
51533 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51535         * math/libm-test.inc (catan_test): Add more tests.
51536         (catanh_test): Likewise.
51538         * math/s_catanf.c (__catanf): Use suffixed floating-point
51539         constants.
51540         * math/s_catanhf.c (__catanhf): Likewise.
51541         * math/s_catanhl.c (__catanhl): Likewise.
51542         * math/s_catanl.c (__catanl): Likewise.
51544         [BZ #15394]
51545         * math/s_catan.c (__catan): Calculate imaginary part of result
51546         with log1p not log unless computing log of number close to 0.
51547         * math/s_catanf.c (__catanf): Likewise.
51548         * math/s_catanl.c (__catanl): Likewise.
51549         * math/s_catanh.c (__catanh): Calculate real part of result with
51550         log1p not log unless computing log of number close to 0.
51551         * math/s_catanhf.c (__catanhf): Likewise.
51552         * math/s_catanhl.c (__catanhl): Likewise.
51553         * math/libm-test.inc (catan_test): Add more tests.
51554         (catanh_test): Likewise.
51555         * sysdeps/i386/fpu/libm-test-ulps: Update.
51556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51558 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51560         * benchtests/Makefile: Mention files in which fast and slow
51561         paths of math functions are implemented.
51563 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51565         * sysdeps/posix/timespec_get.c: New file.
51567 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51569         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51570         POWER.
51571         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51572         for POWER.
51573         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51574         powerpc/power5/fpu folders.
51575         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51576         * benchtests/Makefile: Add modf testcase.
51577         * benchtests/bench-modf.c: New file: Benchmark test for mo
51579 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51581         [BZ #14888]
51582         * time/Makefile (tests): Add tst-strptime-whitespace.
51583         * time/strptime_l.c (get_number): Use ISSPACE.
51584         (__strptime_internal): Likewise.
51585         * time/tst-strptime-whitespace.c: New test case.
51587 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51589         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51590         member.
51591         (_nss_files_init): Set it here.
51593 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51595         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51596         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51597         unsigned.
51599 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51601         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51603 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51606         size just once.
51608 2013-04-21  David S. Miller  <davem@davemloft.net>
51610         * po/ru.po: Update Russion translation from translation project.
51612 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51614         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51615         and setfsgid.
51617 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51619         * configure.in: Remove i386 configure warning. Remove i386 case.
51620         * configure: Regenerate.
51621         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51622         Add example to error message.
51623         * sysdeps/i386/configure: Regenerate.
51625 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51627         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51628         slowtan.
51629         * benchtests/cos-inputs: New file.
51630         * benchtests/slowcos-inputs: New file.
51631         * benchtests/slowcos.c: New file.
51632         * benchtests/slowtan-inputs: New file.
51633         * benchtests/slowtan.c: New file.
51634         * benchtests/tan-inputs: New file.
51636 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51638         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51639         considered kosher.
51641 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51643         * benchtests/Makefile: Include cppflags-iterator.mk to add
51644         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51646         * Makefile.in (bench-clean): New target.
51647         * benchtests/Makefile (bench-clean): Likewise.
51649 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51651         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51653 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51655         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51657 2013-04-15  Andreas Schwab  <schwab@suse.de>
51659         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51660         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51661         * nscd/pwdcache.c (cache_addpw): Likewise.
51662         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51663         more than recsize.
51665 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51667         * benchtests/Makefile (bench): Write all output to
51668         bench-out.tmp together.
51670 2013-04-15  Andreas Schwab  <schwab@suse.de>
51672         * nscd/nscd.c (main): Don't fork again after closing files.
51674 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51676         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51678         * benchtests/Rules (bench-deps): Collect dependencies into a
51679         single variable.  Add Makefile to dependencies.
51680         ($(objpfx)bench-%.c): Depend on bench-deps.
51682 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51683             Xavier Roche  <roche+kml2@exalead.com>
51685         [BZ #15361]
51686         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51687         just that it's a file descriptor.
51688         * manual/llio.texi (Synchronizing AIO Operations): Update description
51689         for EBADF error from aio_fsync.
51691 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51693         * Rules (bench): Move target definition...
51694         * benchtests/Makefile: ... here.
51696 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51698         * math/libm-test.inc (cos_test): Fix PI/2 test.
51699         (sincos_test): Likewise.
51700         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51701         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51703 2013-04-11  Andreas Schwab  <schwab@suse.de>
51705         [BZ #13988]
51706         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51707         accept exponent character only when digits were seen.
51708         * stdio-common/Makefile (tests): Add bug26.
51709         * stdio-common/bug26.c: New file.
51711         [BZ #14293]
51712         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51713         non-freeable.
51715 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51717         * Makeconfig (rtld-prefix): Define built linker prefix.
51718         * Rules (run-bench): Use it.
51719         * math/Makefile (run-regen-ulps): Likewise.
51721         * Rules (bench): Remove eval.
51723 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51724             Roland McGrath  <roland@hack.frob.com>
51725             Ondrej Bilka  <neleai@seznam.cz>
51727         [BZ #15346]
51728         * time/getdate.c: Include ctype.h and alloca.h.
51729         (__getdate_r): Trim leading and trailing spaces of input.
51730         * time/tst-getdate.c (tests): Add tests with leading and
51731         trailing spaces.
51733 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51735         [BZ #14280]
51736         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51737         when computing value.
51739 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51741         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51742         Use testrun.sh to run libm tests.
51744         [BZ #15309]
51745         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51747 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51749         [BZ #15264]
51750         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51752 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51754         * Makefile.in (regen-ulps): New target.
51755         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51756         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51757         [ifneq (no,$(PERL)] (regen-ulps): New target.
51758         [ifeq (no,$(PERL)] (regen-ulps): New target.
51759         * math/libm-test.inc (ulps_file_name): Define.
51760         (output_dir): New variable.
51761         (options): Add "output-dir" option.
51762         (parse_opt): Handle 'o' case.
51763         (main): If output_dir is non-NULL use it as a prefix
51764         otherwise use "".
51765         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51767 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51769         [BZ #10060, #10062]
51770         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51771         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51772         fail configure if __sync_val_compare_and_swap is not inlined.
51773         * sysdeps/i386/configure: Regenerate.
51774         * configure.in: Build for i686 when configured for i386.
51775         * configure: Regenerate.
51776         * README: Remove i386 reference.
51778 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51780         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51781         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51783 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51785         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51786         (lmsnanval): New variables.
51787         (F): Add conversion tests.
51788         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51789         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51791         * stdio-common/tstdiomisc.c (F): Properly collect individual
51792         tests' results.
51794         [BZ #14686, #15336]
51795         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51796         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51797         Instead, use input NaN values or generate a qNaN by arithmetic
51798         operation.  Also fix bugs to comply with the standard.
51799         * math/libm-test.inc (remainder_test): Add more tests.
51801         [BZ #15335, #15342]
51802         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51804         input NaN values or generate a qNaN by arithmetic operation.
51806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51807         unreachable code.
51809         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51810         definitions.
51812 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51814         [BZ #14478]
51815         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51816         underflowed result.
51817         * math/s_cexpf.c (__cexpf): Likewise.
51818         * math/s_cexpl.c (__cexpl): Likewise.
51819         * math/libm-test.inc (cexp_test): Add more tests.
51821 2013-04-03  Andreas Schwab  <schwab@suse.de>
51823         [BZ #15330]
51824         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51825         order arrays from heap if bigger than alloca cutoff.
51827 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51829         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51830         (SNAN_TESTS_double): Refer to GCC PR56831.
51831         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51832         GCC PR56828.
51834 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51836         * Rules (bench): Move bench.out after the run is complete.
51838         * Rules (bench): Echo currently running benchmark.
51840         * benchtests/Makefile (bench): Add atan and slowatan.
51841         * benchtests/atan-inputs: New file.
51842         * benchtests/slowatan-inputs: New file.
51843         * benchtests/slowatan.c: New file.
51845         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51846         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51847         its value.
51849         [BZ #15305]
51850         * sysdeps/unix/sysv/linux/kernel-features.h
51851         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51852         __ASSUME_XFS_RESTRICTED_CHOWN.
51853         * sysdeps/unix/sysv/linux/pathconf.c
51854         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51855         Save and restore errno.
51857 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51859         [BZ #15327]
51860         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51861         arguments using __kernel_casinh.
51862         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51863         arguments using __kernel_casinhf.
51864         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51865         arguments using __kernel_casinhl.
51866         * math/libm-test.inc (cacosh_test): Add more tests.
51867         * sysdeps/i386/fpu/libm-test-ulps: Update.
51868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51870 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51872         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51875         * bench/Makefile (bench): Add sin and slowsin.
51876         * benchtests/sin-inputs: New file.
51877         * benchtests/slowsin-inputs: New file.
51878         * benchtests/slowsin.c: New file.
51880         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51881         (bench): Add slowexp and slowpow.
51882         (exp-ITER): Increase iterations.
51883         (pow-ITER): Likewise.
51884         * benchtests/exp-inputs: Change input.
51885         * benchtests/pow-inputs: Likewise.
51886         * benchtests/slowexp-inputs: New file.
51887         * benchtests/slowexp.c: New file.
51888         * benchtests/slowpow-inputs: New file.
51889         * benchtests/slowpow.c: New file.
51891 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51893         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51894         instructions.
51895         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51896         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51897         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51898         * benchtests/Makefile: Add rint benchtest.
51899         * benchtests/rint-inputs: Input for rint benchtest.
51901 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51903         * Versions.def (libm): Add GLIBC_2.18.
51904         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51905         hidden libm prototypes.
51906         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51907         * math/Makefile (libm-calls): Add s_issignaling.
51908         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51909         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51910         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51911         declaration.
51912         * math/math.h [__USE_GNU] (issignaling): New macro.
51913         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51914         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51915         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51916         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51917         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51918         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51919         * manual/arith.texi (issignaling): New section.
51920         * manual/libm-err-tab.pl (@all_functions): Update comment.
51921         * math/gen-libm-test.pl (parse_args): Apply special handling for
51922         issignaling.
51923         * math/libm-test.inc (print_float, issignaling_test): New
51924         functions.
51925         (check_float_internal): Add issignaling checks.
51926         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51927         default definition.
51928         * sysdeps/powerpc/math-tests.h: New file.
51929         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51930         tests.
51931         * math/test-snan.c (TEST_FUNC): Likewise.
51933 2013-03-30  David S. Miller  <davem@davemloft.net>
51935         * po/de.po: Update from translation team.
51937 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51939         [BZ #10357]
51940         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51941         imaginary part less than 1.0 and real part less than 0.5
51942         specially.
51943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51945         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51946         (cacos_test): Add more tests.
51947         (casin_test): Likewise.
51948         (casinh_test): Likewise.
51949         * sysdeps/i386/fpu/libm-test-ulps: Update.
51950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51952 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51954         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51955         ONE with its value.
51957         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51958         (__pow_mp): Replace ONE and MONE with their values.
51959         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51960         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51961         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51962         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51963         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51964         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51966         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51968         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51969         (__pow_mp): Replace ZERO and MZERO with their values.
51970         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51971         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51972         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51974         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51975         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51976         (__sqr): Likewise.
51978         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51980         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51982 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51984         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51985         Declare with __attribute__ ((weak)).
51986         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51987         Call __call_tls_dtors only if it's not NULL.
51989 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51991         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51992         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51993         magic __ehdr_start linker symbol if it's defined.
51994         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51995         them up here if it was already done.
51997         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51998         (_dl_aux_init): Use const in cast when setting it.
51999         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52000         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52001         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52003         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52004         Declare them here.
52005         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52006         * csu/libc-tls.c: Nor here.
52007         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52009         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52010         (__libc_message): Never call vsyslog.
52012 2013-03-28  Alan Modra  <amodra@gmail.com>
52014         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52015         Define as empty.
52016         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52017         Likewise.
52019 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52021         [BZ #15214]
52022         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52023         underflow.
52024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52026 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52028         [BZ #15304]
52029         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52030         Don't add gid passed as argument.
52032         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52034 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52036         [BZ #15307]
52037         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52038         imaginary part between 1.0 and 1.5 and real part less than 0.5
52039         specially.
52040         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52041         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52042         * math/libm-test.inc (cacos_test): Add more tests.
52043         (casin_test): Likewise.
52044         (casinh_test): Likewise.
52045         * sysdeps/i386/fpu/libm-test-ulps: Update.
52046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52048 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52050         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52051         constants.
52052         (norm): Likewise.
52053         (denorm): Likewise.
52054         (__dbl_mp): Likewise.
52055         (add_magnitudes): Likewise.
52056         (sub_magnitudes): Likewise.
52057         (__add): Likewise.
52058         (__sub): Likewise.
52059         (__mul): Likewise.
52060         (__sqr): Likewise.
52061         (__inv): Likewise.
52062         (__dvd): Likewise.
52064         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52065         commented code.
52066         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52067         (__dubcos): Likewise.
52068         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52069         (__ieee754_acos): Likewise.
52070         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52071         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52072         (__exp1): Likewise.
52073         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52074         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52075         (log1): Likewise.
52076         (my_log2): Likewise.
52077         (checkint): Likewise.
52078         * sysdeps/ieee754/dbl-64/e_remainder.c
52079         (__ieee754_remainder): Likewise.
52080         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52082         (bsloww): Likewise.
52083         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52085         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52086         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52087         MANTISSA_STORE_T to store computations on mantissa.  Use
52088         macros for rounding and division.
52089         (denorm): Likewise.
52090         (__dbl_mp): Likewise.
52091         (add_magnitudes): Likewise.
52092         (sub_magnitudes): Likewise.
52093         (__mul): Likewise.
52094         (__sqr): Likewise.
52095         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52096         powers of two in terms of TWOPOW macro.
52097         (mp_no): Make type of mantissa as MANTISSA_T.
52098         [!RADIXI]: Define RADIXI.
52099         [!TWO52]: Define TWO52.
52100         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52102 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52104         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52105         llroundl symbol when building for PPC32.
52107 2013-03-24  Mark H Weaver  <mhw@netris.org>
52109         * manual/arith.texi (Normalization Functions): Fix prototypes for
52110         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52112 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52114         [BZ #13889]
52115         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52116         high value to check if expl overflow.
52117         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52118         to check for underflow and overflow.
52119         * math/libm-test.inc: Add exp test.
52121 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52123         [BZ #11120]
52124         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52125         with NOT_IN_libc.
52127 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52129         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52130         symbol.
52132 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52134         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52135         wrap blocks consisting of several statements.
52137         * sysdeps/generic/math-tests.h: New file.
52138         * sysdeps/i386/fpu/math-tests.h: Likewise.
52139         * math/test-snan.c: Include it.
52140         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52142 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52144         [BZ #15285]
52145         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52146         (__ieee754_j0l): Do not improve calculations using cos of twice
52147         input for inputs above LDBL_MAX / 2.0L.
52148         (__ieee754_y0l): Likewise.
52149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52150         (__ieee754_j1l): Do not improve calculations using cos of twice
52151         input for inputs above LDBL_MAX / 2.0L.
52152         (__ieee754_y1l): Likewise.
52153         * math/libm-test.inc (j0_test): Add another test.
52154         (j1_test): Likewise.
52155         (y0_test): Likewise.
52156         (y1_test): Likewise.
52157         * sysdeps/i386/fpu/libm-test-ulps: Update.
52159 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52161         * Rules ($(objpfx)bench-%.c): Include code from a C source
52162         file.
52164 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52166         [BZ #15287]
52167         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52168         imaginary part 1.0 and real part less than 0.5 specially.
52169         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52170         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52171         * math/libm-test.inc (cacos_test): Add more tests.
52172         (casin_test): Likewise.
52173         (casinh_test): Likewise.
52174         * sysdeps/i386/fpu/libm-test-ulps: Update.
52175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52177 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52179         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52180         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52182 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52184         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52185         * config.make.in (config-cflags-sse4): Remove variable.
52186         (config-cflags-avx): Likewise.
52187         (config-cflags-sse2avx): Likewise.
52188         (config-cflags-novzeroupper): Likewise.
52189         (config-asflags-i686): Likewise.
52190         (have-mfma4): Likewise.
52191         (have-as-vis3): Likewise.
52192         (MIG): Likewise.
52193         * configure.in (MIG): Do not AC_SUBST.
52194         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52195         (libc_cv_cc_sse4): Do not AC_SUBST.
52196         (libc_cv_cc_avx): Likewise.
52197         (libc_cv_cc_sse2avx): Likewise.
52198         (libc_cv_cc_novzeroupper): Likewise.
52199         (libc_cv_cc_fma4): Likewise.
52200         (libc_cv_as_i686): Likewise.
52201         (libc_cv_sparc_as_vis3): Likewise.
52202         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52203         LIBC_CONFIG_VAR.
52204         (config-asflags-i686): Likewise.
52205         (config-cflags-avx): Likewise.
52206         (config-cflags-sse2avx): Likewise.
52207         (have-mfma4): Likewise.
52208         (config-cflags-novzeroupper): Likewise.
52209         * sysdeps/mach/configure.in (MIG): Likewise.
52210         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52211         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52212         LIBC_CONFIG_VAR.
52213         (config-cflags-avx): Likewise.
52214         (config-cflags-sse2avx): Likewise.
52215         (have-mfma4): Likewise.
52216         (config-cflags-novzeroupper): Likewise.
52217         * configure: Regenerated.
52218         * sysdeps/i386/configure: Likewise.
52219         * sysdeps/mach/configure: Likewise.
52220         * sysdeps/sparc/configure: Likewise.
52221         * sysdeps/x86_64/configure: Likewise.
52223 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52225         [BZ #14812]
52226         * locale/programs/localedef.c (options): Put N_ translation marker
52227         on argument names, not just descriptions.
52229 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52231         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52233 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52235         [BZ #14176]
52236         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52238 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52240         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52241         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52242         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52243         [!BEFORE_ABORT] (before_abort): New function.
52244         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52245         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52246         (writev_for_fatal): New function.
52247         (WRITEV_FOR_FATAL): New macro; call that.
52248         (backtrace_and_maps): New function.
52249         (BEFORE_ABORT): New macro; call that.
52250         (struct str_list): Type removed.
52251         (__libc_message, __libc_fatal): Functions removed.
52252         Include <sysdeps/posix/libc_fatal.c> instead.
52254 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52256         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52257         constants.
52258         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52259         double constants.
52261 2013-03-19  Andreas Schwab  <schwab@suse.de>
52263         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52264         * sysdeps/gnu/configure: Regenerate.
52266         * configure.in: Substitute libc_cv_rtlddir.
52267         * configure: Regenerate.
52268         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52269         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52270         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52271         * elf/Makefile (install-others, CFLAGS-interp.c)
52272         (ldso_install, common-ldd-rewrite): Likewise.
52273         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52274         $(inst_slibdir)/$(rtld-installed-name).
52275         * scripts/rellns-sh: Add -p option.
52276         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52277         for source.
52279 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52281         * manual/nptl.texi: Renamed to ...
52282         * manual/threads.texi: ... this.
52283         * manual/Makefile (chapters): Update.
52285 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52287         [BZ #14812]
52288         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52289         on argument names, not just descriptions.
52290         * malloc/memusagestat.c (options): Likewise.
52291         * nss/getent.c (options): Likewise.
52293 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52295         [BZ #14812]
52296         * iconv/iconv_prog.c (options): Put N_ translation marker
52297         on argument names, not just descriptions.
52298         * iconv/iconvconfig.c (options): Likewise.
52300 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52302         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52303         implementation which is faster on all x86_64 architectures.
52304         Tested on AMD, Intel Nehalem, SNB, IVB.
52305         * sysdeps/x86_64/strnlen.S: Likewise.
52307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52308         Remove all multiarch strlen and strnlen versions.
52309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52310         Remove strlen and strnlen related parts.
52312         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52313         Inline strlen part.
52314         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52316         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52317         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52318         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52319         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52320         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52321         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52323 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52325         * manual/memory.texi (Malloc Tunable Parameters):
52326         Sort parameters alphabetically. Add comments for missing entries.
52328 2013-03-17  David S. Miller  <davem@davemloft.net>
52330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52332 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52334         [BZ #15283]
52335         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52336         for arguments at most half maximum finite value.
52337         * math/libm-test.inc (j0_test): Add more tests.
52338         (j1_test): Likewise.
52339         (y0_test): Likewise.
52340         (y1_test): Likewise.
52341         * sysdeps/i386/fpu/libm-test-ulps: Update.
52342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52344         [BZ #14155]
52345         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52346         1 / x and functions P and Q for arguments above 0x1p256L.
52347         (__ieee754_y0l): Likewise.
52348         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52349         (__ieee754_y1l): Likewise.
52350         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52351         (j1_test): Likewise.
52352         (y0_test): Likewise.
52353         (y1_test): Likewise.
52355 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52357         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52358         variable.
52360 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52362         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52363         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52364         zero since it's initialized to EXEC_PAGESIZE.
52366         * sysdeps/unix/sysv/linux/ldsodefs.h
52367         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52368         * sysdeps/generic/ldsodefs.h: ... here.
52370 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52372         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52374         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52375         math/test-snan.c.
52376         * math/test-snan.c: Renamed from
52377         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52378         * math/Makefile (tests): Add test-snan.
52379         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52380         test-powerpc-snan.
52382         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52383         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52384         functions.
52385         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52386         __builtin_nan family of functions.
52387         * math/libm-test.inc (initialize): Initialize qnan_value with
52388         __builtin_nan family of functions.
52389         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52390         Remove variables.
52391         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52392         Remove functions.
52393         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52394         storage class.  Initialize qNaN_var and sNaN_var with
52395         __builtin_nan and __builtin_nans families of functions,
52396         respectively.
52398         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52399         (sqrt_test): Remove duplicate test with qNaN input.
52400         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52401         (round_test, signbit_test, significand_test): Note missing +/-Inf
52402         as well as qNaN tests.
52404         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52405         qNaN_var.  Fix a few strings, too.
52406         * math/libm-test.inc (nan_value): Rename to qnan_value.
52407         * math/gen-libm-test.pl (%beautify): Adjust to that.
52408         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52409         * math/test-misc.c (main): Likewise.
52410         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52411         to __qnan_bytes, and __qnan_union, respectively.
52412         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52413         Likewise.
52414         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52415         and lqnanval, respectively.
52416         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52417         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52418         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52419         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52421         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52422         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52423         doubles.
52425         * math/test-misc.c (main): Fix copy'n'pastos.
52426         * misc/tst-efgcvt.c (special): Likewise.
52428         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52429         Remove declarations.
52431 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52433         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52434         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52435         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52436         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52438 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52441         macro to return vdso values correctly in IFUNC implementations.
52442         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52443         Optimization by using IFUNC.
52445 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52446             Richard Henderson  <rth@redhat.com>
52447             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52449         * Makefile.in (bench): New target.
52450         * NEWS: Mention the benchmark framework.
52451         * Rules (bench): Likewise.
52452         (binaries-bench): Generate binaries for functions to
52453         benchmark.
52454         * benchtests/Makefile: New makefile for benchmark tests.
52455         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52456         programs.
52457         * benchtests/exp-inputs: New input file for EXP function.
52458         * benchtests/pow-inputs: New input file for POW function.
52459         * scripts/bench.pl: New script to generate source files for
52460         benchmark programs.
52462 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52464         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52466         computations on mantissa.  Use macros for rounding and
52467         division.
52468         (denorm): Likewise.
52469         (__dbl_mp): Likewise.
52470         (add_magnitudes): Likewise.
52471         (sub_magnitudes): Likewise.
52472         (__mul): Likewise.
52473         (__sqr): Likewise.
52474         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52475         powers of two in terms of TWOPOW macro.
52476         (mp_no): Make type of mantissa as MANTISSA_T.
52477         [!RADIXI]: Define RADIXI.
52478         [!TWO52]: Define TWO52.
52479         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52481         * manual/nptl.texi (cindex): Modify threads to pthreads.
52483 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52485         * sysdeps/x86_64/preconfigure: Regenerated.
52487 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52489         [BZ #14155]
52490         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52491         0x1p28 and above.
52492         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52493         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52494         0x1p28 and above.
52495         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52496         * math/libm-test.inc (j0_test): Do not allow one spurious
52497         underflow exception.
52498         (y1_test): Likewise.
52500 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52502         * manual/Makefile (chapters): Add nptl.
52503         * manual/debug.texi (Debugging Support): Add link to Threads
52504         chapter.
52505         * manual/nptl.texi: New file.
52507         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52509 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52511         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52512         for non-NULL pointer before the memory validity test. Pointed
52513         out by Holger Brunck <holger.brunck@keymile.com>.
52515 2013-03-13  Andreas Schwab  <schwab@suse.de>
52517         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52518         instead of .os.
52520 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52522         * timezone/zic.c: Update from tzcode 2013b.
52524 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52526         * manual/install.texi (Configuring and compiling):
52527         Mention i686 and i586.
52528         * INSTALL: Regenerate.
52530 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52532         * sysdeps/init_array/elf-init.c: New file.
52533         * csu/elf-init.c
52534         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52535         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52537         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52538         __gmon_start__ as global, but as static with a .preinit_array pointer.
52539         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52540         * sysdeps/init_array/crti.S: New file, empty except for comments.
52541         * sysdeps/init_array/crtn.S: Likewise.
52543 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52545         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52546         definining bcopy.
52547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52548         Remove Prefer_SSE_for_memop.
52549         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52550         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52551         HAS_PREFER_SSE_FOR_MEMOP.
52552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52553         memset-x86-64.
52554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52555         Remove bzero, memset ifunc support.
52556         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52557         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52558         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52559         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52561 2013-03-11  Andreas Schwab  <schwab@suse.de>
52563         [BZ #15234]
52564         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52565         by SHLIB_COMPAT.
52566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52567         (GLIBC_2.16): Remove pthread_atfork.
52569 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52571         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52572         (ptestcases.h): Likewise.
52574 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52576         * Makeconfig ($(common-objpfx)config.status): Depend on
52577         sysdeps/*/preconfigure{,.in} too.
52579 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52581         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52582         (__free_hook): Use void * instead of __malloc_ptr_t.
52583         (__malloc_hook): Likewise.
52584         (__realloc_hook): Likewise.
52585         (__memalign_hook): Likewise.
52586         (__after_morecore_hook): Likewise.
52587         * malloc/arena.c (save_malloc_hook): Likewise.
52588         (save_free_hook): Likewise.
52589         * malloc/hooks.c (malloc_hook_ini): Likewise.
52590         (realloc_hook_ini): Likewise.
52591         (memalign_hook_ini): Likewise.
52592         * malloc/malloc.c (malloc_hook_ini): Likewise.
52593         (realloc_hook_ini): Likewise.
52594         (memalign_hook_ini): Likewise.
52595         (__free_hook): Likewise.
52596         (__malloc_hook): Likewise.
52597         (__realloc_hook): Likewise.
52598         (__memalign_hook): Likewise.
52599         (__libc_malloc): Likewise.
52600         (__libc_free): Likewise.
52601         (__libc_realloc): Likewise.
52602         (__libc_memalign): Likewise.
52603         (__libc_valloc): Likewise.
52604         (__libc_pvalloc): Likewise.
52605         (__libc_calloc): Likewise.
52606         (__posix_memalign): Likewise.
52607         * malloc/morecore.c (__sbrk): Likewise.
52608         (__default_morecore): Likewise.
52610         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52612         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52613         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52614         __malloc_ptrdiff_t.
52616         * malloc/malloc.h (__malloc_size_t): Remove macro.
52617         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52618         __malloc_size_t.
52619         (old_memalign_hook): Likewise.
52620         (old_realloc_hook): Likewise.
52621         (struct hdr): Likewise.
52622         (flood): Likewise.
52623         (mallochook): Likewise.
52624         (memalignhook): Likewise.
52625         (reallochook): Likewise.
52626         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52627         (tr_old_realloc_hook): Likewise.
52628         (tr_old_memalign_hook): Likewise.
52629         (tr_mallochook): Likewise.
52630         (tr_reallochook): Likewise.
52631         (tr_memalignhook): Likewise.
52633 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52636         default_ldbl_pack and using as default implementation.
52637         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52638         implementation.
52639         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52640         redundant definition.
52641         (ldbl_insert_mantissa): Likewise.
52642         (ldbl_canonicalize): Likewise.
52643         (ldbl_nearbyint): Likewise.
52644         (ldbl_pack): Rename to ldbl_pack_ppc.
52645         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52646         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52647         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52649 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52652         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52653         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52654         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52656         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52657         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52658         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52660 2013-03-07  Andreas Jaeger  <aj@suse.de>
52662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52663         bits/mman-linux.h.
52665 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52667         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52668         Include mpa.h and declare __MPEXP.
52669         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52670         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52671         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52672         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52674         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52675         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52677         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52678         (__slowpow): Use long double EXPL and LOGL functions to
52679         compute POW.
52680         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52681         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52682         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52683         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52684         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52685         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52688         intermediate variable to calculate exponent.
52689         (__sqr): Likewise.
52690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52691         Likewise.
52692         (__sqr): Likewise.
52694         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52695         [!NO__SQR]: Define __sqr.
52696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52697         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52698         sysdeps/ieee754/dbl-64/mpa.c.
52699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52701         [BZ #12723]
52702         * posix/Makefile (tests): Add tst-pathconf.
52703         * posix/tst-pathconf.c: New test case.
52704         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52705         _PC_PIPE_BUF.
52706         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52708 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52710         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52712 2013-03-06  Andreas Jaeger  <aj@suse.de>
52714         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52715         definition via __MAP_ANONYMOUS.
52717         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52718         it's not part of Linux headers.
52720         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52721         (MAP_HUGE_MASK): Define.
52723         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52724         Define.
52725         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52727         Define.
52728         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52730         Define.
52731         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52732         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52733         Define.
52734         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52736         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52737         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52738         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52739         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52740         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52741         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52743         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52744         Handle f2fs.
52746         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52747         Handle f2fs and efivarfs.
52749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52750         f2fs.
52752         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52753         (EFIVARFS_MAGIC): Add.
52754         (F2FS_LINK_MAX): Add.
52756 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52758         * stdio-common/vfprintf.c: Replace __builtin_expect with
52759         __glibc_unlikely.
52761 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52763         [BZ #13550]
52764         * sysdeps/generic/bp-sym.h: Remove file.
52765         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52766         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52767         <bp-sym.h> and <bp-asm.h>.
52768         (__longjmp): Don't use BP_SYM.
52769         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52770         and <bp-asm.h>.
52771         (memcpy): Don't use BP_SYM.
52772         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52773         <bp-sym.h> and <bp-asm.h>.
52774         (memcpy): Don't use BP_SYM.
52775         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52776         <bp-asm.h>.
52777         (memcpy): Don't use BP_SYM.
52778         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52779         <bp-asm.h>.
52780         (memset): Don't use BP_SYM.
52781         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52782         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52783         (__bzero): Don't use BP_SYM.
52784         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52785         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52786         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52787         <bp-sym.h> and <bp-asm.h>.
52788         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52789         pointers.
52790         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52791         <bp-sym.h> and <bp-asm.h>.
52792         (memcpy): Don't use BP_SYM.
52793         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52794         <bp-sym.h> and <bp-asm.h>.
52795         (memset): Don't use BP_SYM.
52796         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52797         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52798         (__bzero): Don't use BP_SYM.
52799         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52800         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52801         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52802         <bp-sym.h> and <bp-asm.h>.
52803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52804         pointers.
52805         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52806         <bp-sym.h> and <bp-asm.h>.
52807         (memcpy): Don't use BP_SYM.
52808         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52809         <bp-sym.h> and <bp-asm.h>.
52810         (memset): Don't use BP_SYM.
52811         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52812         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52813         (__bzero): Don't use BP_SYM.
52814         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52815         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52816         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52817         <bp-sym.h> and <bp-asm.h>.
52818         (__memchr): Don't use BP_SYM.
52819         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52820         <bp-sym.h> and <bp-asm.h>.
52821         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52822         pointers.
52823         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52824         <bp-sym.h> and <bp-asm.h>.
52825         (memcpy): Don't use BP_SYM.
52826         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52827         <bp-sym.h> and <bp-asm.h>.
52828         (__mempcpy): Don't use BP_SYM.
52829         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52830         <bp-sym.h> and <bp-asm.h>.
52831         (__memrchr): Don't use BP_SYM.
52832         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52833         <bp-sym.h> and <bp-asm.h>.
52834         (memset): Don't use BP_SYM.
52835         (__bzero): Likewise.
52836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52837         <bp-sym.h> and <bp-asm.h>.
52838         (__rawmemchr): Don't use BP_SYM.
52839         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52840         <bp-sym.h> and <bp-asm.h>.
52841         (__STRCMP): Don't use BP_SYM.
52842         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52843         <bp-sym.h> and <bp-asm.h>.
52844         (strchr): Don't use BP_SYM.
52845         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52846         <bp-sym.h> and <bp-asm.h>.
52847         (__strchrnul): Don't use BP_SYM.
52848         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52849         <bp-sym.h> and <bp-asm.h>.
52850         (strlen): Don't use BP_SYM.
52851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52852         <bp-sym.h> and <bp-asm.h>.
52853         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52854         pointers.
52855         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52856         <bp-sym.h> and <bp-asm.h>.
52857         (__strnlen): Don't use BP_SYM.
52858         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52859         <bp-sym.h> and <bp-asm.h>.
52860         (__GI__setjmp): Don't use BP_SYM.
52861         (_setjmp): Likewise.
52862         (__sigsetjmp): Likewise.
52863         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52864         (L(start_addresses)): Don't use BP_SYM.
52865         (_start): Likewise.
52866         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52867         <bp-asm.h>.
52868         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52869         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52870         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52871         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52872         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52873         <bp-asm.h>.
52874         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52875         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52876         about bounded pointers.
52877         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52878         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52879         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52880         <bp-asm.h>.
52881         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52882         about bounded pointers.  Remove GKM FIXME comments.
52883         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52884         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52885         <bp-asm.h>.
52886         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52887         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52888         Remove GKM FIXME comments.
52889         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52890         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52891         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52892         <bp-asm.h>.
52893         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52894         about bounded pointers.  Remove GKM FIXME comment.
52895         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52896         and <bp-asm.h>.
52897         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52898         pointers.
52899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52900         <bp-sym.h> and <bp-asm.h>.
52901         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52903         <bp-sym.h> and <bp-asm.h>.
52904         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52905         comment.
52907 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52909         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52910         call free(NULL).
52912 2013-03-05  David S. Miller  <davem@davemloft.net>
52914         * po/es.po: Update from translation team.
52916 2013-03-05  Andreas Jaeger  <aj@suse.de>
52918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52919         <bits/mman-linux.h>.
52920         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52921         is fine.
52922         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52923         <bits/mman-linux.h> to end of file.
52924         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52925         is fine.
52926         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52927         <bits/mman-linux.h> to end of file.
52928         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52929         is fine.
52930         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52931         <bits/mman-linux.h> to end of file.
52933         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52934         (MCL_CURRENT, MCL_FUTURE): Define here.
52936 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52938         [BZ #15232]
52939         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52940         attribute_hidden.
52941         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52943 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52946         fourth parameter needed for rt_sigprocmask syscall.
52947         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52948         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52949         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52950         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52951         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52952         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52954 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52956         [BZ #13550]
52957         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52958         comment about bounded pointers.
52959         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52960         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52962 2013-03-04  Andreas Jaeger  <aj@suse.de>
52964         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52965         common definitions.
52967         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52968         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52969         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52970         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52971         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52972         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52974 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52976         [BZ #15055]
52977         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52978         __ieee754_sqrl instead of __sqrl.
52980 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52982         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52983         * sysdeps/powerpc/fpu_control.h: ... here.
52984         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52985         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52986         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52987         * sysdeps/powerpc/bits/mathinline.h: ... here.
52989 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52991         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52992         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52993         to just [NEED_DL_SYSINFO_DSO].
52994         * elf/dl-support.c: Likewise.
52995         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52996         * elf/rtld.c (dl_main): Likewise.
52997         * elf/setup-vdso.h (setup_vdso): Likewise.
52998         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52999         * sysdeps/unix/sysv/linux/dl-sysdep.c
53000         (_dl_discover_osversion): Likewise.
53002 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53004         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53005         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53007 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53009         * NEWS: Mention libm performance improvements and non-x86 PI
53010         futex support.
53012         * csu/libc-start.c (__pthread_initialize_minimal): Change
53013         function arguments.
53014         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53016 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53018         [BZ #13550]
53019         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53020         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53021         <bp-sym.h> and <bp-asm.h>.
53022         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53023         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53024         and <bp-asm.h>.
53025         (memcpy): Don't use BP_SYM.
53026         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53027         <bp-asm.h>.
53028         (__mpn_add_n): Don't use BP_SYM.
53029         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53030         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53031         and <bp-asm.h>.
53032         (__mpn_addmul_1): Don't use BP_SYM.
53033         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53034         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53035         <bp-sym.h>.
53036         (_setjmp): Don't use BP_SYM.
53037         (__novmx_setjmp): Likewise.
53038         (__GI__setjmp): Likewise.
53039         (__vmx_setjmp): Likewise.
53040         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53041         <bp-sym.h>.
53042         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53043         (__bzero): Don't use BP_SYM.
53044         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53045         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53046         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53047         <bp-sym.h> and <bp-asm.h>.
53048         (memcpy): Don't use BP_SYM.
53049         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53050         <bp-sym.h> and <bp-asm.h>.
53051         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53052         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53053         <bp-sym.h> and <bp-asm.h>.
53054         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53055         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53056         <bp-asm.h>.
53057         (__mpn_lshift): Don't use BP_SYM.
53058         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53059         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53060         <bp-asm.h>.
53061         (memset): Don't use BP_SYM.
53062         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53063         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53064         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53065         <bp-asm.h>.
53066         (__mpn_mul_1): Don't use BP_SYM.
53067         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53069         <bp-sym.h> and <bp-asm.h>.
53070         (memcmp): Don't use BP_SYM.
53071         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53072         <bp-sym.h> and <bp-asm.h>.
53073         (memcpy): Don't use BP_SYM.
53074         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53075         <bp-sym.h> and <bp-asm.h>.
53076         (memset): Don't use BP_SYM.
53077         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53078         <bp-sym.h> and <bp-asm.h>.
53079         (strncmp): Don't use BP_SYM.
53080         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53081         <bp-sym.h> and <bp-asm.h>.
53082         (memcpy): Don't use BP_SYM.
53083         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53084         <bp-sym.h> and <bp-asm.h>.
53085         (memset): Don't use BP_SYM.
53086         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53087         <bp-sym.h> and <bp-asm.h>.
53088         (__memchr): Don't use BP_SYM.
53089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53090         <bp-sym.h> and <bp-asm.h>.
53091         (memcmp): Don't use BP_SYM.
53092         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53093         <bp-sym.h> and <bp-asm.h>.
53094         (memcpy): Don't use BP_SYM.
53095         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53096         <bp-sym.h> and <bp-asm.h>.
53097         (__mempcpy): Don't use BP_SYM.
53098         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53099         <bp-sym.h> and <bp-asm.h>.
53100         (__memrchr): Don't use BP_SYM.
53101         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53102         <bp-sym.h> and <bp-asm.h>.
53103         (memset): Don't use BP_SYM.
53104         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53105         <bp-sym.h> and <bp-asm.h>.
53106         (__rawmemchr): Don't use BP_SYM.
53107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53108         <bp-sym.h> and <bp-asm.h>.
53109         (__STRCMP): Don't use BP_SYM.
53110         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53111         <bp-sym.h> and <bp-asm.h>.
53112         (strchr): Don't use BP_SYM.
53113         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53114         <bp-sym.h> and <bp-asm.h>.
53115         (__strchrnul): Don't use BP_SYM.
53116         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53117         <bp-sym.h> and <bp-asm.h>.
53118         (strlen): Don't use BP_SYM.
53119         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53120         <bp-sym.h> and <bp-asm.h>.
53121         (strncmp): Don't use BP_SYM.
53122         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53123         <bp-sym.h> and <bp-asm.h>.
53124         (__strnlen): Don't use BP_SYM.
53125         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53126         <bp-asm.h>.
53127         (__mpn_rshift): Don't use BP_SYM.
53128         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53129         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53130         <bp-sym.h> and <bp-asm.h>.
53131         (__sigsetjmp): Don't use BP_SYM.
53132         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53133         (L(start_addresses)): Don't use BP_SYM.
53134         (_start): Likewise.
53135         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53136         <bp-asm.h>.
53137         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53138         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53139         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53140         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53141         <bp-asm.h>.
53142         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53143         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53144         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53145         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53146         <bp-asm.h>.
53147         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53148         comments.
53149         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53150         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53151         <bp-asm.h>.
53152         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53153         FIXME comments.
53154         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53155         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53156         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53157         <bp-asm.h>.
53158         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53159         comment.
53160         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53161         and <bp-asm.h>.
53162         (strncmp): Don't use BP_SYM,
53163         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53164         <bp-asm.h>.
53165         (__mpn_sub_n): Don't use BP_SYM.
53166         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53167         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53168         and <bp-asm.h>.
53169         (__mpn_submul_1): Don't use BP_SYM.
53170         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53172         <bp-sym.h> and <bp-asm.h>.
53173         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53175         <bp-sym.h> and <bp-asm.h>.
53176         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53177         comment.
53179 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53182         Use ZK to minimize writes to Z.
53183         (sub_magnitudes): Simplify code a bit.
53184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53185         Use ZK to minimize writes to Z.
53186         (sub_magnitudes): Simplify code a bit.
53188 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53190         * csu/gmon-start.c: Add special exception to license text.
53192 2013-02-27  Richard Henderson  <rth@redhat.com>
53194         * scripts/config.guess: Update from config.git.
53195         * scripts/config.sub: Likewise.
53197 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53199         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53201         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53203         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53205         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53207         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53209 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53211         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53212         [$(build-shared = yes].
53214 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53216         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53217         (__mul): Reduce iterations for calculating mantissa.
53219         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53220         MPTWO.
53221         (__mpranred): Likewise.
53223         [BZ #15160]
53224         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53225         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53227 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53229         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53230         Define __attribute__.
53232 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53234         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53235         unused.
53236         * posix/regex_internal.h (__attribute): Remove.
53237         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53238         (re_string_context_at): Likewise.
53239         (bitset_not): Use __attribute__ and mark function as possibly
53240         unused.
53241         (bitset_merge): Likewise.
53242         (bitset_mask): Likewise.
53243         (re_string_char_size_at): Likewise.
53244         (re_string_wchar_at): Likewise.
53245         (re_string_elem_size_at): Likewise.
53247 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53249         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53250         code.
53251         (cc32): Likewise.
53253         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53254         (__acr): Likewise.
53255         (__cpy): Likewise.
53256         (norm): Likewise.
53257         (denorm): Likewise.
53258         (__dbl_mp): Likewise.
53259         (add_magnitudes): Likewise.
53260         (sub_magnitudes): Likewise.
53261         (__mul): Likewise.
53262         (__inv): Likewise.
53264         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53265         style.
53267         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53268         style.
53270         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53271         code.
53273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53274         up changes with default code.
53275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53276         Likewise.
53278 2013-02-24  Allan McRae  <allan@archlinux.org>
53280         * manual/socket.texi (The Internet Namespace): Order menu items
53281         to match that in the file.
53283         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53284         node listing of the info page menu.
53286 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53288         [BZ #13550]
53289         * sysdeps/i386/bp-asm.h: Remove file.
53290         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53291         (PARMS): Do not use macros from bp-asm.h.
53292         (S1): Likewise.
53293         (S2): Likewise.
53294         (SIZE): Likewise.
53295         (__mpn_add_n): Do not use BP_SYM
53296         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53297         "bp-asm.h".
53298         (PARMS): Do not use macros from bp-asm.h.
53299         (S1): Likewise.
53300         (SIZE): Likewise.
53301         (__mpn_addmul_1): Do not use BP_SYM
53302         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53303         "bp-asm.h".
53304         (PARMS): Do not use macros from bp-asm.h.
53305         (SIGMSK): Likewise.
53306         (_setjmp): Likewise.  Do not use BP_SYM.
53307         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53308         "bp-asm.h".
53309         (PARMS): Do not use macros from bp-asm.h.
53310         (SIGMSK): Likewise.
53311         (setjmp): Likewise.  Do not use BP_SYM.
53312         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53313         "bp-asm.h".
53314         (PARMS): Do not use macros from bp-asm.h.
53315         (__frexp): Do not use BP_SYM.
53316         (frexp): Likewise.
53317         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53318         "bp-asm.h".
53319         (PARMS): Do not use macros from bp-asm.h.
53320         (__frexpf): Do not use BP_SYM.
53321         (frexpf): Likewise.
53322         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53323         "bp-asm.h".
53324         (PARMS): Do not use macros from bp-asm.h.
53325         (__frexpl): Do not use BP_SYM.
53326         (frexpl): Likewise.
53327         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53328         "bp-asm.h".
53329         (PARMS): Do not use macros from bp-asm.h.
53330         (__remquo): Do not use BP_SYM.
53331         (remquo): Likewise.
53332         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53333         "bp-asm.h".
53334         (PARMS): Do not use macros from bp-asm.h.
53335         (__remquof): Do not use BP_SYM.
53336         (remquof): Likewise.
53337         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53338         "bp-asm.h".
53339         (PARMS): Do not use macros from bp-asm.h.
53340         (__remquol): Do not use BP_SYM.
53341         (remquol): Likewise.
53342         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53343         "bp-asm.h".
53344         (PARMS): Do not use macros from bp-asm.h.
53345         (DEST): Likewise.
53346         (SRC): Likewise.
53347         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53348         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53349         "bp-asm.h".
53350         (PARMS): Do not use macros from bp-asm.h.
53351         (strlen): Do not use BP_SYM.
53352         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53353         "bp-asm.h".
53354         (PARMS): Do not use macros from bp-asm.h.
53355         (S1): Likewise.
53356         (S2): Likewise.
53357         (SIZE): Likewise.
53358         (__mpn_add_n): Do not use BP_SYM.
53359         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53360         "bp-asm.h".
53361         (PARMS): Do not use macros from bp-asm.h.
53362         (S1): Likewise.
53363         (SIZE): Likewise.
53364         (__mpn_addmul_1): Do not use BP_SYM.
53365         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53366         weak_alias.
53367         (bzero): Likewise.
53368         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53369         "bp-asm.h".
53370         (PARMS): Do not use macros from bp-asm.h.
53371         (S): Likewise.
53372         (SIZE): Likewise.
53373         (__mpn_lshift): Do not use BP_SYM.
53374         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53375         "bp-asm.h".
53376         (PARMS): Do not use macros from bp-asm.h.
53377         (DEST): Likewise.
53378         (SRC): Likewise.
53379         (LEN): Likewise.
53380         (memcpy): Likewise.  Do not use BP_SYM.
53381         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53382         libc_hidden_def and weak_alias.
53383         (mempcpy): Do not use BP_SYM in weak_alias.
53384         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53385         "bp-asm.h".
53386         (PARMS): Do not use macros from bp-asm.h.
53387         (DEST): Likewise.
53388         (LEN): Likewise.
53389         [!BZERO_P] (CHR): Likewise.
53390         (memset): Likewise.  Do not use BP_SYM.
53391         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53392         "bp-asm.h".
53393         (PARMS): Do not use macros from bp-asm.h.
53394         (S1): Likewise.
53395         (SIZE): Likewise.
53396         (__mpn_mul_1): Do not use BP_SYM.
53397         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53398         "bp-asm.h".
53399         (PARMS): Do not use macros from bp-asm.h.
53400         (S): Likewise.
53401         (SIZE): Likewise.
53402         (__mpn_rshift): Do not use BP_SYM.
53403         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53404         "bp-asm.h".
53405         (PARMS): Do not use macros from bp-asm.h.
53406         (STR): Likewise.
53407         (CHR): Likewise.
53408         (strchr): Likewise.  Do not use BP_SYM.
53409         (index): Do not use BP_SYM in weak_alias.
53410         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53411         "bp-asm.h".
53412         (PARMS): Do not use macros from bp-asm.h.
53413         (DEST): Likewise.
53414         (SRC): Likewise.
53415         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53416         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53417         "bp-asm.h".
53418         (PARMS): Do not use macros from bp-asm.h.
53419         (strlen): Do not use BP_SYM.
53420         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53421         "bp-asm.h".
53422         (PARMS): Do not use macros from bp-asm.h.
53423         (S1): Likewise.
53424         (S2): Likewise.
53425         (SIZE): Likewise.
53426         (__mpn_sub_n): Do not use BP_SYM.
53427         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53428         "bp-asm.h".
53429         (PARMS): Do not use macros from bp-asm.h.
53430         (S1): Likewise.
53431         (SIZE): Likewise.
53432         (__mpn_submul_1): Do not use BP_SYM.
53433         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53434         "bp-asm.h".
53435         (PARMS): Do not use macros from bp-asm.h.
53436         (S1): Likewise.
53437         (S2): Likewise.
53438         (SIZE): Likewise.
53439         (__mpn_add_n): Do not use BP_SYM.
53440         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53441         weak_alias.
53442         (bzero): Likewise.
53443         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53444         "bp-asm.h".
53445         (PARMS): Do not use macros from bp-asm.h.
53446         (BLK2): Likewise.
53447         (LEN): Likewise.
53448         (memcmp): Do not use BP_SYM.
53449         (bcmp): Do not use BP_SYM in weak_alias.
53450         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53451         "bp-asm.h".
53452         (PARMS): Do not use macros from bp-asm.h.
53453         (DEST): Likewise.
53454         (SRC): Likewise.
53455         (LEN): Likewise.
53456         (memcpy): Likewise.  Do not use BP_SYM.
53457         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53458         "bp-asm.h".
53459         (PARMS): Do not use macros from bp-asm.h.
53460         (DEST): Likewise.
53461         (SRC): Likewise.
53462         (LEN): Likewise.
53463         (memmove): Likewise.  Do not use BP_SYM.
53464         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53465         "bp-asm.h".
53466         (PARMS): Do not use macros from bp-asm.h.
53467         (DEST): Likewise.
53468         (SRC): Likewise.
53469         (LEN): Likewise.
53470         (__mempcpy): Likewise.  Do not use BP_SYM.
53471         (mempcpy): Do not use BP_SYM in weak_alias.
53472         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53473         "bp-asm.h".
53474         (PARMS): Do not use macros from bp-asm.h.
53475         (DEST): Likewise.
53476         (LEN): Likewise.
53477         [!BZERO_P] (CHR): Likewise.
53478         (memset): Likewise.  Do not use BP_SYM.
53479         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53480         "bp-asm.h".
53481         (PARMS): Do not use macros from bp-asm.h.
53482         (STR2): Likewise.
53483         (strcmp): Do not use BP_SYM.
53484         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53485         "bp-asm.h".
53486         (PARMS): Do not use macros from bp-asm.h.
53487         (STR): Likewise.
53488         (DELIM): Likewise.
53489         [USE_AS_STRTOK_R] (SAVE): Likewise.
53490         (FUNCTION): Likewise.  Do not use BP_SYM.
53491         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53492         aliases.
53493         (strtok_r): Likewise.
53494         (__GI___strtok_r): Likewise.
53495         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53496         (PARMS): Do not use macros from bp-asm.h.
53497         (S): Likewise.
53498         (SIZE): Likewise.
53499         (__mpn_lshift): Do not use BP_SYM.
53500         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53501         (PARMS): Do not use macros from bp-asm.h.
53502         (STR): Likewise.
53503         (CHR): Likewise.
53504         (__memchr): Do not use BP_SYM.
53505         (memchr): Do not use BP_SYM in weak_alias.
53506         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53507         (PARMS): Do not use macros from bp-asm.h.
53508         (BLK2): Likewise.
53509         (LEN): Likewise.
53510         (memcmp): Do not use BP_SYM.
53511         (bcmp): Do not use BP_SYM in weak_alias.
53512         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53513         (PARMS): Do not use macros from bp-asm.h.
53514         (S1): Likewise.
53515         (SIZE): Likewise.
53516         (__mpn_mul_1): Do not use BP_SYM.
53517         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53518         "bp-asm.h".
53519         (PARMS): Do not use macros from bp-asm.h.
53520         (STR): Likewise.
53521         (CHR): Likewise.
53522         (__rawmemchr): Do not use BP_SYM.
53523         (rawmemchr): Do not use BP_SYM in weak_alias.
53524         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53525         (PARMS): Do not use macros from bp-asm.h.
53526         (S): Likewise.
53527         (SIZE): Likewise.
53528         (__mpn_rshift): Do not use BP_SYM.
53529         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53530         (PARMS): Do not use macros from bp-asm.h.
53531         (SIGMSK): Likewise.
53532         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53533         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53534         (_start): Do not use BP_SYM.
53535         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53536         (PARMS): Do not use macros from bp-asm.h.
53537         (DEST): Likewise.
53538         (SRC): Likewise.
53539         (__stpcpy): Likewise.  Do not use BP_SYM.
53540         (stpcpy): Do not use BP_SYM in weak_alias.
53541         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53542         "bp-asm.h".
53543         (PARMS): Do not use macros from bp-asm.h.
53544         (DEST): Likewise.
53545         (SRC): Likewise.
53546         (LEN): Likewise.
53547         (__stpncpy): Likewise.  Do not use BP_SYM.
53548         (stpncpy): Do not use BP_SYM in weak_alias.
53549         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53550         (PARMS): Do not use macros from bp-asm.h.
53551         (STR): Likewise.
53552         (CHR): Likewise.
53553         (strchr): Likewise.  Do not use BP_SYM.
53554         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53555         "bp-asm.h".
53556         (PARMS): Do not use macros from bp-asm.h.
53557         (STR): Likewise.
53558         (CHR): Likewise.
53559         (__strchrnul): Likewise.  Do not use BP_SYM.
53560         (strchrnul): Do not use BP_SYM in weak_alias.
53561         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53562         "bp-asm.h".
53563         (PARMS): Do not use macros from bp-asm.h.
53564         (STOP): Likewise.
53565         (strcspn): Do not use BP_SYM.
53566         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53567         "bp-asm.h".
53568         (PARMS): Do not use macros from bp-asm.h.
53569         (STR): Likewise.
53570         (STOP): Likewise.
53571         (strpbrk): Likewise.  Do not use BP_SYM.
53572         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53573         "bp-asm.h".
53574         (PARMS): Do not use macros from bp-asm.h.
53575         (STR): Likewise.
53576         (CHR): Likewise.
53577         (strrchr): Likewise.  Do not use BP_SYM.
53578         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53579         (PARMS): Do not use macros from bp-asm.h.
53580         (SKIP): Likewise.
53581         (strspn): Do not use BP_SYM.
53582         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53583         (PARMS): Do not use macros from bp-asm.h.
53584         (STR): Likewise.
53585         (DELIM): Likewise.
53586         (SAVE): Likewise.
53587         (FUNCTION): Likewise.  Do not use BP_SYM.
53588         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53589         aliases.
53590         (strtok_r): Likewise.
53591         (__GI___strtok_r): Likewise.
53592         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53593         (PARMS): Do not use macros from bp-asm.h.
53594         (S1): Likewise.
53595         (S2): Likewise.
53596         (SIZE): Likewise.
53597         (__mpn_sub_n): Do not use BP_SYM.
53598         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53599         "bp-asm.h".
53600         (PARMS): Do not use macros from bp-asm.h.
53601         (S1): Likewise.
53602         (SIZE): Likewise.
53603         (__mpn_submul_1): Do not use BP_SYM.
53604         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53605         <bp-sym.h>.
53606         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53607         and <bp-asm.h>.
53608         (PARMS): Do not use macros from bp-asm.h.
53609         (FLAGS): Likewise.
53610         (PTID): Likewise.
53611         (TLS): Likewise.
53612         (CTID): Likewise.
53613         (__clone): Do not use BP_SYM.
53614         (clone): Do not use BP_SYM in weak_alias.
53615         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53616         and <bp-asm.h>.
53617         (PARMS): Do not use macros from bp-asm.h.
53618         (LEN): Likewise.
53619         (__mmap64): Do not use BP_SYM.
53620         (mmap64): Do not use BP_SYM in weak_alias.
53621         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53622         <bp-sym.h> and <bp-asm.h>.
53623         (PARMS): Do not use macros from bp-asm.h.
53624         (__posix_fadvise64_l64): Do not use BP_SYM.
53625         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53626         (PARMS): Do not use macros from bp-asm.h.
53627         (NSOPS): Likewise.
53628         (semtimedop): Do not use BP_SYM.
53629         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53630         and <bp-asm.h>.
53632 2013-02-21  Allan McRae  <allan@archlinux.org>
53634         * manual/message.texi (Charset conversion in gettext):
53635         Move @end statement to beginning of line.
53637 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53640         static.
53641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53642         Likewise.
53644         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53645         (denorm): Likewise.
53646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53649 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53651         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53652         tail-call to the resolved function if pltexit isn't needed.
53654 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53657         or Y being zero as being unlikely.
53658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53659         Likewise.
53661 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53663         * manual/nss.texi (System Databases and Name Service Switch):
53664         Remove frobnicate @pxref.
53666 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53668         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53669         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53671 2013-02-20  Petr Machata  <pmachata@redhat.com>
53673         * elf/elf.h (R_ARM_TARGET1): New macro.
53674         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53675         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53676         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53677         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53678         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53679         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53680         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53681         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53682         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53683         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53684         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53685         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53686         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53687         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53688         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53689         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53690         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53691         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53692         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53693         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53694         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53695         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53696         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53697         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53698         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53699         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53700         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53701         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53702         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53703         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53704         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53705         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53706         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53707         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53708         (R_ARM_THM_GOT_BREL12): Likewise.
53709         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53710         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53711         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53712         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53713         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53714         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53715         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53716         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53717         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53719 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53721         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53722         __attribute_used__ to __attribute__ ((unused)).
53724 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53726         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53727         powerpc mpa.c.
53728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53729         comment formatting.
53730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53732 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53734         [BZ #13550]
53735         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53736         Remove macro.
53737         (ENTER): Remove both macro definitions.
53738         (LEAVE): Likewise.
53739         (CHECK_BOUNDS_LOW): Likewise.
53740         (CHECK_BOUNDS_HIGH): Likewise.
53741         (CHECK_BOUNDS_BOTH): Likewise.
53742         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53743         (RETURN_BOUNDED_POINTER): Likewise.
53744         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53745         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53746         (POP_ERRNO_LOCATION_RETURN): Likewise.
53747         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53748         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53749         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53750         macros.
53751         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53752         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53753         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53754         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53755         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53756         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53757         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53758         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53759         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53760         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53761         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53762         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53763         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53764         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53765         removed macros.
53766         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53767         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53768         macros.
53769         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53770         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53771         * sysdeps/i386/i586/memset.S (memset): Likewise.
53772         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53773         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53774         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53775         macros.
53776         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53777         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53778         Change uses of L(2) to L(out).
53779         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53780         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53781         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53782         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53783         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53784         removed macros.
53785         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53786         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53787         macros.
53788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53789         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53790         (RETURN): Do not use macro LEAVE.
53791         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53792         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53793         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53794         * sysdeps/i386/i686/memset.S (memset): Likewise.
53795         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53796         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53798         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53799         Likewise.
53800         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53801         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53802         L(1_2) and L(1_3) into L(1).
53803         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53804         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53805         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53806         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53807         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53808         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53809         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53810         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53811         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53812         macros.
53813         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53814         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53815         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53816         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53817         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53818         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53819         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53820         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53821         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53822         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53823         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53824         * sysdeps/i386/strspn.S (strspn): Likewise.
53825         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53826         conditional code.
53827         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53828         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53829         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53830         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53831         L(1_3) into L(1_1).
53832         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53833         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53834         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53835         macros.
53836         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53838 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53840         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53841         macro.
53843 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53845         * math/atest-exp.c (exp_mpn): Remove ROUND.
53846         * math/atest-exp2.c (exp_mpn): Likewise.
53847         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53849         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53850         * stdlib/tst-tls-atexit-lib.c: Likewise.
53851         * stdlib/tst-tls-atexit.c: Likewise.
53853 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53855         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53856         and __attribute_alloc_size__.
53858 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53860         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53861         __attribute_alloc_size__.
53862         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53863         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53865 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53867         * include/programs/xmalloc.h: New file.
53868         * catgets/gencat.c: Include it.
53869         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53870         * elf/pldd.c: Likewise.
53871         * iconv/iconv_charmap.c: Likewise.
53872         * iconv/iconvconfig.c: Likewise.
53873         * iconv/strtab.c: Likewise.
53874         * locale/programs/locale.c: Likewise.
53875         * locale/programs/localedef.h: Likewise.
53876         * locale/programs/simple-hash.c: Likewise.
53877         * nscd/nscd.h: Likewise.
53878         * nss/makedb.c: Likewise.
53879         * sysdeps/generic/ldconfig.h: Likewise.
53881 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53883         * Versions.def: Add GLIBC_2.18.
53884         * include/link.h (struct link_map): New member l_tls_dtor_count.
53885         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53886         (__call_tls_dtors): Likewise.
53887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53888         __cxa_thread_atexit_impl.
53889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53890         Likewise.
53891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53892         Likewise.
53893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53894         Likewise.
53895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53896         Likewise.
53897         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53899         Likewise.
53900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53901         Likewise.
53902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53904         Likewise.
53905         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53906         (tests): Add test case tst-tls-atexit.
53907         (modules-names): Add shared library for tst-tls-atexit.
53908         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53909         (GLIBC_PRIVATE): Add __call_tls_dtors.
53910         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53911         for libstdc++.
53912         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53913         * stdlib/tst-tls-atexit.c: New test case.
53914         * stdlib/tst-tls-atexit-lib.c: New test case.
53916         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53918         * elf/Versions (ld): Add _dl_find_dso_for_object.
53919         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53920         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53921         (dl_open_worker): Use _dl_find_dso_for_object.
53922         * elf/dl-sym.c (do_sym): Likewise.
53923         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53925 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53927         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53928         Syntactic changes only.
53929         (_dl_runtime_profile): Do a tail-call to the resolved function.
53931 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53933         [BZ #13550]
53934         * sysdeps/x86_64/bp-asm.h: Remove file.
53935         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53936         <bp-sym.h> and <bp-asm.h>.
53937         (__clone): Do not use BP_SYM.
53938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53939         <bp-sym.h> and <bp-asm.h>.
53940         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53941         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53942         "bp-asm.h".
53943         (_setjmp): Do not use BP_SYM.
53944         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53945         "bp-asm.h".
53946         (setjmp): Do not use BP_SYM.
53947         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53948         libc_hidden_def.
53949         (mempcpy): Do not use BP_SYM in weak_alias.
53950         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53951         "bp-asm.h".
53952         (strchr): Do not use BP_SYM.
53953         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53954         "bp-asm.h".
53955         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53956         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53957         (_start): Do not use BP_SYM.
53958         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53959         "bp-asm.h".
53960         (strcat): Do not use BP_SYM.
53961         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53962         "bp-asm.h".
53963         (STRCMP): Do not use BP_SYM.
53964         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53965         "bp-asm.h".
53966         (STRCPY): Do not use BP_SYM.
53967         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53968         "bp-asm.h".
53969         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53970         "bp-asm.h".
53971         (FUNCTION): Do not use BP_SYM.
53972         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53973         weak_alias.
53974         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53976 2013-02-17  Andreas Jaeger  <aj@suse.de>
53978         * time/Versions: Sort entries.
53979         * string/Versions: Likewise.
53980         * resolv/Versions: Likewise.
53981         * posix/Versions: Likewise.
53982         * iconv/Versions: Likewise.
53983         * elf/Versions: Likewise.
53984         * wcsmbs/Versions: Likewise.
53986 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53988         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53989         loop termination condition.
53991         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53992         variable to calculate EZ.
53993         (__sqr): Likewise.
53995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53996         the lower precision input.
53998 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54000         [BZ #13550]
54001         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54002         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54003         (run-via-rtld-prefix): Do not handle %-bp tests.
54004         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54005         (all-object-suffixes): Remove .ob.
54006         (bppfx): Remove variable.
54007         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54008         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54009         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54010         [$(build-bounded) = yes] (libtype.ob): Likewise.
54011         * Makerules (elide-routines.ob): Remove variable.
54012         (do-tests-clean): Do not handle *-bp.out.
54013         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54014         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54015         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54016         (tests): Do not include $(tests-bp.out).
54017         (xtests): Do not include $(xtests-bp.out).
54018         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54019         [$(build-bounded) = yes] ($(addprefix
54020         $(objpfx),$(binaries-bounded))): Remove rule.
54021         ($(objpfx)%-bp.out): Remove rule.
54022         * config.make.in (build-bounded): Remove variable.
54023         * crypt/Makefile [$(build-bounded) = yes]
54024         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54025         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54026         append to variable.
54027         [$(build-bounded) = yes] (install-lib): Likewise.
54028         [$(build-bounded) = yes] (generated): Likewise.
54029         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54030         Remove rule.
54031         * intl/Makefile [$(build-bounded) = yes]
54032         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54033         * math/Makefile [$(build-bounded) = yes]
54034         ($(tests:%=$(objpfx)%-bp): Likewise.
54035         * misc/Makefile [$(build-bounded) = yes]
54036         ($(objpfx)tst-tsearch-bp): Likewise.
54037         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54038         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54039         Remove dependency.
54040         * string/Makefile (o-objects.ob): Remove variable.
54041         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54042         (CFLAGS-.ob): Remove variable.
54043         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54044         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54045         both definitions of variable.
54046         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54047         (ASFLAGS-.ob): Remove variable.
54049 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54051         [BZ #13550]
54052         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54053         Remove __BOUNDED_POINTERS__ from condition.
54054         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54055         * string/bits/string2.h [!__NO_STRING_INLINES &&
54056         !__BOUNDED_POINTERS__]: Likewise.
54057         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54058         Likewise.
54059         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54060         Remove conditional code.
54061         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54062         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54063         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54064         condition.
54066         [BZ #13550]
54067         * csu/libc-start.c: Do not include <bp-sym.h>.
54068         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54069         * elf/dl-open.c: Do not include <bp-sym.h>.
54070         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54071         * math/fegetenv.c: Do not include <bp-sym.h>.
54072         (fegetenv): Do not use BP_SYM in versioned symbols.
54073         * nptl/sysdeps/pthread/bits/libc-lockP.h
54074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54075         <bp-sym.h>.
54076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54077         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54079         (__pthread_mutex_destroy): Likewise.
54080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54081         (__pthread_mutex_lock): Likewise.
54082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54083         (__pthread_mutex_trylock): Likewise.
54084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54085         (__pthread_mutex_unlock): Likewise.
54086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54087         (__pthread_mutexattr_init): Likewise.
54088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54089         (__pthread_mutexattr_destroy): Likewise.
54090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54091         (__pthread_mutexattr_settype): Likewise.
54092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54093         (__pthread_rwlock_init): Likewise.
54094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54095         (__pthread_rwlock_destroy): Likewise.
54096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54097         (__pthread_rwlock_rdlock): Likewise.
54098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54099         (__pthread_rwlock_tryrdlock): Likewise.
54100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54101         (__pthread_rwlock_wrlock): Likewise.
54102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54103         (__pthread_rwlock_trywrlock): Likewise.
54104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54105         (__pthread_rwlock_unlock): Likewise.
54106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54107         (__pthread_key_create): Likewise.
54108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54109         (__pthread_setspecific): Likewise.
54110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54111         (__pthread_getspecific): Likewise.
54112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54113         Likewise.
54114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54115         (_pthread_cleanup_push_defer): Likewise.
54116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54117         (_pthread_cleanup_pop_restore): Likewise.
54118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54119         (pthread_setcancelstate): Likewise.
54120         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54121         <bp-sym.h>.
54122         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54123         (memchr): Do not use BP_SYM in weak_alias.
54124         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54125         (fegetenv): Do not use BP_SYM in versioned symbols.
54126         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54127         (fesetenv): Do not use BP_SYM in versioned symbols.
54128         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54129         (feupdateenv): Do not use BP_SYM in versioned symbols.
54130         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54131         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54132         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54133         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54134         (open64): Do not use BP_SYM in weak_alias.
54135         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54136         (fegetenv): Do not use BP_SYM in versioned symbols.
54137         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54138         (fesetenv): Do not use BP_SYM in versioned symbols.
54139         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54140         (feupdateenv): Do not use BP_SYM in versioned symbols.
54141         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54142         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54143         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54144         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54145         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54146         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54147         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54148         <bp-sym.h>.
54149         (__libc_start_main): Do not use BP_SYM.
54151 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54154         redundant return line.
54155         (norm): Likewise.
54156         (denorm): Likewise.
54157         (dbl_mp): Likewise.
54158         (sub_magnitudes): Likewise.
54159         (__add): Likewise.
54160         (__sub): Likewise.
54161         (__mul): Likewise.
54162         (__inv): Likewise.
54163         (__dvd): Likewise.
54164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54165         (norm): Likewise.
54166         (denorm): Likewise.
54167         (dbl_mp): Likewise.
54168         (sub_magnitudes): Likewise.
54169         (__add): Likewise.
54170         (__sub): Likewise.
54171         (__mul): Likewise.
54172         (__inv): Likewise.
54173         (__dvd): Likewise.
54175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54176         instead of __mul.
54177         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54178         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54179         (cc32): Likewise.
54181         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54182         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54184         of __mul for squares.
54185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54186         function
54187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54188         Likewise.
54189         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54190         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54192 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54194         [BZ #13550]
54195         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54196         code.
54197         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54198         prototype or function definition.  Rename ubp_* variables and
54199         parameters.  Remove argv definitions conditional on
54200         [__BOUNDED_POINTERS__].
54201         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54202         * elf/dl-runtime.c (_dl_fixup): Likewise.
54203         * include/set-hooks.h (RUN_HOOK): Likewise.
54204         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54205         definition.
54206         * string/strcpy.c (strcpy): Do not use __unbounded.
54207         * sysdeps/generic/frame.h (struct layout): Likewise.
54208         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54209         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54210         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54211         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54212         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54213         (__backtrace): Likewise.
54214         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54215         use __ptrvalue.
54216         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54217         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54218         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54219         Likewise.
54220         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54221         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54222         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54223         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54224         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54225         Do not use __unbounded.
54226         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54227         Rename __unboundedrlimits parameter to rlimits in prototype.
54228         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54229         Do not use __unbounded.
54230         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54231         not use __ptrvalue.
54232         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54233         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54234         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54236         __ptrvalue or __unbounded.
54237         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54238         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54239         use __unbounded.
54240         (__new_msgctl): Do not use __ptrvalue.
54241         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54242         __unbounded.
54243         (__libc_msgrcv): Do not use __ptrvalue.
54244         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54245         startup_info): Do not use __unbounded.
54246         (__libc_start_main): Likewise.  Rename ubp_* variables and
54247         parameters.  Remove argv definitions conditional on
54248         [__BOUNDED_POINTERS__].
54249         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54250         __ptrvalue.
54251         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54252         use __unbounded.
54253         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54254         or __ptrvalue.
54255         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54256         use __unbounded.
54257         (__new_shmctl): Do not use __ptrvalue.
54258         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54259         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54260         Likewise.
54261         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54263         (__libc_sigaction): Likewise.
54264         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54265         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54266         Likewise.
54267         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54269 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54271         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54273         * string/mempcpy.c: Implement by calling memcpy.
54275 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54280         evaluation.
54282         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54283         values in the mantissa.
54285         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54286         minimize writes to Z.
54287         (sub_magnitudes): Simplify code a bit.
54289 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54291         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54292         from the message.  The linker prefixes all warnings with that already.
54294 2013-02-12  Andreas Schwab  <schwab@suse.de>
54296         [BZ #15078]
54297         * posix/regexec.c (extend_buffers): Add parameter min_len.
54298         (check_matching): Pass minimum needed length.
54299         (clean_state_log_if_needed): Likewise.
54300         (get_subexp): Likewise.
54301         * posix/Makefile (tests): Add bug-regex34.
54302         (bug-regex34-ENV): Define.
54303         * posix/bug-regex34.c: New file.
54305         [BZ #11561]
54306         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54307         elements compare against the byte sequence of it, not its name.
54308         * posix/Makefile (tests): Add bug-regex35.
54309         (bug-regex35-ENV): Define.
54310         * posix/bug-regex35.c: New file.
54312 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54314         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54315         comment.
54316         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54317         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54318         (CHECK_EOL): Add undef.
54320 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54322         * bits/stdlib-bsearch.h: New file.
54323         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54324         * stdlib/stdlib.h: Likewise.
54326 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54328         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54329         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54330         declaration.
54331         * manual/search.texi (Array Search Function): Add missing const in
54332         lfind prototype.
54333         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54334         declaration to use rlim_t.
54335         (Basic Scheduling Functions): Remove erroneous const from
54336         sched_getparam prototype.  Remove erroneous * from
54337         sched_get_priority_max and sched_get_priority_min prototypes.
54338         (Resource Usage): Fix summary @comment on vtimes to refer to
54339         sys/vtimes.h rather than vtimes.h.
54340         Add missing *s in vtimes prototype.
54341         (Limits on Resources): Fix ulimit prototype to return long int.
54342         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54343         prototypes to use long int rather than double.
54344         (BSD Random): Fix initstate and setstate to use char *, not void *.
54345         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54346         prototype to make second argument 'struct aiocb64 *const[]'.
54347         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54348         (Status of AIO Operations): Remove erroneous const in aio_return and
54349         aio_return64 prototypes.
54350         (Synchronizing I/O): Fix sync prototype to return void.
54351         * manual/startup.texi (Suboptions): Remove an erroneous const in
54352         getsubopt prototype.
54353         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54354         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54355         use size_t rather than int.
54356         (Scanning All Users): Likewise for getpwent_r.
54357         (Setting Groups): Add missing const to setgroups prototype.
54358         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54359         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54360         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54361         'const void *' rather than 'const char *'.
54362         (Host Address Functions): Likewise for inet_ntop.
54363         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54364         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54365         ssize_t for return value.
54366         (Sending Data): Likewise for send, sendto, sendmsg.
54367         (Socket Option Functions): Add a missing const in setsockopt prototype.
54368         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54369         use wchar_t for the argument.
54370         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54371         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54372         take no arguments.
54373         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54374         double/float/long double for second argument.
54375         Fix return types of significand, significandf, significandl.
54376         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54377         argument in fchmod prototype.
54378         (File Owner): Use uid_t and gid_t in fchown prototype.
54379         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54380         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54381         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54382         use 'const struct dirent **' as argument types to CMP function pointer
54383         argument.
54384         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54385         (File Times): Fix summary magic @comment for struct utimbuf and utime
54386         to refer to utime.h, not time.h.
54387         * manual/string.texi (Argz Functions): Add missing const in
54388         argz_extract and argz_next prototypes.
54389         (Finding Tokens in a String): Likewise for basename.
54390         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54391         (Copying and Concatenation): Fix typo in wmemmove prototype.
54392         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54393         (Signal Stack): Remove erroneous const in sigstack prototype.
54394         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54395         prototype.
54396         (Simple Calendar Time): Likewise for stime.
54397         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54398         prototype.
54399         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54400         say sys/sysctl.h instead.
54401         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54402         and vsyslog prototypes.
54404 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54406         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54407         Remove.
54409 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54411         * misc/sys/mman.h: Fix typo in mremap comment.
54413 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54415         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54416         the '\0' terminator.
54418 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54420         [BZ #13550]
54421         * debug/segfault.c: Don't include <bp-checks.h>.
54422         * sysdeps/generic/bp-checks.h: Remove file.
54423         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54424         (__GETDENTS): Don't use CHECK_N.
54425         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54426         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54427         (__getgroups): Don't use CHECK_N.
54428         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54429         (setgroups): Don't use CHECK_N.
54430         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54431         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54432         (__libc_msgrcv): Don't use CHECK_N.
54433         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54434         (__libc_msgsnd): Don't use CHECK_N.
54435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54436         <bp-checks.h>.
54437         (__libc_pread): Don't use CHECK_N.
54438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54439         include <bp-checks.h>.
54440         (__libc_pread64): Don't use CHECK_N.
54441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54442         include <bp-checks.h>.
54443         (__libc_pwrite): Don't use CHECK_N.
54444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54445         include <bp-checks.h>.
54446         (__libc_pwrite64): Don't use CHECK_N.
54447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54448         <bp-checks.h>.
54449         (__libc_pread): Don't use CHECK_N.
54450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54451         include <bp-checks.h>.
54452         (__libc_pread64): Don't use CHECK_N.
54453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54454         include <bp-checks.h>.
54455         (__libc_pwrite): Don't use CHECK_N.
54456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54457         include <bp-checks.h>.
54458         (__libc_pwrite64): Don't use CHECK_N.
54459         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54460         (do_pread): Don't use CHECK_N.
54461         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54462         (do_pread64): Don't use CHECK_N.
54463         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54464         (do_pwrite): Don't use CHECK_N.
54465         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54466         (do_pwrite64): Don't use CHECK_N.
54467         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54468         (__libc_readv): Don't use CHECK_N.
54469         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54470         (semop): Don't use CHECK_N.
54471         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54472         <bp-checks.h>.
54473         (semtimedop): Don't use CHECK_N.
54474         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54475         (__libc_pread): Don't use CHECK_N.
54476         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54477         <bp-checks.h>.
54478         (__libc_pread64): Don't use CHECK_N.
54479         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54480         <bp-checks.h>.
54481         (__libc_pwrite): Don't use CHECK_N.
54482         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54483         <bp-checks.h>.
54484         (__libc_pwrite64): Don't use CHECK_N.
54485         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54486         <bp-checks.h>.
54487         (__libc_msgrcv): Don't use CHECK_N.
54488         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54489         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54490         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54491         (__libc_writev): Don't use CHECK_N.
54493 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54495         * string/strcpy.c: Removed unused variable.
54497         * Makeconfig (+sysdep-includes): Define with := rather than =.
54498         Use an existing include/ subdir of each sysdeps dir before it.
54500 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54502         * nscd/connection.c (register_traced_file): Comment function.
54503         [HAVE_INOTIFY] (union __inev): Define.
54504         [HAVE_INOTIFY] (inotify_check_files): New function.
54505         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54506         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54507         clear_db_cache.
54508         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54510 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54512         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54513         loaded if not already and that a failure is permanent.
54515 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54517         [BZ #15006]
54518         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54519         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54521 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54523         [BZ #13550]
54524         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54525         (CHECK_1_NULL_OK): Likewise.
54526         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54527         (__fxstat): Do not use CHECK_1.
54528         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54529         <bp-checks.h>.
54530         (___fxstat64): Do not use CHECK_1.
54531         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54532         <bp-checks.h>.
54533         (__fxstatat): Do not use CHECK_1.
54534         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54535         <bp-checks.h>.
54536         (__fxstatat64): Do not use CHECK_1.
54537         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54538         <bp-checks.h>.
54539         (__fxstat): Do not use CHECK_1.
54540         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54541         <bp-checks.h>.
54542         (__fxstatat): Do not use CHECK_1.
54543         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54544         <bp-checks.h>.
54545         (__getresgid): Do not use CHECK_1.
54546         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54547         <bp-checks.h>.
54548         (__getresuid): Do not use CHECK_1.
54549         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54550         <bp-checks.h>.
54551         (__lxstat): Do not use CHECK_1.
54552         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54553         <bp-checks.h>.
54554         (__old_msgctl): Do not use CHECK_1.
54555         (__new_msgctl): Likewise.
54556         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54557         <bp-checks.h>.
54558         (__new_setrlimit): Do not use CHECK_1.
54559         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54560         <bp-checks.h>.
54561         (__old_shmctl): Do not use CHECK_1.
54562         (__new_shmctl): Likewise.
54563         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54564         <bp-checks.h>.
54565         (__xstat): Do not use CHECK_1.
54566         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54567         (__lxstat): Do not use CHECK_1.
54568         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54569         <bp-checks.h>.
54570         (___lxstat64): Do not use CHECK_1.
54571         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54572         (__old_msgctl): Do not use CHECK_1.
54573         (__new_msgctl): Likewise.
54574         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54575         <bp-checks.h>.
54576         (__gettimeofday): Do not use CHECK_1.
54577         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54578         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54579         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54580         <bp-checks.h>.
54581         (__gettimeofday): Do not use CHECK_1.
54582         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54583         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54584         (__new_shmctl): Do not use CHECK_1.
54585         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54586         <bp-checks.h>.
54587         (do_sigtimedwait): Do not use CHECK_1.
54588         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54589         <bp-checks.h>.
54590         (do_sigwaitinfo): Do not use CHECK_1.
54591         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54592         <bp-checks.h>.
54593         (msgctl): Do not use CHECK_1.
54594         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54595         <bp-checks.h>.
54596         (shmctl): Do not use CHECK_1.
54597         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54598         (ustat): Do not use CHECK_1.
54599         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54600         <bp-checks.h>.
54601         (__fxstat): Do not use CHECK_1.
54602         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54603         <bp-checks.h>.
54604         (__fxstatat): Do not use CHECK_1.
54605         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54606         <bp-checks.h>.
54607         (__lxstat): Do not use CHECK_1.
54608         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54609         <bp-checks.h>.
54610         (__xstat): Do not use CHECK_1.
54611         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54612         (__xstat): Do not use CHECK_1.
54613         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54614         (___xstat64): Do not use CHECK_1.
54616         [BZ #13550]
54617         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54618         definitions.
54619         (CHECK_BOUNDS_HIGH): Likewise.
54620         * string/strcpy.c: Do not include <bp-checks.h>.
54621         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54623 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54625         * nscd/nscd-client.h (__nscd_drop_map_ref):
54626         Add __attribute__ ((unused)).
54627         * nis/nss-nisplus.h (niserr2nss): Likewise.
54629         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54630         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54632         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54633         Remove inline keyword.
54634         * include/rounding-mode.h (round_away): Likewise.
54635         * libio/wfileops.c (adjust_wide_data): Likewise.
54636         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54637         (__m128i_strloadu_tolower): Likewise.
54638         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54639         (__m128i_strloadu_tolower): Likewise.
54640         * time/mktime.c (ydhms_diff): Likewise.
54641         * locale/elem-hash.h (elem_hash): Likewise.
54642         * locale/setlocale.c (setdata): Likewise.
54643         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54644         (re_string_wchar_at): Likewise.
54645         (bitset_not, bitset_merge, bitset_mask): Likewise.
54646         [!(__GNUC__ > 3)] (inline): Remove macro.
54647         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54648         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54649         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54650         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54651         * string/memcmp.c (memcmp_bytes): Likewise.
54652         * locale/programs/locarchive.c (compute_hashval): Likewise.
54653         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54654         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54655         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54656         * nss/getent.c (print_rpc, print_protocols): Likewise.
54657         (print_passwd, print_group, print_aliases): Likewise.
54658         * nis/nss-nisplus.h (niserr2nss): Likewise.
54659         * nscd/connections.c (restart_p): Likewise.
54660         Change return type to bool.
54662 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54664         * Makeconfig (all-Depend-files): Add existing
54665         $(sorted-subdirs:=/Depend) files.
54666         (all-subdirs): Remove nss.
54667         * sysdeps/unix/inet/Subdirs: Add it here instead.
54668         * hesiod/Depend: New file.
54670         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54671         instead of calling alloca.
54673         * io/lseek.c (__lseek): Rename to __libc_lseek.
54674         Define __lseek as an alias.
54676         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54678 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54680         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54681         else clause and remove check for non-standard endianness.
54683 2013-02-04  David S. Miller  <davem@davemloft.net>
54685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54687 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54689         [BZ #13550]
54690         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54691         (__ubp_memchr): Remove prototype.
54692         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54693         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54694         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54695         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54696         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54697         Remove alias.
54698         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54699         (__ubp_memchr): Likewise.
54700         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54701         (__ubp_memchr): Likewise.
54702         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54703         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54704         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54705         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54706         CHECK_STRING.
54707         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54708         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54709         (__getcwd): Do not use CHECK_STRING.
54710         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54711         <bp-checks.h>.
54712         (__real_chown): Do not use CHECK_STRING.
54713         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54714         <bp-checks.h>.
54715         (fchownat): Do not use CHECK_STRING.
54716         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54717         CHECK_STRING.
54718         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54719         <bp-checks.h>.
54720         (__lchown): Do not use CHECK_STRING.
54721         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54722         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54724         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54726         include <bp-checks.h>.
54727         (truncate64): Do not use CHECK_STRING.
54728         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54729         <bp-checks.h>.
54730         (__real_chown): Do not use CHECK_STRING.
54731         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54732         <bp-checks.h>.
54733         (__lchown): Do not use CHECK_STRING.
54734         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54735         <bp-checks.h>.
54736         (__chown): Do not use CHECK_STRING.
54737         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54738         <bp-checks.h>.
54739         (truncate64): Do not use CHECK_STRING.
54740         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54741         Likewise.
54742         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54743         (__xmknod): Do not use CHECK_STRING.
54744         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54745         <bp-checks.h>.
54746         (__xmknodat): Do not use CHECK_STRING.
54747         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54748         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54750 2013-02-04  Andreas Schwab  <schwab@suse.de>
54752         [BZ #14142]
54753         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54754         * include/netdb.h: Likewise for h_errno.
54755         * elf/tst-stackguard1.c: Include <tls.h>.
54757 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54759         * elf/link.h (struct link_map): Extend the l_addr comment.
54760         * include/link.h (struct link_map): Likewise.
54762 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54764         [BZ #13550]
54765         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54766         (BOUNDED_1): Remove macro.
54767         * debug/backtrace.c: Don't include <bp-checks.h>.
54768         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54769         (__backtrace): Likewise.
54770         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54771         <bp-checks.h>.
54772         (__backtrace): Don't use BOUNDED_1.
54773         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54774         <bp-checks.h>.
54775         (__backtrace): Don't use BOUNDED_1.
54776         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54777         (__backtrace): Don't use BOUNDED_1.
54778         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54779         (shmat): Don't use BOUNDED_N.
54781 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54783         [BZ #13550]
54784         * sysdeps/generic/bp-start.h: Remove file.
54785         * csu/libc-start.c: Don't include <bp-start.h>.
54786         (LIBC_START_MAIN): Set up __environ directly instead of using
54787         INIT_ARGV_and_ENVIRON.
54788         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54789         <bp-start.h>.
54791         [BZ #13550]
54792         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54793         definitions.
54794         (CHECK_FCNTL): Likewise.
54795         (CHECK_N_PAGES): Likewise.
54797         [BZ #13550]
54798         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54799         definitions.
54800         (CHECK_SIGSET_NULL_OK): Likewise.
54801         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54802         <bp-checks.h>.
54803         (sigpending): Don't use CHECK_SIGSET.
54804         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54805         <bp-checks.h>.
54806         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54807         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54808         <bp-checks.h>.
54809         (do_sigsuspend): Don't use CHECK_SIGSET.
54810         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54811         use CHECK_SIGSET.
54812         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54813         (do_sigwait): Don't use CHECK_SIGSET.
54814         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54815         use CHECK_SIGSET.
54816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54817         include <bp-checks.h>.
54818         (sigpending): Don't use CHECK_SIGSET.
54819         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54820         include <bp-checks.h>.
54821         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54822         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54823         <bp-checks.h>.
54824         (sigpending): Don't use CHECK_SIGSET.
54825         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54826         <bp-checks.h>.
54827         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54829         [BZ #13550]
54830         * sysdeps/generic/bp-semctl.h: Remove file.
54831         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54832         <bp-checks.h> and <bp-semctl.h>.
54833         (__old_semctl): Don't use CHECK_SEMCTL.
54834         (__new_semctl): Likewise.
54835         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54836         and <bp-semctl.h>.
54837         (__old_semctl): Don't use CHECK_SEMCTL.
54838         (__new_semctl): Likewise.
54839         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54840         <bp-checks.h> and <bp-semctl.h>.
54841         (__old_semctl): Don't use CHECK_SEMCTL.
54842         (__new_semctl): Likewise.
54843         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54844         <bp-checks.h> and <bp-semctl.h>.
54845         (semctl): Don't use CHECK_SEMCTL.
54847         [BZ #13550]
54848         * Makerules (elide-bp-thunks): Remove variable.
54849         (elide-routines.oS): Don't use $(elide-bp-thunks).
54850         (elide-routines.os): Likewise.
54851         (elide-routines.o): Likewise.
54852         (elide-routines.op): Likewise.
54853         (elide-routines.og): Likewise.
54854         (objects): Don't use $(bp-thunks).
54855         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54856         include.
54857         (common-generated): Do not add s-proto-bp.d.
54858         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54859         (int): Likewise.
54860         (typ): Likewise.
54861         Do not generate makefile rules for bounded-pointer thunks.
54862         * sysdeps/generic/bp-thunks.h: Remove file.
54863         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54864         * sysdeps/unix/s-proto-bp.S: Likewise.
54866         [BZ #15062]
54867         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54868         parts of result separately when argument is not close to line from
54869         -i to i and one part of argument is small.
54870         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54871         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54872         * math/libm-test.inc (cacos_test): Add more tests.
54873         (casin_test): Likewise.
54874         (casinh_test): Likewise.
54875         * sysdeps/i386/fpu/libm-test-ulps: Update.
54876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54878 2013-01-31  David S. Miller  <davem@davemloft.net>
54880         * po/de.po: Update from translation team.
54882 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54884         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54886 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54888         * configure.in (_AC_PROG_CC_C89): New definition.
54889         * configure: Regenerate.
54891         * configure.in (AC_PROG_CPP): New definition.
54892         * configure: Regenerate.
54894 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54896         * debug/tst-backtrace.h: New file.
54897         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54898         (ret): Remove variable.
54899         (x): Likewise.
54900         (FAIL): Remove macro.
54901         (NO_INLINE): Likewise.
54902         (fn1): Use match function instead of strstr.
54903         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54904         (ret): Remove variable.
54905         (x): Likewise.
54906         (FAIL): Remove macro.
54907         (NO_INLINE): Likewise.
54908         (fn): Use match function instead of strstr.
54909         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54910         (ret): Remove variable.
54911         (x): Likewise.
54912         (FAIL): Remove macro.
54913         (NO_INLINE): Likewise.
54914         (handle_signal): Use match function instead of strstr.
54915         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54916         (ret): Remove variable.
54917         (x): Likewise.
54918         (FAIL): Remove macro.
54919         (NO_INLINE): Likewise.
54920         (handle_signal): Use match function instead of strstr.
54922 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54924         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54926 2013-01-23  David S. Miller  <davem@davemloft.net>
54928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54929         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54930         argument of CAS if possible.
54931         * sysdeps/sparc/sparc64/bits/atomic.h
54932         (__arch_compare_and_exchange_val_32_acq): Likewise.
54933         (__arch_compare_and_exchange_val_64_acq): Likewise.
54935 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54937         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54938         * sysdeps/posix/ulimit.c: ... this.
54939         Include <limits.h>.
54940         * sysdeps/unix/bsd/ulimit.c: Remove file.
54942 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54944         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54945         (LDFLAGS-tst-array5): Likewise.
54947 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54949         [BZ #15036]
54950         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54951         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54952         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54953         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54955 2013-01-21  David S. Miller  <davem@davemloft.net>
54957         * sysdeps/sparc/backtrace.c: New file.
54958         * sysdeps/sparc/sparc32/backtrace.h: New file.
54959         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54960         * sysdeps/sparc/sparc64/backtrace.h: New file.
54961         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54962         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54963         -funwind-tables.
54965 2013-01-21  Andreas Schwab  <schwab@suse.de>
54967         [BZ #15020]
54968         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54969         closed its stdout.
54971 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54974         "mpa2.h".
54975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54977 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54978             Mark Mitchell  <mark@codesourcery.com>
54979             Tom de Vries  <tom@codesourcery.com>
54980             Paul Pluzhnikov  <ppluzhnikov@google.com>
54982         * debug/tst-backtrace2.c: New file.
54983         * debug/tst-backtrace3.c: Likewise.
54984         * debug/tst-backtrace4.c: Likewise.
54985         * debug/tst-backtrace5.c: Likewise.
54986         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54987         (CFLAGS-tst-backtrace3.c): Likewise.
54988         (CFLAGS-tst-backtrace4.c): Likewise.
54989         (CFLAGS-tst-backtrace5.c): Likewise.
54990         (LDFLAGS-tst-backtrace2): Likewise.
54991         (LDFLAGS-tst-backtrace3): Likewise.
54992         (LDFLAGS-tst-backtrace4): Likewise.
54993         (LDFLAGS-tst-backtrace5): Likewise.
54994         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54995         tst-backtrace4 and tst-backtrace5.
54997 2013-01-18  Anton Blanchard  <anton@samba.org>
54998             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55000         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55001         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55003         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55005         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55006         "+r" and remove output regs list as redundant.  Add explicit inline
55007         asm to specify register of return val to work around compiler codegen
55008         bug.  Remove (int) cast on return value.  Add return type parameter to
55009         use in macro so that this macro does not truncate return value for
55010         64-bit values.
55011         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55012         pass to INTERNAL_VSYSCALL_NCS.
55013         (INLINE_VSYSCALL): Add 'long int' as return type to
55014         INTERNAL_VSYSCALL_NCS macro invocation.
55015         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55016         INTERNAL_VSYSCALL_NCS macro invocation.
55017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55019 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55021         [BZ #14496]
55022         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55023         Fix application of SIMD FP exception mask.
55025         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55026         mp_no from a power of two.
55027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55028         __mpexp_twomm1.  Use __pow_mp.
55030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55031         multiplication.
55033 2013-01-17  David S. Miller  <davem@davemloft.net>
55035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55037 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55039         [BZ #15023]
55040         * include/complex.h: Condition contents on [!_COMPLEX_H].
55041         (__kernel_casinhf): New prototype.
55042         (__kernel_casinh): Likewise.
55043         (__kernel_casinhl): Likewise.
55044         * math/Makefile (libm_calls): Add k_casinh.
55045         * math/k_casinh.c: New file.
55046         * math/k_casinhf.c: Likewise.
55047         * math/k_casinhl.c: Likewise.
55048         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55049         finite nonzero arguments.
55050         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55051         finite nonzero arguments.
55052         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55053         finite nonzero arguments.
55054         * math/s_casinh.c: Do not include <float.h>.
55055         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55056         * math/s_casinhf.c: Do not include <float.h>.
55057         (__casinhf): Move code for finite nonzero arguments to
55058         k_casinhf.c.
55059         * math/s_casinhl.c: Do not include <float.h>.
55060         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55061         redefine.
55062         (__casinhl): Move code for finite nonzero arguments to
55063         k_casinhl.c.
55064         * math/libm-test.inc (cacos_test): Add more tests.
55065         * sysdeps/i386/fpu/libm-test-ulps: Update.
55066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55068 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55070         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55071         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55072         [!HAVE_MREMAP]: Remove [defined linux] case.
55073         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55075 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55077         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55079 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55081         * elf/elf.h (R_386_SIZE32): New relocation.
55082         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55083         R_386_SIZE32.
55084         (elf_machine_rela): Likewise.
55085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55086         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55088 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55090         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55091         (FP_FAST_FMA): Do not define.
55092         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55093         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55094         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55095         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55096         !_SOFT_FLOAT]: Likewise.
55097         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55098         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55099         value.
55100         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55101         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55103         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55104         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55105         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55106         file.
55108 2013-01-16  Andreas Schwab  <schwab@suse.de>
55110         [BZ #14327]
55111         * include/stdlib.h (__mktemp): Add declaration.
55112         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55113         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55115 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55117         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55118         definitions.
55119         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55120         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55121         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55122         definitions here.
55123         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55124         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55125         definitions.
55126         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55127         and ONE.
55128         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55129         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55130         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55131         definitions.
55132         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55133         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55134         definitions.
55135         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55137         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55139 2013-01-15  David S. Miller  <davem@davemloft.net>
55141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55142         trunc{,f} to libm-sysdep_routes.
55143         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55145         file.
55146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55148         file.
55149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55150         file.
55151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55153         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55154         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55155         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55156         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55157         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55158         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55161         nearbyint{,f} to libm-sysdep_routes.
55162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55164         New file.
55165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55166         file.
55167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55168         New file.
55169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55170         file.
55171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55173         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55174         file.
55175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55176         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55177         file.
55178         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55179         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55180         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55182         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55183         libc_feholdexcept and libc_fesetenv.
55185 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55187         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55189 2013-01-14  David S. Miller  <davem@davemloft.net>
55191         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55192         (SPARC_ASM_VIS2_IFUNC): Likewise.
55193         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55195         use of 'siam' instruction.
55196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55197         Likewise.
55198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55199         Likewise.
55200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55201         Likewise.
55202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55207         file.
55208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55209         file.
55210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55211         file.
55212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55213         file.
55214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55217         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55219         new VIS2 routines.
55220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55223         Likewise.
55224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55229         routines to libm-sysdep_routines.
55230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55233         fdim/fdimf to libm-sysdep_routines.
55234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55235         file.
55236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55238         file.
55239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55242         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55243         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55244         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55245         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55247 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55250         to optimize copies.
55252         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55257         local variable MPTWO.
55258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55259         Likewise.
55261 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55263         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55264         GLOB_NOESCAPE.
55266 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55268         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55270 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55272         * manual/pattern.texi (glob_t): Document gl_flags.
55273         (glob64_t): Likewise.
55275 2013-01-11  David S. Miller  <davem@davemloft.net>
55277         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55278         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55279         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55280         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55281         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55282         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55283         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55284         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55285         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55286         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55287         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55288         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55289         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55292         sparc V9 rather than using V8 code.
55293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55296         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55297         Move to...
55298         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55299         Here.
55301 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55303         [BZ #14941]
55304         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55305         not in the main loop.
55306         * configure: Regenerated.
55308 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55310         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55311         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55312         to just #else.
55313         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55314         [!__GLIBC_HAVE_LONG_LONG] case.
55315         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55316         condition to just #else.
55317         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55318         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55319         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55320         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55321         unconditional.
55322         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55323         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55324         #elif condition to just #else.
55325         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55326         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55327         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55328         #elif condition to just #else.
55330 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55332         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55333         (EF_MIPS_ARCH_64): Fix value.
55334         (EF_MIPS_ARCH_32R2): New.
55335         (EF_MIPS_ARCH_64R2): New.
55337 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55339         * Makeconfig (+link-pie-before-libc): New.
55340         (+link-pie-after-libc): Likewise.
55341         (+link-pie-tests): Likewise.
55342         (+link-pie): Rewritten.
55343         (link-before-libc): Remove $(config-LDFLAGS).
55344         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55345         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55346         (config-LDFLAGS): Renamed to ...
55347         (rtld-LDFLAGS): This.
55348         (rtld-tests-LDFLAGS): New macro.
55349         (link-libc-rpath-link): Likewise.
55350         (link-libc-tests-rpath-link): Likewise.
55351         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55352         (link-libc): Prepand $(link-libc-rpath-link).
55353         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55354         (test-program-prefix): New macro.
55355         (test-via-rtld-prefix): Likewise.
55356         (test-program-cmd): Likewise.
55357         (host-test-program-cmd): Likewise.
55358         * Makefile ($(common-objpfx)testrun.sh): Replace
55359         $(run-program-prefix) with $(test-program-prefix).
55360         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55361         $(rtld-LDFLAGS).
55362         ($(common-objpfx)shlib.lds): Likewise.
55363         (build-module-helper): Likewise.
55364         ($(common-objpfx)format.lds): Likewise.
55365         * Rules (binaries-pie-tests): New.
55366         (binaries-pie-notests): Likewise.
55367         (binaries-pie): Rewritten.
55368         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55369         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55370         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55371         (make-test-out): Replace $(host-built-program-cmd) with
55372         $(host-test-program-cmd).
55373         * config.make.in (build-hardcoded-path-in-tests): New variable.
55374         * configure.in (--enable-hardcoded-path-in-tests): New configure
55375         option.
55376         (hardcoded_path_in_tests): New AC_SUBST.
55377         * configure: Regenerated.
55378         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55379         $(built-program-cmd) with $(test-program-cmd).
55380         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55381         (test_program_cmd): This.
55382         * elf/Makefile ($(objpfx)order.out): Run test with
55383         $(test-program-prefix).
55384         ($(objpfx)order2.out): Likewise.
55385         ($(objpfx)tst-initorder.out): Likewise.
55386         ($(objpfx)tst-initorder2.out): Likewise.
55387         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55388         $(test-program-cmd).
55389         ($(objpfx)tst-array1-static.out): Likewise.
55390         ($(objpfx)tst-array2.out): Likewise.
55391         ($(objpfx)tst-array3.out): Likewise.
55392         ($(objpfx)tst-array4.out): Likewise.
55393         ($(objpfx)tst-array5.out): Likewise.
55394         ($(objpfx)tst-array5-static.out): Likewise.
55395         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55396         $(test-program-cmd).
55397         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55398         $(run-program-prefix) with $(test-program-prefix).
55399         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55400         (test_program_prefix): This.
55401         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55402         $(run-program-prefix) with $(test-program-prefix).
55403         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55404         (test_program_prefix): This.
55405         * iconvdata/tst-tables.sh: Likewise.
55406         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55407         $(run-program-prefix) with $(test-program-prefix).
55408         ($(objpfx)tst-translit.out): Likewise.
55409         ($(objpfx)tst-gettext2.out): Likewise.
55410         ($(objpfx)tst-gettext4.out): Likewise.
55411         ($(objpfx)tst-gettext6.out): Likewise.
55412         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55413         (test_program_prefix): This.
55414         * intl/tst-gettext2.sh: Likewise.
55415         * intl/tst-gettext4.sh  Likewise.
55416         * intl/tst-gettext6.sh: Likewise.
55417         * intl/tst-translit.sh: Likewise.
55418         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55419         with $(test-program-cmd).
55420         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55421         $(run-program-prefix) with $(test-program-prefix).
55422         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55423         (test_program_prefix): This.
55424         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55425         $(run-program-prefix) with $(test-program-prefix).
55426         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55427         (test_program_prefix): This.
55428         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55429         * posix/Makefile ($(objpfx)globtest.out): Replace
55430         $(run-via-rtld-prefix) and $(test-wrapper) with
55431         $(test-program-prefix) and $(test-via-rtld-prefix).
55432         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55433         $(test-program-prefix).
55434         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55435         $(host-test-program-cmd).
55436         (tst-spawn-ARGS): Likewise.
55437         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55438         $(test-program-prefix).
55439         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55440         (test_via_rtld_prefix): This.
55441         (test_wrapper): Renamed to ...
55442         (test_program_prefix): This.
55443         (run_program_prefix): Replaced by test_program_prefix.
55444         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55445         (test_program_prefix): This.
55446         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55447         with $(host-test-program-cmd).
55448         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55449         $(run-program-prefix) with $(test-program-prefix).
55450         ($(objpfx)tst-printf.out): Likewise.
55451         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55452         $(test-program-cmd).
55453         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55454         (test_program_prefix): This.
55455         * stdio-common/tst-unbputc.sh: Likewise.
55456         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55457         $(run-program-prefix) with $(test-program-prefix).
55458         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55459         (test_program_prefix): This.
55460         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55461         $(built-program-cmd) with $(test-program-cmd).
55463 2013-01-11  Andreas Jaeger  <aj@suse.de>
55465         [BZ #15003]
55466         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55467         value. Sync with Linux 3.7.
55469 2013-01-10  David S. Miller  <davem@davemloft.net>
55471         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55472         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55473         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55475 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55477         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55478         never set.
55479         * configure: Regenerated.
55481 2013-01-10  David S. Miller  <davem@davemloft.net>
55483         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55484         sparc V9 rather than using V8 code.
55485         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55486         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55488 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55490         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55491         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55492         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55493         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55494         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55495         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55496         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55497         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55498         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55499         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55500         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55501         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55502         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55503         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55504         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55505         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55506         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55507         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55508         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55509         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55510         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55511         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55512         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55513         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55514         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55515         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55516         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55518 2013-01-10  David S. Miller  <davem@davemloft.net>
55520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55522 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55524         * posix/Makefile (tests-static): New variable.
55525         (tests): Add $(tests-static).
55526         (tst-exec-static-ARGS): New variable.
55527         (tst-spawn-static-ARGS): Likewise.
55528         * posix/tst-exec-static.c: New file.
55529         * posix/tst-spawn-static.c: Likewise.
55530         * posix/tst-exec.c: Support run directly.
55531         * posix/tst-spawn.c: Likewise.
55533 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55535         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55536         long.
55537         * math/bits/mathcalls.h (llrint): Likewise.
55538         (llround): Likewise.
55539         * stdlib/stdlib.h (struct drand48_data): Likewise.
55540         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55541         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55542         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55543         Likewise.
55544         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55545         Likewise.
55546         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55547         (elf_greg_t): Likewise.
55548         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55549         (__jmp_buf): Likewise.
55550         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55551         definitions.
55552         (llrint): Likewise, for all definitions.
55553         (llrintl): Likewise.
55555         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55556         Remove [__GNUC__] condition.
55557         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55558         condition to just [__USE_ISOC99].
55559         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55561 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55563         [BZ #14200]
55564         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55565         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55566         defined.
55567         (_POSIX_V6_ILP32_OFF32): Likewise.
55568         (_XBS5_ILP32_OFF32): Likewise.
55569         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55570         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55572 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55574         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55576         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55577         doubles __mpexp_twomm1.  Adjust usage.
55578         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55579         Remove.
55581 2013-01-10  Andreas Schwab  <schwab@suse.de>
55583         [BZ #14964]
55584         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55585         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55587 2013-01-09  David S. Miller  <davem@davemloft.net>
55589         [BZ #15003]
55590         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55591         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55592         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55593         (TCP_FASTOPEN): Define.
55594         (tcp_repair_opt): New structure.
55595         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55596         enum values.
55597         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55598         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55599         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55600         (tcp_cookie_transactions): New structure.
55602 2013-01-09  Anton Blanchard  <anton@samba.org>
55604         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55605         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55607         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55609 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55611         * include/features.h (__USE_ANSI): Remove.
55613 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55615         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55617         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55619 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55621         * sysdeps/s390/fpu/libm-test-ulps: Update.
55623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55625         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55626         (__acr): Likewise.
55627         (__cpy): Likewise.
55628         (norm): Likewise.
55629         (denorm): Likewise.
55630         (__mp_dbl): Likewise.
55631         (__dbl_mp): Likewise.
55632         (add_magnitudes): Likewise.
55633         (sub_magnitudes): Likewise.
55634         (__add): Likewise.
55635         (__sub): Likewise.
55636         (__mul): Likewise.
55637         (__inv): Likewise.
55638         (__dvd): Likewise.
55639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55640         (__acr): Likewise.
55641         (__cpy): Likewise.
55642         (norm): Likewise.
55643         (denorm): Likewise.
55644         (__mp_dbl): Likewise.
55645         (__dbl_mp): Likewise.
55646         (add_magnitudes): Likewise.
55647         (sub_magnitudes): Likewise.
55648         (__add): Likewise.
55649         (__sub): Likewise.
55650         (__mul): Likewise.
55651         (__inv): Likewise.
55652         (__dvd): Likewise.
55653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55654         (__acr): Likewise.
55655         (__cpy): Likewise.
55656         (norm): Likewise.
55657         (denorm): Likewise.
55658         (__mp_dbl): Likewise.
55659         (__dbl_mp): Likewise.
55660         (add_magnitudes): Likewise.
55661         (sub_magnitudes): Likewise.
55662         (__add): Likewise.
55663         (__sub): Likewise.
55664         (__mul): Likewise.
55665         (__inv): Likewise.
55666         (__dvd): Likewise.
55668 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55670         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55671         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55672         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55673         2 && __USE_EXTERN_INLINES]: Likewise.
55675 2013-01-08  Andreas Jaeger  <aj@suse.de>
55677         [BZ# 14985]
55678         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55679         Remove.
55680         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55681         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55683 2013-01-07  Anton Blanchard  <anton@samba.org>
55685         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55686         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55687         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55688         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55689         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55690         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55691         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55692         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55694         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55695         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55696         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55697         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55698         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55699         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55700         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55701         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55703         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55704         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55706         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55707         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55708         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55709         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55710         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55711         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55712         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55714         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55715         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55717         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55718         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55719         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55720         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55721         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55722         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55723         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55724         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55725         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55726         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55727         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55729 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55731         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55732         (__MALLOC_PMT): Likewise.
55733         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55734         [__GNUC__], only on [_LIBC].
55735         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55736         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55737         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55738         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55739         forward declaration.
55740         (realloc_hook_ini): Likewise.
55741         (memalign_hook_ini): Likewise.
55742         (__libc_memalign): Do not use __MALLOC_PMT in variable
55743         declaration.
55744         (__libc_valloc): Likewise.
55745         (__libc_pvalloc): Likewise.
55746         (__libc_calloc): Likewise.
55747         (__posix_memalign): Likewise.
55749         [BZ #14996]
55750         * math/s_casinh.c: Include <float.h>.
55751         (__casinh): Do not do computation with squaring and square root
55752         for large arguments.
55753         * math/s_casinhf.c: Include <float.h>.
55754         (__casinhf): Do not do computation with squaring and square root
55755         for large arguments.
55756         * math/s_casinhl.c: Include <float.h>.
55757         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55758         (__casinhl): Do not do computation with squaring and square root
55759         for large arguments.
55760         * math/libm-test.inc (casin_test): Add more tests.
55761         (casinh_test): Likewise.
55762         * sysdeps/i386/fpu/libm-test-ulps: Update.
55763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55765 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55767         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55768         (__x86_64_raw_data_cache_size): Likewise.
55769         (__x86_64_data_cache_size_half): Likewise.
55770         (__x86_64_raw_data_cache_size_half): Likewise.
55771         (__x86_64_shared_cache_size): Likewise.
55772         (__x86_64_raw_shared_cache_size): Likewise.
55773         (__x86_64_shared_cache_size_half): Likewise.
55774         (__x86_64_raw_shared_cache_size_half): Likewise.
55775         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55776         to ...
55777         (__x86_data_cache_size): This.
55778         (__x86_64_raw_data_cache_size): Renamed to ...
55779         (__x86_raw_data_cache_size): This.
55780         (__x86_64_data_cache_size_half): Renamed to ...
55781         (__x86_data_cache_size_half): This.
55782         (__x86_64_raw_data_cache_size_half): Renamed to ...
55783         (__x86_raw_data_cache_size_half): This.
55784         (__x86_64_shared_cache_size): Renamed to ...
55785         (__x86_shared_cache_size): This.
55786         (__x86_64_raw_shared_cache_size): Renamed to ...
55787         (__x86_raw_shared_cache_size): This.
55788         (__x86_64_shared_cache_size_half): Renamed to ...
55789         (__x86_shared_cache_size_half): This.
55790         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55791         (__x86_raw_shared_cache_size_half): This.
55792         * sysdeps/x86_64/memcpy.S: Updated.
55793         * sysdeps/x86_64/memset.S: Likewise.
55794         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55795         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55796         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55798 2013-01-04  David S. Miller  <davem@davemloft.net>
55800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55802 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55804         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55805         1 to avoid redefinition warning.
55806         (__USE_GNU): Don't define.
55807         (init_signaling_nan): Protoize.
55809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55811 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55813         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55815         (__cpymn): Likewise.
55816         (norm): Remove commented code.
55817         (denorm): Likewise.
55818         (__mp_dbl): Likewise.
55819         (__inv): Likewise.
55820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55821         (__cpymn): Likewise.
55822         (norm): Remove commented code.
55823         (denorm): Likewise.
55824         (__mp_dbl): Likewise.
55825         (__inv): Likewise.
55827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55828         mp_no value for 1.0 and 2.0.
55829         (norm): Use RADIXI instead of radixi.d.
55830         (denorm): Likewise.
55831         (__mul): Use 0.0 instead of zero.d.
55832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55833         mp_no value for 1.0 and 2.0.
55834         (norm): Use RADIXI instead of radixi.d.
55835         (denorm): Likewise.
55836         (__mul): Use 0.0 instead of zero.d.
55838 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55840         [BZ #14994]
55841         * math/s_casinh.c (__casinh): Reduce finite argument to first
55842         quadrant then set signs of results at the end.
55843         * math/s_casinhf.c (__casinhf): Likewise.
55844         * math/s_casinhl.c (__casinhl): Likewise.
55845         * math/libm-test.inc (casin_test): Add more tests.
55846         (casinh_test): Likewise.
55847         * sysdeps/i386/fpu/libm-test-ulps: Update.
55848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55850 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55852         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55854         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55856         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55857         declarations.
55858         (denorm): Likewise.
55859         (__mp_dbl): Likewise.
55860         (__inv): Likewise.
55862         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55863         and adjust the header comment.
55865         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55866         variable name from declaration.
55868 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55871         Initialize COMMON_CPUID_INDEX_7 element.
55872         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55873         (CPUID_RTM): Likewise.
55874         (HAS_RTM): Likewise.
55875         (COMMON_CPUID_INDEX_7): New enum.
55877 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55879         [BZ #14981]
55880         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55881         size is zero, record memory as freed.
55883 2013-01-03  Andreas Jaeger  <aj@suse.de>
55885         * po/ia.po: Add new Interlingua translation.
55887 2012-01-03  Allan McRae  <allan@archlinux.org>
55889         * locale/programs/localedef.c: Fix description of '--posix' flag.
55891 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55893         * NEWS: Update dates in second copyright notice.
55894         * README: Update copyright dates in example.
55895         * manual/libc.texinfo: Update copyright dates.
55896         * scripts/test-installation.pl: Update copyright date in --version
55897         output.
55899         * hurd/ctty-input.c: Fix copyright notice formatting.
55900         * hurd/ctty-output.c: Likewise.
55901         * hurd/dtable.c: Likewise.
55902         * hurd/hurd-raise.c: Likewise.
55903         * hurd/hurdprio.c: Likewise.
55904         * hurd/msgportdemux.c: Likewise.
55905         * misc/sys/file.h: Likewise.
55906         * misc/sys/ioctl.h: Likewise.
55907         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55908         * sysdeps/mach/hurd/chdir.c: Likewise.
55909         * sysdeps/mach/hurd/fchdir.c: Likewise.
55910         * sysdeps/mach/hurd/rename.c: Likewise.
55911         * sysdeps/mach/hurd/rmdir.c: Likewise.
55912         * sysdeps/mach/hurd/seekdir.c: Likewise.
55913         * sysdeps/mach/hurd/setsid.c: Likewise.
55914         * sysdeps/posix/wait3.c: Likewise.
55916         * All files with FSF copyright notices: Update copyright dates
55917         using scripts/update-copyrights.
55918         * intl/plural.c: Regenerated.
55919         * locale/programs/charmap-kw.h: Likewise.
55920         * locale/programs/locfile-kw.h: Likewise.
55922 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55924         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55925         four values.
55927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55928         calculation loop and add branch prediction.
55930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55931         check access beyond bounds of m1np.
55933         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55934         MPTWO.
55935         (__inv): Remove local variable MPTWO to use the global
55936         constant.
55937         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55939         variable MPTWO.
55940         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55941         MP3HALFS static const.
55943 2013-01-01  David S. Miller  <davem@davemloft.net>
55945         * po/ca.po: Update from translation team.
55947 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55949         * scripts/update-copyrights: New file.
55950         * Makeconfig: Reformat copyright notice.
55951         * ctype/ctype.h: Likewise.
55952         * debug/swprintf_chk.c: Likewise.
55953         * elf/dl-cache.c: Likewise.
55954         * elf/dl-debug.c: Likewise.
55955         * elf/dl-object.c: Likewise.
55956         * grp/initgroups.c: Likewise.
55957         * hurd/Makefile: Likewise.
55958         * hurd/hurd/signal.h: Likewise.
55959         * hurd/hurdfault.c: Likewise.
55960         * hurd/hurdioctl.c: Likewise.
55961         * hurd/hurdlookup.c: Likewise.
55962         * hurd/intr-msg.c: Likewise.
55963         * iconv/gconv_open.c: Likewise.
55964         * libio/swprintf.c: Likewise.
55965         * locale/lc-ctype.c: Likewise.
55966         * locale/nl_langinfo.c: Likewise.
55967         * mach/Machrules: Likewise.
55968         * mach/Makefile: Likewise.
55969         * malloc/obstack.h: Likewise.
55970         * manual/Makefile: Likewise.
55971         * manual/tsort.awk: Likewise.
55972         * misc/bits/stab.def: Likewise.
55973         * nis/nis_print_group_entry.c: Likewise.
55974         * nis/nis_table.c: Likewise.
55975         * nis/nss_compat/compat-pwd.c: Likewise.
55976         * nis/nss_compat/compat-spwd.c: Likewise.
55977         * po/Makefile: Likewise.
55978         * posix/fnmatch.c: Likewise.
55979         * posix/regex.h: Likewise.
55980         * resolv/Makefile: Likewise.
55981         * resolv/nss_dns/dns-network.c: Likewise.
55982         * resolv/res_hconf.c: Likewise.
55983         * scripts/gen-sorted.awk: Likewise.
55984         * soft-fp/soft-fp.h: Likewise.
55985         * stdio-common/printf.h: Likewise.
55986         * stdlib/monetary.h: Likewise.
55987         * stdlib/random.c: Likewise.
55988         * stdlib/random_r.c: Likewise.
55989         * sysdeps/generic/Makefile: Likewise.
55990         * sysdeps/gnu/Makefile: Likewise.
55991         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55992         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55993         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55995         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55998         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55999         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56001         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56002         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56003         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56004         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56005         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56006         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56007         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56008         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56009         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56010         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56011         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56012         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56013         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56014         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56015         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56016         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56018         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56019         * sysdeps/mach/hurd/errnos.awk: Likewise.
56020         * sysdeps/mach/hurd/fork.c: Likewise.
56021         * sysdeps/mach/hurd/getcwd.c: Likewise.
56022         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56023         * sysdeps/mach/hurd/mmap.c: Likewise.
56024         * sysdeps/mach/hurd/utimes.c: Likewise.
56025         * sysdeps/mach/hurd/xmknod.c: Likewise.
56026         * sysdeps/posix/profil.c: Likewise.
56027         * sysdeps/posix/readdir_r.c: Likewise.
56028         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56029         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56030         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56031         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56033         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56034         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56035         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56037         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56038         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56039         * sysdeps/pthread/lio_listio.c: Likewise.
56040         * sysdeps/sparc/dl-procinfo.h: Likewise.
56041         * sysdeps/unix/i386/sysdep.S: Likewise.
56042         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56043         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56044         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56045         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56047         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56048         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56049         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56050         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56051         * sysdeps/wordsize-32/divdi3.c: Likewise.
56052         * time/sys/time.h: Likewise.
56053         * wcsmbs/Makefile: Likewise.
56055 2013-01-01  David S. Miller  <davem@davemloft.net>
56057         * po/fr.po: Update from translation team.
56059         * catgets/gencat.c: Update copyright year.
56060         * csu/version.c: Likewise.
56061         * debug/catchsegv.sh: Likewise.
56062         * debug/pcprofiledump.c: Likewise.
56063         * debug/xtrace.sh: Likewise.
56064         * elf/ldconfig.c: Likewise.
56065         * elf/ldd.bash.in: Likewise.
56066         * elf/pldd.c: Likewise.
56067         * elf/sotruss.ksh: Likewise.
56068         * elf/sprof.c: Likewise.
56069         * iconv/iconv_prog.c: Likewise.
56070         * iconv/iconvconfig.c: Likewise.
56071         * locale/programs/locale.c: Likewise.
56072         * locale/programs/localedef.c: Likewise.
56073         * login/programs/pt_chown.c: Likewise.
56074         * malloc/memusage.sh: Likewise.
56075         * malloc/memusagestat.c: Likewise.
56076         * malloc/mtrace.pl: Likewise.
56077         * nscd/nscd.c: Likewise.
56078         * nss/getent.c: Likewise.
56079         * nss/makedb.c: Likewise.
56080         * posix/getconf.c: Likewise.
56082 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56084         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56085         numbers.
56087 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56089         * math/bits/mathcalls.h (modf): Use __nonnull.
56091 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56093         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56094         (split): Use macro CN instead of the bare value.
56095         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56096         could be used.
56097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56098         instead of the bare value.
56099         (power1): Likewise.
56101 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56104         __ATAN_TWOM.
56105         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56107         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56108         their values.
56109         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56110         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56111         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56112         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56114 2012-12-28  Andreas Jaeger  <aj@suse.de>
56116         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56117         values are from Linux 3.7.
56119         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56120         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56122 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56124         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56125         TRUE case.
56127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56128         (norm): Likewise.
56129         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56130         variables with preprocessor constants.
56131         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56132         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56133         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56135 2012-12-27  Bruno Haible  <bruno@clisp.org>
56137         [BZ #14317]
56138         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56139         only if needed.
56141 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56144         and use variable directly.
56145         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56147         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56148         MPONE.
56149         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56150         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56151         variable MPONE.
56152         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56154         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56155         include directive.  Remove local variable MPONE.
56156         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56157         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56158         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56160 2012-12-25  David S. Miller  <davem@davemloft.net>
56162         * version.h (RELEASE): Set to "development".
56163         (VERSION): Set to "2.17.90".
56164         * NEWS: Add 2.18 section.
56166 2012-12-21  David S. Miller  <davem@davemloft.net>
56168         * po/hr.po: Update from translation team.
56170 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56172         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56174 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56176         * NEWS:  Mention new memcpy for MIPS.
56178 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56180         * manual/contrib.texi (Contributors): Spelling correction.
56182 2012-12-15  David S. Miller  <davem@davemloft.net>
56184         * po/ru.po: Update from translation team.
56186 2012-12-13  David S. Miller  <davem@davemloft.net>
56188         * NEWS: Mention IFUNC testsuite enhancements.
56190         * po/pl.po: Update from translation team.
56191         * po/bg.po: Likewise.
56193         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56194         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56196 2012-12-11  David S. Miller  <davem@davemloft.net>
56198         * po/sv.po: Update from translation team.
56200         * po/vi.po: Update from translation team.
56202         * po/cs.po: Update from translation team.
56204         * po/de.po: Update from translation team.
56205         * po/eo.po: Likewise.
56206         * po/nl.po: Likewise.
56208 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56210         [BZ #14246]
56211         * manual/argp.texi (Argp Helper Functions): Move node to follow
56212         Argp Parsing State.
56214         [BZ #14872]
56215         * manual/conf.texi (Limits on File System Capacity): Mention if
56216         terminating null is included in the max size.
56218 2012-12-10  Andreas Jaeger  <aj@suse.de>
56220         * po/cs.po: Update from translation team.
56222 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56224         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56225         void pointer and cast to uintptr_t.
56226         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56227         path.
56228         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56229         * sysdeps/s390/s390-64/memset.S: Likewise.
56231 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56233         [BZ #14833]
56234         * menual/message.texi (Message Translation): Fix typos.
56235         (Helper programs for gettext): Likewise.
56237 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56239         [BZ #14898]
56240         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56241         Change to -1.
56243 2012-12-07  David S. Miller  <davem@davemloft.net>
56245         * po/libc.pot: Update.
56247 2012-12-07  Richard Henderson  <rth@redhat.com>
56249         [BZ #10114]
56250         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56251         normal/normal case to before the switch.
56252         (_FP_DIV): Likewise.
56254 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56255             Mike Frysinger  <vapier@gentoo.org>
56257         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56258         check for __NR_fadvise64_64.
56260 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56262         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56263         0, not just to plain "0" as a statement.
56264         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56265         with cw.
56267 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56269         * NEWS: Use sourceware.org in Bugzilla URL.
56271 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56274         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56276         * stdio-common/tst-put-error.c (do_test): Add newline to the
56277         padded test to ensure flush.
56279 2012-12-05  Jeff Law  <law@redhat.com>
56281         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56283 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56285         * README: Don't refer to ports add-on as distributed separately.
56286         Mention AArch64 in list of systems supported in the ports add-on.
56288         * LICENSES: Add more non-FSF copyright and license notices.
56290         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56291         ((unused)).
56293         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56295         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56296         10000 as width of padded output.
56298 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56300         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56302         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56303         variable LX with __attribute__ ((unused)).
56304         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56305         Likewise.
56306         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56308         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56309         with __attribute__ ((unused)).
56311 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56313         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56315 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56317         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56318         (CFLAGS-nldbl-acos.c): New variable.
56319         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56320         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56321         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56322         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56323         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56324         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56325         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56326         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56327         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56328         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56329         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56330         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56331         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56332         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56333         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56334         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56335         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56336         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56337         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56338         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56339         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56340         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56341         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56342         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56343         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56344         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56345         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56346         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56347         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56348         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56349         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56350         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56351         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56352         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56353         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56354         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56355         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56356         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56357         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56358         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56359         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56360         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56361         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56362         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56363         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56364         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56365         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56366         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56367         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56368         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56369         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56370         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56371         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56372         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56373         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56374         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56375         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56376         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56377         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56378         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56379         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56380         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56381         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56382         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56383         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56384         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56385         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56386         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56387         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56388         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56389         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56390         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56391         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56392         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56393         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56394         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56395         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56396         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56397         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56398         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56399         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56400         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56401         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56402         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56403         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56404         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56405         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56406         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56407         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56408         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56409         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56410         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56411         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56412         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56413         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56414         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56415         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56418         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56420         [BZ #14914]
56421         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56422         whole low double instead of just low 47 bits when splitting values
56423         into two parts.
56425 2012-12-03  Allan McRae  <allan@archlinux.org>
56427         * manual/stdio.texi (Predefined Printf Handlers): Remove
56428         @hsep and @vsep usage.
56430 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56432         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56433         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56435 2012-12-03  Jeff Law  <law@redhat.com>
56437         * time/sys/time.h (settimeofday): Do not mark TV argument
56438         as __nonnull.
56440 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56442         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56443         when currently writing and seek to current position when not.
56444         * libio/Makefile (tests): Remove bug-fclose1.
56445         * libio/bug-fclose1.c: Delete.
56447 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56449         * manual/arith.texi (feenableexcept): Fix typo.
56450         (fedisableexcept): Likewise.
56452 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56454         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56455         second, differently-typed declaration, rather than a cast.
56457 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56459         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56460         * include/rpc/svc.h: ... here.
56462 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56464         [BZ #13013]
56465         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56466         depending n and resplen2 to catch cases where answer
56467         equals answerp2.
56469 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56471         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56472         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56474 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56478 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56480         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56482 2012-11-28  Jeff Law  <law@redhat.com>
56484         [BZ #13761]
56485         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56486         dataset_temporary.  Track alloca usage into alloca_used.
56487         If dataset is large allocate and release it via malloc/free.
56489 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56491         [BZ #14197]
56492         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56494 2012-11-28  David S. Miller  <davem@davemloft.net>
56496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56498 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56500         [BZ #14803]
56501         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56502         of pi/2 rounded to nearest to 64 bits.
56503         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56504         nearest to 64 bits.
56505         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56506         bits.
56508 2012-11-28  Jeff Law <law@redhat.com>
56509             Martin Osvald <mosvald@redhat.com>
56511         [BZ #14889]
56512         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56513         * sunrpc/svc.c: Include time.h.
56514         (__svc_accept_failed): New function.
56515         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56516         any reason other than EINTR, call __svc_accept_failed.
56517         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56518         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56520 2012-11-28  Andreas Schwab  <schwab@suse.de>
56522         * scripts/abilist.awk: Also handle indirect functions in .opd
56523         section.
56525 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56527         [BZ #13881]
56528         * sysdeps/x86/fpu/powl_helper.c: New file.
56529         * sysdeps/x86/fpu/Makefile: Likewise.
56530         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56531         (p3): New object.
56532         (__ieee754_powl): Use __powl_helper for finite arguments except
56533         integer exponents below 8.
56534         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56535         (p3): New object.
56536         (__ieee754_powl): Use __powl_helper for finite arguments except
56537         integer exponents below 8.
56538         * math/libm-test.inc (pow_test): Add more tests and enable some
56539         previously disabled tests.
56540         * sysdeps/i386/fpu/libm-test-ulps: Update.
56541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56543 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56544             Carlos O'Donell  <carlos_odonell@mentor.com>
56546         * nss/makedb.c (is_prime): Assert that input is odd and greater
56547         than 4.  Note that fact in a comment too.
56548         (next_prime): Add 4 to input.
56550 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56552         [BZ #11741]
56553         * libio/Makefile (tests): Add test case tst-fwrite-error.
56554         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56555         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56556         * libio/tst-fwrite-error.c: New test case.
56558 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56560         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56561         before casting to void *.
56562         * include/libc-internal.h (__pointer_type): New macro.
56563         (__integer_if_pointer_type_sub): Likewise.
56564         (__integer_if_pointer_type): Likewise.
56565         (cast_to_integer): Likewise.
56566         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56567         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56568         before casting to atomic64_t.
56569         (atomic_exchange_acq): Likewise.
56570         (__arch_exchange_and_add_body): Likewise.
56571         (__arch_add_body): Likewise.
56572         (atomic_add_negative): Likewise.
56573         (atomic_add_zero): Likewise.
56575 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56577         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56578         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56579         (add_fdes): Likewise.
56580         (linear_search_fdes): Likewise.
56581         (binary_search_unencoded_fdes): Likewise.
56583 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56585         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56587 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56589         * configure.in: Autodetect C++ header directories.
56590         * configure: Regenerated.
56592 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56594         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56596 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56600 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56602         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56603         LDBL_MANT_DIG == 106]: Disable some tests.
56604         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56605         Likewise.
56606         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56607         Likewise.
56609         [BZ #14871]
56610         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56611         input for small inputs.  Return +/- pi/2 for large inputs.
56612         * math/libm-test.inc (atan_test): Add more tests.
56614         * sysdeps/generic/unwind-dw2-fde-glibc.c
56615         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56616         __attribute__ ((unused)).
56618         [BZ #14645]
56619         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56620         x * y if x and y are nonzero and z is zero.
56622         [BZ #14811]
56623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56624         nonzero exponents with absolute value below 0x1p-117 to +/-
56625         0x1p-117.
56627         [BZ #14869]
56628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56629         up arguments below 2**-450, not just those below 2**-500.
56630         * math/libm-test.inc (hypot_test): Add another test.
56632         [BZ #14868]
56633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56634         Return a+b for ratio over 2**120, not 2**60.
56635         * math/libm-test.inc (hypot_test): Add another test.
56637         * math/libm-test.inc (clog_test): Use
56638         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56639         (clog10_test): Likewise.
56641         [BZ #6778]
56642         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56644 2012-11-22  Andreas Schwab  <schwab@suse.de>
56646         * sysdeps/i386/fpu/libm-test-ulps: Update.
56648 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56650         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56651         printf output with newline.
56653 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56655         [BZ #14865]
56656         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56657         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56658         -z nodlopen, -z initfirst and -z execstack support.
56659         * configure: Regenerated.
56661         * elf/elf.h (DF_1_NODIRECT): New macro.
56662         (DF_1_IGNMULDEF): Likewise.
56663         (DF_1_NOKSYMS): Likewise.
56664         (DF_1_NOHDR): Likewise.
56665         (DF_1_EDITED): Likewise.
56666         (DF_1_NORELOC): Likewise.
56667         (DF_1_SYMINTPOSE): Likewise.
56668         (DF_1_GLOBAUDIT): Likewise.
56669         (DF_1_SINGLETON): Likewise.
56670         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56671         DT_1_SUPPORTED_MASK bits.
56672         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56674 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56676         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56678 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56680         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56681         macro.
56683         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56684         (sendmmsg): Move declarations...
56685         * socket/sys/socket.h: ... here.
56686         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56687         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56688         include it from...
56689         * socket/recvmmsg.c: ... this new file.
56690         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56691         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56692         definition of __sendmmsg hidden.
56693         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56694         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56695         Move ENOSYS stub into and include it from...
56696         * socket/sendmmsg.c: ... this new file.
56697         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56698         (sysdep_routines): Move recvmmsg and sendmmsg...
56699         * socket/Makefile (routines): ... here.
56700         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56701         (GLIBC_PRIVATE): Add __sendmmsg.
56702         * include/sys/socket.h (__sendmmsg): Add declarations.
56703         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56704         sendmmsg.
56706 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56708         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56709         variable I1 with __attribute__ ((unused)).
56710         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56712 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56714         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56715         DUMMY variables with __attribute__ ((unused)).
56717         * bits/byteswap.h: Include <bits/types.h>.
56718         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56720 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56722         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56723         string_t.  Do not manually set errno.
56724         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56725         length with __strnlen.  Make sure to both set errno and return it on
56726         failure.
56728 2012-11-19  David S. Miller  <davem@davemloft.net>
56730         With help from Joseph Myers.
56731         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56732         very large arguments properly.
56733         * math/libm-test.inc (atan_test): New tests.
56734         (atan2_test): New tests.
56735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56738 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56740         [BZ #14856]
56741         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56742         Define to 3.
56744         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56745         [POSIX] (EADDRNOTAVAIL): Likewise.
56746         [POSIX] (EAFNOSUPPORT): Likewise.
56747         [POSIX] (EALREADY): Likewise.
56748         [POSIX] (ECONNABORTED): Likewise.
56749         [POSIX] (ECONNREFUSED): Likewise.
56750         [POSIX] (ECONNRESET): Likewise.
56751         [POSIX] (EDESTADDRREQ): Likewise.
56752         [POSIX] (EDQUOT): Likewise.
56753         [POSIX] (EHOSTUNREACH): Likewise.
56754         [POSIX] (EIDRM): Likewise.
56755         [POSIX] (EISCONN): Likewise.
56756         [POSIX] (ELOOP): Likewise.
56757         [POSIX] (EMULTIHOP): Likewise.
56758         [POSIX] (ENETDOWN): Likewise.
56759         [POSIX] (ENETUNREACH): Likewise.
56760         [POSIX] (ENOBUFS): Likewise.
56761         [POSIX] (ENODATA): Likewise.
56762         [POSIX] (ENOLINK): Likewise.
56763         [POSIX] (ENOMSG): Likewise.
56764         [POSIX] (ENOPROTOOPT): Likewise.
56765         [POSIX] (ENOSR): Likewise.
56766         [POSIX] (ENOSTR): Likewise.
56767         [POSIX] (ENOTCONN): Likewise.
56768         [POSIX] (ENOTSOCK): Likewise.
56769         [POSIX] (EOPNOTSUPP): Likewise.
56770         [POSIX] (EOVERFLOW): Likewise.
56771         [POSIX] (EPROTO): Likewise.
56772         [POSIX] (EPROTONOSUPPORT): Likewise.
56773         [POSIX] (EPROTOTYPE): Likewise.
56774         [POSIX] (ESTALE): Likewise.
56775         [POSIX] (ETIME): Likewise.
56776         [POSIX] (ETXTBSY): Likewise.
56777         [POSIX] (EWOULDBLOCK): Likewise.
56778         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56779         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56780         [POSIX] (SEEK_CUR): Likewise.
56781         [POSIX] (SEEK_END): Likewise.
56782         [POSIX || UNIX98] (mode_t): Do not require.
56783         [POSIX] (off_t): Likewise.
56784         [POSIX] (pid_t): Likewise.
56785         [POSIX] (sys/stat.h): Do not allow header.
56786         [POSIX] (unistd.h): Likewise.
56787         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56788         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56789         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56790         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56791         require.
56792         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56793         sigevent): Specify elements.
56794         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56795         entry.
56796         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56797         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56799         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56800         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56801         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56802         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56803         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56804         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56805         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56806         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56807         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56808         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56809         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56810         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56811         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56813         Likewise.
56814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56815         Likewise.
56816         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56817         Likewise.
56818         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56819         Likewise.
56820         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56821         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56822         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56823         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56824         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56825         Specify lower bound on value.
56826         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56827         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56828         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56829         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56830         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56831         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56832         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56833         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56834         value.
56835         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56836         as optional.
56837         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56838         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56839         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56840         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56841         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56842         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56843         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56844         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56845         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56846         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56847         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56848         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56849         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56850         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56851         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56852         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56853         entry.
56854         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56855         optional.
56856         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56857         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56858         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56859         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56860         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56861         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56862         Likewise.
56863         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56864         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56865         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56866         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56867         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56868         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56869         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56870         as optional.
56871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56872         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56873         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56874         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56875         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56876         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56877         specify as optional.
56878         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56879         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56880         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56881         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56882         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56883         [XPG3] (NL_LANGMAX): Likewise.
56884         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56885         [POSIX || XPG3] (NL_NMAX): Likewise.
56886         [POSIX || XPG3] (NL_SETMAX): Likewise.
56887         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56888         [XPG3] (NZERO): Likewise.
56889         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56890         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56891         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56892         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56893         (REG_ERANGE): Expect.
56894         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56895         optional-constant.
56896         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56897         Use (void) in prototype.
56898         [POSIX] (*_t): Allow.
56899         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56900         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56901         (WRDE_BADVAL): Expect.
56903         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56904         expect.
56905         [XPG3 || XPG4] (O_RSYNC): Likewise.
56906         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56907         Likewise.
56908         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56909         [XPG3 || XPG4] (sigqueue): Likewise.
56910         [XPG3 || XPG4] (sigtimedwait): Likewise.
56911         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56912         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56913         [XPG3 || XPG4] (vsnprintf): Likewise.
56914         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56915         Likewise.
56916         [XPG3 || XPG4] (blksize_t): Likewise.
56917         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56918         Likewise.
56919         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56920         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56921         [XPG3 || XPG4] (struct itimerspec): Likewise.
56922         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56923         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56924         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56925         [XPG3 || XPG4] (clockid_t): Likewise.
56926         [XPG3 || XPG4] (timer_t): Likewise.
56927         [XPG3 || XPG4] (clock_getres): Likewise.
56928         [XPG3 || XPG4] (clock_gettime): Likewise.
56929         [XPG3 || XPG4] (clock_settime): Likewise.
56930         [XPG3 || XPG4] (nanosleep): Likewise.
56931         [XPG3 || XPG4] (timer_create): Likewise.
56932         [XPG3 || XPG4] (timer_delete): Likewise.
56933         [XPG3 || XPG4] (timer_gettime): Likewise.
56934         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56935         [XPG3 || XPG4] (timer_settime): Likewise.
56936         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56937         [XPG3 || XPG4] (getlogin_r): Likewise.
56938         [XPG3 || XPG4] (pread): Likewise.
56939         [XPG3 || XPG4] (pthread_atfork): Likewise.
56940         [XPG3 || XPG4] (pwrite): Likewise.
56942         [BZ #14835]
56943         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56944         <bits/siginfo.h>.
56946 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56948         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56949         finalizing MALLSTREAM.
56951         * sysdeps/mach/hurd/syncfs.c: New file.
56953 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56955         [BZ #14719]
56956         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56957         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56959         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56960         (_nss_dns_gethostbyname4_r): Likewise.
56961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56962         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56964 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56966         [BZ #13763]
56967         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56969 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56971         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56972         * elf/cache.c (print_entry): Print ",AArch64" for
56973         FLAG_AARCH64_LIB64
56975         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56976         * elf/cache.c (print_entry): Print ",hard-float" for
56977         FLAG_ARM_LIBHF.
56979 2012-11-18  David S. Miller  <davem@davemloft.net>
56981         With help from Joseph Myers.
56982         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56983         cutoff to 2**-13.
56984         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56985         cutoff to 2**-25.
56986         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56987         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56988         small.
56989         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56990         * math/libm-test.inc (y0_test): New tests.
56991         (y1_test): New tests.
56992         * sysdeps/i386/fpu/libm-test-ulps: Update.
56993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56996 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56998         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56999         64-bit targets.
57000         * configure: Regenerated.
57002 2012-11-17  David S. Miller  <davem@davemloft.net>
57004         [BZ #14811]
57005         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57006         nonzero exponents with absolute value below 0x1p-128 to +/-
57007         0x1p-128.
57009 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57011         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57013         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57015         * posix/getconf-speclist.c: New file.
57016         * posix/posix-envs.def: Likewise.
57017         * posix/confstr.c (START_ENV_GROUP): New macro.
57018         (END_ENV_GROUP): Likewise.
57019         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57020         (KNOWN_PRESENT_ENV_STRING): Likewise.
57021         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57022         (UNKNOWN_ENVIRONMENT): Likewise.
57023         (confstr): Include posix-envs.def instead of handling
57024         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57025         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57026         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57027         (END_ENV_GROUP): Likewise.
57028         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57029         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57030         (UNKNOWN_ENVIRONMENT): Likewise.
57031         (__sysconf): Include posix-envs.def instead of handling associated
57032         cases directly here.
57033         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57034         preprocessing getconf-speclist.c rather than running getconf or
57035         generating empty file.
57037 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57039         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57041 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57043         [BZ #14672]
57044         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57046 2012-11-16  David S. Miller  <davem@davemloft.net>
57048         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57049         smaller than LDBL_EPSILON/2.0L, just return xm1.
57051 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57053         * elf/tst-array1.c (init): Set constructor priority to 1000.
57054         (fini): Set destructor priority to 1000.
57055         * elf/tst-array2dep.c: Likewise.
57057 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57059         [BZ #11741]
57060         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57061         (_IO_new_file_xsputn): Also return EOF if none of the input
57062         data was written when overflow failed.
57063         * libio/iopadn.c (_IO_padn): Likewise.
57064         * libio/iowpadn.c (_IO_wpadn): Likewise.
57065         * stdio-common/tst-put-error.c: Add copyright notice.
57066         (do_test): Add case for printing padded string.
57067         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57068         _IO_padn returned error.
57069         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57070         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57071         return EOF.
57073 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57075         * libio/libioP.h: Add comment note that the references to C++
57076         bits are now obsolete.
57078 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57080         * math/libm-test.inc (check_complex): Use asprintf.
57082 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57084         * debug/pcprofiledump.c (print_version): Update copyright year.
57085         * malloc/memusagestat.c (print_version): Likewise.
57087 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57089         [BZ #14831]
57090         * elf/Makefile (tests): Add tst-audit8.
57091         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57092         ($(objpfx)tst-audit8.out): New target.
57093         (tst-audit8-ENV): New variable.
57094         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57095         audit if l_reloc_result is NULL.
57096         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57097         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57098         * elf/tst-audit8.c: New file.
57100 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57102         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57103         * misc/Makefile (CFLAGS-select.c): Define.
57104         * posix/Makefile (CFLAGS-pause.c): Define.
57106 2012-11-13  David S. Miller  <davem@davemloft.net>
57108         * crypt/Makefile: Move test targets after toplevel Rules
57109         inclusion.  Grab any necessary sysdep routines when linking.
57110         * crypt/md5.c (md5_process_block): Remove define, we will always
57111         name it __md5_process_block.
57112         (md5_finish_ctx): Update md5_process_block call.
57113         (md5_stream): Likewise.
57114         (md5_process_bytes): Likewise.
57115         (md5_process_block): Rename to __md5_process_block and move to ...
57116         * crypt/md5-block.c: ... here.
57117         * crypt/sha256.c (sha256_process_block): Move to ...
57118         * crypt/sha256-block.c: ... here.
57119         * crypt/sha512.c (sha512_process_block): Move to ...
57120         * crypt/sha512-block.c: ... here.
57121         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57122         path.
57123         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57124         * sysdeps/sparc/sparc64/multiarch/Makefile
57125         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57126         crypt subdir.
57127         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57128         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57129         multiarch changes.
57130         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57131         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57132         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57133         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57134         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57135         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57136         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57137         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57138         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57139         file.
57140         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57141         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57142         file.
57143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57145 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57147         * timezone/tzselect.ksh: Update from tzcode git revision
57148         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57149         * timezone/zdump.c: Likewise.
57150         * timezone/zic.c: Likewise.
57151         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57152         in TZVERSION setting, not $(PKGVERSION).
57153         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57154         REPORT_BUGS_TO settings.
57156         [BZ #14838]
57157         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57158         macro.
57160 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57162         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57163         detection to immediately after _FP_ROUND().
57164         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57165         bits are 0.
57167 2012-11-11  David S. Miller  <davem@davemloft.net>
57169         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57170         inttypes.h
57171         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57172         __close rather than their public counterparts.
57174 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57176         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57177         file.
57178         [UNIX98] (sem_timedwait): Do not expect.
57179         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57180         [XPG4 || UNIX98] (sockatmark): Do not expect.
57181         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57182         (clock_getcpuclockid): Do not expect.
57183         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57184         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57185         Do not expect.
57186         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57187         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57188         [UNIX98] (vwscanf): Likewise.
57189         [UNIX98] (vswscanf): Likewise.
57191 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57193         * timezone/version.h: Remove file.
57194         * timezone/README: Do not refer to version.h.
57195         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57196         $(objpfx)version.h.
57197         ($(objpfx)zdump.o): Likewise.
57198         ($(objpfx)version.h): New target.
57200         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57201         2012i.
57202         * timezone/README: Don't mention modification to tzselect.ksh.
57203         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57204         work on unmodified tzselect.ksh.  Substitute version numbers in
57205         tzselect.ksh.
57207         * Makefile (format-me): Remove.
57208         (INSTALL): Adjust indentation.  Use commands directly instead of
57209         using $(format-me).
57211         * aclocal.m4 (ACX_PKGVERSION): New macro.
57212         (ACX_BUGURL): Likewise.
57213         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57214         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57215         (REPORT_BUGS_TO): Likewise.
57216         * configure: Regenerated.
57217         * config.h.in (PKGVERSION): New macro.
57218         (REPORT_BUGS_TO): Likewise.
57219         * config.make.in (PKGVERSION): New variable.
57220         (PKGVERSION_TEXI): Likewise.
57221         (REPORT_BUGS_TO): Likewise.
57222         (REPORT_BUGS_TEXI): Likewise.
57223         * Makefile (format-me): Use -I$(common-objpfx)manual.
57224         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57225         ($(common-objpfx)manual/%): New target.
57226         (manual/%): Remove target.
57227         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57228         (print_version): Use PKGVERSION.
57229         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57230         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57231         and REPORT_BUGS_TO.
57232         ($(objpfx)xtrace): Likewise.
57233         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57234         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57235         (print_version): Use PKGVERSION.
57236         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57237         (do_version): Use PKGVERSION.
57238         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57239         REPORT_BUGS_TO.
57240         (common-ldd-rewrite): Likewise.
57241         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57242         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57243         (print_version): Use PKGVERSION.
57244         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57245         * elf/pldd.c (argp_program_bug_address): Remove variable.
57246         (more_help): New function.
57247         (argp): Use more_help.
57248         (print_version): Use PKGVERSION.
57249         * elf/sln.c (main): Use PKGVERSION.
57250         (usage): Use REPORT_BUGS_TO.
57251         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57252         (top level): Use PKGVERSION.
57253         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57254         (print_version): Use PKGVERSION.
57255         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57256         (print_version): Use PKGVERSION.
57257         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57258         (print_version): Use PKGVERSION.
57259         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57260         (print_version): Use PKGVERSION.
57261         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57262         (print_version): Use PKGVERSION.
57263         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57264         (print_version): Use PKGVERSION.
57265         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57266         and BUGURL.
57267         ($(objpfx)memusage): Likewise.
57268         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57269         (do_version): Use PKGVERSION.
57270         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57271         (print_version): Use PKGVERSION.
57272         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57273         ($PKGVERSION): New variable.
57274         ($REPORT_BUGS_TO): Likewise.
57275         (usage): Use $REPORT_BUGS_TO.
57276         (top level): Use $PKGVERSION.
57277         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57278         ($(objpfx)pkgvers.texi): New rule.
57279         ($(objpfx)stamp-pkgvers): Likewise.
57280         * manual/install.texi: Include pkgvers.texi.
57281         (--with-pkgversion): Document new configure option.
57282         (--with-bugurl): Likewise.
57283         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57284         than necessarily for this particular distribution.  Use
57285         REPORT_BUGS_TO for where to report bugs.
57286         * INSTALL: Regenerated.
57287         * manual/libc.texinfo: Include pkgvers.texi.
57288         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57289         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57290         (print_version): Use PKGVERSION.
57291         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57292         (print_version): Use PKGVERSION.
57293         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57294         (print_version): Use PKGVERSION.
57295         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57296         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57297         macro.
57298         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57299         (print_version): Use PKGVERSION.
57300         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57301         (print_version): Use PKGVERSION.
57302         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57303         and PKGVERSION.
57305         * timezone/checktab.awk: Update from tzcode 2012i.
57306         * timezone/ialloc.c: Likewise.
57307         * timezone/private.h: Likewise.
57308         * timezone/scheck.c: Likewise.
57309         * timezone/tzfile.h: Likewise.
57310         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57311         (TZVERSION): Hardcode tzcode version number.
57312         * timezone/zdump.c: Update from tzcode 2012i.
57313         * timezone/zic.c: Likewise.
57314         * timezone/version.h: New file.
57315         * timezone/README: Describe version.h.  Update upstream location.
57317         [BZ #14824]
57318         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57319         (mktemp): Enable declaration.
57320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57324         Likewise.
57325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57326         Likewise.
57327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57328         Likewise.
57329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57330         Likewise.
57331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57332         Likewise.
57333         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57334         Likewise.
57336         [BZ #14821]
57337         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57338         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57339         for copies of such integer values.
57340         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57341         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57343 2012-11-09  Andreas Jaeger  <aj@suse.de>
57345         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57346         definitions and declarations that are provided by
57347         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57349 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57351         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57352         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57353         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57354         definition.
57356 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57358         * elf/elf.h: Update comment before AArch64 relocations.
57360 2012-11-07  David S. Miller  <davem@davemloft.net>
57362         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57363         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57364         (__start_context): Declare.
57365         (__makecontext_ret): Delete.
57366         (__makecontext): Hook up __start_context instead of
57367         __makecontext_ret.
57368         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57369         (sysdep_routines): Add __start_context when in stdlib.
57371 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57373         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57374         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57375         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57376         hardcoded "nm".
57377         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57378         (READELF): New variable.  Use it instead of hardcoded "readelf".
57380 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57382         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57383         * sysdeps/x86/Makefile: Here.
57384         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57385         * sysdeps/x86/tst-xmmymm.sh: This.
57387 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57389         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57390         expectations.
57391         [UNIX98] (pthread_barrier_t): Do not expect.
57392         [UNIX98] (pthread_barrierattr_t): Likewise.
57393         [UNIX98] (pthread_spinlock_t): Likewise.
57394         [UNIX98] (pthread_barrier_destroy): Likewise.
57395         [UNIX98] (pthread_barrier_init): Likewise.
57396         [UNIX98] (pthread_barrier_wait): Likewise.
57397         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57398         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57399         [UNIX98] (pthread_barrierattr_init): Likewise.
57400         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57401         [UNIX98] (pthread_getcpuclockid): Likewise.
57402         [UNIX98] (pthread_mutex_timedlock): Likewise.
57403         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57404         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57405         [UNIX98] (pthread_sigmask): Likewise.
57406         [UNIX98] (pthread_spin_destroy): Likewise.
57407         [UNIX98] (pthread_spin_init): Likewise.
57408         [UNIX98] (pthread_spin_lock): Likewise.
57409         [UNIX98] (pthread_spin_trylock): Likewise.
57410         [UNIX98] (pthread_spin_unlock): Likewise.
57411         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57412         Do not expect.
57413         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57414         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57415         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57416         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57417         [XPG3 || XPG4] (pthread_key_t): Likewise.
57418         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57419         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57420         [XPG3 || XPG4] (pthread_once_t): Likewise.
57421         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57422         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57423         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57424         [XPG3 || XPG4] (pthread_t): Likewise.
57426         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57427         not expect.
57428         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57430         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57431         Change function return type to int.
57433         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57434         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57435         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57436         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57437         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57438         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57439         [!POSIX] (posix_madvise): Likewise.
57440         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57441         && !UNIX98].
57442         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57443         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57444         (mode_t): Likewise.
57445         (posix_mem_offset): Likewise.
57446         (posix_typed_mem_get_info): Likewise.
57447         (posix_typed_mem_open): Likewise.
57449         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57450         Change condition to [XOPEN2K8].
57452         * conform/conformtest.pl: Preprocess allow-header data with -x c
57453         instead of from stdin.
57454         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57455         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57456         [C99-based standards] (cerfc): Likewise.
57457         [C99-based standards] (cexp2): Likewise.
57458         [C99-based standards] (cexpm1): Likewise.
57459         [C99-based standards] (clog10): Likewise.
57460         [C99-based standards] (clog1p): Likewise.
57461         [C99-based standards] (clog2): Likewise.
57462         [C99-based standards] (clgamma): Likewise.
57463         [C99-based standards] (ctgamma): Likewise.
57464         [C99-based standards] (cerff): Likewise.
57465         [C99-based standards] (cerfcf): Likewise.
57466         [C99-based standards] (cexp2f): Likewise.
57467         [C99-based standards] (cexpm1f): Likewise.
57468         [C99-based standards] (clog10f): Likewise.
57469         [C99-based standards] (clog1pf): Likewise.
57470         [C99-based standards] (clog2f): Likewise.
57471         [C99-based standards] (clgammaf): Likewise.
57472         [C99-based standards] (ctgammaf): Likewise.
57473         [C99-based standards] (cerfl): Likewise.
57474         [C99-based standards] (cerfcl): Likewise.
57475         [C99-based standards] (cexp2l): Likewise.
57476         [C99-based standards] (cexpm1l): Likewise.
57477         [C99-based standards] (clog10l): Likewise.
57478         [C99-based standards] (clog1pl): Likewise.
57479         [C99-based standards] (clog2l): Likewise.
57480         [C99-based standards] (clgammal): Likewise.
57481         [C99-based standards] (ctgammal): Likewise.
57482         * conform/data/inttypes.h-data [C99-based standards]: Include
57483         stdint.h-data.  Remove all expectations for stdint.h contents.
57484         [C99-based standards] (PRI*): Do not allow.
57485         [C99-based standards] (SCN*): Likewise.
57486         [C99-based standards] (*_t): Likewise.
57487         [C99-based-standards] (PRId8): Expect macro.
57488         [C99-based-standards] (PRIi8): Likewise.
57489         [C99-based-standards] (PRIo8): Likewise.
57490         [C99-based-standards] (PRIu8): Likewise.
57491         [C99-based-standards] (PRIx8): Likewise.
57492         [C99-based-standards] (PRIX8): Likewise.
57493         [C99-based-standards] (SCNd8): Likewise.
57494         [C99-based-standards] (SCNi8): Likewise.
57495         [C99-based-standards] (SCNo8): Likewise.
57496         [C99-based-standards] (SCNu8): Likewise.
57497         [C99-based-standards] (SCNx8): Likewise.
57498         [C99-based-standards] (PRIdLEAST8): Likewise.
57499         [C99-based-standards] (PRIiLEAST8): Likewise.
57500         [C99-based-standards] (PRIoLEAST8): Likewise.
57501         [C99-based-standards] (PRIuLEAST8): Likewise.
57502         [C99-based-standards] (PRIxLEAST8): Likewise.
57503         [C99-based-standards] (PRIXLEAST8): Likewise.
57504         [C99-based-standards] (SCNdLEAST8): Likewise.
57505         [C99-based-standards] (SCNiLEAST8): Likewise.
57506         [C99-based-standards] (SCNoLEAST8): Likewise.
57507         [C99-based-standards] (SCNuLEAST8): Likewise.
57508         [C99-based-standards] (SCNxLEAST8): Likewise.
57509         [C99-based-standards] (PRIdFAST8): Likewise.
57510         [C99-based-standards] (PRIiFAST8): Likewise.
57511         [C99-based-standards] (PRIoFAST8): Likewise.
57512         [C99-based-standards] (PRIuFAST8): Likewise.
57513         [C99-based-standards] (PRIxFAST8): Likewise.
57514         [C99-based-standards] (PRIXFAST8): Likewise.
57515         [C99-based-standards] (SCNdFAST8): Likewise.
57516         [C99-based-standards] (SCNiFAST8): Likewise.
57517         [C99-based-standards] (SCNoFAST8): Likewise.
57518         [C99-based-standards] (SCNuFAST8): Likewise.
57519         [C99-based-standards] (SCNxFAST8): Likewise.
57520         [C99-based-standards] (PRId16): Likewise.
57521         [C99-based-standards] (PRIi16): Likewise.
57522         [C99-based-standards] (PRIo16): Likewise.
57523         [C99-based-standards] (PRIu16): Likewise.
57524         [C99-based-standards] (PRIx16): Likewise.
57525         [C99-based-standards] (PRIX16): Likewise.
57526         [C99-based-standards] (SCNd16): Likewise.
57527         [C99-based-standards] (SCNi16): Likewise.
57528         [C99-based-standards] (SCNo16): Likewise.
57529         [C99-based-standards] (SCNu16): Likewise.
57530         [C99-based-standards] (SCNx16): Likewise.
57531         [C99-based-standards] (PRIdLEAST16): Likewise.
57532         [C99-based-standards] (PRIiLEAST16): Likewise.
57533         [C99-based-standards] (PRIoLEAST16): Likewise.
57534         [C99-based-standards] (PRIuLEAST16): Likewise.
57535         [C99-based-standards] (PRIxLEAST16): Likewise.
57536         [C99-based-standards] (PRIXLEAST16): Likewise.
57537         [C99-based-standards] (SCNdLEAST16): Likewise.
57538         [C99-based-standards] (SCNiLEAST16): Likewise.
57539         [C99-based-standards] (SCNoLEAST16): Likewise.
57540         [C99-based-standards] (SCNuLEAST16): Likewise.
57541         [C99-based-standards] (SCNxLEAST16): Likewise.
57542         [C99-based-standards] (PRIdFAST16): Likewise.
57543         [C99-based-standards] (PRIiFAST16): Likewise.
57544         [C99-based-standards] (PRIoFAST16): Likewise.
57545         [C99-based-standards] (PRIuFAST16): Likewise.
57546         [C99-based-standards] (PRIxFAST16): Likewise.
57547         [C99-based-standards] (PRIXFAST16): Likewise.
57548         [C99-based-standards] (SCNdFAST16): Likewise.
57549         [C99-based-standards] (SCNiFAST16): Likewise.
57550         [C99-based-standards] (SCNoFAST16): Likewise.
57551         [C99-based-standards] (SCNuFAST16): Likewise.
57552         [C99-based-standards] (SCNxFAST16): Likewise.
57553         [C99-based-standards] (PRId32): Likewise.
57554         [C99-based-standards] (PRIi32): Likewise.
57555         [C99-based-standards] (PRIo32): Likewise.
57556         [C99-based-standards] (PRIu32): Likewise.
57557         [C99-based-standards] (PRIx32): Likewise.
57558         [C99-based-standards] (PRIX32): Likewise.
57559         [C99-based-standards] (SCNd32): Likewise.
57560         [C99-based-standards] (SCNi32): Likewise.
57561         [C99-based-standards] (SCNo32): Likewise.
57562         [C99-based-standards] (SCNu32): Likewise.
57563         [C99-based-standards] (SCNx32): Likewise.
57564         [C99-based-standards] (PRIdLEAST32): Likewise.
57565         [C99-based-standards] (PRIiLEAST32): Likewise.
57566         [C99-based-standards] (PRIoLEAST32): Likewise.
57567         [C99-based-standards] (PRIuLEAST32): Likewise.
57568         [C99-based-standards] (PRIxLEAST32): Likewise.
57569         [C99-based-standards] (PRIXLEAST32): Likewise.
57570         [C99-based-standards] (SCNdLEAST32): Likewise.
57571         [C99-based-standards] (SCNiLEAST32): Likewise.
57572         [C99-based-standards] (SCNoLEAST32): Likewise.
57573         [C99-based-standards] (SCNuLEAST32): Likewise.
57574         [C99-based-standards] (SCNxLEAST32): Likewise.
57575         [C99-based-standards] (PRIdFAST32): Likewise.
57576         [C99-based-standards] (PRIiFAST32): Likewise.
57577         [C99-based-standards] (PRIoFAST32): Likewise.
57578         [C99-based-standards] (PRIuFAST32): Likewise.
57579         [C99-based-standards] (PRIxFAST32): Likewise.
57580         [C99-based-standards] (PRIXFAST32): Likewise.
57581         [C99-based-standards] (SCNdFAST32): Likewise.
57582         [C99-based-standards] (SCNiFAST32): Likewise.
57583         [C99-based-standards] (SCNoFAST32): Likewise.
57584         [C99-based-standards] (SCNuFAST32): Likewise.
57585         [C99-based-standards] (SCNxFAST32): Likewise.
57586         [C99-based-standards] (PRId64): Likewise.
57587         [C99-based-standards] (PRIi64): Likewise.
57588         [C99-based-standards] (PRIo64): Likewise.
57589         [C99-based-standards] (PRIu64): Likewise.
57590         [C99-based-standards] (PRIx64): Likewise.
57591         [C99-based-standards] (PRIX64): Likewise.
57592         [C99-based-standards] (SCNd64): Likewise.
57593         [C99-based-standards] (SCNi64): Likewise.
57594         [C99-based-standards] (SCNo64): Likewise.
57595         [C99-based-standards] (SCNu64): Likewise.
57596         [C99-based-standards] (SCNx64): Likewise.
57597         [C99-based-standards] (PRIdLEAST64): Likewise.
57598         [C99-based-standards] (PRIiLEAST64): Likewise.
57599         [C99-based-standards] (PRIoLEAST64): Likewise.
57600         [C99-based-standards] (PRIuLEAST64): Likewise.
57601         [C99-based-standards] (PRIxLEAST64): Likewise.
57602         [C99-based-standards] (PRIXLEAST64): Likewise.
57603         [C99-based-standards] (SCNdLEAST64): Likewise.
57604         [C99-based-standards] (SCNiLEAST64): Likewise.
57605         [C99-based-standards] (SCNoLEAST64): Likewise.
57606         [C99-based-standards] (SCNuLEAST64): Likewise.
57607         [C99-based-standards] (SCNxLEAST64): Likewise.
57608         [C99-based-standards] (PRIdFAST64): Likewise.
57609         [C99-based-standards] (PRIiFAST64): Likewise.
57610         [C99-based-standards] (PRIoFAST64): Likewise.
57611         [C99-based-standards] (PRIuFAST64): Likewise.
57612         [C99-based-standards] (PRIxFAST64): Likewise.
57613         [C99-based-standards] (PRIXFAST64): Likewise.
57614         [C99-based-standards] (SCNdFAST64): Likewise.
57615         [C99-based-standards] (SCNiFAST64): Likewise.
57616         [C99-based-standards] (SCNoFAST64): Likewise.
57617         [C99-based-standards] (SCNuFAST64): Likewise.
57618         [C99-based-standards] (SCNxFAST64): Likewise.
57619         [C99-based-standards] (PRIdMAX): Likewise.
57620         [C99-based-standards] (PRIiMAX): Likewise.
57621         [C99-based-standards] (PRIoMAX): Likewise.
57622         [C99-based-standards] (PRIuMAX): Likewise.
57623         [C99-based-standards] (PRIxMAX): Likewise.
57624         [C99-based-standards] (PRIXMAX): Likewise.
57625         [C99-based-standards] (SCNdMAX): Likewise.
57626         [C99-based-standards] (SCNiMAX): Likewise.
57627         [C99-based-standards] (SCNoMAX): Likewise.
57628         [C99-based-standards] (SCNuMAX): Likewise.
57629         [C99-based-standards] (SCNxMAX): Likewise.
57630         [C99-based-standards] (PRIdPTR): Likewise.
57631         [C99-based-standards] (PRIiPTR): Likewise.
57632         [C99-based-standards] (PRIoPTR): Likewise.
57633         [C99-based-standards] (PRIuPTR): Likewise.
57634         [C99-based-standards] (PRIxPTR): Likewise.
57635         [C99-based-standards] (PRIXPTR): Likewise.
57636         [C99-based-standards] (SCNdPTR): Likewise.
57637         [C99-based-standards] (SCNiPTR): Likewise.
57638         [C99-based-standards] (SCNoPTR): Likewise.
57639         [C99-based-standards] (SCNuPTR): Likewise.
57640         [C99-based-standards] (SCNxPTR): Likewise.
57641         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57642         allow.
57643         * conform/data/stdint.h-data: Update comments to clarify
57644         requirements.
57645         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57646         type.
57647         [C99-based standards] (INT8_MAX): Likewise.
57648         [C99-based standards] (INT16_MIN): Likewise.
57649         [C99-based standards] (INT16_MAX): Likewise.
57650         [C99-based standards] (INT32_MIN): Likewise.
57651         [C99-based standards] (INT32_MAX): Likewise.
57652         [C99-based standards] (INT64_MIN): Likewise.
57653         [C99-based standards] (INT64_MAX): Likewise.
57654         [C99-based standards] (UINT8_MAX): Likewise.
57655         [C99-based standards] (UINT16_MAX): Likewise.
57656         [C99-based standards] (UINT32_MAX): Likewise.
57657         [C99-based standards] (UINT64_MAX): Likewise.
57658         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57659         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57660         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57661         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57662         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57663         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57664         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57665         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57666         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57667         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57668         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57669         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57670         [C99-based standards] (INT_FAST8_MIN): Likewise.
57671         [C99-based standards] (INT_FAST8_MAX): Likewise.
57672         [C99-based standards] (INT_FAST16_MIN): Likewise.
57673         [C99-based standards] (INT_FAST16_MAX): Likewise.
57674         [C99-based standards] (INT_FAST32_MIN): Likewise.
57675         [C99-based standards] (INT_FAST32_MAX): Likewise.
57676         [C99-based standards] (INT_FAST64_MIN): Likewise.
57677         [C99-based standards] (INT_FAST64_MAX): Likewise.
57678         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57679         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57680         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57681         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57682         [C99-based standards] (INTPTR_MIN): Likewise.
57683         [C99-based standards] (INTPTR_MAX): Likewise.
57684         [C99-based standards] (UINTPTR_MAX): Likewise.
57685         [C99-based standards] (INTMAX_MIN): Likewise.
57686         [C99-based standards] (INTMAX_MAX): Likewise.
57687         [C99-based standards] (UINTMAX_MAX): Likewise.
57688         [C99-based standards] (PTRDIFF_MIN): Likewise.
57689         [C99-based standards] (PTRDIFF_MAX): Likewise.
57690         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57691         [C99-based standards] (SIZE_MAX): Likewise.
57692         [C99-based standards] (WCHAR_MAX): Likewise.
57693         [C99-based standards] (WINT_MAX): Likewise.
57694         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57695         constraint on value.
57696         [C99-based standards] (WCHAR_MIN): Likewise.
57697         [C99-based standards] (WINT_MIN): Likewise.
57698         [C99-based standards] (*_t): Allow.
57699         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57700         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57701         Include math.h-data and complex.h-data.  Remove all expectations
57702         of math.h and complex.h contents.
57703         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57704         at end of line.
57705         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57706         (struct tm): Expect tag.
57707         [C99-based-standards] (wcstof): Expect function.
57708         [C99-based-standards] (wcstold): Likewise.
57709         [C99-based-standards] (wcstoll): Likewise.
57710         [C99-based-standards] (wcstoull): Likewise.
57711         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57712         macro-int-constant.  Specify type.
57713         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57714         constraint on value.
57715         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57716         Specify type.
57717         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57718         Specify value.
57719         [ISO C standards]: Do not allow headers.
57720         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57721         wcs[abcdefghijklmnopqrstuvwxyz]*.
57722         [ISO C standards] (*_t): Do not allow.
57723         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57724         Expect function.
57725         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57726         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57727         Specify type.
57728         [ISO C standards]: Do not allow headers.
57729         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57730         is[abcdefghijklmnopqrstuvwxyz]*.
57731         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57732         to[abcdefghijklmnopqrstuvwxyz]*.
57733         [ISO C standards] (*_t): Do not allow.
57734         * conform/data/stdalign.h-data: New file.
57735         * conform/data/stdbool.h-data: Likewise.
57736         * conform/data/stdnoreturn.h-data: Likewise.
57738 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57740         [BZ #14815]
57741         * manual/filesys.texi (Directory Entries): Typo fix.
57742         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57744 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57746         * elf/elf.h (EM_AARCH64): New macro.
57747         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57748         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57749         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57750         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57751         (R_AARCH64_TLSDESC): Likewise.
57752         (NT_ARM_TLS): Likewise.
57753         (NT_ARM_HW_BREAK): Likewise.
57754         (NT_ARM_HW_WATCH): Likewise.
57756 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57758         [BZ #14811]
57759         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57760         (__ieee754_powl): Saturate nonzero exponents with absolute value
57761         below 0x1p-79 to +/- 0x1p-79.
57762         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57763         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57764         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57765         nonzero exponents with absolute value below 0x1p-32 to +/-
57766         0x1p-32.
57767         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57768         (__ieee754_powl): Saturate nonzero exponents with absolute value
57769         below 0x1p-79 to +/- 0x1p-79.
57770         * math/libm-test.inc (pow_test): Add more tests.
57772 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57774         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57775         _dl_s390_cap_flags with kernel. Increase string length.
57776         (_dl_s390_platforms): Add z196 and zEC12.
57778 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57780         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57781         Change XOPEN21K to XOPEN2K.
57783 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57785         * string/memmove.c: Use memcpy when possible.
57787 2012-11-06  Andreas Jaeger  <aj@suse.de>
57789         * po/eo.po: Update from translation team.
57791 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57793         [BZ #14793]
57794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57795         exponent and small x and y exponents, scale x or y up.  Increase
57796         by 2 the exponent used in scaling up.
57797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57799         * math/libm-test.inc (fma_test): Add more tests.
57800         (fma_test_towardzero): Likewise.
57801         (fma_test_downward): Likewise.
57802         (fma_test_upward): Likewise.
57804 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57806         [BZ #14805]
57807         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57808         fenv_t *.
57810         [BZ #14801]
57811         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57812         namespace for names of struct fields.
57813         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57814         fenv_t fields.
57815         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57816         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57818 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57820         [BZ #3665]
57821         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57823 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57825         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57826         PTR_DEMANGLE.
57828         [BZ #5246]
57829         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57830         PTR_DEMANGLE.
57832 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57834         [BZ #14797]
57835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57836         definitely overflow as x * y not x * y + z.
57837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57839         * math/libm-test.inc (fma_test): Add more tests.
57840         (fma_test_towardzero): Likewise.
57841         (fma_test_downward): Likewise.
57842         (fma_test_upward): Likewise.
57844 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57846         [BZ #157]
57848         * include/stub-tag.h: Remove file.
57849         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57850         '#include' of it.
57851         * manual/maint.texi (Porting): Don't reference it.
57852         * Makerules ($(objpfx)stubs): Likewise.
57853         * dirent/closedir.c: Don't include <stub-tag.h>.
57854         * dirent/dirfd.c: Likewise.
57855         * dirent/fdopendir.c: Likewise.
57856         * dirent/getdents.c: Likewise.
57857         * dirent/getdents64.c: Likewise.
57858         * dirent/opendir.c: Likewise.
57859         * dirent/readdir.c: Likewise.
57860         * dirent/readdir64.c: Likewise.
57861         * dirent/readdir64_r.c: Likewise.
57862         * dirent/readdir_r.c: Likewise.
57863         * dirent/rewinddir.c: Likewise.
57864         * dirent/seekdir.c: Likewise.
57865         * dirent/telldir.c: Likewise.
57866         * gmon/profil.c: Likewise.
57867         * grp/setgroups.c: Likewise.
57868         * inet/if_index.c: Likewise.
57869         * io/access.c: Likewise.
57870         * io/chdir.c: Likewise.
57871         * io/chmod.c: Likewise.
57872         * io/chown.c: Likewise.
57873         * io/close.c: Likewise.
57874         * io/dup.c: Likewise.
57875         * io/dup2.c: Likewise.
57876         * io/dup3.c: Likewise.
57877         * io/euidaccess.c: Likewise.
57878         * io/faccessat.c: Likewise.
57879         * io/fchdir.c: Likewise.
57880         * io/fchmod.c: Likewise.
57881         * io/fchmodat.c: Likewise.
57882         * io/fchown.c: Likewise.
57883         * io/fchownat.c: Likewise.
57884         * io/fcntl.c: Likewise.
57885         * io/flock.c: Likewise.
57886         * io/fstatfs.c: Likewise.
57887         * io/fstatfs64.c: Likewise.
57888         * io/fstatvfs.c: Likewise.
57889         * io/fstatvfs64.c: Likewise.
57890         * io/futimens.c: Likewise.
57891         * io/fxstat.c: Likewise.
57892         * io/fxstat64.c: Likewise.
57893         * io/fxstatat.c: Likewise.
57894         * io/fxstatat64.c: Likewise.
57895         * io/getcwd.c: Likewise.
57896         * io/isatty.c: Likewise.
57897         * io/lchmod.c: Likewise.
57898         * io/lchown.c: Likewise.
57899         * io/link.c: Likewise.
57900         * io/linkat.c: Likewise.
57901         * io/lseek.c: Likewise.
57902         * io/lseek64.c: Likewise.
57903         * io/lxstat64.c: Likewise.
57904         * io/mkdir.c: Likewise.
57905         * io/mkdirat.c: Likewise.
57906         * io/mkfifo.c: Likewise.
57907         * io/mkfifoat.c: Likewise.
57908         * io/open.c: Likewise.
57909         * io/open64.c: Likewise.
57910         * io/openat.c: Likewise.
57911         * io/openat64.c: Likewise.
57912         * io/pipe.c: Likewise.
57913         * io/pipe2.c: Likewise.
57914         * io/poll.c: Likewise.
57915         * io/posix_fadvise.c: Likewise.
57916         * io/posix_fadvise64.c: Likewise.
57917         * io/posix_fallocate.c: Likewise.
57918         * io/posix_fallocate64.c: Likewise.
57919         * io/read.c: Likewise.
57920         * io/readlink.c: Likewise.
57921         * io/readlinkat.c: Likewise.
57922         * io/rmdir.c: Likewise.
57923         * io/sendfile.c: Likewise.
57924         * io/sendfile64.c: Likewise.
57925         * io/statfs.c: Likewise.
57926         * io/statfs64.c: Likewise.
57927         * io/statvfs.c: Likewise.
57928         * io/statvfs64.c: Likewise.
57929         * io/symlink.c: Likewise.
57930         * io/symlinkat.c: Likewise.
57931         * io/ttyname.c: Likewise.
57932         * io/ttyname_r.c: Likewise.
57933         * io/umask.c: Likewise.
57934         * io/unlink.c: Likewise.
57935         * io/unlinkat.c: Likewise.
57936         * io/utime.c: Likewise.
57937         * io/utimensat.c: Likewise.
57938         * io/write.c: Likewise.
57939         * io/xmknod.c: Likewise.
57940         * io/xmknodat.c: Likewise.
57941         * io/xstat.c: Likewise.
57942         * io/xstat64.c: Likewise.
57943         * login/getpt.c: Likewise.
57944         * login/grantpt.c: Likewise.
57945         * login/unlockpt.c: Likewise.
57946         * math/e_acoshl.c: Likewise.
57947         * math/e_acosl.c: Likewise.
57948         * math/e_asinl.c: Likewise.
57949         * math/e_atan2l.c: Likewise.
57950         * math/e_atanhl.c: Likewise.
57951         * math/e_coshl.c: Likewise.
57952         * math/e_expl.c: Likewise.
57953         * math/e_fmodl.c: Likewise.
57954         * math/e_gammal_r.c: Likewise.
57955         * math/e_hypotl.c: Likewise.
57956         * math/e_j0l.c: Likewise.
57957         * math/e_j1l.c: Likewise.
57958         * math/e_jnl.c: Likewise.
57959         * math/e_lgammal_r.c: Likewise.
57960         * math/e_log10l.c: Likewise.
57961         * math/e_log2l.c: Likewise.
57962         * math/e_logl.c: Likewise.
57963         * math/e_powl.c: Likewise.
57964         * math/e_rem_pio2l.c: Likewise.
57965         * math/e_sinhl.c: Likewise.
57966         * math/e_sqrtl.c: Likewise.
57967         * math/fclrexcpt.c: Likewise.
57968         * math/fedisblxcpt.c: Likewise.
57969         * math/feenablxcpt.c: Likewise.
57970         * math/fegetenv.c: Likewise.
57971         * math/fegetexcept.c: Likewise.
57972         * math/fegetround.c: Likewise.
57973         * math/feholdexcpt.c: Likewise.
57974         * math/fesetenv.c: Likewise.
57975         * math/fesetround.c: Likewise.
57976         * math/feupdateenv.c: Likewise.
57977         * math/fgetexcptflg.c: Likewise.
57978         * math/fraiseexcpt.c: Likewise.
57979         * math/fsetexcptflg.c: Likewise.
57980         * math/ftestexcept.c: Likewise.
57981         * math/k_cosl.c: Likewise.
57982         * math/k_rem_pio2l.c: Likewise.
57983         * math/k_sinl.c: Likewise.
57984         * math/k_tanl.c: Likewise.
57985         * math/s_asinhl.c: Likewise.
57986         * math/s_atanl.c: Likewise.
57987         * math/s_cbrtl.c: Likewise.
57988         * math/s_erfl.c: Likewise.
57989         * math/s_expm1l.c: Likewise.
57990         * math/s_log1pl.c: Likewise.
57991         * math/s_tanhl.c: Likewise.
57992         * misc/acct.c: Likewise.
57993         * misc/brk.c: Likewise.
57994         * misc/chflags.c: Likewise.
57995         * misc/chroot.c: Likewise.
57996         * misc/fchflags.c: Likewise.
57997         * misc/fgetxattr.c: Likewise.
57998         * misc/flistxattr.c: Likewise.
57999         * misc/fremovexattr.c: Likewise.
58000         * misc/fsetxattr.c: Likewise.
58001         * misc/fsync.c: Likewise.
58002         * misc/ftruncate.c: Likewise.
58003         * misc/futimes.c: Likewise.
58004         * misc/futimesat.c: Likewise.
58005         * misc/getdomain.c: Likewise.
58006         * misc/getdtsz.c: Likewise.
58007         * misc/gethostid.c: Likewise.
58008         * misc/gethostname.c: Likewise.
58009         * misc/getloadavg.c: Likewise.
58010         * misc/getpagesize.c: Likewise.
58011         * misc/getsysstats.c: Likewise.
58012         * misc/getxattr.c: Likewise.
58013         * misc/gtty.c: Likewise.
58014         * misc/ioctl.c: Likewise.
58015         * misc/lgetxattr.c: Likewise.
58016         * misc/listxattr.c: Likewise.
58017         * misc/llistxattr.c: Likewise.
58018         * misc/lremovexattr.c: Likewise.
58019         * misc/lsetxattr.c: Likewise.
58020         * misc/lutimes.c: Likewise.
58021         * misc/madvise.c: Likewise.
58022         * misc/mincore.c: Likewise.
58023         * misc/mlock.c: Likewise.
58024         * misc/mlockall.c: Likewise.
58025         * misc/mmap.c: Likewise.
58026         * misc/mprotect.c: Likewise.
58027         * misc/msync.c: Likewise.
58028         * misc/munlock.c: Likewise.
58029         * misc/munlockall.c: Likewise.
58030         * misc/munmap.c: Likewise.
58031         * misc/preadv.c: Likewise.
58032         * misc/preadv64.c: Likewise.
58033         * misc/ptrace.c: Likewise.
58034         * misc/pwritev.c: Likewise.
58035         * misc/pwritev64.c: Likewise.
58036         * misc/readv.c: Likewise.
58037         * misc/reboot.c: Likewise.
58038         * misc/remap_file_pages.c: Likewise.
58039         * misc/removexattr.c: Likewise.
58040         * misc/revoke.c: Likewise.
58041         * misc/select.c: Likewise.
58042         * misc/setdomain.c: Likewise.
58043         * misc/setegid.c: Likewise.
58044         * misc/seteuid.c: Likewise.
58045         * misc/sethostid.c: Likewise.
58046         * misc/sethostname.c: Likewise.
58047         * misc/setregid.c: Likewise.
58048         * misc/setreuid.c: Likewise.
58049         * misc/setxattr.c: Likewise.
58050         * misc/sstk.c: Likewise.
58051         * misc/stty.c: Likewise.
58052         * misc/swapoff.c: Likewise.
58053         * misc/swapon.c: Likewise.
58054         * misc/sync.c: Likewise.
58055         * misc/syncfs.c: Likewise.
58056         * misc/syscall.c: Likewise.
58057         * misc/truncate.c: Likewise.
58058         * misc/ualarm.c: Likewise.
58059         * misc/usleep.c: Likewise.
58060         * misc/ustat.c: Likewise.
58061         * misc/utimes.c: Likewise.
58062         * misc/vhangup.c: Likewise.
58063         * misc/writev.c: Likewise.
58064         * posix/_exit.c: Likewise.
58065         * posix/alarm.c: Likewise.
58066         * posix/execve.c: Likewise.
58067         * posix/fexecve.c: Likewise.
58068         * posix/fork.c: Likewise.
58069         * posix/fpathconf.c: Likewise.
58070         * posix/getaddrinfo.c: Likewise.
58071         * posix/getegid.c: Likewise.
58072         * posix/geteuid.c: Likewise.
58073         * posix/getgid.c: Likewise.
58074         * posix/getgroups.c: Likewise.
58075         * posix/getlogin.c: Likewise.
58076         * posix/getlogin_r.c: Likewise.
58077         * posix/getpgid.c: Likewise.
58078         * posix/getpid.c: Likewise.
58079         * posix/getppid.c: Likewise.
58080         * posix/getresgid.c: Likewise.
58081         * posix/getresuid.c: Likewise.
58082         * posix/getsid.c: Likewise.
58083         * posix/getuid.c: Likewise.
58084         * posix/glob64.c: Likewise.
58085         * posix/nanosleep.c: Likewise.
58086         * posix/pathconf.c: Likewise.
58087         * posix/pause.c: Likewise.
58088         * posix/posix_madvise.c: Likewise.
58089         * posix/pread.c: Likewise.
58090         * posix/pread64.c: Likewise.
58091         * posix/pwrite.c: Likewise.
58092         * posix/pwrite64.c: Likewise.
58093         * posix/sched_getaffinity.c: Likewise.
58094         * posix/sched_getp.c: Likewise.
58095         * posix/sched_gets.c: Likewise.
58096         * posix/sched_primax.c: Likewise.
58097         * posix/sched_primin.c: Likewise.
58098         * posix/sched_rr_gi.c: Likewise.
58099         * posix/sched_setaffinity.c: Likewise.
58100         * posix/sched_setp.c: Likewise.
58101         * posix/sched_sets.c: Likewise.
58102         * posix/sched_yield.c: Likewise.
58103         * posix/setgid.c: Likewise.
58104         * posix/setlogin.c: Likewise.
58105         * posix/setpgid.c: Likewise.
58106         * posix/setresgid.c: Likewise.
58107         * posix/setresuid.c: Likewise.
58108         * posix/setsid.c: Likewise.
58109         * posix/setuid.c: Likewise.
58110         * posix/sleep.c: Likewise.
58111         * posix/spawni.c: Likewise.
58112         * posix/sysconf.c: Likewise.
58113         * posix/times.c: Likewise.
58114         * posix/wait.c: Likewise.
58115         * posix/wait3.c: Likewise.
58116         * posix/wait4.c: Likewise.
58117         * posix/waitpid.c: Likewise.
58118         * resolv/gai_sigqueue.c: Likewise.
58119         * resource/getpriority.c: Likewise.
58120         * resource/getrlimit.c: Likewise.
58121         * resource/getrusage.c: Likewise.
58122         * resource/nice.c: Likewise.
58123         * resource/setpriority.c: Likewise.
58124         * resource/setrlimit.c: Likewise.
58125         * resource/ulimit.c: Likewise.
58126         * rt/aio_cancel.c: Likewise.
58127         * rt/aio_fsync.c: Likewise.
58128         * rt/aio_read.c: Likewise.
58129         * rt/aio_sigqueue.c: Likewise.
58130         * rt/aio_suspend.c: Likewise.
58131         * rt/aio_write.c: Likewise.
58132         * rt/clock_getres.c: Likewise.
58133         * rt/clock_gettime.c: Likewise.
58134         * rt/clock_nanosleep.c: Likewise.
58135         * rt/clock_settime.c: Likewise.
58136         * rt/lio_listio.c: Likewise.
58137         * rt/mq_close.c: Likewise.
58138         * rt/mq_getattr.c: Likewise.
58139         * rt/mq_notify.c: Likewise.
58140         * rt/mq_open.c: Likewise.
58141         * rt/mq_receive.c: Likewise.
58142         * rt/mq_send.c: Likewise.
58143         * rt/mq_setattr.c: Likewise.
58144         * rt/mq_timedreceive.c: Likewise.
58145         * rt/mq_timedsend.c: Likewise.
58146         * rt/mq_unlink.c: Likewise.
58147         * rt/shm_open.c: Likewise.
58148         * rt/shm_unlink.c: Likewise.
58149         * rt/timer_create.c: Likewise.
58150         * rt/timer_delete.c: Likewise.
58151         * rt/timer_getoverr.c: Likewise.
58152         * rt/timer_gettime.c: Likewise.
58153         * rt/timer_settime.c: Likewise.
58154         * setjmp/__longjmp.c: Likewise.
58155         * setjmp/setjmp.c: Likewise.
58156         * signal/kill.c: Likewise.
58157         * signal/killpg.c: Likewise.
58158         * signal/raise.c: Likewise.
58159         * signal/sigaction.c: Likewise.
58160         * signal/sigaltstack.c: Likewise.
58161         * signal/sigblock.c: Likewise.
58162         * signal/sigignore.c: Likewise.
58163         * signal/sigintr.c: Likewise.
58164         * signal/signal.c: Likewise.
58165         * signal/sigpause.c: Likewise.
58166         * signal/sigpending.c: Likewise.
58167         * signal/sigqueue.c: Likewise.
58168         * signal/sigreturn.c: Likewise.
58169         * signal/sigset.c: Likewise.
58170         * signal/sigsetmask.c: Likewise.
58171         * signal/sigstack.c: Likewise.
58172         * signal/sigsuspend.c: Likewise.
58173         * signal/sigtimedwait.c: Likewise.
58174         * signal/sigvec.c: Likewise.
58175         * signal/sigwait.c: Likewise.
58176         * signal/sigwaitinfo.c: Likewise.
58177         * signal/sysv_signal.c: Likewise.
58178         * socket/accept.c: Likewise.
58179         * socket/accept4.c: Likewise.
58180         * socket/bind.c: Likewise.
58181         * socket/connect.c: Likewise.
58182         * socket/getpeername.c: Likewise.
58183         * socket/getsockname.c: Likewise.
58184         * socket/getsockopt.c: Likewise.
58185         * socket/isfdtype.c: Likewise.
58186         * socket/listen.c: Likewise.
58187         * socket/recv.c: Likewise.
58188         * socket/recvfrom.c: Likewise.
58189         * socket/recvmsg.c: Likewise.
58190         * socket/send.c: Likewise.
58191         * socket/sendmsg.c: Likewise.
58192         * socket/sendto.c: Likewise.
58193         * socket/setsockopt.c: Likewise.
58194         * socket/shutdown.c: Likewise.
58195         * socket/sockatmark.c: Likewise.
58196         * socket/socket.c: Likewise.
58197         * socket/socketpair.c: Likewise.
58198         * stdio-common/ctermid.c: Likewise.
58199         * stdio-common/cuserid.c: Likewise.
58200         * stdio-common/remove.c: Likewise.
58201         * stdio-common/rename.c: Likewise.
58202         * stdio-common/renameat.c: Likewise.
58203         * stdio-common/tempname.c: Likewise.
58204         * stdlib/getcontext.c: Likewise.
58205         * stdlib/makecontext.c: Likewise.
58206         * stdlib/setcontext.c: Likewise.
58207         * stdlib/swapcontext.c: Likewise.
58208         * stdlib/system.c: Likewise.
58209         * streams/fattach.c: Likewise.
58210         * streams/fdetach.c: Likewise.
58211         * streams/getmsg.c: Likewise.
58212         * streams/getpmsg.c: Likewise.
58213         * streams/putmsg.c: Likewise.
58214         * streams/putpmsg.c: Likewise.
58215         * sysdeps/unix/bsd/getpt.c: Likewise.
58216         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58217         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58218         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58220         Likewise.
58221         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58222         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58223         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58224         * sysvipc/msgctl.c: Likewise.
58225         * sysvipc/msgget.c: Likewise.
58226         * sysvipc/msgrcv.c: Likewise.
58227         * sysvipc/msgsnd.c: Likewise.
58228         * sysvipc/semctl.c: Likewise.
58229         * sysvipc/semget.c: Likewise.
58230         * sysvipc/semop.c: Likewise.
58231         * sysvipc/semtimedop.c: Likewise.
58232         * sysvipc/shmat.c: Likewise.
58233         * sysvipc/shmctl.c: Likewise.
58234         * sysvipc/shmdt.c: Likewise.
58235         * sysvipc/shmget.c: Likewise.
58236         * termios/tcdrain.c: Likewise.
58237         * termios/tcflow.c: Likewise.
58238         * termios/tcflush.c: Likewise.
58239         * termios/tcgetattr.c: Likewise.
58240         * termios/tcgetpgrp.c: Likewise.
58241         * termios/tcsendbrk.c: Likewise.
58242         * termios/tcsetattr.c: Likewise.
58243         * termios/tcsetpgrp.c: Likewise.
58244         * time/adjtime.c: Likewise.
58245         * time/clock.c: Likewise.
58246         * time/getitimer.c: Likewise.
58247         * time/gettimeofday.c: Likewise.
58248         * time/setitimer.c: Likewise.
58249         * time/settimeofday.c: Likewise.
58250         * time/stime.c: Likewise.
58251         * time/time.c: Likewise.
58253 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58255         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58256         /usr/old/bin.
58258         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58259         instead of spaces.
58260         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58262 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58264         [BZ #14796]
58265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58266         FE_TONEAREST before applying Dekker multiplication and Knuth
58267         addition.  Clear inexact exceptions and check for exact zero
58268         results afterwards.
58269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58271         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58272         * math/libm-test.inc (fma_test): Add more tests.
58273         (fma_test_towardzero): Likewise.
58274         (fma_test_downward): Likewise.
58275         (fma_test_upward): Likewise.
58276         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58277         function.
58278         (libc_fesetround): New macro.
58279         (libc_fesetroundf): Likewise.
58280         (libc_fesetroundl): Likewise.
58281         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58282         function.
58283         (libc_fesetround_387): Likewise.
58284         (libc_fesetroundf): New macro.
58285         (libc_fesetround): Likewise.
58286         (libc_fesetroundl): Likewise.
58287         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58288         function.
58289         (libc_fesetroundf): New macro.
58290         (libc_fesetround): Likewise.
58291         (libc_fesetroundl): Likewise.
58292         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58293         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58294         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58295         libm_hidden_ver.
58296         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58297         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58298         libm_hidden_def.
58299         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58300         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58301         libm_hidden_ver.
58302         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58303         libm_hidden_def.
58305         [BZ #3439]
58306         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58307         integer constant usable in #if and use that to give value to enum
58308         constant.
58309         (FE_DIVBYZERO): Likewise.
58310         (FE_UNDERFLOW): Likewise.
58311         (FE_OVERFLOW): Likewise.
58312         (FE_INVALID): Likewise.
58313         (FE_INVALID_SNAN): Likewise.
58314         (FE_INVALID_ISI): Likewise.
58315         (FE_INVALID_IDI): Likewise.
58316         (FE_INVALID_ZDZ): Likewise.
58317         (FE_INVALID_IMZ): Likewise.
58318         (FE_INVALID_COMPARE): Likewise.
58319         (FE_INVALID_SOFTWARE): Likewise.
58320         (FE_INVALID_SQRT): Likewise.
58321         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58322         (FE_TONEAREST): Likewise.
58323         (FE_TOWARDZERO): Likewise.
58324         (FE_UPWARD): Likewise.
58325         (FE_DOWNWARD): Likewise.
58326         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58327         (FE_DIVBYZERO): Likewise.
58328         (FE_OVERFLOW): Likewise.
58329         (FE_UNDERFLOW): Likewise.
58330         (FE_INEXACT): Likewise.
58331         (FE_TONEAREST): Likewise.
58332         (FE_DOWNWARD): Likewise.
58333         (FE_UPWARD): Likewise.
58334         (FE_TOWARDZERO): Likewise.
58335         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58336         (FE_UNDERFLOW): Likewise.
58337         (FE_OVERFLOW): Likewise.
58338         (FE_DIVBYZERO): Likewise.
58339         (FE_INVALID): Likewise.
58340         (FE_TONEAREST): Likewise.
58341         (FE_TOWARDZERO): Likewise.
58342         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58343         (FE_OVERFLOW): Likewise.
58344         (FE_UNDERFLOW): Likewise.
58345         (FE_DIVBYZERO): Likewise.
58346         (FE_INEXACT): Likewise.
58347         (FE_TONEAREST): Likewise.
58348         (FE_TOWARDZERO): Likewise.
58349         (FE_UPWARD): Likewise.
58350         (FE_DOWNWARD): Likewise.
58351         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58352         (FE_DIVBYZERO): Likewise.
58353         (FE_OVERFLOW): Likewise.
58354         (FE_UNDERFLOW): Likewise.
58355         (FE_INEXACT): Likewise.
58356         (FE_TONEAREST): Likewise.
58357         (FE_DOWNWARD): Likewise.
58358         (FE_UPWARD): Likewise.
58359         (FE_TOWARDZERO): Likewise.
58361 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58363         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58365 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58367         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58368         commands.  Quote $PWD.
58369         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58370         -x" by "export".
58371         (remove_newlines): Remove.
58373 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58375         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58376         * stdlib/stdlib.h (atof): Moved to ...
58377         * include/bits/stdlib-float.h: Here.  New file.
58378         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58379         * stdlib/bits/stdlib-float.h: New file.
58380         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58381         -mno-sse -mno-mmx.
58382         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58383         <xmmintrin.h>.
58385 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58387         * conform/conformtest.pl (@headers): Add fenv.h.
58388         * conform/data/fenv.h-data: New file.
58389         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58390         include of <math/fenv.h>.
58392         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58393         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58394         && !UNIX98].  Enables tests for XOPEN2K8.
58395         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58396         POSIX2008]: Likewise.
58398         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58399         (struct rusage): Do not expect type or its members.
58401         [BZ #3439]
58402         * math/math.h (FP_NAN): Define macro to integer constant usable in
58403         #if and use that to give value to enum constant.
58404         (FP_INFINITE): Likewise.
58405         (FP_ZERO): Likewise.
58406         (FP_SUBNORMAL): Likewise.
58407         (FP_NORMAL): Likewise.
58409 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58411         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58412         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58413         arguments.
58415 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58417         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58418         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58419         autoconf-time if not.
58420         * configure.in: Remove AC_PREREQ.
58422 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58424         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58425         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58426         of the internal implementation.
58428 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58430         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58431         except include of <misc/sys/syslog.h>.
58433 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58436         function returns with a NULL context exit with zero.
58438 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58440         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58442 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58444         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58445         (run_program_cmd): This.
58446         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58447         (tst_langinfo): New variable.  Use it.
58449 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58451         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58452         floating point opcodes.
58454 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58456         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58457         variable.
58459         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58461         * sysdeps/mach/hurd/powerpc: Remove directory.
58462         * sysdeps/mach/powerpc: Likewise.
58464 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58466         * scripts/check-local-headers.sh: Ignore c++ headers.
58468 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58470         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58471         __libc_cleanup_region_start argument.
58473 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58475         [BZ #14784]
58476         [BZ #14785]
58477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58478         x * y using scaling, not as x * y + z.
58479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58481         * math/libm-test.inc (fma_test): Add more tests.
58482         (fma_test_towardzero): Likewise.
58483         (fma_test_downward): Likewise.
58484         (fma_test_upward): Likewise.
58486 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58488         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58490 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58492         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58493         New variable.
58495 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58497         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58499 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58502         Fix sort order.
58503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58504         Likewise.
58506 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58509         Fix the order of the list for glibc 2.17.
58510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58511         Likewise.
58513 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58517 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58519         [BZ #14610]
58520         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58521         for low part of x being zero before using __atanl (y).
58522         * math/libm-test.inc (atan2_test): Add another test.
58524         * manual/install.texi (Configuring and compiling): Document
58525         general use of test-wrapper and test-wrapper-env.
58526         * INSTALL: Regenerated.
58528         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58529         (__fma): Do not extract and scale down low bits on after-rounding
58530         systems when result rounded to normal precision would have normal
58531         exponent.
58532         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58533         (__fmal): Do not extract and scale down low bits on after-rounding
58534         systems when result rounded to normal precision would have normal
58535         exponent.
58536         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58537         (__fmal): Do not extract and scale down low bits on after-rounding
58538         systems when result rounded to normal precision would have normal
58539         exponent.
58540         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58541         macro.
58542         (fma_test): Add more tests.
58543         (fma_test_towardzero): Likewise.
58544         (fma_test_downward): Likewise.
58545         (fma_test_upward): Likewise.
58547 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58549         * sysdeps/i386/tininess.h: Renamed to ...
58550         * sysdeps/x86/tininess.h: This.
58551         * sysdeps/x86_64/tininess.h: Removed.
58553 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58555         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58556         input.  Use $(build-program-cmd).
58557         ($(objpfx)tst-array1-static.out): Likewise.
58558         ($(objpfx)tst-array2.out): Likewise.
58559         ($(objpfx)tst-array3.out): Likewise.
58560         ($(objpfx)tst-array4.out): Likewise.
58561         ($(objpfx)tst-array5.out): Likewise.
58562         ($(objpfx)tst-array5-static.out): Likewise.
58564 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58566         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58567         if defined.
58569         * nss/nsswitch.h (nss_interface_function): Provide new
58570         macro for use with NSS functions.
58571         * grp/initgroups.c: Use new macro.
58572         * nss/getXXbyYY.c: Likewise.
58573         * nss/getXXbyYY_r.c: Likewise.
58574         * nss/getXXent.c: Likewise.
58575         * nss/getXXent_r.c: Likewise.
58576         * sysdeps/posix/getaddrinfo.c: Likewise.
58578 2012-10-30  Andreas Jaeger  <aj@suse.de>
58580         * po/ru.po: Update Russion translation from translation project.
58582 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58584         [BZ #14152]
58585         [BZ #14783]
58586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58587         result and shift together with sticky bit instead of replicating
58588         round-to-nearest rounding.
58589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58591         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58592         missing underflow exceptions.
58593         (fma_test_towardzero): Add more tests.
58594         (fma_test_downward): Likewise.
58595         (fma_test_upward): Likewise.
58597         [BZ #14047]
58598         * sysdeps/generic/tininess.h: New file.
58599         * sysdeps/i386/tininess.h: Likewise.
58600         * sysdeps/sh/tininess.h: Likewise.
58601         * sysdeps/x86_64/tininess.h: Likewise.
58602         * stdlib/tst-strtod-underflow.c: Likewise.
58603         * stdlib/tst-tininess.c: Likewise.
58604         * stdlib/strtod_l.c: Include <tininess.h>.
58605         (round_and_return): Do not set errno for exact underflow cases.
58606         Force an underflow exception when setting errno for underflow.
58607         Determine underflow based on rounding to normal precision if
58608         TININESS_AFTER_ROUNDING.
58609         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58610         ERANGE for exact underflow cases.
58611         * stdlib/Makefile (tests): Add tst-tininess and
58612         tst-strtod-underflow.
58613         ($(objpfx)tst-tininess): Use $(link-libm).
58614         ($(objpfx)tst-strtod-underflow): Likewise.
58616 2012-10-30  Andreas Jaeger  <aj@suse.de>
58618         [BZ#14767]
58619         * elf/Makefile (tests): Remove conditional for have-initfini-array
58620         since this is now always required and the variable does not exist
58621         anymore.
58622         (tests-static): Likewise.
58623         (modules-names): Likewise.
58625         * po/eo.po: Add Esperanto translation from translation project.
58627         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58628         merged with constructor/destructor.
58629         (init_array): Likewise.
58630         * elf/tst-array2dep.c (fini_array): Likewise.
58631         (init_array): Likewise.
58633 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58635         * manual/message.texi: Delete @cartouche tags.
58637 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58639         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58640         EOPNOTSUPP.
58641         * sysdeps/mach/hurd/fsync.c: Likewise.
58643         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58644         [_POSIX_REALTIME_SIGNALS]: Change condition to
58645         [_POSIX_REALTIME_SIGNALS > 0].
58647 2012-10-27  Andreas Jaeger  <aj@suse.de>
58649         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58650         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58652         [__WORDSIZE != 64]: Likewise.
58654 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58656         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58657         *  iconvdata/tst-tables.sh: Likewise.
58659 2012-10-25  David S. Miller  <davem@davemloft.net>
58661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58662         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58663         of strtoull.
58665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58666         ifunc-impl-list.c
58667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58668         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58669         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58670         file.
58672 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58674         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58675         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58676         __getdirentries.
58678 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58679             Jim Blandy  <jimb@codesourcery.com>
58681         * scripts/cross-test-ssh.sh: New file.
58682         * manual/install.texi (Configuring and compiling): Document use of
58683         cross-test-ssh.sh.
58684         * INSTALL: Regenerated.
58686 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58688         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58689         EOPNOTSUPP.
58691 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58693         * Makeconfig (run-program-prefix): Fix comment.
58695 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58696             Jim Blandy  <jimb@codesourcery.com>
58698         * Makeconfig (test-wrapper): New variable,
58699         (test-wrapper-env): Likewise.
58700         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58701         (run-built-tests): Define to yes.
58702         (run-program-prefix): Use $(test-wrapper).
58703         (built-program-cmd): Likewise.
58704         * Rules (make-test-out): Use $(test-wrapper-env) and
58705         $(host-built-program-cmd).
58706         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58707         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58708         tst-pathopt.sh.
58709         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58710         $(test-wrapper-env) to tst-rtld-load-self.sh.
58711         ($(objpfx)order2.out): Use $(test-wrapper).
58712         ($(objpfx)tst-initorder.out): Likewise.
58713         ($(objpfx)tst-initorder2.out): Likewise.
58714         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58715         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58716         (test_wrapper_env): New variable.  Use it to run ld.so.
58717         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58718         Use it to run ld.so.
58719         (test_wrapper_env): Likewise.
58720         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58721         $(test-wrapper) to run-iconv-test.sh.
58722         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58723         (ICONV): Use $test_wrapper.
58724         * posix/Makefile ($(objpfx)globtest.out): Pass
58725         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58726         globtest.sh, not $(run-program-prefix).
58727         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58728         (test_wrapper): Likewise.
58729         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58730         set together with run_via_rtld_prefix.
58731         (run_program_prefix): Define in terms of test_wrapper and
58732         run_via_rtld_prefix.
58734 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58736         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58737         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58738         Targets removed.
58740         [BZ #14743]
58741         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58742         Declare __clock_getres, __clock_gettime, __clock_settime,
58743         __clock_nanosleep, and __clock_getcpuclockid.
58744         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58745         Remove librt_hidden_def (clock_gettime).
58746         * sysdeps/unix/clock_gettime.c: Likewise.
58747         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58748         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58749         * rt/clock_getres.c: Define __clock_getres as an alias.
58750         * sysdeps/posix/clock_getres.c: Likewise.
58751         * rt/clock_settime.c: Define __clock_settime as an alias.
58752         * sysdeps/unix/clock_settime.c: Likewise.
58753         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58754         * sysdeps/unix/clock_nanosleep.c: Likewise.
58755         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58756         * rt/clock-compat.c: New file.
58757         * rt/Makefile (librt-routines): Add clock-compat and move
58758         $(clock-routines) to ...
58759         (routines): ... here, new variable.
58760         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58761         Don't add get_clockfreq here.
58762         * rt/Versions (libc: GLIBC_2.17): New version set.
58763         Add clock_* symbols here.
58764         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58765         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58766         (GLIBC_2.17): Add clock_* symbols.
58767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58769         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58771         Likewise.
58772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58773         Likewise.
58774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58778         * NEWS: Mention the move.
58780         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58781         Use __open, __read, __close rather than their public counterparts.
58782         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58783         (__get_clockfreq_via_cpuinfo): Likewise.
58784         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58785         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58787         * config.h.in (HAVE_IFUNC): New #undef.
58788         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58789         was successful.
58790         * configure: Regenerated.
58792 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58794         * configure.in: Move READELF check to start of file.
58795         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58796         libc_cv_asm_gnu_indirect_function in the process.
58797         * configure: Regenerated.
58799 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58801         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58802         send the output to /dev/null.
58803         (libc_cv_cc_with_libunwind): Likewise.
58804         (libc_cv_as_noexecstack): Likewise.
58805         * configure: Regenerate.
58807 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58809         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58811         * posix/globtest.sh (TMPDIR): Do not set.
58812         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58813         (testout): Likewise.
58815 2012-10-24  Andreas Jaeger  <aj@suse.de>
58817         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58818         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58819         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58820         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58821         posix_fadvise64, posix_fallocate64.
58823         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58824         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58825         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58826         Likewise.
58827         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58828         Likewise.
58829         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58832         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58833         <bits/fcntl-linux.h>.
58834         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58836         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58837         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58838         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58839         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58840         [__WORDSIZE != 64]: Likewise.
58842 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58844         * Makeconfig (run-built-tests): New variable.
58845         * Rules [$(cross-compiling) = yes]: Change condition to
58846         [$(run-built-tests) = no].
58847         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58848         to [$(run-built-tests) = yes].
58849         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58850         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58851         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58852         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58853         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58854         * io/Makefile [$(cross-compiling) = no]: Likewise.
58855         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58856         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58857         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58858         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58859         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58860         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58861         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58862         * string/Makefile [$(cross-compiling) = no]: Likewise.
58864         * posix/Makefile ($(objpfx)globtest.out): Pass
58865         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58866         $(rtld-installed-name).
58867         * posix/globtest.sh (elf_objpfx): Remove variable.
58868         (rtld_installed_name): Likewise.
58869         (library_path): Likewise.
58870         (run_program_prefix): New variable.  Use for running globtest
58871         binary.
58873 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58874             Joseph Myers  <joseph@codesourcery.com>
58876         * Makeconfig (host-built-program-cmd): New variable.
58877         * elf/Makefile (tst-stackguard1-ARGS): Use
58878         $(host-built-program-cmd).
58879         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58880         (tst-spawn-ARGS): Likewise.
58881         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58883 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58884             Jim Blandy  <jimb@codesourcery.com>
58886         * Makeconfig (run-via-rtld-prefix): New variable.
58887         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58888         (built-program-cmd): Likewise.
58890 2012-10-22  Andreas Jaeger  <aj@suse.de>
58892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58893         __O_RSYNC if it exists, otherwise to O_SYNC.
58895 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58896             Joseph Myers  <joseph@codesourcery.com>
58898         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58899         /dev/null.
58900         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58901         from /dev/null
58902         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58903         /dev/null.
58905 2012-10-22  Andreas Jaeger  <aj@suse.de>
58907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58908         Define always.
58909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58912         bits/fcntl-linux.h.
58914         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58915         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58918         to __O_LARGEFILE.
58919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58920         to __O_LARGEFILE.
58922 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58923             Joseph Myers  <joseph@codesourcery.com>
58925         * config.make.in (NM): New variable.
58927 2012-10-21  Andreas Jaeger  <aj@suse.de>
58929         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58930         definitions and declarations that are provided by
58931         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58933 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58935         [BZ #14683]
58936         * elf/Makefile (tests-static): Add tst-leaks1-static.
58937         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58938         ($(objpfx)tst-leaks1-static): New rule.
58939         ($(objpfx)tst-leaks1-static-mem): Likewise.
58940         (tst-leaks1-static-ENV): New macro.
58941         * elf/dl-open.c (dl_open_worker): Check the main application
58942         only if SHARED is defined.
58943         * elf/tst-leaks1-static.c: New file.
58945 2012-10-20  Andreas Jaeger  <aj@suse.de>
58947         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58948         generic values for Linux.
58949         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58950         and declarations that are provided by <bits/fcntl-linux.h> and
58951         include <bits/fcntl-linux.h>.
58952         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58955 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58957         * io/fcntl.h: Move include of <bits/types.h> to the top and
58958         include it unconditionally.
58960 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58962         * wcsmbs/Makefile (tests-ifunc): New variable.
58963         (tests): Add $(tests-ifunc).
58964         * wcsmbs/test-wcschr-ifunc.c: New file.
58965         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58966         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58967         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58968         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58969         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58971         * string/Makefile (tests-ifunc): New variable.
58972         (tests): Add $(tests-ifunc).
58973         * string/test-memccpy.c (TEST_NAME): New macro.
58974         * string/test-memchr.c (TEST_NAME): Likewise.
58975         * string/test-memcmp.c (TEST_NAME): Likewise.
58976         * string/test-memcpy.c (TEST_NAME): Likewise.
58977         * string/test-memmem.c (TEST_NAME): Likewise.
58978         * string/test-memmove.c (TEST_NAME): Likewise.
58979         * string/test-memset.c (TEST_NAME): Likewise.
58980         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58981         * string/test-stpcpy.c (TEST_NAME): Likewise.
58982         * string/test-stpncpy.c (TEST_NAME): Likewise.
58983         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58984         * string/test-strcasestr.c (TEST_NAME): Likewise.
58985         * string/test-strcat.c (TEST_NAME): Likewise.
58986         * string/test-strchr.c (TEST_NAME): Likewise.
58987         * string/test-strcmp.c(TEST_NAME): Likewise.
58988         * string/test-strcpy.c (TEST_NAME): Likewise.
58989         * string/test-strcspn.c (TEST_NAME): Likewise.
58990         * string/test-strlen.c (TEST_NAME): Likewise.
58991         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58992         * string/test-strncmp.c (TEST_NAME): Likewise.
58993         * string/test-strncpy.c (TEST_NAME): Likewise.
58994         * string/test-strnlen.c (TEST_NAME): Likewise.
58995         * string/test-strpbrk.c (TEST_NAME): Likewise.
58996         * string/test-strrchr.c (TEST_NAME): Likewise.
58997         * string/test-strspn.c (TEST_NAME): Likewise.
58998         * string/test-strstr.c (TEST_NAME): Likewise.
58999         * string/test-bcopy-ifunc.c: New file.
59000         * string/test-bzero-ifunc.c: Likewise.
59001         * string/test-memccpy-ifunc.c: Likewise.
59002         * string/test-memchr-ifunc.c: Likewise.
59003         * string/test-memcmp-ifunc.c: Likewise.
59004         * string/test-memcpy-ifunc.c: Likewise.
59005         * string/test-memmem-ifunc.c: Likewise.
59006         * string/test-memmove-ifunc.c: Likewise.
59007         * string/test-mempcpy-ifunc.c: Likewise.
59008         * string/test-memset-ifunc.c: Likewise.
59009         * string/test-rawmemchr-ifunc.c: Likewise.
59010         * string/test-stpcpy-ifunc.c: Likewise.
59011         * string/test-stpncpy-ifunc.c: Likewise.
59012         * string/test-strcasecmp-ifunc.c: Likewise.
59013         * string/test-strcasestr-ifunc.c: Likewise.
59014         * string/test-strcat-ifunc.c: Likewise.
59015         * string/test-strchr-ifunc.c: Likewise.
59016         * string/test-strchrnul-ifunc.c: Likewise.
59017         * string/test-strcmp-ifunc.c: Likewise.
59018         * string/test-strcpy-ifunc.c: Likewise.
59019         * string/test-strcspn-ifunc.c: Likewise.
59020         * string/test-strlen-ifunc.c: Likewise.
59021         * string/test-strncasecmp-ifunc.c: Likewise.
59022         * string/test-strncat-ifunc.c: Likewise.
59023         * string/test-strncmp-ifunc.c: Likewise.
59024         * string/test-strncpy-ifunc.c: Likewise.
59025         * string/test-strnlen-ifunc.c: Likewise.
59026         * string/test-strpbrk-ifunc.c: Likewise.
59027         * string/test-strrchr-ifunc.c: Likewise.
59028         * string/test-strspn-ifunc.c: Likewise.
59029         * string/test-strstr-ifunc.c: Likewise.
59031         * debug/Makefile (tests-ifunc): New variable.
59032         (tests): Add $(tests-ifunc).
59033         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59034         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59035         * debug/test-stpcpy_chk-ifunc.c: New file.
59036         * debug/test-strcpy_chk-ifunc.c: Likewise.
59038 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59040         [BZ #13601]
59041         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59042         header is not read in.
59044 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59046         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59047         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59048         directly.  Pass built executable to script as
59049         $(built-program-cmd).
59050         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59051         $testprogram without using LD_LIBRARY_PATH and $ldso.
59053         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59054         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59055         $(rtld-installed-name).
59056         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59057         (rtld_installed_name): Likewise.
59058         (library_path): Likewise.
59059         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59060         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59061         $(run-program-prefix) to tst-tables.sh.
59062         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59063         it to run tst-table-from and tst-table-to.
59064         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59065         Pass it to tst-table.sh.
59066         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59067         $(run-program-prefix) to tst-gettext.sh.
59068         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59069         tst-translit.sh.
59070         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59071         tst-gettext2.sh.
59072         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59073         to run tst-gettext.
59074         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59075         to run tst-gettext2.
59076         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59077         to run tst-translit.
59078         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59079         $(run-program-prefix) to tst-mtrace.sh.
59080         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59081         to run tst-mtrace.
59082         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59083         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59084         $(rtld-installed-name).
59085         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59086         (rtld_installed_name): Likewise.
59087         (run_program_prefix): New variable.  Use it to run wordexp-test.
59089         * Makeconfig (ARCH): Remove all definitions.
59090         (machine): Likewise.
59091         [ARCH]: Remove conditional code.
59092         [!objdir]: Give error.
59093         [!objdir] (objpfx): Remove.
59094         [!objdir] (common-objpfx): Likewise.
59095         [!objdir] (common-objdir): Likewise.
59096         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59097         AC_CONFIG_FILES call.
59098         * configure: Regenerated.
59100         [BZ #13888]
59101         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59102         or TMPDIR.
59103         (testout): Likewise.
59105         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59106         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59107         $(rtld-installed-name).
59108         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59109         (rtld_installed_name): Likwise.
59110         (runit): Remove function.
59111         (run_getconf): New variable,  Use it for running getconf binary.
59113 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59115         [BZ #14716]
59116         * string/test-memmem.c (check_result): New function.
59117         (do_one_test): Use it.
59118         (check1): New function.
59119         (test_main): Use it.
59121 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59123         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59125 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59127         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59128         (_G_LSEEK64): Likewise.
59129         (_G_MMAP64): Likewise.
59130         (_G_FSTAT64): Likewise.
59131         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59132         (_G_LSEEK64): Likewise.
59133         (_G_MMAP64): Likewise.
59134         (_G_FSTAT64): Likewise.
59135         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59136         unconditional.  Call __mmap64 directly.
59137         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59138         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59139         __lseek64 directly.
59140         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59141         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59142         __mmap64 directly.
59143         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59144         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59145         __lseek64 directly.
59146         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59147         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59148         __lseek64 directly.
59149         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59150         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59151         __lseek64 directly.
59152         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59153         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59154         __fxstat64 directly.
59155         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59156         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59157         unconditional.
59158         (freopen64) [!_G_OPEN64]: Remove conditional code.
59159         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59160         unconditional.
59161         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59162         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59163         unconditional.
59164         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59165         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59166         unconditional.
59167         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59168         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59169         unconditional.
59170         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59171         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59172         unconditional.
59173         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59174         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59175         unconditional.
59176         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59177         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59178         unconditional.
59179         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59181 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59183         [BZ #12140]
59184         * manual/memory.texi (Malloc Tunable Parameters): Add note
59185         about free list pointers overwriting some perturb bytes.
59186         Wording suggested by Roland McGrath.
59188 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59190         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59191         (lgamma_test): Likewise.
59192         (tgamma_test): Likewise.
59194 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59196         [BZ #14700]
59197         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59198         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59200 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59202         * NEWS: Mention BZ #14716.
59203         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59204         when removing AVAILABLE1_USES_J macro.
59206 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59208         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59209         (__bswap_64): __uint64_t for unsigned 64-bit int.
59211 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59213         * include/string.h (memmem): Declare libc hidden alias.
59214         * string/memmem.c (memmem): Define libc hidden alias.
59215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59216         __read, __close instead of open, read, close.
59218 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59221         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59222         global and hidden.
59223         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59224         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59225         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59226         Likewise.
59227         (__rawmemchr_sse2): Likewise.
59228         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59229         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59230         (__strchr_sse2): Likewise.
59231         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59232         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59233         (__strcasecmp_sse2): Likewise.
59234         (__strncasecmp_sse2): Likewise.
59235         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59236         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59237         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59238         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59239         (__strrchr_sse2): Likewise.
59240         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59241         ifunc-impl-list.c.
59242         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59243         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59244         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59245         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59246         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59247         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59248         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59249         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59250         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59251         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59252         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59253         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59254         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59255         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59256         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59257         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59258         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59259         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59260         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59261         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59262         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59263         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59264         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59265         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59266         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59267         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59268         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59269         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59270         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59271         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59273         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59274         global and hidden.
59275         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59276         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59277         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59278         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59279         Likewise.
59280         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59281         Likewise.
59282         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59283         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59284         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59285         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59286         ifunc-impl-list.c.
59287         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59288         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59289         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59290         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59291         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59292         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59293         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59294         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59295         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59296         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59297         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59298         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59299         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59300         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59301         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59302         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59303         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59304         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59305         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59306         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59307         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59308         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59309         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59310         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59311         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59312         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59313         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59314         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59315         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59316         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59317         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59318         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59319         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59320         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59321         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59322         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59323         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59324         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59325         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59326         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59327         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59329         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59330         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59331         * include/ifunc-impl-list.h: New file.
59332         * misc/ifunc-impl-list.c: Likewise.
59333         * misc/Makefile (routines): Add ifunc-impl-list.
59334         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59335         * string/test-string.h: Include <ifunc-impl-list.h>.
59336         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59337         TEST_NAME]: New variables.
59338         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59339         are defined.
59340         (test_init): Call __libc_ifunc_impl_list to initialize
59341         func_list if TEST_IFUNC and TEST_NAME are defined.
59343         * string/Makefile (strop-tests): Add bcopy and bzero.
59344         * string/test-bcopy.c: New file.
59345         * string/test-bzero.c: Likewise.
59346         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59347         defined.
59348         * string/test-memset.c: Support bzero test if TEST_BZERO is
59349         defined.
59350         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59351         __libc_memmove.
59352         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59353         __libc_memset.
59354         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59355         of memset.
59357 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59359         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59360         * configure: Regenerated.
59362         * Makeconfig (+link-static-before-libc): Don't include
59363         $(link-static-libc).
59365         * libio/libio.h (_IO_pos_t): Remove.
59367 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59369         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59370         McGrath.
59372 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59374         * crypt/crypt-entry.c: Include fips-private.h.
59375         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59376         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59377         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59378         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59380 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59382         * crypt/crypt-private.h: Include stdbool.h.
59383         (_ufc_setup_salt_r): Return bool.
59384         * crypt/crypt-entry.c: Include errno.h.
59385         (__crypt_r): Return NULL with EINVAL for bad salt.
59386         * crypt/crypt_util.c (bad_for_salt): New.
59387         (_ufc_setup_salt_r): Check that salt is long enough and within
59388         the specified alphabet.
59389         * crypt/badsalttest.c: New file.
59390         * crypt/Makefile (tests): Add it.
59391         ($(objpfx)badsalttest): New.
59393 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59395         * NEWS: Add entry for BZ #14602.
59397 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59399         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59400         type-generic.
59401         * math/libm-test.inc: Update comment listing what functions and
59402         macros are tested.
59403         (isgreater_test): New function.
59404         (isgreaterequal_test): Likewise.
59405         (isless_test): Likewise.
59406         (islessequal_test): Likewise.
59407         (islessgreater_test): Likewise.
59408         (isunordered_test): Likewise.
59409         (main): Call the new functions.
59411 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59413         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59414         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59415         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59416         * sysdeps/i386/configure: Regenerated.
59417         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59418         * sysdeps/mach/configure: Regenerated.
59419         * sysdeps/mach/hurd/configure: Regenerated.
59420         * sysdeps/powerpc/configure: Regenerated.
59421         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59422         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59423         * sysdeps/s390/s390-32/configure: Regenerated.
59424         * sysdeps/s390/s390-64/configure: Regenerated.
59425         * sysdeps/sh/configure: Regenerated.
59426         * sysdeps/sparc/configure: Regenerated.
59427         * sysdeps/unix/sysv/linux/configure: Regenerated.
59428         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59429         * sysdeps/x86_64/configure: Regenerated.
59431         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59432         defined.  Don't check if MAP is NULL.
59434 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59436         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59437         (_G_stat64): Likewise.
59438         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59439         (_G_stat64): Likewise.
59440         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59441         instead of struct _G_stat64.
59442         * libio/fileops.c (mmap_remap_check): Likewise.
59443         (decide_maybe_mmap): Likewise.
59444         (_IO_new_file_seekoff): Likewise.
59445         (_IO_file_stat): Likewise.
59446         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59447         _G_off64_t.
59448         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59449         instead of struct _G_stat64.
59450         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59452 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59454         [BZ #14602]
59455         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59456         Replace with ...
59457         (CHECK_EOL): New macro.
59458         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59459         CHECK_EOL.
59460         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59461         Replace with CHECK_EOL.
59462         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59463         Replace with CHECK_EOL.
59465 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59467         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59468         type-generic.
59469         * math/libm-test.inc: Update comment listing what functions and
59470         macros are tested.
59471         (finite_test): New function.
59472         (isinf_test): Likewise.
59473         (isnan_test): Likewise.
59474         (fpclassify_test): Test subnormal input.
59475         (isfinite_test): Likewise.
59476         (isnormal_test): Likewise.
59477         (main): Call the new functions.
59479 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59481         [BZ #14660]
59482         * Makerules (%.dynsym): Force C locale when running
59483         $(OBJDUMP) --dynamic-syms.
59485 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59487         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59488         <stdint.h>.
59490 2012-10-06  David S. Miller  <davem@davemloft.net>
59492         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59493         upper 32-bits of the length value in %o2 since we use branch-on-register
59494         tests which consider the entire 64-bit register.
59496 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59498         * string/test-strstr.c (check2): Add a test for page boundary.
59500 2012-10-05  David S. Miller  <davem@davemloft.net>
59502         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59503         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59504         file.
59505         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59506         sysdep_routines.
59507         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59508         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59509         and bzero when HWCAP_SPARC_CRYPTO is present.
59511 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59513         [BZ #14602]
59514         * string/test-strstr.c (check2): New function.
59515         (test_main): Call check2.
59517         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59518         and bug-strchr1.
59519         * string/bug-strcasestr1.c (do_test): Moved to ...
59520         * string/test-strcasestr.c (check1): Here.  New function.
59521         (do_one_test): Break out result checking code into ...
59522         (check_result): This.  New function.
59523         (do_one_test): Call check_result.
59524         (test_main): Call check1.
59525         * string/bug-strchr1.c (do_test): Moved to ...
59526         * string/test-strchr.c (check1): Here.  New function.
59527         (do_one_test): Break out result checking code into ...
59528         (check_result): This.  New function.
59529         (do_one_test): Call check_result.
59530         (test_main): Call check1.
59531         * string/bug-strstr1.c (main): Moved to ...
59532         * string/test-strstr.c (check1): Here.  New function.
59533         (do_one_test): Break out result checking code into ...
59534         (check_result): This.  New function.
59535         (do_one_test): Call check_result.
59536         (test_main): Call check1.
59537         * string/bug-strcasestr1.c: Removed.
59538         * string/bug-strchr1.c: Likewise.
59539         * string/bug-strstr1.c: Likewise.
59541         * elf/Makefile (dl-routines): Add hwcaps.
59542         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59543         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59544         (_dl_important_hwcaps): Moved to ...
59545         * elf/dl-hwcaps.c: Here.  New file.
59546         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59548         [BZ #14557]
59549         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59550         if IS_IN_rtld isn't defined.
59552         * elf/dl-support.c (_dl_sysinfo_map): New.
59553         Include "get-dynamic-info.h" and "setup-vdso.h".
59554         (_dl_non_dynamic_init): Call setup_vdso.
59555         * elf/dynamic-link.h: Don't include <assert.h>.
59556         (elf_get_dynamic_info): Moved to ...
59557         * elf/get-dynamic-info.h: Here.  New file.
59558         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59559         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59560         * elf/setup-vdso.h: Here.  New file.
59561         * elf/rtld.c: Include "setup-vdso.h".
59562         (dl_main): Call setup_vdso.
59564 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59566         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59567         creal in comment listing functions tested.  List finite, isinf,
59568         isnan, isless, islessequal, isgreater, isgreaterequal,
59569         islessgreater, isunordered, lgamma_r and pow10 as functions and
59570         macros not tested.  Mention which functions not tested are aliases
59571         for other functions.  Fix typo.  Note that signs of NaNs are not
59572         tested.
59574         * scripts/config.guess: Update from config.git.
59575         * scripts/config.sub: Likewise.
59577 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59579         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59580         * misc/madvise.c (madvise): Renamed to __madvise.
59581         Make madvise a weak alias.
59582         * include/sys/mman.h: Declare __madvise.
59583         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59584         * sysdeps/unix/syscalls.list
59585         (madvise): Make __madvise the strong name, and madvise a weak alias.
59586         * sysdeps/unix/sysv/linux/syscalls.list
59587         (madvise, mmap): Remove redundant entries.
59588         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59589         * malloc/malloc.c (mtrim): Likewise.
59590         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59592 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59594         * sysdeps/mach/hurd/dl-cache.c: File removed.
59595         * config.h.in (USE_LDCONFIG): New #undef.
59596         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59597         * configure: Regenerated.
59598         * elf/Makefile (dl-routines): Add dl-cache only under
59599         [$(use-ldconfig) = yes].
59600         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59601         cache on [USE_LDCONFIG].
59602         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59603         [USE_LDCONFIG].
59604         * elf/rtld.c (dl_main): Likewise.
59606 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59608         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59609         _SC_LEVEL4_CACHE_LINESIZE.
59611 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59613         * sysdeps/unix/bsd/confstr.h: File removed.
59615 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59617         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59618         sys/sdt-config.h.
59620 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59622         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59623         Make 'mapoff' field ElfW(Off) rather than off_t.
59625 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59627         * nscd/Makefile: Remove nscd-cflags and all its users.
59628         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59629         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59631         [BZ #10631]
59632         * malloc.c (malloc_printerr): Clarify error message.
59634 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59636         [BZ #14648]
59637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59638         Set bit_FMA_Usable if FMA is supported.
59639         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59640         macro.
59641         (bit_FMA4_Usable): Updated.
59642         (index_FMA_Usable): New macro.
59643         (CPUID_FMA): Likewise.
59644         (HAS_FMA): Defined with bit_FMA_Usable.
59646 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59648         * bits/types.h (__swblk_t): Type removed.
59649         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59650         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59652         (__SWBLK_T_TYPE): Likewise.
59653         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59654         (__SWBLK_T_TYPE): Likewise.
59655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59656         (__SWBLK_T_TYPE): Likewise.
59657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59658         (__SWBLK_T_TYPE): Likewise.
59660 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59661             Honza Horak <hhorak@redhat.com>
59663         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59664         (xdr_mapname): Use YPMAXMAP as maxsize.
59665         (xdr_peername): Use YPMAXPEER as maxsize.
59666         (xdr_keydat): Use YPAXRECORD as maxsize.
59667         (xdr_valdat): Use YPMAXRECORD as maxsize.
59669 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59671         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59673         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59674         * csu/init-first.c: ... here.
59675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59676         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59677         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59678         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59679         * sysdeps/i386/init-first.c: File removed.
59680         * sysdeps/sh/init-first.c: File removed.
59682 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59684         [BZ #14645]
59685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59686         if x * y might underflow to zero and z is zero.
59687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59689         * math/libm-test.inc (min_subnorm_value): New variable.
59690         (fma_test): Add more tests.
59691         (fma_test_towardzero): Likewise.
59692         (fma_test_downward): Likewise.
59693         (fma_test_upward): Likewise.
59694         (initialize): Set min_subnorm_value.
59696 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59698         [BZ #14638]
59699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59700         0 + 0.
59701         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59702         mode for addition resulting in exact zero.
59703         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59705         exact 0 + 0.
59706         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59707         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59708         * math/libm-test.inc (fma_test): Add more tests.
59709         (fma_test_towardzero): New function.
59710         (fma_test_downward): Likewise.
59711         (fma_test_upward): Likewise.
59712         (main): Call the new functions.
59714 2012-09-28  David S. Miller  <davem@davemloft.net>
59716         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59718 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59720         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59721         instead of SIGALRM.
59723         * sysdeps/gnu/_G_config.h: Moved to ...
59724         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59725         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59726         * sysdeps/generic/_G_config.h: ... here.
59728         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59730         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59732         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59733         Conditionalize target on [libnss_test1.so-version].
59735         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59737         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59738         (elfobjdir): Move out of conditionals.
59740         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59741         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59742         (__nss_lookup_function): Conditionalize label remove_from_tree on
59743         [!DO_STATIC_NSS || SHARED], matching its only use.
59745 2012-09-28  David S. Miller  <davem@davemloft.net>
59747         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59748         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59749         file.
59750         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59751         sysdep_routines.
59752         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59754         when HWCAP_SPARC_CRYPTO is present.
59756 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59758         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59760 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59762         [BZ #6530]
59763         * stdio-common/vfprintf.c (process_string_arg): Revert
59764         2000-07-22 change.
59766 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59768         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59769         for testcase.
59770         * stdio-common/tst-sprintf.c: Include <locale.h>
59771         (main): Test sprintf's handling of incomplete multibyte
59772         characters.
59774 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59776         * elf/dl-runtime.c (VERSYMIDX): Removed.
59777         * elf/dl-version.c (VERSYMIDX): Likewise.
59778         * elf/do-rel.h (VERSYMIDX): Likewise.
59779         (VALIDX): Likewise.
59780         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59781         * elf/rtld.c (VALIDX): Likewise.
59782         (ADDRIDX): Likewise.
59783         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59784         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59785         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59786         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59787         (VALIDX): Likewise.
59788         (ADDRIDX): Likewise.
59790 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59792         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59794 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59796         [BZ #11438]
59797         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59798         to global scope.
59799         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59800         addresses are in the same scope as 192.0.2/24.
59801         * posix/gai.conf: Document new scope table defaults.
59803 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59805         [BZ #5298]
59806         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59807         for ftell.  Compute offsets from write pointers instead.
59808         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59810 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59812         [BZ #14543]
59813         * libio/Makefile (tests): New test case tst-fseek.
59814         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59815         combination works in wide mode.
59816         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59817         state when the external buffer state changes.
59819 2012-09-27  David S. Miller  <davem@davemloft.net>
59821         [BZ #14376]
59822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59823         pass reloc->r_addend in as the 'high' argument to
59824         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59828 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59830         * rt/tst-aio2.c: Include <pthread.h>.
59831         * rt/tst-aio3.c: Likewise.
59833 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59835         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59837 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59839         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59840         contents on [SHARED].
59842 2012-09-26  Marek Polacek  <polacek@redhat.com>
59844         [BZ #14530]
59845         [BZ #13741]
59846         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59847         for C++ and GCC <4.3 as well as for non GCC compilers.
59849 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59853 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59855         * Makefile.in (all, install): Declare with .PHONY.
59856         Reported by Michael Hope <michael.hope@linaro.org>.
59858 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59860         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59861         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59862         system header.
59863         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59864         Likewise.
59865         (sydep_routines): Add the new and the internal functions.
59866         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59867         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59869         (GLIBC_2.17): Add the new function.
59870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59871         (GLIBC_2.17): Likewise.
59872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59873         (GLIBC_2.17): Likewise.
59874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59875         (GLIBC_2.17): Likewise.
59876         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59878 2012-09-25  Alan Modra  <amodra@gmail.com>
59880         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59881         Add release barrier before setting once_control to say
59882         initialisation is done.  Add hints on lwarx.  Use macro in
59883         place of isync.
59884         (clear_once_control): Add release barrier.
59886 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59888         [BZ #13629]
59889         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59890         specially.
59891         * math/s_clog10.c (__clog10): Likewise.
59892         * math/s_clog10f.c (__clog10f): Likewise.
59893         * math/s_clog10l.c (__clog10l): Likewise.
59894         * math/s_clogf.c (__clogf): Likewise.
59895         * math/s_clogl.c (__clogl): Likewise.
59896         * math/Makefile (libm-calls): Add x2y2m1.
59897         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59898         (__x2y2m1): Likewise.
59899         (__x2y2m1l): Likewise.
59900         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59901         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59902         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59903         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59904         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59905         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59906         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59907         * sysdeps/i386/fpu/libm-test-ulps: Update.
59908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59910         [BZ #14621]
59911         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59912         int as type of variable DEPTH.
59913         (glob): Use size_t instead of int as type of variables NEWCOUNT
59914         and OLD_PATHC.
59916 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59918         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59919         Add s_sincosf-sse2.
59920         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59921         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59922         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59923         macros for using routine as __sincosf_ia32.
59924         Use macro for function declaration and weak_alias.
59925         * sysdeps/i386/fpu/libm-test-ulps: Update.
59927         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59930         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59931         subnormal argument.
59932         * math/s_cexpf.c (__cexpf): Likewise.
59933         * math/s_csinf.c (__csinf): Likewise.
59934         * math/s_csinhf.c (__csinhf): Likewise.
59935         * math/s_ctanf.c (__ctanf): Likewise.
59936         * math/s_ctanhf.c (__ctanhf): Likewise.
59937         * math/s_ccosh.c (__ccoshf): Likewise.
59938         * math/s_cexp.c (__cexpl): Likewise.
59939         * math/s_csin.c (__csin): Likewise.
59940         * math/s_csinh.c (__csinh): Likewise.
59941         * math/s_ctan.c (__ctan): Likewise.
59942         * math/s_ctanh.c (ctanh): Likewise.
59943         * math/s_ccoshl.c (__ccoshl): Likewise.
59944         * math/s_cexpl.c (__cexpl): Likewise.
59945         * math/s_csinl.c (__csinl): Likewise.
59946         * math/s_csinhl.c (__csinhl): Likewise.
59947         * math/s_ctanl.c (__ctanl): Likewise.
59948         * math/s_ctanhl.c (__ctanhl): Likewise.
59950 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59952         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59953         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59954         (_IO_off_t): Define to __off_t, not _G_off_t.
59955         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59956         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59957         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59958         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59959         type of __dummy and __dummy2 fields.
59960         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59961         (_G_ssize_t): Likewise.
59962         (_G_off_t): Likewise.
59963         (_G_pid_t): Likewise.
59964         (_G_uid_t): Likewise.
59965         (_G_wchar_t): Likewise.
59966         (_G_wint_t): Likewise.
59967         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59968         (_G_ssize_t): Likewise.
59969         (_G_off_t): Likewise.
59970         (_G_pid_t): Likewise.
59971         (_G_uid_t): Likewise.
59972         (_G_wchar_t): Likewise.
59973         (_G_wint_t): Likewise.
59974         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59975         (_G_ssize_t): Likewise.
59976         (_G_off_t): Likewise.
59977         (_G_pid_t): Likewise.
59978         (_G_uid_t): Likewise.
59979         (_G_wchar_t): Likewise.
59980         (_G_wint_t): Likewise.
59982 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59984         * malloc/arena.c: Include malloc-sysdep.h.
59985         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59986         is sufficient to shrink the heap or an unmap is needed.
59987         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59988         new function check_may_shrink_heap.
59989         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59990         new function check_may_shrink_heap.
59992 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59994         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59995         comments.
59997 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59999         * catgets/test-gencat.sh: Add "set -e".
60000         * elf/tst-pathopt.sh: Likewise.
60001         * grp/tst_fgetgrent.sh: Likewise.
60002         * iconvdata/run-iconv-test.sh: Likewise.
60003         * intl/tst-gettext.sh: Likewise.
60004         * intl/tst-gettext2.sh: Likewise.
60005         * intl/tst-gettext4.sh: Likewise.
60006         * intl/tst-gettext6.sh: Likewise.
60007         * intl/tst-translit.sh: Likewise.
60008         * io/ftwtest-sh: Likewise.
60009         * libio/test-freopen.sh: Likewise.
60010         * malloc/tst-mtrace.sh: Likewise.
60011         * posix/globtest.sh: Likewise.
60012         * posix/tst-getconf.sh: Likewise.
60013         * posix/wordexp-tst.sh: Likewise.
60014         * stdio-common/tst-printf.sh: Likewise.
60015         * stdio-common/tst-unbputc.sh: Likewise.
60016         * stdlib/tst-fmtmsg.sh: Likewise.
60017         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60018         * catgets/Makefile: Do not specify -e option when running
60019         testsuite shell scripts.
60020         * elf/Makefile: Likewise.
60021         * grp/Makefile: Likewise.
60022         * iconvdata/Makefile: Likewise.
60023         * intl/Makefile: Likewise.
60024         * io/Makefile: Likewise.
60025         * libio/Makefile: Likewise.
60026         * malloc/Makefile: Likewise.
60027         * posix/Makefile: Likewise.
60028         * stdio-common/Makefile: Likewise.
60029         * stdlib/Makefile: Likewise.
60030         * sysdeps/x86_64/Makefile: Likewise.
60032         * io/ftwtest-sh: Add copyright header.
60033         * posix/globtest.sh: Likewise.
60034         * posix/tst-getconf.sh: Likewise.
60035         * posix/wordexp-tst.sh: Likewise.
60036         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60038 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60040         [BZ #13679]
60041         * Makeconfig (+link): Defined as $(+link-static) if
60042         $(build-shared) isn't yes.
60043         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60044         isn't yes.
60045         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60047         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60049         [BZ #14562]
60050         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60051         new chunk size with MALLOC_ALIGN_MASK.
60053 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60055         [BZ #5044]
60056         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60057         <rounding-mode.h>.
60058         (__printf_fphex): Determine rounding using get_rounding_mode and
60059         round_away.
60060         * stdio-common/tst-printf-round.c (struct hex_test): New
60061         structure.
60062         (hex_tests): New variable.
60063         (test_hex_in_one_mode): New function.
60064         (do_test): Also run tests for hex float output.
60066 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60068         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60069         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60070         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60071         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60072         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60073         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60074         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60075         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60077 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60079         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60080         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60081         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60082         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60084 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60086         [BZ #14579]
60087         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60088         mode only.
60089         * elf/tst-rtld-load-self.sh: New test.
60090         * elf/Makefile: Run it.
60092 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60094         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60095         (tst-writev-ENV): Remove.
60096         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60098 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60100         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60102 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60104         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60105         unconditional.
60106         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60107         Likewise.
60108         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60109         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60110         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60111         Likewise.
60113 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60115         [BZ #14587]
60116         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60117         * config.make.in (have-cpp-asm-debuginfo): Removed.
60118         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60119         * configure: Regenerated.
60121 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60123         [BZ #5044]
60124         * stdio-common/printf_fp.c: Include <stdbool.h> and
60125         <rounding-mode.h>.
60126         (___printf_fp): Determine rounding using get_rounding_mode and
60127         round_away.
60128         * stdio-common/tst-printf-round.c: New file.
60129         * stdio-common/Makefile (tests): Add tst-printf-round.
60130         (link-libm): New variable.
60131         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60133 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60135         [BZ #14576]
60136         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60137         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60138         Likewise.
60139         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60140         Likewise.
60142 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60144         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60145         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60146         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60147         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60149 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60151         [BZ #14518]
60152         * include/rounding-mode.h: New file.
60153         * sysdeps/generic/get-rounding-mode.h: Likewise.
60154         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60155         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60156         (MAX_VALUE): New macro.
60157         (MIN_VALUE): Likewise.
60158         (overflow_value): New function.
60159         (underflow_value): Likewise.
60160         (round_and_return): Use overflow_value and underflow_value to
60161         determine return values in overflow and underflow cases.  Use
60162         round_away to determine rounding depending on rounding mode.
60163         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60164         determine return values in overflow and underflow cases.
60165         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60166         (struct test_results): New structure.
60167         (struct test): Use struct test_results to store expected results
60168         for all rounding modes.
60169         (TEST): Include expected results for all rounding modes.
60170         (test_in_one_mode): New function.
60171         (do_test): Use test_in_one_mode to compute and check results.
60172         Check results for all rounding modes.
60173         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60174         $(link-libm).
60176 2012-12-09  Allan McRae  <allan@archlinux.org>
60178         * sysdeps/i386/fpu/libm-test-ulps: Update
60180 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60182         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60183         (_G_int32_t): Likewise.
60184         (_G_uint16_t): Likewise.
60185         (_G_uint32_t): Likewise.
60186         (_G_HAVE_BOOL): Likewise.
60187         (_G_HAVE_ATEXIT): Likewise.
60188         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60189         (_G_HAVE_IO_FILE_OPEN): Likewise.
60190         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60191         (_G_int32_t): Likewise.
60192         (_G_uint16_t): Likewise.
60193         (_G_uint32_t): Likewise.
60194         (_G_HAVE_BOOL): Likewise.
60195         (_G_HAVE_ATEXIT): Likewise.
60196         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60197         (_G_HAVE_IO_FILE_OPEN): Likewise.
60198         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60199         (_G_int32_t): Likewise.
60200         (_G_uint16_t): Likewise.
60201         (_G_uint32_t): Likewise.
60202         (_G_HAVE_BOOL): Likewise.
60203         (_G_HAVE_ATEXIT): Likewise.
60204         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60205         (_G_HAVE_IO_FILE_OPEN): Likewise.
60207 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60209         * csu/libc-tls.c: Update copyright years.
60211 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60213         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60214         [!_G_USING_THUNKS]: Remove conditional code.
60215         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60216         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60218         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60219         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60220         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60221         (_G_VTABLE_LABEL_PREFIX): Likewise.
60222         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60223         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60224         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60225         (_G_VTABLE_LABEL_PREFIX): Likewise.
60226         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60227         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60228         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60229         (_G_VTABLE_LABEL_PREFIX): Likewise.
60230         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60232 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60234         * libio/Makefile: Include ../Makeconfig before tests.
60235         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60236         only if $(build-shared) is yes.
60238         * iconv/gconv_db.c: Update copyright years.
60240 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60242         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60243         unwind info if defined PIC. Fix special cases description.
60244         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60246         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60247         DP_HI_MASK entry.
60248         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60250 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60252         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60254         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60255         is NULL.
60257         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60258         (LDLIBS-tst-chk4): This.
60259         (LDFLAGS-tst-chk5): Renamed to ...
60260         (LDLIBS-tst-chk5): This.
60261         (LDFLAGS-tst-chk6): Renamed to ...
60262         (LDLIBS-tst-chk6): This.
60263         (LDFLAGS-tst-lfschk4): Renamed to ...
60264         (LDLIBS-tst-lfschk4): This.
60265         (LDFLAGS-tst-lfschk5): Renamed to ...
60266         (LDLIBS-tst-lfschk5): This.
60267         (LDFLAGS-tst-lfschk6): Renamed to ...
60268         (LDLIBS-tst-lfschk6): This.
60270         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60271         on $(common-objpfx)soversions.mk.
60273 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60275         [BZ #10014]
60276         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60277         example host name.
60279 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60281         * malloc/arena.c (arena_get_retry): New function that gets
60282         another arena for the caller to try its request on.
60283         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60284         current arena cannot fulfill the request.
60285         (__libc_memalign): Likewise.
60286         (__libc_memalign): Likewise.
60287         (__libc_pvalloc): Likewise.
60288         (__libc_calloc): Likewise.
60290 2012-09-05  John Tobey  <john.tobey@gmail.com>
60292         [BZ #13542]
60293         * manual/arith.texi (Operations on Complex): Fix description
60294         of carg branch cut.
60296 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60298         [BZ #10014]
60299         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60300         host name.
60302         [BZ #10038]
60303         * manual/memory.texi (Memory): Make order of menu items match
60304         order of sections.
60306 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60308         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60309         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60310         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60314         * csu/libc-tls.c (static_dtv): Renamed to ...
60315         (_dl_static_dtv): This.  Make it global.
60316         (_dl_initial_dtv): Removed.
60317         (__libc_setup_tls): Updated.
60318         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60319         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60320         DL_INITIAL_DTV.
60322 2012-09-06  Petr Machata  <pmachata@redhat.com>
60324         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60325         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60326         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60327         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60331         [BZ #14545]
60332         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60333         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60334         freeing dtv[-1].
60336 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60338         [BZ #14544]
60339         * Makeconfig (link-static-before-libc): Replace $(+prector)
60340         with $(+prectorT).
60341         (link-static-after-libc): Replace $(+postctor) with
60342         $(+postctorT).
60343         (link-bounded): Replace $(+prector)/$(+postctor) with
60344         $(+prectorT)/$(+postctorT).
60345         (+prectorT): New macro.
60346         (+postctorT): Likewise.
60348 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60350         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60351         (round_str): Handle values above the maximum for IBM long double
60352         as inexact.
60353         * stdlib/tst-strtod-round.c (tests): Regenerated.
60355 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60357         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60358         assembler flag.
60359         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60360         zarch_nohighgprs around the zarch optimized routines.
60361         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60362         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60363         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60364         for zarch.
60366 2012-09-05  David S. Miller  <davem@davemloft.net>
60368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60370         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60371         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60372         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60373         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60374         entries.
60376 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60378         * malloc/arena.c: Fold copyright years.
60379         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60383         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60385 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60387         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60389 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60391         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60392         change internal state upon failure.
60394 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60396         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60397         * malloc/memusage.c (mmap): Likewise.
60398         (mmap64, mremap): Likewise.  Adjust name in comment.
60400 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60402         * libio/fileops.c: Fix typos in comments.
60403         * libio/oldfileops.c: Likewise.
60404         * libio/wfileops.c: Likewise.
60406 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60408         [BZ #1349]
60409         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60410         (tst-malloc-usable-ENV): Set environment for test case.
60411         * malloc/hooks.c (malloc_check_get_size): New function to get
60412         requested size.
60413         * malloc/malloc.c (musable): Use malloc_check_get_size.
60414         * malloc/tst-malloc-usable.c: New test case.
60416 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60418         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60420 2012-09-05  Allan McRae  <allan@archlinux.org>
60422         [BZ #13966]
60423         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60424         determine header location.
60425         * configure: Regenerated.
60427 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60429         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60430         float format.
60431         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60432         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60433         format.
60434         (test): Regenerate.
60436 2012-09-04  David S. Miller  <davem@davemloft.net>
60438         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60439         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60440         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60442 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60444         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60445         failures.
60447         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60449 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60451         [BZ #9914]
60452         * libio/iogetdelim.c: Include <limits.h>.
60453         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60454         + len + 1 would overflow.
60456 2012-09-03  Andreas Jaeger  <aj@suse.de>
60458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60459         * sysdeps/i386/fpu/libm-test-ulps: Update.
60461 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60463         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60464         Add s_sinf-sse2, s_conf-sse2.
60466         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60467         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60468         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60469         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60471         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60472         for using routine as __sinf_ia32.
60473         Use macro for function declaration and weak_alias.
60474         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60475         for using routine as __cosf_ia32.
60476         Use macro for function declaration and weak_alias.
60478         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60479         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60481         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60482         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60485         * math/libm-test.inc (cos_test): Add more test cases.
60486         (sin_test): Likewise.
60487         (sincos_test): Likewise.
60489 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60491         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60492         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60493         hidden.
60494         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60496 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60498         [BZ #14538]
60499         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60500         first element of the GOT.
60501         (elf_machine_load_address): Return the difference between
60502         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60504 2012-09-01  Allan McRae  <allan@archlinux.org>
60506         [BZ #13412]
60507         * configure.in (AWK): Require gawk version 3.0 or later.
60508         * configure: Regenerated.
60510 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60512         * sysdeps/unix/sysv/linux/kernel-features.h
60513         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60515         [__NR_clock_getres]: Make code unconditional.
60516         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60517         (clock_getcpuclockid): Remove code left unreachable by removal of
60518         conditionals.
60519         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60520         code unconditional.
60521         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60522         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60523         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60524         Make code unconditional.
60525         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60526         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60527         * sysdeps/unix/sysv/linux/clock_settime.c
60528         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60529         conditional code.
60530         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60531         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60533 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60535         [BZ #14476]
60536         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60537         scripts/test-installation.pl.
60539         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60540         and $ld_so_version if it is set.
60542 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60544         [BZ #14516]
60545         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60546         failure if reading from procfs failed.
60547         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60549 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60551         * sysdeps/unix/sysv/linux/kernel-features.h
60552         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60553         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60554         Remove conditional code.
60555         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60556         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60557         Remove conditional code.
60558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60559         * sysdeps/unix/sysv/linux/i386/fxstat.c
60560         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60561         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60562         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60563         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60564         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60565         * sysdeps/unix/sysv/linux/i386/lxstat.c
60566         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60567         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60568         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60569         Remove conditional code.
60570         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60571         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60572         Remove conditional code.
60573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60574         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60575         <kernel-features.h>.
60576         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60577         Remove.
60578         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60579         Remove conditional code.
60580         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60581         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60582         Remove conditional.
60584 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60586         [BZ #5400]
60587         * NEWS: Add fixed bug number.
60589 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60591         [BZ #14519]
60592         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60593         underflowing exponent in case of negative sign.
60594         * stdlib/tst-strtod-round-data: Add more tests.
60595         * stdlib/tst-strtod-round.c (tests): Regenerated.
60597         [BZ #3479]
60598         * stdlib/strtod_l.c (NDIG): Remove.
60599         (HEXNDIG): Likewise.
60600         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60601         smallest representable value.
60602         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60603         lie within an exact representation of 1/2 ulp of the result.
60604         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60605         unconditionally.
60606         (TENS_P9_IDX): Define unconditionally.
60607         (TENS_P9_SIZE): Likewise.
60608         (TENS_P10_IDX): Likewise.
60609         (TENS_P10_SIZE): Likewise.
60610         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60611         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60612         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60613         entries for 10^2^13 and 10^2^14.
60614         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60615         (TENS_P13_IDX): Define.
60616         (TENS_P13_SIZE): Likewise.
60617         (TENS_P14_IDX): Likewise.
60618         (TENS_P14_SIZE): Likewise.
60619         (_fpioconst_pow10): Change array size to
60620         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60621         unconditional.
60622         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60623         1024]: Add entries for 10^2^13 and 10^2^14.
60624         [LAST_POW10 > _LAST_POW10]: Remove #error.
60625         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60626         (_fpioconst_pow10): Change array size to
60627         FPIOCONST_POW10_ARRAY_SIZE.
60628         * stdlib/gen-fpioconst.c: New file.
60629         * stdlib/gen-tst-strtod-round.c: Likewise.
60630         * stdlib/tst-strtod-round-data: Likewise.
60631         * stdlib/tst-strtod-round.c: Likewise.
60632         * stdlib/Makefile (tests): Add tst-strtod-round.
60634         [BZ #14459]
60635         * stdlib/strtod_l.c: Include <stdint.h>.
60636         (NDEBUG): Do not define.
60637         (round_and_return): Change EXPONENT parameter to type intmax_t.
60638         Rearrange calculations to avoid internal overflow possibilities.
60639         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60640         Rearrange calculations to avoid internal overflow possibilities.
60641         Assert that number fits inside MPNSIZE limbs.
60642         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60643         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60644         calculations and add assertions to avoid internal overflow
60645         possibilities.  Add casts to avoid signed/unsigned operations.
60646         * stdlib/tst-strtod-overflow.c: New file.
60647         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60649 2012-08-25  Marek Polacek  <polacek@redhat.com>
60651         * time/time.h: Fix some typos in comments.
60653 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60655         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60656         * posix/tst-rfc3484-2.c: Likewise.
60657         * posix/tst-rfc3484-3.c: Likewise.
60659 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60661         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60662         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60664 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60666         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60667         #include of fxstatat64.c.
60669 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60671         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60672         * shadow/getspent_r.c: Likewise.
60673         * shadow/getspnam.c: Likewise.
60674         * shadow/getspnam_r.c: Likewise.
60675         * gshadow/getsgent.c: Likewise.
60676         * gshadow/getsgent_r.c: Likewise.
60677         * gshadow/getsgnam.c: Likewise.
60678         * gshadow/getsgnam_r.c: Likewise.
60679         * inet/getnetbyad.c: Likewise.
60680         * inet/getnetbyad_r.c: Likewise.
60681         * inet/getnetbynm.c: Likewise.
60682         * inet/getnetbynm_r.c: Likewise.
60683         * inet/getnetent.c: Likewise.
60684         * inet/getnetent_r.c: Likewise.
60685         * inet/getproto.c: Likewise.
60686         * inet/getproto_r.c: Likewise.
60687         * inet/getprtent.c: Likewise.
60688         * inet/getprtent_r.c: Likewise.
60689         * inet/getprtname.c: Likewise.
60690         * inet/getprtname_r.c: Likewise.
60691         * inet/getrpcbyname.c: Likewise.
60692         * inet/getrpcbyname_r.c: Likewise.
60693         * inet/getrpcbynumber.c: Likewise.
60694         * inet/getrpcbynumber_r.c: Likewise.
60695         * inet/getrpcent.c: Likewise.
60696         * inet/getrpcent_r.c: Likewise.
60697         * inet/getaliasent.c: Likewise.
60698         * inet/getaliasent_r.c: Likewise.
60699         * inet/getaliasname.c: Likewise.
60700         * inet/getaliasname_r.c: Likewise.
60701         * nscd/getgrgid_r.c: Likewise.
60702         * nscd/getgrnam_r.c: Likewise.
60703         * nscd/gethstbyad_r.c: Likewise.
60704         * nscd/gethstbynm3_r.c: Likewise.
60705         * nscd/getpwnam_r.c: Likewise.
60706         * nscd/getpwuid_r.c: Likewise.
60707         * nscd/getsrvbynm_r.c: Likewise.
60708         * nscd/getsrvbypt_r.c: Likewise.
60709         * nscd/gai.c: Likewise.
60711         * configure.in (build_nscd): New substituted variable, set
60712         by --disable-build-nscd and defaults to $use_nscd.
60713         * configure: Regenerated.
60714         * config.make.in (build-nscd): New substituted variable.
60715         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60716         Change conditional to require [$(build-nscd) = yes] as well.
60717         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60719         [BZ# 13696]
60720         * configure.in (use_nscd): New substituted variable, set by
60721         --disable-nscd.  If enabled, define USE_NSCD.
60722         * configure: Regenerated.
60723         * config.h.in: Add USE_NSCD.
60724         * config.make.in (use-nscd): New substituted variable.
60725         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60726         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60727         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60728         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60729         (CFLAGS-getgrnam_r.c): Likewise.
60730         (CFLAGS-initgroups.c): Likewise.
60731         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60732         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60733         Variables removed.
60734         * inet/getnetgrent_r.c
60735         (nscd_setnetgrent): New function, broken out of ...
60736         (setnetgrent): ... here.  Call it.
60737         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60738         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60739         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60740         * nscd/Makefile (routines, aux): Move definitions after include of
60741         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60742         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60743         Conditionalize on [USE_NSCD].
60744         (is_nscd, nscd_init_cb): Likewise.
60745         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60746         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60747         * nss/nss_db/db-init.c: Likewise.
60748         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60749         [USE_NSCD].
60750         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60751         (make_request): Use it.
60752         (cache_valid_p): New function.
60753         (__check_pf): Use it.
60754         * NEWS: Add item for --disable-nscd.
60756 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60758         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60759         to support sed >= 4.2.1-20-ga9bf076.
60760         * configure: Regenerated.
60762 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60764         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60765         Conditionalize whole body on [IREL].
60767 2012-08-22  Jeff Law <law@redhat.com>
60769         [BZ #14505]
60770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60771         if the family is PF_UNSPEC.
60773 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60775         * Makerules (lib-version): Rename from V.
60776         (install-lib-nosubdir): Change V to lib-version.
60778 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60780         [BZ #14252]
60781         * powerpc32/power6/wcschr.c: New file.
60782         * powerpc32/power6/wcscpy.c: New file.
60783         * powerpc32/power6/wcsrchr.c: New file.
60784         * powerpc64/power6/wcschr.c: New file.
60785         * powerpc64/power6/wcscpy.c: New file.
60786         * powerpc64/power6/wcsrchr.c: New file.
60788 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60790         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60791         (two_way_short_needle): Use it.
60792         * string/strstr.c (AVAILABLE1_USES_J): Define.
60793         * string/strcasestr.c: Likewise.
60795         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60796         array references.
60797         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60799         [BZ #11607]
60800         * NEWS: Add an entry.
60801         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60802         define their defaults.
60803         (two_way_short_needle): Detect end-of-string on-the-fly.
60804         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60805         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60806         * string/bug-strcasestr1.c: New test.
60807         * string/Makefile: Run it.
60809 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60811         [BZ #11607]
60812         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60813         the first character.
60815 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60817         * csu/elf-init.c (__libc_csu_irel): Function removed.
60818         * csu/libc-start.c (apply_irel): New function.
60819         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60821 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60823         * sysdeps/unix/sysv/linux/kernel-features.h
60824         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60825         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60826         <kernel-features.h>.
60827         [__NR_fadvise64_64]: Make code unconditional.
60828         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60829         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60830         !__NR_fadvise64_64)]: Likewise.
60831         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60832         !__NR_fadvise64_64))]: Likewise.
60833         [__NR_fadvise64]: Make code unconditional.
60834         [!__NR_fadvise64]: Remove conditional code.
60835         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60836         <kernel-features.h>.
60837         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60838         unconditional.
60839         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60840         conditional code.
60841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60842         not include <kernel-features.h>.
60843         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60844         unconditional.
60845         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60846         conditional code.
60847         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60848         include <kernel-features.h>.
60849         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60850         unconditional.
60851         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60852         conditional code.
60854 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60857         slight instruction rearrangements per scrollpipe analysis.
60858         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60860 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60862         * manual/syslog.texi (syslog; vsyslog, closelog):
60863         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60864         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60866         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60867         DSOCAPS to match condition on defining it.
60869 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60871         * sysdeps/unix/sysv/linux/kernel-features.h
60872         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60874         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60875         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60877         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60878         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60880         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60881         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60883         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60884         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60886         * sysdeps/unix/sysv/linux/kernel-features.h
60887         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60888         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60889         unconditional.
60890         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60891         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60892         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60893         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60894         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60895         Make code unconditional.
60896         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60897         (__mmap64) [!__NR_mmap2]: Likewise.
60898         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60899         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60900         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60901         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60902         [__NR_mmap2]: Make code unconditional.
60903         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60904         (__mmap64) [!__NR_mmap2]: Likewise.
60906 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60908         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60910 2012-08-18  Andreas Jaeger  <aj@suse.de>
60912         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60914 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60916         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60917         * include/unistd.h (__have_sock_cloexec): Likewise.
60918         (__have_pipe2): Likewise.
60919         (__have_dup3): Likewise.
60921 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60923         [BZ #9685]
60924         * include/unistd.h (__have_pipe2): Change define into an extern int.
60925         (__have_dup3): Likewise.
60926         * socket/have_sock_cloexec.c: Include fcntl.h.
60927         (__have_pipe2): New variable.
60928         (__have_dup3): Likewise.
60930 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60932         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60934 2012-08-17  Marek Polacek  <polacek@redhat.com>
60936         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60937         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60939 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60941         * configure.in: Add AC_SUBST for sysheaders.
60942         * configure: Regenerated.
60943         * config.make.in (sysheaders): New substituted variable.
60945         * sysdeps/unix/mkfifo.c: Moved ...
60946         * sysdeps/posix/mkfifo.c: ... here.
60947         * sysdeps/unix/mkfifoat.c: Moved ...
60948         * sysdeps/posix/mkfifoat.c: ... here.
60950         * sysdeps/unix/utime.c: Moved ...
60951         * sysdeps/posix/utime.c: ... here.
60953         * sysdeps/unix/time.c: Moved ...
60954         * sysdeps/posix/time.c: ... here.
60955         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60956         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60958         * sysdeps/unix/nice.c: Moved ...
60959         * sysdeps/posix/nice.c: ... here.
60961         * sysdeps/unix/alarm.c: Moved ...
60962         * sysdeps/posix/alarm.c: ... here.
60964         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60966 2012-08-17  Jeff Law <law@redhat.com>
60968         * intl/Makefile (codeset_mo): New variable.
60969         ($(codeset_mo)): New target.
60970         (tst-codeset.out): Depend on that.  Remove explicit rule.
60971         (tst-gettext3.out, tst-gettext5.out): Likewise.
60972         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60973         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60974         * intl/tst-codeset.sh: Remove.
60975         * intl/tst-gettext3.sh: Likewise.
60976         * intl/tst-gettext5.sh: Likewise.
60978 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60980         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60981         * sysdeps/unix/syscalls.list: ... here.
60983         * sysdeps/posix/getaddrinfo.c
60984         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60985         (gaiconf_init, gaiconf_reload): Use them.
60986         [!_STATBUF_ST_NSEC]
60987         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60988         Define using time_t rather than struct timespec.
60990         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60991         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60992         Macros removed.
60993         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60994         [!NO_THREADS].
60995         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60996         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60997         Likewise.
60999         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61000         __libc_cleanup_push argument.
61002         * bits/param.h: New file.
61003         * misc/sys/param.h: New file.
61004         * include/sys/param.h: New file.
61005         * misc/Makefile (headers): Add bits/param.h.
61006         * sysdeps/generic/sys/param.h: File removed.
61007         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61008         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61009         * sysdeps/mach/hurd/bits/param.h: New file.
61010         * sysdeps/mach/hurd/sys/param.h: File removed.
61012         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61013         last change.
61015         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61016         [_IO_MTSAFE_IO].
61017         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61018         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61019         New macros.
61021         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61022         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61023         rather than -D_IO_MTSAFE_IO conditionally.
61024         * stdio-common/Makefile (CPPFLAGS): Likewise.
61025         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61026         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61027         Use $(libio-mtsafe).
61028         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61029         of -D_IO_MTSAFE_IO.
61030         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61031         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61032         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61033         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61034         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61035         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61036         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61037         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61038         (CFLAGS-fread_u_chk.c): Likewise.
61039         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61040         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61041         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61042         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61043         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61044         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61045         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61046         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61047         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61049         * libio/Makefile: Test [$(libc-reentrant) = yes]
61050         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61052         * Makeconfig
61053         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61054         * sysdeps/pthread/configure: File removed.
61055         * sysdeps/pthread/Makeconfig: New file.
61056         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61057         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61059 2012-08-16  Gary Benson  <gbenson@redhat.com>
61061         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61062         unmapping the first object in a namespace.
61064 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61066         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61067         (__internal_setnetgrent): ... this.  Add internal_function to
61068         definition.  Add libc_hidden_def.
61069         (setnetgrent): Update caller.
61070         (internal_endnetgrent): Renamed to ...
61071         (__internal_endnetgrent): ... this.  Add internal_function to
61072         definition.  Add libc_hidden_def.
61073         (endnetgrent): Update caller.
61074         (internal_getnetgrent_r): Renamed to ...
61075         (__internal_getnetgrent_r): ... this.  Add internal_function to
61076         definition.  Add libc_hidden_def.
61077         (__getnetgrent_r): Update caller.
61078         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61080 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61082         * stdlib/longlong.h: Update from GCC.
61084 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61086         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61087         on _QL, which is set by umul_ppmm but never used.
61088         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61089         variables, which are set by GMP macros but never used.
61090         * stdio-common/_itowa.c (_itowa): Likewise.
61091         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61092         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61094 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61096         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61097         struct La_sh_regs is not constant.
61098         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61099         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61100         and struct La_sparc64_regs are not constant.
61102 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61104         * sysdeps/unix/sysv/linux/kernel-features.h
61105         (__ASSUME_POSIX_TIMERS): Remove.
61106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61107         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61108         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61109         Make code unconditional.
61110         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61111         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61112         Make code unconditional.
61113         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61114         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61115         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61116         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61117         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61118         Make code unconditional.
61119         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61120         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61121         (__libc_missing_posix_timers): Remove.
61123 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61125         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61126         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61128         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61130         * elf/dl-sym.c: Include <stdlib.h>.
61132         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61133         constants, which avoids warnings in 32-bit builds.
61135         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61136         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61138         * misc/lseek.c: File moved to ...
61139         * io/lseek.c: ... here.
61141         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61143         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61144         shifting LEN more than 31 bits at once.
61146 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61148         [BZ #14195]
61149         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61150         segmentation fault for a case of two empty input strings.
61151         * string/test-strncasecmp.c (check1): Renamed to...
61152         (bz12205): ...this.
61153         (bz14195): Add new testcase for two empty input strings and N > 0.
61154         (test_main): Call new testcase, adapt for renamed function.
61156 2012-08-15  Andreas Jaeger  <aj@suse.de>
61158         [BZ #14090]
61159         * crypt/md5test2.c: New test, based on test supplied by Serge
61160         Belyshev <belyshev@depni.sinp.msu.ru>.
61161         * crypt/Makefile (xtests): Add md5test-giant..
61162         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61164 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61166         [BZ #14090]
61167         * crypt/md5.c (md5_process_block): Don't assume the buffer
61168         length is less than 2**32.
61169         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61170         length is less than 2**64.
61172 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61174         * string/str-two-way.h: Include <sys/param.h>.
61175         (MAX): Macro removed.
61177         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61178         Move #define and #undef of memmove to just before and after
61179         including <string.h>.
61181         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61182         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61183         and after including <string.h>.  Move declarations of
61184         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61185         to before #include "string/memmove.c".
61187         * include/dirent.h: Declare __getdirentries.
61189         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61190         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61192 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61194         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61195         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61196         * sysdeps/i386/configure: Regenerated.
61197         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61198         STABS_CURRENT_FILE, and STABS_FUN.
61199         (END): Remove call to STABS_FUN_END.
61200         (STABS_CURRENT_FILE1): Delete.
61201         (STABS_CURRENT_FILE): Likewise.
61202         (STABS_FUN): Likewise.
61203         (STABS_FUN_END): Likewise.
61204         (STABS_FUN2): Likewise.
61205         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61206         * sysdeps/x86_64/configure: Regenerated.
61208 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61210         * elf/dl-open.c: Include <atomic.h>.
61211         * elf/dl-lookup.c: Likewise.
61213 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61215         * sysdeps/unix/sysv/linux/kernel-features.h
61216         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61217         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61218         unconditionally.
61219         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61220         unconditionally.
61221         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61222         condition on __ASSUME_CLONE_THREAD_FLAGS.
61224 2012-08-14  Andreas Jaeger  <aj@suse.de>
61226         * sysdeps/i386/fpu/libm-test-ulps: Update.
61228 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61230         * include/atomic.h (atomic_exchange_and_add): Split into ...
61231         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61232         New atomic macros.
61234 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61238 2012-08-13  Jeff Law <law@redhat.com>
61240         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61241         null byte in the output string.
61243 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61245         * sysdeps/unix/sysv/linux/kernel-features.h
61246         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61247         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61248         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61249         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61250         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61251         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61252         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61254 2012-08-09  Jeff Law <law@redhat.com>
61256         [BZ #13939]
61257         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61258         When avoid_arena is set, don't retry in the that arena.  Pick the
61259         next one, whatever it might be.
61260         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61261         (arena_lock): Pass in new parameter to arena_get2.
61262         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61263         arena_get2.
61264         (__libc_malloc): Unify retrying after main arena failure with
61265         __libc_memalign version.
61266         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61268 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61270         [BZ #14166]
61271         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61272         to __redirect_strstr.
61273         (__strstr_sse42): Use typeof __redirect_strstr.
61274         (__strstr_ia32): Likewise.
61275         (__libc_strstr): New prototype.
61276         (strstr): Renamed to ...
61277         (__libc_strstr): This.
61278         (strstr): New strong alias of __libc_strstr.
61279         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61280         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61281         __redirect_time.
61282         Include <time.h>.
61283         (__libc_time): New prototype.
61284         (time_ifunc): Replace time with __libc_time.
61285         (time): New strong alias and hidden definition of __libc_time.
61286         (__GI_time): Remove strong alias.
61287         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61288         Include <stddef.h>.
61289         (memmove): Redefined to __redirect_memmove.
61290         (__memmove_sse2): Use typeof __redirect_memmove.
61291         (__memmove_ssse3): Likewise.
61292         (__memmove_ssse3_back): Likewise.
61293         (__libc_memmove): New prototype.
61294         (memmove): Renamed to ...
61295         (__libc_memmove): This.
61296         (memmove): New strong alias of __libc_memmove.
61298 2012-08-08  Mark Salter  <msalter@redhat.com>
61300         * elf/elf.h
61301         (R_MN10300_TLS_GD): Define.
61302         (R_MN10300_TLS_LD): Likewise.
61303         (R_MN10300_TLS_LDO): Likewise.
61304         (R_MN10300_TLS_GOTIE): Likewise.
61305         (R_MN10300_TLS_IE): Likewise.
61306         (R_MN10300_TLS_LE): Likewise.
61307         (R_MN10300_TLS_DTPMOD): Likewise.
61308         (R_MN10300_TLS_DTPOFF): Likewise.
61309         (R_MN10300_TLS_TPOFF): Likewise.
61310         (R_MN10300_SYM_DIFF): Likewise.
61311         (R_MN10300_ALIGN): Likewise.
61312         (R_MN10300_NUM): Update.
61314 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61317         Remove.
61319 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61321         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61323         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61324         sysdeps/unix -> sysdeps/posix move.
61325         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61327 2012-08-07      Allan McRae     <allan@archlinux.org>
61329         [BZ #14303]
61330         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61331         (SUNOS_CPP): Likewise.
61332         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61333         not found.
61334         (open_input): Call CPP using execvp.
61336 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61338         * sysdeps/unix/sysv/linux/kernel-features.h
61339         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61340         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61341         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61342         (__ASSUME_WAITID_SYSCALL): Likewise.
61343         * sysdeps/unix/sysv/linux/dl-execstack.c
61344         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61345         code unconditional.
61346         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61347         conditional code.
61348         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61349         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61350         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61351         code.
61352         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61353         unconditional.
61354         [__ASSUME_WAITID_SYSCALL]: Likewise.
61355         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61357 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61359         * sysdeps/unix/closedir.c: Renamed to ...
61360         * sysdeps/posix/closedir.c: ... here.
61361         * sysdeps/unix/dirfd.c: Renamed to ...
61362         * sysdeps/posix/dirfd.c: ... here.
61363         * sysdeps/unix/dirstream.h: Renamed to ...
61364         * sysdeps/posix/dirstream.h: ... here.
61365         * sysdeps/unix/fdopendir.c: Renamed to ...
61366         * sysdeps/posix/fdopendir.c: ... here.
61367         * sysdeps/unix/opendir.c: Renamed to ...
61368         * sysdeps/posix/opendir.c: ... here.
61369         * sysdeps/unix/readdir.c: Renamed to ...
61370         * sysdeps/posix/readdir.c: ... here.
61371         * sysdeps/unix/readdir_r.c: Renamed to ...
61372         * sysdeps/posix/readdir_r.c: ... here.
61373         * sysdeps/unix/rewinddir.c: Renamed to ...
61374         * sysdeps/posix/rewinddir.c: ... here.
61375         * sysdeps/unix/seekdir.c: Renamed to ...
61376         * sysdeps/posix/seekdir.c: ... here.
61377         * sysdeps/unix/telldir.c: Renamed to ...
61378         * sysdeps/posix/telldir.c: ... here.
61379         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61380         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61381         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61382         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61384         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61385         * bits/fcntl.h: ... here.
61387         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61388         not 0.
61389         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61390         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61391         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61392         (struct flock): Move l_start, l_len to the beginning.
61393         Use __pid_t for l_pid.
61394         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61395         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61396         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61397         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61398         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61399         [__USE_LARGEFILE64] (struct flock64): New type.
61400         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61402         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61403         * bits/dirent.h: ... here.
61405         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61406         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61408 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61411         Change from 2.6.0 to 2.6.16.
61412         * sysdeps/unix/sysv/linux/configure: Regenerated.
61413         * sysdeps/unix/sysv/linux/kernel-features.h
61414         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61415         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61416         version.
61417         (__ASSUME_UTIMES): Likewise.
61418         (__ASSUME_CLONE_STOPPED): Remove.
61419         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61420         architectures, not kernel version.
61421         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61422         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61423         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61424         (__ASSUME_WAITID_SYSCALL): Likewise.
61425         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61426         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61427         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61428         refer to older versions.
61430 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61432         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61433         Define alphasort64 as an alias.
61434         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61435         Define versionsort64 as an alias.
61436         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61437         Define scandir64 as an alias.
61438         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61439         Define scandirat64 as an alias.
61440         * dirent/alphasort64.c (alphasort64):
61441         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61442         * dirent/versionsort64.c: Likewise.
61443         * dirent/scandir64.c: Likewise.
61444         * dirent/scandirat64.c: Likewise.
61445         * sysdeps/wordsize-64/alphasort.c: File removed.
61446         * sysdeps/wordsize-64/alphasort64.c: File removed.
61447         * sysdeps/wordsize-64/scandir.c: File removed.
61448         * sysdeps/wordsize-64/scandir64.c: File removed.
61449         * sysdeps/wordsize-64/scandirat.c: File removed.
61450         * sysdeps/wordsize-64/scandirat64.c: File removed.
61451         * sysdeps/wordsize-64/versionsort.c: File removed.
61452         * sysdeps/wordsize-64/versionsort64.c: File removed.
61453         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61454         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61455         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61456         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61457         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61458         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61459         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61460         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61462         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61464         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61466         [defined __arch64__ || defined __sparcv9]
61467         (__INO_T_MATCHES_INO64_T): New macro.
61468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61469         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61470         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61471         * sysdeps/unix/sysv/linux/bits/dirent.h
61472         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61473         (_DIRENT_MATCHES_DIRENT64): New macro.
61475         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61476         Define lockf64 as an alias.
61477         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61478         Define fseeko64 as an alias.
61479         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61480         Define ftello64 as an alias.
61481         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61482         Define _IO_fgetpos64 and fgetpos64 as aliases.
61483         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61484         Define _IO_fsetpos64 and fsetpos64 as aliases.
61485         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61486         Conditionalize body on this.
61487         * libio/fseeko64.c: Likewise.
61488         * libio/ftello64.c: Likewise.
61489         * libio/iofgetpos64.c: Likewise.
61490         * libio/iofsetpos64.c: Likewise.
61491         * sysdeps/wordsize-64/lockf.c: File removed.
61492         * sysdeps/wordsize-64/lockf64.c: File removed.
61493         * sysdeps/wordsize-64/fseeko.c: File removed.
61494         * sysdeps/wordsize-64/fseeko64.c: File removed.
61495         * sysdeps/wordsize-64/ftello.c: File removed.
61496         * sysdeps/wordsize-64/ftello64.c: File removed.
61497         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61498         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61499         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61500         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61501         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61502         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61503         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61504         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61505         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61506         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61507         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61508         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61509         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61510         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61512         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61514         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61515         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61516         [defined __arch64__ || defined __sparcv9]
61517         (__OFF_T_MATCHES_OFF64_T): New macro.
61518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61519         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61520         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61521         (__OFF_T_MATCHES_OFF64_T): New macro.
61523 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61525         * stdlib/secure-getenv.c (__secure_getenv): Replace
61526         GLIBC_2_16 with GLIBC_2_17.
61528 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61530         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61531         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61533 2012-08-03  David S. Miller  <davem@davemloft.net>
61535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61537 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61540         Remove.
61541         (__ASSUME_CORRECT_SI_PID): Likewise.
61542         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61543         (__ASSUME_TMPFS_NAME): Likewise.
61544         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61545         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61546         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61547         (HAVE_AUX_SECURE): Make definition unconditional.
61548         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61549         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61551 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61553         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61554         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61555         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61556         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61557         __eloop_threshold instead of SYMLOOP_MAX.
61559         * sysdeps/generic/eloop-threshold.h: New file.
61560         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61561         of MAXSYMLINKS.
61562         * elf/chroot_canon.c (chroot_canon): Likewise.
61564 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61566         [BZ #13717]
61567         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61568         Change to 2.6.0 everywhere.
61569         * sysdeps/unix/sysv/linux/configure: Regenerated.
61570         * sysdeps/unix/sysv/linux/kernel-features.h
61571         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61572         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61573         kernel versions.
61574         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61575         (__ASSUME_FUTEX_REQUEUE): Remove.
61576         (__ASSUME_STATFS64): Define unconditionally.
61577         (__ASSUME_AT_SECURE): Likewise.
61578         (__ASSUME_CORRECT_SI_PID): Likewise.
61579         (__ASSUME_TGKILL): Define without depending on kernel version for
61580         i386.
61581         (__ASSUME_UTIMES): Likewise.
61582         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61583         kernel version.
61584         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61585         (__ASSUME_TMPFS_NAME): Likewise.
61586         * README: Update reference to Linux kernel versions.
61588 2012-08-02  Marek Polacek  <polacek@redhat.com>
61590         [BZ# 14150]
61591         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61592         libc_cv_asm_type_prefix with %.
61593         * configure: Regenerated.
61594         * include/libc-symbols.h: Remove comment about
61595         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61596         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61597         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61598         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61599         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61600         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61601         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61602         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61603         * elf/tst-unique2mod1.c: Likewise.
61604         * elf/tst-unique1mod2.c: Likewise.
61605         * elf/tst-unique1mod1.c: Likewise.
61606         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61607         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61608         Replace ASM_TYPE_DIRECTIVE with .type.
61609         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61610         * sysdeps/i386/sysdep.h: Likewise.
61611         * sysdeps/x86_64/sysdep.h: Likewise.
61612         * sysdeps/sh/sysdep.h: Likewise.
61613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61614         Do not define ASM_TYPE_DIRECTIVE.
61615         * sysdeps/powerpc/sysdep.h: Likewise.
61616         * sysdeps/powerpc/powerpc32/sysdep.h:
61617         Replace ASM_TYPE_DIRECTIVE with .type.
61618         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61620         * sysdeps/i386/fpu/e_powf.S: Likewise.
61621         * sysdeps/i386/fpu/e_expl.S: Likewise.
61622         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61623         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61624         * sysdeps/i386/fpu/e_pow.S: Likewise.
61625         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61626         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61627         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61628         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61629         * sysdeps/i386/fpu/e_log2.S: Likewise.
61630         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61631         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61632         * sysdeps/i386/fpu/e_powl.S: Likewise.
61633         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61634         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61635         * sysdeps/i386/fpu/e_logl.S: Likewise.
61636         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61637         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61638         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61639         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61640         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61641         * sysdeps/i386/fpu/e_log.S: Likewise.
61642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61643         * sysdeps/i386/fpu/e_logf.S: Likewise.
61644         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61645         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61646         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61647         * sysdeps/i386/fpu/e_log10.S: Likewise.
61648         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61649         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61650         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61651         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61652         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61653         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61654         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61655         * sysdeps/i386/i686/strtok.S: Likewise.
61656         * sysdeps/i386/i386-mcount.S: Likewise.
61657         * sysdeps/i386/strtok.S: Likewise.
61658         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61659         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61660         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61661         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61662         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61663         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61664         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61665         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61666         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61667         * sysdeps/x86_64/_mcount.S: Likewise.
61668         * sysdeps/x86_64/strtok.S: Likewise.
61669         * sysdeps/sh/_mcount.S: Likewise.
61671 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61673         * libio/iofopen.c: Include <fcntl.h>.
61674         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61675         (_IO_fopen64, fopen64): Define as aliases.
61676         * libio/iofopen64.c: Include <fcntl.h>.
61677         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61678         Conditionalize body on this.
61679         * sysdeps/wordsize-64/iofopen.c: File removed.
61680         * sysdeps/wordsize-64/iofopen64.c: File removed.
61682 2012-08-01  Marek Polacek  <polacek@redhat.com>
61684         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61685         Use dlfcn directly instead of a variable.
61686         (binfmt-subdir): Do not define.
61687         (dlfcn): Likewise.
61689 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61691         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61692         Remove all definitions.
61693         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61694         <kernel-features.h>.
61695         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61696         (miss_F_GETOWN_EX): Remove all definitions.
61697         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61698         macro definition.
61699         [!__ASSUME_FCNTL64]: Remove conditional code.
61700         [__ASSUME_FCNTL64]: Make code unconditional.
61701         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61702         <kernel-features.h>.
61703         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61704         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61705         (lockf64) [__NR_fcntl64]: Make code unconditional.
61706         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61708         * sysdeps/unix/sysv/linux/kernel-features.h
61709         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61710         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61711         Make code unconditional.
61712         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61713         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61715         [__NR_vfork]: Make code unconditional.
61716         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61717         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61719         [__NR_vfork]: Make code unconditional.
61720         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61721         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61723 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61725         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61726         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61728         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61729         Define mkstemp64 as an alias.
61730         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61731         Define mkstemps64 as an alias.
61732         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61733         Define mkostemp64 as an alias.
61734         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61735         Define mkostemps64 as an alias.
61736         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61737         Conditionalize body on this.
61738         * misc/mkostemp64.c: Likewise.
61739         * misc/mkostemps64.c: Likewise.
61740         * misc/mkstemps64.c: Likewise.
61741         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61742         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61743         * sysdeps/wordsize-64/mkostemp.c: File removed.
61744         * sysdeps/wordsize-64/mkstemp.c: File removed.
61745         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61747         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61750         [BZ #14138]
61751         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61752         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61753         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61754         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61756         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61757         compat_symbol macros from <shlib-compat.h> rather than the underlying
61758         default_symbol_version and symbol_version macros, so that DEFAULT
61759         lines in shlib-versions are respected.
61760         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61762 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61764         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61765         Declare with warn_unused_result.
61766         (setgid, setregid, setegid, setresgid): Likewise.
61767         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61768         Likewise.
61769         * WUR-REPORT: Remove set*id functions.
61771 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61773         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61775 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61777         [BZ #10191]
61778         * include/sys/socket.h (__libc_accept, __libc_accept4):
61779         Add attribute_hidden.
61780         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61782         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61783         use of PTR_MANGLE.
61784         * inet/getnetgrent_r.c (setup): Likewise.
61786         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61788 2012-07-31  David S. Miller  <davem@davemloft.net>
61790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61792 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61794         [BZ #13629]
61795         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61796         value between 1.0 and 2.0 and smaller part has absolute value less
61797         than 1.0.
61798         * math/s_clog10.c (__clog10): Likewise.
61799         * math/s_clog10f.c (__clog10f): Likewise.
61800         * math/s_clog10l.c (__clog10l): Likewise.
61801         * math/s_clogf.c (__clogf): Likewise.
61802         * math/s_clogl.c (__clogl): Likewise.
61803         * math/libm-test.inc (clog_test): Add more tests.
61804         (clog10_test): Likewise.
61805         * sysdeps/i386/fpu/libm-test-ulps: Update.
61806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61808 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61810         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61811         Exit with zero in case no suitable GID is found, and write a
61812         message to standard error.
61814 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61816         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61817         rather than to 1.
61818         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61819         (MAXPATHLEN): Removed.
61820         (NOGROUP, NODEV): New macros.
61821         (setbit, clrbit, isset, isclr): New macros.
61822         (howmany, roundup, powerof2): New macros.
61823         (DEV_BSIZE): New macro.
61825         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61826         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61828         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61829         definition on [!__NO_LONG_DOUBLE_MATH].
61831         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61832         PTR_MANGLE and PTR_DEMANGLE.
61834         * socket/accept4.c (accept4): Rename to __libc_accept4.
61835         Define accept4 as a weak alias.
61837         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61838         on [_DIRENT_HAVE_D_TYPE].
61839         * io/ftw.c (ftw_dir): Likewise.
61841         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61843         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61845         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61846         Use the BSD numbers rather than the arbitrary ones we had.
61847         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61848         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61849         (SIGXCPU, SIGXFSZ): New macros.
61850         (_NSIG): Now 32.
61852         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61853         initializer on [_LIBC_REENTRANT].
61855         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61856         definitions inside [_POSIX_MAPPED_FILES].
61858         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61860         * dirent/opendir.c: Include <fcntl.h>.
61862         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61863         (__libc_getspecific): Likewise.
61864         (__libc_key_create): Likewise.
61866         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61867         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61868         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61869         (tmpfile64): Define as alias.
61870         * sysdeps/wordsize-64/tmpfile.c: File removed.
61871         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61872         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61873         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61875         * stdio-common/vfscanf.c: Include <stdbool.h>.
61876         * nss/makedb.c: Likewise.
61877         * stdio-common/_i18n_number.h: Likewise.
61878         * argp/argp-help.c: Likewise.
61879         * posix/wordexp.c: Likewise.
61880         * sysdeps/posix/spawni.c: Likewise.
61881         * nss/nss_files/files-initgroups.c: Likewise.
61882         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61883         * nss/nss_files/files-initgroups.c: Likewise.
61884         * nss/nss_db/db-netgrp.c: Likewise.
61885         * nss/nss_db/db-initgroups.c: Likewise.
61886         * io/fchmodat.c: Include <sys/stat.h>.
61888         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61889         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61891         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61892         [HAVE_MMAP].
61894         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61895         Add multiple inclusion protection.
61897 2012-07-27  David S. Miller  <davem@davemloft.net>
61899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61901 2012-07-27  Gary Benson  <gbenson@redhat.com>
61903         [BZ #14298]
61904         * elf/rtld.c: Include <stap-probe.h>.
61905         (dl_main): Added static probes "init_start" and "init_complete".
61906         * elf/dl-load.c: Include <stap-probe.h>.
61907         (lose): Take new parameter "nsid".
61908         Added static probe "map_failed".
61909         (_dl_map_object_from_fd): Pass namespace id to lose.
61910         Added static probe "map_start".
61911         (open_verify): Pass namespace id to lose.
61912         * elf/dl-open.c: Include <stap-probe.h>.
61913         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61914         and "reloc_complete".
61915         * elf/dl-close.c: Include <stap-probe.h>.
61916         (_dl_close_worker): Added static probes "unmap_start" and
61917         "unmap_complete".
61918         * elf/rtld-debugger-interface.txt: New file documenting the above.
61920 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61922         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61923         rather than a string variable.
61924         * sunrpc/rpc_main.c (h_output): Likewise.
61925         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61927 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61929         * inet/check_native.c: New file.
61931 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61933         [BZ #13629]
61934         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61935         if larger part has absolute value 1.0.
61936         * math/s_clog10.c (__clog10): Likewise.
61937         * math/s_clog10f.c (__clog10f): Likewise.
61938         * math/s_clog10l.c (__clog10l): Likewise.
61939         * math/s_clogf.c (__clogf): Likewise.
61940         * math/s_clogl.c (__clogl): Likewise.
61941         * math/libm-test.inc (clog_test): Add more tests.
61942         (clog10_test): Likewise.
61943         * sysdeps/i386/fpu/libm-test-ulps: Update.
61944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61946         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61947         (pltexit): Likewise.
61948         (La_regs): Likewise.
61949         (La_retval): Likewise.
61950         (int_retval): Likewise.
61951         Update #error for removed macros to refer only to definitions in
61952         tst-audit.h.
61953         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61954         macro.
61955         (pltexit): Likewise.
61956         (La_regs): Likewise.
61957         (La_retval): Likewise.
61958         (int_retval): Likewise.
61959         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61960         macro.
61961         (pltexit): Likewise.
61962         (La_regs): Likewise.
61963         (La_retval): Likewise.
61964         (int_retval): Likewise.
61965         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61966         macro.
61967         (pltexit): Likewise.
61968         (La_regs): Likewise.
61969         (La_retval): Likewise.
61970         (int_retval): Likewise.
61971         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61972         macro.
61973         (pltexit): Likewise.
61974         (La_regs): Likewise.
61975         (La_retval): Likewise.
61976         (int_retval): Likewise.
61977         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61978         macro.
61979         (pltexit): Likewise.
61980         (La_regs): Likewise.
61981         (La_retval): Likewise.
61982         (int_retval): Likewise.
61983         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61984         macro.
61985         (pltexit): Likewise.
61986         (La_regs): Likewise.
61987         (La_retval): Likewise.
61988         (int_retval): Likewise.
61989         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61990         macro definitions in tst-audit.h.
61991         * sysdeps/i386/tst-audit.h: New file.
61992         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61993         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61994         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61995         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61996         * sysdeps/sh/tst-audit.h: Likewise.
61997         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61998         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61999         * sysdeps/x86_64/tst-audit.h: Likewise.
62001 2012-07-26  Andreas Jaeger  <aj@suse.de>
62003         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62004         ptrace.
62006         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62007         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62008         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62009         PTRACE_O_MASK.
62010         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62011         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62012         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62014         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62015         value.
62017         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62018         _sigsys.
62019         (si_call_addr, si_syscall, si_arch): Define new macro.
62020         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62021         _sigsys.
62022         (si_call_addr, si_syscall, si_arch): Define new marcro.
62023         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62024         _sigsys.
62025         (si_call_addr, si_syscall, si_arch): Define new macro.
62026         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62027         _sigsys.
62028         (si_call_addr, si_syscall, si_arch): Define new macro.
62030 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62032         [BZ #13717]
62033         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62034         Change to 2.4.21 where previously 2.4.1.
62035         * sysdeps/unix/sysv/linux/configure: Regenerated.
62036         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62037         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62038         Linux kernel version.
62039         (__ASSUME_STD_AUXV): Remove.
62040         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62041         kernel version.
62042         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62043         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62044         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62045         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62046         (__ASSUME_NETLINK_SUPPORT): Likewise.
62047         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62048         (__no_netlink_support): Remove conditional definition.
62049         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62050         Remove.
62051         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62052         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62053         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62054         (if_nameindex_ioctl): Remove.
62055         (if_nameindex_netlink): Do not handle __no_netlink_support.
62056         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62057         code.
62058         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62059         Remove conditional code.
62060         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62061         code.
62062         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62063         unconditional.
62064         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62065         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62066         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62067         Remove.
62068         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62069         [!__ASSUME_STD_AUXV]: Remove conditional code.
62070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62071         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62072         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62074         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62075         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62076         code.
62077         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62079         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62080         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62081         conditional code.
62082         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62084         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62085         code.
62086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62087         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62088         conditional code.
62089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62090         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62091         code unconditional.
62092         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62093         conditional code.
62094         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62095         unconditional.
62096         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62097         conditional code.
62098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62099         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62100         unconditional.
62101         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62102         conditional code.
62103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62104         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62105         code unconditional.
62106         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62107         conditional code.
62108         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62109         unconditional.
62110         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62111         conditional code.
62112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62113         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62114         code unconditional.
62115         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62116         conditional code.
62117         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62118         unconditional.
62119         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62120         conditional code.
62122 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62124         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62125         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62126         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62127         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62128         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62129         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62130         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62131         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62132         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62133         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62134         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62135         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62136         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62137         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62138         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62139         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62140         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62141         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62142         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62144         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62145         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62148 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62150         * Versions.def: Add GLIBC_2.17.
62151         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62152         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62153         Introduce __libc_secure_getenv.
62154         * stdlib/Versions (2.17): Add secure_getenv
62155         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62156         * stdlib/secure-getenv.c: Rename __secure_getenv to
62157         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62158         symbol __secure_getenv for GLIBC_2.0.
62159         * stdlib/tst-secure-getenv.c: New.
62160         * stdlib/Makefile (tests): Add testcase.
62161         * manual/startup.texi (Environment Access): Document
62162         secure_getenv.
62163         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62164         __libc_secure_getenv.
62165         * inet/ruserpass.c (ruserpass): Likewise.
62166         * malloc/mtrace.c (mtrace): Likewise.
62167         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62168         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62169         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62170         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62171         HAVE_SECURE_GETENV.
62172         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62173         __secure_getenv to __libc_secure_getenv.
62174         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62176         Likewise.
62177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62178         Likewise.
62179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62181         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62187 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62189         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62190         (struct La_i86_retval): Likewise.
62191         (struct La_x86_64_regs): Likewise.
62192         (struct La_x86_64_retval): Likewise.
62193         (struct La_x32_regs): Likewise.
62194         (struct La_x32_retval): Likewise.
62195         (struct La_ppc32_regs): Likewise.
62196         (struct La_ppc32_retval): Likewise.
62197         (struct La_ppc64_regs): Likewise.
62198         (struct La_ppc64_retval): Likewise.
62199         (struct La_sh_regs): Likewise.
62200         (struct La_sh_retval): Likewise.
62201         (struct La_s390_32_regs): Likewise.
62202         (struct La_s390_32_retval): Likewise.
62203         (struct La_s390_64_regs): Likewise.
62204         (struct La_s390_64_retval): Likewise.
62205         (struct La_sparc32_regs): Likewise.
62206         (struct La_sparc32_retval): Likewise.
62207         (struct La_sparc64_regs): Likewise.
62208         (struct La_sparc64_retval): Likewise.
62209         (struct audit_ifaces): Remove architecture-specific pltenter and
62210         pltexit members.
62211         * sysdeps/i386/ldsodefs.h: New file.
62212         * sysdeps/powerpc/ldsodefs.h: Likewise.
62213         * sysdeps/s390/ldsodefs.h: Likewise.
62214         * sysdeps/sh/ldsodefs.h: Likewise.
62215         * sysdeps/sparc/ldsodefs.h: Likewise.
62216         * sysdeps/x86_64/ldsodefs.h: Likewise.
62218 2012-07-25  Marek Polacek  <polacek@redhat.com>
62220         [BZ #6808]
62221         * math/libm-test.inc (yn_test): Add another test.
62222         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62223         to ERANGE when the result is +-Inf.
62224         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62225         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62226         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62227         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62229 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62231         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62232         equal to 0.
62233         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62234         clock_t.
62235         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62237 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62239         * configure.in <sysdeps resolving>: Correct printing
62240         Implies_before.
62241         * configure: Regenerate.
62243 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62245         * math/w_ilogb.c: Include <limits.h>.
62246         * math/w_ilogbl.c: Likewise.
62248 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62250         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62251         va_copy.  Document allowing for unavailable va_copy only as
62252         pre-C99 compatibility.
62253         * manual/string.texi (Copying and Concatenation): Use va_copy
62254         instead of __va_copy in concat example.
62256 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62258         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62259         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62260         it if not null.
62262         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62263         with O_NOLINK passed to __file_name_lookup.
62265         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62266         with O_NOLINK passed to __file_name_lookup.
62268         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62269         negative N or less than NGIDS.
62271         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62272         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62273         enough.  Use memcpy instead of strncpy.
62275 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62277         * elf/Makefile (check-data): Remove.
62278         (localplt.data): New vpath directive.
62279         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62280         instead of $(check-data).
62281         * scripts/data/localplt-generic.data: Move to ...
62282         * sysdeps/generic/localplt.data: ... here.
62283         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62284         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62285         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62287         ... here.
62288         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62290         ... here.
62291         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62293         ... here.
62294         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62296         ... here.
62297         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62299         ... here.
62300         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62302         ... here.
62304 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62306         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62307         PPC32 and PPC64 files.
62308         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62309         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62311 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62313         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62314         __makecontext_ret to ...
62315         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62316         ... here and call exit if uc_link is NULL.  New file.
62317         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62318         __makecontext_ret.S.
62319         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62320         __makecontext_ret to ...
62321         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62322         ... here and call exit if uc_link is NULL.  New file.
62323         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62324         __makecontext_ret.S.
62326 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62328         * elf/elf.h (R_390_IRELATIVE): New definition.
62329         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62330         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62331         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62332         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62333         (elf_machine_lazy_rel): Likewise.
62334         * sysdeps/s390/dl-irel.h: New file.
62335         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62336         * sysdeps/s390/s390-64/memset.S: New asm code.
62337         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62338         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62339         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62340         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62341         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62342         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62344         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62345         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62346         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62347         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62348         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62349         * sysdeps/s390/s390-32/memset.S: New asm code.
62350         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62352 2012-07-17  Marek Polacek  <polacek@redhat.com>
62354         [BZ #14349]
62355         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62356         * sysdeps/s390/s390-64/configure.in: Likewise.
62357         * sysdeps/sparc/configure.in: Likewise.
62358         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62359         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62360         * sysdeps/i386/configure.in: Likewise.
62361         * sysdeps/x86_64/configure.in: Likewise.
62362         * sysdeps/sh/configure.in: Likewise.
62363         * sysdeps/s390/s390-32/configure: Regenerated.
62364         * sysdeps/s390/s390-64/configure: Likewise.
62365         * sysdeps/x86_64/configure: Likewise.
62366         * sysdeps/sh/configure: Likewise.
62367         * sysdeps/powerpc/powerpc64/configure: Likewise.
62368         * sysdeps/powerpc/powerpc32/configure: Likewise.
62369         * sysdeps/sparc/configure: Likwise.
62370         * sysdeps/i386/configure: Likewise.
62372         * elf/dl-open.c: Comment fixes.
62374 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62376         * Makefile [CXX] (check-data): Remove.
62377         [CXX] (c++-types.data): New vpath directive.
62378         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62379         vpath.  Do not allow for C++ type data being missing.
62380         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62381         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62382         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62383         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62384         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62385         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62386         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62388         ... here.
62389         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62391         ... here.
62392         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62394         ... here.
62395         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62397         ... here.
62398         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62400         ... here.
62401         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62403         ... here.
62404         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62406         ... here.
62407         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62410         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62411         definitions to architecture-specific files.
62412         (TLS_IE): Likewise.
62413         (TLS_LD): Likewise.
62414         (TLS_GD): Likewise.
62415         * sysdeps/i386/tls-macros.h: New file.
62416         * sysdeps/powerpc/tls-macros.h: Likewise.
62417         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62418         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62419         * sysdeps/sh/tls-macros.h: Likewise.
62420         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62421         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62422         * sysdeps/x86_64/tls-macros.h: Likewise.
62424 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62426         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62427         zero value for regular exit case.
62429         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62430         (__start_context): Preserve zero value for regular exit case.
62432 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62433             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62435         * manual/setjmp.texi (setcontext): Clarify normal process
62436         termination when uc_link is the null pointer.
62437         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62438         exit call.
62440 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62442         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62443         preprocessor.  Test for each exception mask separately.
62445 2012-07-16  Andreas Jaeger  <aj@suse.de>
62447         * po/ru.po: Update from translation team.
62449 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62451         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62452         equal to 0.
62453         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62454         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62455         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62456         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62457         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62459 2012-07-13  Andreas Jaeger  <aj@suse.de>
62461         * po/fr.po: Update from translation team.
62463 2012-07-12  Marek Polacek  <polacek@redhat.com>
62465         [BZ #14173]
62466         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62467         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62468         loop condition.
62470 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62472         [BZ #13717]
62473         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62474         Change to 2.4.1 where previously 2.4.0.
62475         * sysdeps/unix/sysv/linux/configure: Regenerated.
62476         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62477         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62478         version.
62479         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62480         (__ASSUME_AT_CLKTCK): Remove.
62481         (__ASSUME_AT_PAGESIZE): Likewise.
62482         (__ASSUME_AT_XID): Likewise.
62483         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62484         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62485         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62486         unconditionally.
62487         (HAVE_AUX_PAGESIZE): Likewise.
62488         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62489         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62490         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62492 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62494         [BZ #14307]
62495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62496         the temporary buffer used to invoke __gethostbyname2_r,
62497         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62498         host_data / struct gaih_addrtuple.
62499         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62500         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62501         header file nss/nsswitch.h.
62502         * nss/nsswitch.h (global scope): Add definition of implementation
62503         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62504         resolv/nss_dns/dns-host.c).
62506 2012-07-11  Andreas Jaeger  <aj@suse.de>
62508         * po/fr.po: Update from translation team.
62510         * po/sv.po: Update from translation team
62511         * po/fr.po: Another update from translation team.
62513 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62515         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62516         for subnormals or multiply small sinh result by itself.
62517         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62520 2012-07-11  David S. Miller  <davem@davemloft.net>
62522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62524 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62526         [BZ #14347]
62527         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62528         (INTERNAL_MARK): Shift it here.
62530 2012-07-10  Marek Polacek  <polacek@redhat.com>
62532         [BZ #14151]
62533         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62534         libc_cv_asm_global_directive with .globl.
62535         * configure: Regenerated.
62536         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62537         with .globl.
62538         * sysdeps/i386/configure: Regenerated.
62539         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62540         with .globl.
62541         * sysdeps/x86_64/configure: Regenerated.
62542         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62543         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62544         * elf/tst-unique2mod2.c: Likewise.
62545         * elf/tst-unique2mod1.c: Likewise.
62546         * elf/tst-unique1mod2.c: Likewise.
62547         * elf/tst-unique1mod1.c: Likewise.
62548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62549         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62550         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62551         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62552         * sysdeps/mach/sysdep.h: Likewise.
62553         * sysdeps/i386/sysdep.h: Likewise.
62554         * sysdeps/i386/i386-mcount.S: Likewise.
62555         * sysdeps/x86_64/_mcount.S: Likewise.
62556         * sysdeps/x86_64/sysdep.h: Likewise.
62557         * sysdeps/sh/_mcount.S: Likewise.
62558         * sysdeps/sh/sysdep.h: Likewise.
62559         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62560         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62561         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62562         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62563         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62564         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62565         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62566         * locale/localeinfo.h: Likewise.
62567         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62568         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62570 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62572         [BZ #14336]
62573         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62574         system".
62575         * manual/message.texi (The Uniforum approach): Likewise.
62576         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62577         (glibc iconv Implementation): Likewise.
62579 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62581         [BZ #14337]
62582         * math/s_clog.c (__clog): Avoid scaling a value down where that
62583         could result in underflow.
62584         * math/s_clog10.c (__clog10): Likewise.
62585         * math/s_clog10f.c (__clog10f): Likewise.
62586         * math/s_clog10l.c (__clog10l): Likewise.
62587         * math/s_clogf.c (__clogf): Likewise.
62588         * math/s_clogl.c (__clogl): Likewise.
62589         * math/libm-test.inc (clog_test): Add more tests.
62590         (clog10_test): Likewise.
62591         * sysdeps/i386/fpu/libm-test-ulps: Update.
62592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62594 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62596         [BZ #14283]
62597         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62598         by 7 not 8 to examine high bit of fractional part.
62600         [BZ #14042]
62601         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62602         for call to __mcount_internal.
62603         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62604         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62605         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62607 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62609         [BZ #14154]
62610         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62611         approximation for values within 0x1p-13f of an odd multiple of
62612         pi/4.
62613         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62614         exception.  Add more tests.
62615         * sysdeps/i386/fpu/libm-test-ulps: Update.
62617         [BZ #6778]
62618         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62619         inputs and return -1 for them.  Do not check for +Inf in case not
62620         reachable for +Inf.
62621         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62622         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62623         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62624         and return -1 for them.  Do not check for +Inf in case not
62625         reachable for +Inf.
62626         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62627         define.
62628         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62629         and return -1 for them.  Do not check for +Inf in case not
62630         reachable for +Inf.
62631         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62632         spurious underflow.
62633         * sysdeps/i386/fpu/libm-test-ulps: Update.
62634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62636 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62638         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62640 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62642         [BZ #14157]
62643         [BZ #14331]
62644         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62645         could result in spurious underflow.  Scale down values above
62646         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62647         * math/s_csqrtf.c (__csqrtf): Likewise.
62648         * math/s_csqrtl.c (__csqrtl): Likewise.
62649         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62650         spurious underflow.
62651         * sysdeps/i386/fpu/libm-test-ulps: Update.
62652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62654 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62656         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62657         xopen-msg.sed.
62658         * catgets/xopen-msg.awk: New file.
62659         * catgets/xopen-msg.sed: Removed.
62661         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62662         po2text.sed.
62663         * intl/po2test.awk: New file.
62664         * intl/po2test.sed: Removed.
62666 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62668         [BZ #14328]
62669         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62670         or multiply small sinh result by itself.
62671         * math/s_ctanf.c (__ctanf): Likewise.
62672         * math/s_ctanh.c (__ctanh): Likewise.
62673         * math/s_ctanhf.c (__ctanhf): Likewise.
62674         * math/s_ctanhl.c (__ctanhl): Likewise.
62675         * math/s_ctanl.c (__ctanl): Likewise.
62676         * math/libm-test.inc (ctan_test_tonearest): New function.
62677         (ctan_test_towardzero): Likewise.
62678         (ctan_test_downward): Likewise.
62679         (ctan_test_upward): Likewise.
62680         (ctanh_test_tonearest): Likewise.
62681         (ctanh_test_towardzero): Likewise.
62682         (ctanh_test_downward): Likewise.
62683         (ctanh_test_upward): Likewise.
62684         (main): Call these new functions.
62685         * sysdeps/i386/fpu/libm-test-ulps: Update.
62686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62688 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62690         * .gitignore: Delete /ports entry.
62692 2012-07-03  Andreas Jaeger  <aj@suse.de>
62694         * po/bg.po: Update from translation team.
62695         * po/cs.po: Likewise.
62696         * po/de.po: Likewise.
62697         * po/hr.po: Likewise.
62698         * po/nl.pl: Likewise.
62699         * po/pl.po: Likewise.
62700         * po/vi.po: Likewise.
62702 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62704         * Makeconfig [!+link] (+link-before-libc): New variable.
62705         [!+link] (+link-after-libc): Likewise.
62706         [!+link] (+link-tests): Likewise.
62707         [!+link] (+link): Define in terms of $(+link-before-libc) and
62708         $(+link-after-libc).
62709         [!+link-static] (+link-static-before-libc): New variable.
62710         [!+link-static] (+link-static-after-libc): Likewise.
62711         [!+link-static] (+link-static-tests): Likewise.
62712         [!+link-static] (+link-static): Define in terms of
62713         $(+link-static-before-libc) and $(+link-static-after-libc).
62714         [build-shared] (link-libc-before-gnulib): New variable.
62715         [build-shared] (link-libc-tests): Likewise.
62716         [build-shared] (link-libc): Define in terms of
62717         $(link-libc-before-gnulib).
62718         [!build-shared] (link-libc-tests): New variable.
62719         (link-libc-static-tests): New variable.
62720         [!gnulib] (gnulib-arch): New variable.
62721         [!gnulib] (gnulib-tests): Likewise.
62722         [!gnulib] (static-gnulib-arch): Likewise.
62723         [!gnulib] (static-gnulib-tests): Likewise.
62724         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62725         Define with "=" instead of ":=".
62726         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62727         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62728         * Rules (binaries-all-notests): New variable.
62729         (binaries-all-tests): Likewise.
62730         (binaries-static-notests): Likewise.
62731         (binaries-static-tests): Likewise.
62732         (binaries-all): Define using $(binaries-all-notests) and
62733         $(binaries-all-tests).
62734         (binaries-static): Define using $(binaries-static-notests) and
62735         $(binaries-static-tests).
62736         (binaries-shared-tests): New variable.
62737         (binaries-shared-notests): Likewise.
62738         (binaries-shared): Remove variable.
62739         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62740         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62741         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62742         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62743         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62744         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62745         * elf/Makefile (sln-modules): New variable.
62746         (extra-objs): Add $(sln-modules:=.o).
62747         (ldconfig-modules): Add static-stubs.
62748         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62749         * elf/static-stubs.c: New file.
62751         [BZ #14283]
62752         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62753         by 7 not 8 to examine high bit of fractional part.  Use volatile
62754         variables when splitting into final array of floats if
62755         __FLT_EVAL_METHOD__ != 0.
62756         * math/libm-test.inc (cos_test): Add another test.
62757         (sin_test): Likewise.
62758         * sysdeps/i386/fpu/libm-test-ulps: Update.
62760         [BZ #14273]
62761         * math/libm-test.inc (cosh_test): Add more tests.
62763         * version.h (RELEASE): Set to "development".
62764         (VERSION): Set to "2.16.90".
62766 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62768         * NEWS: Update copyright. Remove last-updated date.
62769         Mention math library bug fixes and timezone data changes.
62770         * README: Mention GNU/Hurd, x32, and HPPA support status.
62772 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62774         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62776 2012-06-27  Andreas Jaeger  <aj@suse.de>
62778         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62780 2012-06-25  Andreas Jaeger  <aj@suse.de>
62782         * sysdeps/s390/fpu/libm-test-ulps: Update.
62784 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62785             Thomas Schwinge  <thomas@codesourcery.com>
62787         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62788         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62790         fanotify_mark.
62792 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62794         * sysdeps/mach/start.c: Remove file.
62795         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62796         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62797         * sysdeps/sh/init-first.c: Likewise.
62799         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62800         registers for frame unwinding purposes, add CFI directives.
62801         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62802         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62803         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62804         Likewise.
62806         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62807         __fortify_fail returning.
62808         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62810         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62811         sysdeps/sh/____longjmp_chk.S.
62812         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62813         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62814         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62815         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62817         * sysdeps/sh/abort-instr.h: New file.
62818         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62819         process in case exit returns.
62821         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62822         initialize the GOT register before use.
62824         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62825         calculation of ARGC > 4.
62827         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62828         meaningful names to some local labels.
62830 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62831             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62833         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62834         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62835         (__arch_compare_and_exchange_val_16_acq): Likewise.
62836         (__arch_compare_and_exchange_val_32_acq): Likewise.
62837         (atomic_exchange_and_add): Fix gUSA sequence.
62838         (atomic_add): Likewise.
62839         (atomic_add_negative): Likewise.
62840         (atomic_add_zero): Likewise.
62841         (atomic_bit_test_set): Likewise.
62843 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62845         [BZ #13579]
62846         * include/link.h (struct link_map): Add l_free_initfini.
62847         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62848         l_initfini.
62849         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62850         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62851         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62852         set.
62854 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62856         * configure.in: Use AC_LANG_SOURCE.
62857         * configure: Regenerate.
62859 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62861         * configure.in (libc_cv_localstatedir): New substituted variable.
62862         * configure: Regenerated.
62863         * config.make.in (localstatedir): New variable, substituted from
62864         libc_cv_localstatedir.
62865         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62866         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62867         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62868         * sysdeps/gnu/configure: Regenerated.
62870 2012-06-21  Jeff Law  <law@redhat.com>
62872         [BZ #14277]
62873         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62874         free.  Simplify list management for _LIBC case.
62876 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62878         [BZ #14273]
62879         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62880         Clear sign bit of 64-bit integer value before comparing against
62881         overflow value.
62883         * sysdeps/mach/configure: Regenerated.
62885 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62887         [BZ #14278]
62888         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62890 2012-06-21  Jeff Law  <law@redhat.com>
62892         [BZ #13882]
62893         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62894         uint16_t for elements in the "seen" array to avoid char overflows.
62895         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62896         * elf/dl-open.c (dl_open_worker): Likewise.
62898 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62900         * scripts/list-sources.sh: Scan PORTS for translations.
62901         * po/libc.pot: Regenerated.
62903 2012-06-21  Andreas Jaeger  <aj@suse.de>
62905         [BZ #12194]
62906         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62907         warning.
62908         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62909         * bits/byteswap-16.h (__bswap_16): Likewise.
62910         * bits/byteswap.h (__bswap_constant_16): Likewise.
62912 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62914         [BZ #14117]
62915         * sysdeps/i386/fpu_control.h: Removed.
62916         * sysdeps/x86_64/fpu_control.h: Moved to ...
62917         * sysdeps/x86/fpu_control.h: Here.
62919         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62920         (_FPU_SETCW): Likewise.
62922 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62924         [BZ #14117]
62925         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62926         * sysdeps/x86/fpu/bits/mathinline.h: This.
62927         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62929         [BZ #14050]
62930         [BZ #14117]
62931         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62932         functions if __x86_64__ is defined.
62934 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62936         * string/endian.h: Add !__ASSEMBLER__ condition for including
62937         conversion interfaces.
62939 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62941         [BZ #14241]
62942         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62943         of ABS(x) in calculating zero to negative powers other than odd
62944         integers.
62945         * math/libm-test.inc (pow_test): Add more tests.
62947 2012-06-15  Andreas Jaeger  <aj@suse.de>
62949         * manual/contrib.texi (Contributors): Update entry of Liubov
62950         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62951         Machado Filho.
62953 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62955         * string/string.h: Add __wur to GNU version of strerror_r.
62957 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62959         [BZ #14229]
62960         * string/Makefile (tests): Add tst-strtok_r.
62961         * string/tst-strtok_r.c: New file.
62962         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62963         RAX_LP/RDX_LP on SAVE_PTR.
62965 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62967         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62969 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62971         * libm_test.inc (csqrt_test): Allow more spurious underflow
62972         exceptions.
62973         (j0_test): Likewise.
62974         (j1_test): Likewise.
62975         (y0_test): Likewise.
62976         (y1_test): Likewise.
62978 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62980         * po/Makefile (libc.pot): Use UTF-8 charset.
62982 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62984         [BZ #14210]
62985         Suppress sign-conversion warning from FD_SET.
62986         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62987         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62988         not unsigned long int.
62989         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62991 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62993         [BZ #14050]
62994         [BZ #14117]
62995         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62996         __extern_always_inline instead of __extern_inline.
62997         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62998         (__signbit): Likewise.
62999         (__signbitl): Support C++ namespace.
63000         (lrintf): New inline function.
63001         (lrint): Likewise.
63002         (llrintf): Likewise.
63003         (llrint): Likewise.
63004         (fmaxf): Likewise.
63005         (fmax): Likewise.
63006         (fminf): Likewise.
63007         (fmin): Likewise.
63008         (rint): Likewise.
63009         (rintf): Likewise.
63010         (ceil): Likewise.
63011         (ceilf): Likewise.
63012         (floor): Likewise.
63013         (floorf): Likewise.
63014         (nearbyint): Likewise.
63015         (nearbyintf): Likewise.
63017 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63020         non-default versions.
63022 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63024         [BZ #14218]
63025         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63027 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63029         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63030         (FE_UPWARD, FE_DOWNWARD): Don't define.
63031         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63032         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63034         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63035         reading it.
63036         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63037         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63039 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63041         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63043         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63044         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63046 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63048         [BZ #14117]
63049         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63050         * sysdeps/i386/fpu/Implies: New file.
63051         * sysdeps/x86_64/fpu/Implies: Likewise.
63052         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63053         * sysdeps/x86/fpu/bits/fenv.h: This.
63055         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63056         __SSE_MATH__.
63058 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63060         [BZ #14134]
63061         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63062         character 0xffff that matches the last element of the
63063         conversion table.
63065 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63068         fmodl commit.
63070 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63072         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63073         values higher than 25.6283.
63075 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63077         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63078         subnormal exponent extraction and add some __builtin_expect.
63079         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63080         Fix for subnormal mantissa calculation.
63082 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63084         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63085         cpu2 is -1 and errno is not ENOSYS.
63087 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63089         [BZ #14117]
63090         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63091         * sysdeps/x86/bits/string.h: This.
63092         * sysdeps/x86_64/bits/string.h: Removed.
63094         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63095         if not compiling for x86-64, but compiling for >= i486.
63097         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63098         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63100         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63101         New macro from Linux kernel 3.4.0.
63102         (FP_XSTATE_MAGIC2): Likewise.
63103         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63104         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63105         (struct _fpx_sw_bytes): New struct.
63106         (struct _xsave_hdr): Likewise.
63107         (struct _ymmh_state): Likewise.
63108         (struct _xstate): Likewise.
63110         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63111         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63113         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63114         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63115         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63117         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63118         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63119         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63120         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63121         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63122         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63124 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63126         [BZ #13743]
63127         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63128         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63129         (sysdep_headers): Include sys/platform/ppc.h.
63130         * sysdeps/powerpc/test-gettimebase.c: Test for
63131         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63132         * manual/Makefile (appendices): Include platform.texi.
63133         * manual/contrib.texi (Contributors): Update @node pointers.
63134         * manual/maint.texi (Maintenance): Likewise.
63135         (Platform): New node.
63136         * manual/platform.texi: New file.  Document the new features.
63138 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63139             Jakub Jelinek  <jakub@redhat.com>
63141         [BZ #14188]
63142         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63143         where __builtin_expect is unavailable.
63145 2012-06-03  David S. Miller  <davem@davemloft.net>
63147         * stdlib/longlong.h: Updated from GCC.
63149 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63151         [BZ #14042]
63152         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63153         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63154         __mcount_internal.
63155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63156         (GLIBC_2.16): Likewise.
63158 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63160         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63162 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63165         (default-abi): New variable.
63166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63167         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63168         variable.
63169         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63170         Likewise.
63171         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63172         Likewise.
63173         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63174         Likewise.
63176         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63177         definition.  Document in comment.
63179 2012-06-01  David S. Miller  <davem@davemloft.net>
63181         * stdlib/longlong.h: Updated from GCC.
63183 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63185         [BZ #14117]
63186         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63187         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63188         sys/debugreg.h sys/io.h here.
63189         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63190         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63191         sys/io.h.
63192         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63193         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63194         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63195         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63196         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63197         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63199         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63200         Define only if __x86_64__ is defined.
63202 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63204         [BZ #14048]
63205         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63206         Use int64_t for variable i.
63207         * math/libm-test.inc (fmod_test): Add more tests.
63209         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63210         z computation is not scheduled after fetestexcept.
63211         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63212         Use math_force_eval instead of asm to ensure calculation scheduled
63213         before exception test.
63214         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63215         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63217 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63220         computation is not scheduled after fetestexcept.
63222 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63224         [BZ #14117]
63225         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63226         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63228 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63230         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63231         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63233 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63235         [BZ #14117]
63236         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63237         <bits/wordsize.h>.
63238         (__WCHAR_MIN): Support __WORDSIZE == 64.
63239         (__WCHAR_MAX): Likewise.
63241         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63244         [BZ #14183]
63245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63246         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63248         [BZ #14117]
63249         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63250         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63252         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63253         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63255         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63256         Defined to 1 if __x86_64__ isn't defined.
63257         (_STAT_VER_LINUX_OLD): New.
63258         (st_atime): Remove duplicate.
63259         (st_mtime): Likewise.
63260         (st_ctime): Likewise.
63262 2012-05-31  David S. Miller  <davem@davemloft.net>
63264         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63265         entries.
63267 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63269         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63270         gen-libm-test.pl.
63272         [BZ #14132]
63273         * elf/dl-reloc.c: Include <_itoa.h>.
63274         (_dl_reloc_bad_type): Remove use of INTUSE.
63275         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63276         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63277         * stdio-common/psiginfo.c (psiginfo): Likewise.
63278         * stdio-common/psignal.c (psignal): Likewise.
63279         * string/strsignal.c (strsignal): Likewise.
63280         * include/signal.h (_sys_siglist): Declare hidden proto.
63281         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63282         INTVARDEF with libc_hidden_data_def.
63283         * stdio-common/itoa-udigits.c: Likewise.
63284         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63285         (_itoa_lower_digits_internal): Remove declaration.
63286         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63287         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63288         (_sys_sigabbrev_internal): Remove aliases.
63289         (_sys_siglist): Define hidden alias.
63291 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63294         bits/sysctl.h.
63296 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63298         [BZ #14117]
63299         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63300         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63302         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63303         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63304         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63305         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63306         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63307         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63309         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63310         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63311         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63313         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63314         with __addr.
63315         (insw): Likewise.
63316         (insl): Likewise.
63317         (outsb): Likewise.
63318         (outsw): Likewise.
63319         (outsl): Likewise.
63321         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63322         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63323         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63325         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63326         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63327         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63328         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63329         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63330         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63332         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63333         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63335         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63336         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63338         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63342         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63343         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63344         to ...
63345         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63347         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63348         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63349         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63351         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63352         for x86-64.
63353         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63355 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63357         * math/math.h (M_El): Use two more decimal places.
63358         (M_LOG2El): Likewise.
63359         (M_LOG10El): Likewise.
63360         (M_LN2l): Likewise.
63361         (M_LN10l): Likewise.
63362         (M_PIl): Likewise.
63363         (M_PI_2l): Likewise.
63364         (M_PI_4l): Likewise.
63365         (M_1_PIl): Likewise.
63366         (M_2_PIl): Likewise.
63367         (M_2_SQRTPIl): Likewise.
63368         (M_SQRT2l): Likewise.
63369         (M_SQRT1_2l): Likewise.
63371 2012-05-31  David S. Miller  <davem@davemloft.net>
63373         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63374         values between float registers.
63375         * sysdeps/sparc/sparc64/memset.S: Likewise.
63376         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63378 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63380         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63381         -D_FORTIFY_SOURCE=1.
63382         (CPPFLAGS-tst-longjmp_chk.c): Define.
63383         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63384         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63385         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63386         CFLAGS-tst-wchar-h.c.
63388 2012-05-31  Marek Polacek  <polacek@redhat.com>
63390         [BZ #14132]
63391         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63392         __endmntent_internal): Remove declaration.
63393         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63394         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63395         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63397 2012-05-30  David S. Miller  <davem@davemloft.net>
63399         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63400         (___Q_simulate_exceptions): Use real FP ops rather than writing
63401         into the %fsr.
63402         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63403         Likewise.
63405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63407         [BZ #14117]
63408         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63409         * sysdeps/x86/bits/xtitypes.h: This.
63411         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63412         * sysdeps/x86/bits/wordsize.h: This.
63414         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63415         * sysdeps/x86/bits/huge_vall.h: This.
63417         * sysdeps/i386/bits/select.h: Removed.
63418         * sysdeps/x86_64/bits/select.h: Renamed to ...
63419         * sysdeps/x86/bits/select.h: This.
63421         * sysdeps/i386/bits/setjmp.h: Removed.
63422         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63423         * sysdeps/x86/bits/setjmp.h: This.
63425         * sysdeps/i386/bits/mathdef.h: Removed.
63426         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63427         * sysdeps/x86/bits/mathdef.h: This.
63429 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63431         [BZ #14132]
63432         * include/sys/socket.h (__connect_internal)
63433         (__libc_sa_len_internal): Remove declaration.
63434         (__connect, __libc_sa_len): Declare hidden_proto.
63435         (SA_LEN): Remove use of INTUSE.
63436         * socket/connect.c: Add libc_hidden_def.
63437         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63438         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63439         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63440         alias.
63441         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63442         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63443         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63444         of adding _internal alias.
63446 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63448         [BZ #14117]
63449         * sysdeps/i386/bits/link.h: Removed.
63450         * sysdeps/i386/bits/linkmap.h: Likewise.
63451         * sysdeps/x86_64/bits/link.h: Renamed to ...
63452         * sysdeps/x86/bits/link.h: This.
63453         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63454         * sysdeps/x86/bits/linkmap.h: This.
63456         * sysdeps/i386/bits/endian.h: Removed.
63457         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63458         * sysdeps/x86/bits/endian.h: This.
63460         * sysdeps/i386/bits/byteswap.h: Removed.
63461         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63462         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63463         * sysdeps/x86/bits/byteswap.h: This.
63464         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63465         * sysdeps/x86/bits/byteswap-16.h: This.
63466         * sysdeps/i386/Implies: Add x86.
63467         * sysdeps/x86_64/Implies: Likewise.
63469 2012-05-30  David S. Miller  <davem@davemloft.net>
63471         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63472         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63473         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63474         (FP_TRAPPING_EXCEPTIONS): Define.
63475         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63476         (FP_TRAPPING_EXCEPTIONS): Define.
63477         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63478         subnormals only when inexact has been signalled or underflow
63479         exceptions are enabled.
63480         (_FP_PACK_CANONICAL): Likewise.
63482 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63484         [BZ #14183]
63485         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63486         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63488 2012-05-30  Richard Henderson  <rth@twiddle.net>
63490         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63491         with #ifndef NOT_IN_libc.
63493         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63494         marked to avoid plt entry.
63496 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63498         [BZ #14112]
63499         * Makeconfig (default-abi): New macro.
63500         (abi-includes): Likewise.
63501         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63502         $(abi-$(default-abi)-lib-soname) for soname if defined.
63503         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63504         abi-variants.
63505         * Makefile (installed-stubs): Likewise.
63506         * include/stubs-biarch.h: Removed.
63507         * scripts/lib-names.awk: Only handle one library at a time.
63508         * scripts/soversions.awk: Remove WORDSIZE support.
63509         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63510         entries.
63511         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63512         Removed.
63513         (syscall-list-default-condition): Likewise.
63514         (syscall-list-default-condition): Likewise.
63515         (syscall-list-includes): Likewise.
63516         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63517         syscall-list-* with abi-*.  Handle undefined abi-variants.
63518         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63519         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63520         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63521         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63522         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63523         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63524         Removed.
63525         (syscall-list-32-options): Likewise.
63526         (syscall-list-32-condition): Likewise.
63527         (syscall-list-64-options): Likewise.
63528         (syscall-list-64-condition): Likewise.
63529         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63530         macro.
63531         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63532         Renamed to ...
63533         (abi-*): This.
63534         (abi-64-ld-soname): New macro.
63535         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63536         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63537         Renamed to ...
63538         (abi-*): This.
63539         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63540         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63542 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63544         * sysdeps/unix/sysv/linux/kernel-features.h
63545         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63546         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63547         include <kernel-features.h>.
63548         [!__NR_ftruncate64]: Remove conditional code.
63549         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63550         [__NR_ftruncate64]: Make code unconditional.
63551         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63552         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63553         include <kernel-features.h>.
63554         [!__NR_ftruncate64]: Remove conditional code.
63555         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63556         [__NR_ftruncate64]: Make code unconditional.
63557         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63559         include <kernel-features.h>.
63560         [!__NR_ftruncate64]: Remove conditional code.
63561         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63562         [__NR_ftruncate64]: Make code unconditional.
63563         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63565         include <kernel-features.h>.
63566         [!__NR_ftruncate64]: Remove conditional code.
63567         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63568         [__NR_ftruncate64]: Make code unconditional.
63569         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63571         * configure.in (libc_cv_fpie): Weaken to a compile test using
63572         LIBC_TRY_CC_OPTION.
63573         * configure: Regenerated.
63575 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63581         Refreshed.
63582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63588         Refreshed.
63590 2012-05-27  David S. Miller  <davem@davemloft.net>
63592         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63593         (___Q_zero): New.
63594         (__Q_simulate_exceptions): Return void.  Change to simulate
63595         exceptions by writing into the %fsr.
63596         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63597         (__Qp_handle_exceptions): Likewise.
63598         (numbers): Delete.
63599         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63600         __Qp_handle_exceptions.
63601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63602         __Qp_handle_exceptions.
63603         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63604         as unused and give dummy FP_RND_NEAREST initializer.
63605         (FP_INHIBIT_RESULTS): Define.
63606         (___Q_simulate_exceptions): Update declaration.
63607         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63608         formatting.
63609         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63610         as unused and give dummy FP_RND_NEAREST initializer.
63611         (__Qp_handle_exceptions): Update declaration.
63612         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63613         formatting.
63615 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63617         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63618         the temporary FPU control word.
63619         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63620         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63621         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63622         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63623         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63624         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63625         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63626         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63627         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63628         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63629         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63631 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63633         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63634         fields.
63636 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63638         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63639         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63640         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63641         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63642         Likewise.
63643         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63644         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63645         Likewise.
63647 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63649         * po/h.po: Update from translation team.
63651 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63653         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63655         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63656         handling of denormals.
63657         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63658         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63659         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63660         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63663         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63664         Likewise.
63666 2012-05-26  Marek Polacek  <polacek@redhat.com>
63668         [BZ #14152]
63669         * math/libm-test.inc (fma_test): Don't always expect underflow
63670         exception.
63672 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63674         [BZ #12416]
63675         * elf/tst-execstack.c: Include stackinfo.h.
63676         (do_test): Adjust test case to ensure that pthread_getattr_np
63677         behaviour remains the same after marking stack executable.
63679 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63681         * sysdeps/unix/sysv/linux/kernel-features.h
63682         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63683         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63684         kernel-features.h.
63685         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63686         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63687         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63688         kernel-features.h.
63689         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63690         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63692 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63694         * configure.in: Define the default includes to being none.
63695         * configure: Regenerated.
63697 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63699         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63700         * sysdeps/x86_64/setjmp.S: Likewise.
63701         * sysdeps/i386/bsd-setjmp.S: Likewise.
63702         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63703         * sysdeps/i386/setjmp.S: Likewise.
63704         * sysdeps/i386/__longjmp.S: Likewise.
63705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63706         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63708         * include/stap-probe.h: New file.
63709         * configure.in: Handle --enable-systemtap.
63710         * configure: Regenerated.
63711         * config.h.in (USE_STAP_PROBE): New #undef.
63712         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63713         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63714         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63716 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63718         [BZ #13717]
63719         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63720         to 2.4.0 where earlier.
63721         * sysdeps/unix/sysv/linux/configure: Regenerated.
63722         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63723         <kernel-features.h>.
63724         [__ASSUME_32BITUIDS]: Make code unconditional.
63725         [!__ASSUME_32BITUIDS]: Remove conditional code.
63726         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63727         <kernel-features.h>.
63728         [__ASSUME_32BITUIDS]: Make code unconditional.
63729         [!__ASSUME_32BITUIDS]: Remove conditional code.
63730         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63731         [__ASSUME_32BITUIDS]: Make code unconditional.
63732         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63733         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63734         <kernel-features.h>.
63735         [__ASSUME_32BITUIDS]: Make code unconditional.
63736         [!__ASSUME_32BITUIDS]: Remove conditional code.
63737         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63738         <kernel-features.h>.
63739         [__ASSUME_32BITUIDS]: Make code unconditional.
63740         [!__ASSUME_32BITUIDS]: Remove conditional code.
63741         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63742         <kernel-features.h>.
63743         [__ASSUME_32BITUIDS]: Make code unconditional.
63744         [!__ASSUME_32BITUIDS]: Remove conditional code.
63745         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
63774         <kernel-features.h>.
63775         [__NR_setresgid] (__setresgid): Do not declare.
63776         [__ASSUME_32BITUIDS]: Make code unconditional.
63777         [!__ASSUME_32BITUIDS]: Remove conditional code.
63778         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63779         <kernel-features.h>.
63780         [__NR_setresuid] (__setresuid): Do not declare.
63781         [__ASSUME_32BITUIDS]: Make code unconditional.
63782         [!__ASSUME_32BITUIDS]: Remove conditional code.
63783         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63784         <kernel-features.h>.
63785         [__ASSUME_32BITUIDS]: Make code unconditional.
63786         [!__ASSUME_32BITUIDS]: Remove conditional code.
63787         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63788         <kernel-features.h>.
63789         [__ASSUME_32BITUIDS]: Make code unconditional.
63790         [!__ASSUME_32BITUIDS]: Remove conditional code.
63791         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63792         <kernel-features.h>.
63793         [__ASSUME_32BITUIDS]: Make code unconditional.
63794         [!__ASSUME_32BITUIDS]: Remove conditional code.
63795         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63796         <kernel-features.h>.
63797         [__ASSUME_32BITUIDS]: Make code unconditional.
63798         [!__ASSUME_32BITUIDS]: Remove conditional code.
63799         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63800         <kernel-features.h>.
63801         [__ASSUME_32BITUIDS]: Make code unconditional.
63802         [!__ASSUME_32BITUIDS]: Remove conditional code.
63803         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63804         <kernel-features.h>.
63805         [__ASSUME_32BITUIDS]: Make code unconditional.
63806         [!__ASSUME_32BITUIDS]: Remove conditional code.
63807         * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.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/i386/setuid.c: Do not include
63816         <kernel-features.h>.
63817         [__ASSUME_32BITUIDS]: Make code unconditional.
63818         [!__ASSUME_32BITUIDS]: Remove conditional code.
63819         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63820         <kernel-features.h>.
63821         [__ASSUME_32BITUIDS]: Make code unconditional.
63822         [!__ASSUME_32BITUIDS]: Remove conditional code.
63823         * sysdeps/unix/sysv/linux/kernel-features.h
63824         (__ASSUME_SETRESUID_SYSCALL): Remove.
63825         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63826         (__ASSUME_32BITUIDS): Likewise.
63827         (__ASSUME_LDT_WORKS): Likewise.
63828         (__ASSUME_O_DIRECTORY): Likewise.
63829         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63830         architecture but not kernel version.
63831         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63832         (__ASSUME_MMAP2_SYSCALL): Likewise.
63833         (__ASSUME_STAT64_SYSCALL): Likewise.
63834         (__ASSUME_IPC64): Likewise.
63835         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63836         <kernel-features.h>.
63837         [__ASSUME_32BITUIDS]: Make code unconditional.
63838         [!__ASSUME_32BITUIDS]: Remove conditional code.
63839         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63840         <kernel-features.h>.
63841         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63842         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63843         132096]: Remove conditional code.
63844         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63845         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63846         <kernel-features.h>.
63847         [__ASSUME_32BITUIDS]: Make code unconditional.
63848         [!__ASSUME_32BITUIDS]: Remove conditional code.
63849         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63850         <kernel-features.h>.
63851         [__ASSUME_32BITUIDS]: Make code unconditional.
63852         [!__ASSUME_32BITUIDS]: Remove conditional code.
63853         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63854         <kernel-features.h>.
63855         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63856         unconditional.
63857         (__setresgid): Do not declare.
63858         [__ASSUME_32BITUIDS]: Make code unconditional.
63859         [!__ASSUME_32BITUIDS]: Remove conditional code.
63860         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63861         <kernel-features.h>.
63862         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63863         unconditional.
63864         (__setresuid): Do not declare.
63865         [__ASSUME_32BITUIDS]: Make code unconditional.
63866         [!__ASSUME_32BITUIDS]: Remove conditional code.
63867         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63868         <kernel-features.h>.
63869         [__ASSUME_32BITUIDS]: Make code unconditional.
63870         [!__ASSUME_32BITUIDS]: Remove conditional code.
63871         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63872         <kernel-features.h>.
63873         [__ASSUME_32BITUIDS]: Make code unconditional.
63874         [!__ASSUME_32BITUIDS]: Remove conditional code.
63876 2012-05-25  Richard Henderson  <rth@twiddle.net>
63878         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63879         dl_hwcap to ifunc resolver.
63880         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63881         elf_ifunc_invoke.
63882         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63883         dl_hwcap to ifunc resolver.
63884         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63886 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63888         [BZ #14153]
63889         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63890         for |x| <= 2**-26, not 2**-57.
63891         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63892         exception.
63894 2012-05-24  Jeff Law  <law@redhat.com>
63896         * stdio-common/Makefile (tests): Add bug25.
63897         * stdio-common/bug25.c: New test.
63899 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63901         [BZ #13576]
63902         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63903         multiple of MALLOC_ALIGNMENT in size.
63904         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63906 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63908         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63909         Require >= 256.
63910         (FILENAME_MAX): Use macro-int-constant.
63911         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63912         (_IOFBF): Use macro-int-constant.
63913         (_IOLBF): Likewise.
63914         (_IONBF): Likewise.
63915         (SEEK_CUR): Likewise.
63916         (SEEK_END): Likewise.
63917         (SEEK_SET): Likewise.
63918         (TMP_MAX): Likewise.
63919         (EOF): Use macro-int-constant.  Require < 0.
63920         (NULL): Use macro-constant.  Require == 0.
63921         (stdin): Require type to be FILE *.
63922         (stdout): Likewise.
63923         (stderr): Likewise.
63924         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63925         macro-int-constant.
63926         (EXIT_SUCCESS): Likewise.
63927         (NULL): Use macro-constant.  Require == 0.
63928         (RAND_MAX): Use macro-int-constant.
63929         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63930         [C99-based standards] (strtof): Require function.
63931         [C99-based standards] (strtold): Likewise.
63932         [C99-based standards] (strtoll): Likewise.
63933         [C99-based standards] (strtoull): Likewise.
63934         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63935         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63936         [ISO || ISO99 || ISO11] (math.h): Likewise.
63937         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63938         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63941 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63943         [BZ #14132]
63944         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63945         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63946         * intl/dgettext.c (DCGETTEXT): Likewise.
63947         * intl/gettext.c (DCGETTEXT): Likewise.
63948         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63949         * posix/regex_internal.h (gettext): Likewise.
63950         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63951         Remove declaration.
63952         * include/argz.h (__argz_count_internal)
63953         (__argz_stringify_internal): Remove declaration.
63954         (__argz_count, __argz_stringify): Declare hidden proto.
63955         * intl/dcgettext.c: Remove use of INTDEF.
63956         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63957         * string/argz-stringify.c: Likewise.
63958         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63959         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63960         Declare hidden proto.
63961         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63962         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63963         Declare hidden proto.
63964         * include/stdio.h (__asprintf_internal): Don't declare.
63965         (__asprintf): Don't define as macro.  Declare hidden proto.
63966         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63967         (__fsetlocking): Declare hidden proto.
63968         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63969         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63970         hidden proto.
63971         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63972         (_IO_setlinebuf): Remove use of INTUSE.
63973         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63974         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63975         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63976         Remove declaration.
63977         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63978         (_IO_do_flush): Remove use of INTUSE.
63979         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63980         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63981         (_IO_adjust_column, _IO_least_wmarker)
63982         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63983         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63984         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63985         (_IO_default_doallocate, _IO_wdefault_doallocate)
63986         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63987         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63988         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63989         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63990         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63991         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63992         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63993         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63994         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63995         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63996         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63997         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63998         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63999         proto.
64000         (_IO_flush_all_internal, _IO_adjust_column_internal)
64001         (_IO_default_uflow_internal, _IO_default_finish_internal)
64002         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64003         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64004         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64005         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64006         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64007         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64008         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64009         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64010         (_IO_file_close_internal, _IO_file_close_it_internal)
64011         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64012         (_IO_file_init_internal, _IO_file_attach_internal)
64013         (_IO_file_fopen_internal, _IO_file_read_internal)
64014         (_IO_file_sync_internal, _IO_file_seek_internal)
64015         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64016         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64017         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64018         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64019         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64020         (_IO_list_all_internal, _IO_link_in_internal)
64021         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64022         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64023         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64024         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64025         (_IO_do_write_internal, _IO_padn_internal)
64026         (_IO_getline_info_internal, _IO_getline_internal)
64027         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64028         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64029         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64030         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64031         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64032         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64033         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64034         with libc_hidden_ver, remove use of INTUSE.
64035         * libio/genops.c: Likewise.
64036         * libio/freopen.c: Likewise.
64037         * libio/freopen64.c: Likewise.
64038         * libio/iofclose.c: Likewise.
64039         * libio/iofdopen.c: Likewise.
64040         * libio/iofflush.c: Likewise.
64041         * libio/iofflush_u.c: Likewise.
64042         * libio/iofgets.c: Likewise.
64043         * libio/iofgets_u.c: Likewise.
64044         * libio/iofopen.c: Likewise.
64045         * libio/iofopncook.c: Likewise.
64046         * libio/iofread.c: Likewise.
64047         * libio/iofread_u.c: Likewise.
64048         * libio/ioftell.c: Likewise.
64049         * libio/iofwrite.c: Likewise.
64050         * libio/iogetline.c: Likewise.
64051         * libio/iogets.c: Likewise.
64052         * libio/iogetwline.c: Likewise.
64053         * libio/iopadn.c: Likewise.
64054         * libio/iopopen.c: Likewise.
64055         * libio/ioseekoff.c: Likewise.
64056         * libio/ioseekpos.c: Likewise.
64057         * libio/iosetbuffer.c: Likewise.
64058         * libio/iosetvbuf.c: Likewise.
64059         * libio/ioungetc.c: Likewise.
64060         * libio/ioungetwc.c: Likewise.
64061         * libio/iovdprintf.c: Likewise.
64062         * libio/iovsprintf.c: Likewise.
64063         * libio/iovsscanf.c: Likewise.
64064         * libio/memstream.c: Likewise.
64065         * libio/obprintf.c: Likewise.
64066         * libio/oldfileops.c: Likewise.
64067         * libio/oldiofclose.c: Likewise.
64068         * libio/oldiofdopen.c: Likewise.
64069         * libio/oldiofopen.c: Likewise.
64070         * libio/oldiopopen.c: Likewise.
64071         * libio/oldstdfiles.c: Likewise.
64072         * libio/putc.c: Likewise.
64073         * libio/setbuf.c: Likewise.
64074         * libio/setlinebuf.c: Likewise.
64075         * libio/stdfiles.c: Likewise.
64076         * libio/strops.c: Likewise.
64077         * libio/vasprintf.c: Likewise.
64078         * libio/vscanf.c: Likewise.
64079         * libio/vsnprintf.c: Likewise.
64080         * libio/vswprintf.c: Likewise.
64081         * libio/wfiledoalloc.c: Likewise.
64082         * libio/wfileops.c: Likewise.
64083         * libio/wgenops.c: Likewise.
64084         * libio/wmemstream.c: Likewise.
64085         * libio/wstrops.c: Likewise.
64086         * libio/__fpurge.c: Likewise.
64087         * libio/__fsetlocking.c: Likewise.
64088         * assert/assert.c: Likewise.
64089         * debug/fgets_chk.c: Likewise.
64090         * debug/fgets_u_chk.c: Likewise.
64091         * debug/fread_chk.c: Likewise.
64092         * debug/fread_u_chk.c: Likewise.
64093         * debug/gets_chk.c: Likewise.
64094         * debug/obprintf_chk.c: Likewise.
64095         * debug/vasprintf_chk.c: Likewise.
64096         * debug/vdprintf_chk.c: Likewise.
64097         * debug/vsnprintf_chk.c: Likewise.
64098         * debug/vsprintf_chk.c: Likewise.
64099         * malloc/mtrace.c: Likewise.
64100         * misc/error.c: Likewise.
64101         * misc/syslog.c: Likewise.
64102         * stdio-common/asprintf.c: Likewise.
64103         * stdio-common/fxprintf.c: Likewise.
64104         * stdio-common/getw.c: Likewise.
64105         * stdio-common/isoc99_fscanf.c: Likewise.
64106         * stdio-common/isoc99_scanf.c: Likewise.
64107         * stdio-common/isoc99_vfscanf.c: Likewise.
64108         * stdio-common/isoc99_vscanf.c: Likewise.
64109         * stdio-common/isoc99_vsscanf.c: Likewise.
64110         * stdio-common/printf-prs.c: Likewise.
64111         * stdio-common/printf_fp.c: Likewise.
64112         * stdio-common/printf_fphex.c: Likewise.
64113         * stdio-common/printf_size.c: Likewise.
64114         * stdio-common/putw.c: Likewise.
64115         * stdio-common/scanf.c: Likewise.
64116         * stdio-common/sprintf.c: Likewise.
64117         * stdio-common/tmpfile.c: Likewise.
64118         * stdio-common/vfprintf.c: Likewise.
64119         * stdio-common/vfscanf.c: Likewise.
64120         * stdlib/strfmon_l.c: Likewise.
64121         * sunrpc/openchild.c: Likewise.
64122         * sunrpc/xdr_stdio.c: Likewise.
64123         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64124         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64126 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64128         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64130         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64131         in the third column, to generate for the shared library an IFUNC
64132         that uses _dl_vdso_vsym.
64133         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64134         * Makeconfig (object-suffixes-noshared): New variable.
64136         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64137         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64138         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64139         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64141         [BZ #14132]
64142         * include/sys/time.h (__gettimeofday): Remove macro.
64143         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64144         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64145         Remove INTDEF.
64146         (__gettimeofday): Add libc_hidden_def.
64147         (gettimeofday): Add libc_hidden_weak.
64148         * sysdeps/mach/gettimeofday.c: Likewise.
64149         * sysdeps/posix/gettimeofday.c: Likewise.
64150         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64151         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64153         (__gettimeofday_internal): Remove strong_alias.
64154         (__gettimeofday): Add libc_hidden_def.
64155         (gettimeofday): Add libc_hidden_weak.
64156         * sysdeps/unix/syscalls.list (gettimeofday):
64157         Remove __gettimeofday_internal alias.
64159 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64160             H.J. Lu  <hongjiu.lu@intel.com>
64162         [BZ #12495]
64163         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64164         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64165         (largebin_index_32_big): New.
64166         (largebin_index): Use it for 16-byte alignment.
64167         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64168         correction with front_misalign.
64170 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64174         Likewise.
64175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64176         Likewise.
64177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64178         Likewise.
64179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64180         Likewise.
64181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64182         Likewise.
64183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64184         Likewise.
64185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64186         Likewise.
64187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64188         Likewise.
64189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64190         Likewise.
64191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64192         Likewise.
64193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64194         Likewise.
64195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64196         Likewise.
64198         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64199         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64201 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64203         [BZ #10846]
64204         [BZ #14036]
64205         * math/libm-test.inc (exp_test): Add test from bug 14036.
64206         (pow_test): Add test from bug 10846.
64208         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64209         and other flags.
64210         (special_function): Do not include flags in test name.
64211         (parse_args): Likewise.
64212         * sysdeps/i386/fpu/libm-test-ulps: Update.
64213         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64214         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64215         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64218         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64219         exceptions.
64220         * math/libm-test.inc ("Philosophy"): Update comment about
64221         exception testing.
64222         (UNDERFLOW_EXCEPTION): New macro.
64223         (UNDERFLOW_EXCEPTION_OK): Likewise.
64224         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64225         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64226         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64227         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64228         (INVALID_EXCEPTION_OK): Update value.
64229         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64230         (OVERFLOW_EXCEPTION_OK): Likewise.
64231         (IGNORE_ZERO_INF_SIGN): Likewise.
64232         (test_exceptions): Handle underflow exceptions.
64233         (acos_test): Update for underflow exception expectations.
64234         (cexp_test): Likewise.
64235         (clog_test): Likewise.
64236         (clog10_test): Likewise.
64237         (csqrt_test): Likewise.
64238         (ctan_test): Likewise.
64239         (ctanh_test): Likewise.
64240         (exp_test): Likewise.
64241         (exp10_test): Likewise.
64242         (exp2_test): Likewise.
64243         (expm1_test): Likewise.
64244         (fma_test): Likewise.
64245         (j0_test): Likewise.
64246         (jn_test): Likewise.
64247         (nexttoward_test): Likewise.
64248         (pow_test): Likewise.
64249         (scalbn_test): Likewise.
64250         (scalbln_test): Likewise.
64251         (tan_test): Likewise.
64252         (y1_test): Likewise.
64253         * sysdeps/i386/fpu/libm-test-ulps: Update.
64254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64256 2012-05-23  David S. Miller  <davem@davemloft.net>
64258         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64259         (__libc_sigaction): Remove unused local variables.
64261 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64263         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64265 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64267         mktime: avoid signed integer overflow
64268         * time/mktime.c (__mktime_internal): Do not mishandle the case
64269         where diff == INT_MIN.
64271         mktime: simplify computation of average
64272         * time/mktime.c (ranged_convert): Use new time_t_avg function
64273         instead of rolling our own (probably-slower) code.
64275         mktime: do not assume signed right shift propagates sign bit
64276         * time/mktime.c (isdst_differ): New static function.
64277         (__mktime_internal): No need to normalize tm_isdst now.
64278         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64279         tm_isdst values.
64281         mktime: merge another wrapv change from gnulib
64282         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64283         from some compilers.
64285         mktime: remove incorrect attempt at unusual arithmetics
64286         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64287         The code didn't really work on such machines anyway.
64288         (TYPE_MINIMUM): Assume two's complement.
64289         (twos_complement_arithmetic): Verify that long_int and time_t
64290         are two's complement (or unsigned, in the latter case).
64292         mktime: check signed shifts on long_int and time_t, too
64293         * time/mktime.c (SHR): Check that shifts work as desired
64294         on the types long_int and time_t too, as SHR is used on
64295         such types.
64297         mktime: do not assume 'long' is wide enough
64298         * time/mktime.c (verify): Move decl up.
64299         (long_int): New type.
64300         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64301         to remove assumption in the code that 'long' is wide enough to
64302         store year values.  This assumption is not true on x32 and on
64303         some non-glibc platforms.
64305         mktime: merge wrapv change from gnulib
64306         * time/mktime.c (WRAPV): New macro.
64307         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64308         (guess_time_tm, __mktime_internal): Do not assume that signed
64309         integer overflow wraps around; modern compilers generate code
64310         where this assumption is no longer valid.
64312 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64314         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64315         Replace "jmp L(pseudo_end)" with "ret".
64316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64317         Likewise.
64319 2012-05-23  Andreas Jaeger  <aj@suse.de>
64321         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64322         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64324 2012-05-23  Andreas Jaeger  <aj@suse.de>
64325             Maximilian Attems  <max@stro.at>
64327         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64328         New macros.
64330 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64332         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64333         code so that pseudo_end is just ret and the stack pointer is
64334         correct also for static library in error case.
64336 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64338         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64339         move to syscalls.list.
64340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64345         * manual/install.texi (Running make install): Do not mention Linux
64346         kernel version for which pt_chown is not needed.
64347         (Linux): Do not mention problems with nscd with 2.0 kernels.
64348         * INSTALL: Regenerated.
64350 2012-05-23  Andreas Jaeger  <aj@suse.de>
64352         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64353         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64354         macro.
64355         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64357         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64359         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64361         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64363         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64365         * sysdeps/unix/sysv/linux/bits/in.h
64366         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64368 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64370         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64371         (PREPARE_VERSION): Just use assert instead, it will be elided
64372         under [NDEBUG] anyway.
64374 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64376         * sysdeps/unix/sysv/linux/Makefile: Include
64377         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64378         (sysdep_routines): Remove sysctl.
64379         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64380         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64381         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64382         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64383         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64385 2012-05-22  Andreas Jaeger  <aj@suse.de>
64387         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64388         that pseudo_end is just ret and the stack pointer is correct also
64389         for static library in error case.
64391 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64393         [BZ #14122]
64394         * nss/nsswitch.c (defconfig_entries): New variable.
64395         (__nss_database_lookup): Don't leak defconfig entries.
64396         (nss_parse_service_list): Don't leak on error paths.
64397         (free_database_entries): New function.
64398         (free_defconfig): New function.
64399         (free_mem): Move common code to free_database_entries.
64401 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64403         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64404         Add arch_prctl.
64405         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64407         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64408         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64410         New macro.
64411         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64412         (INTERNAL_SYSCALL_TYPES): Likewise.
64413         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64414         (LOAD_REGS_TYPES_[1-6]): Likewise.
64415         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64416         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64418 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64420         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64421         copysignl for GLIBC_2_0.
64422         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64423         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64425         logbl for GLIBC_2_0.
64426         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64427         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64429 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64431         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64432         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64434         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64435         Use "neg %eax".
64437         * time/mktime.c: Update copyright years.
64439 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64441         mktime: merge comment-quoting-style change from gnulib
64442         * time/mktime.c: Quote 'like this' in comments.
64443         The GNU coding standards suggest that we no longer quote `like this',
64444         as "`" and "'" are typically rendered asymmetrically nowadays.
64445         The typical gnulib style is to quote 'like this' when quoting
64446         code, and "like this" when quoting English.
64448         * time/mktime.c (compile-command): Add "-I.".
64450         mktime: merge mktime-internal.h change from gnulib
64451         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64453         mktime: merge time_r change from gnulib
64454         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64456         mktime: merge DEBUG change from gnulib
64457         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64458         case system <time.h> has a #define.
64460         mktime: merge <sys/types.h> change from gnulib
64461         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64462         since <time.t> is now guaranteed to define time_t.
64464         mktime: merge HAVE_CONFIG_H change from gnulib
64465         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64470         Use "neg %eax".
64472         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64473         __rlim_t cast.
64474         (struct rusage): Use anonymous union to pad each field to
64475         __syscall_slong_t.
64477 2012-05-21  David S. Miller  <davem@davemloft.net>
64479         * Makefules (o-iterator): Remove .s cases.
64480         (compile-command.s): Delete.
64481         (COMPILE.s): Delete.
64482         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64484 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64486         * configure.in (libc_cv_predef_stack_protector): Only consider
64487         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64488         * configure: Regenerated.
64490 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64493         New macro.  Use R*LP on int and pointer.
64494         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64495         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64496         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64497         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64499         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64500         [__WORDSIZE_TIME64_COMPAT32] instead of
64501         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64502         (struct utmp): Likewise.
64503         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64504         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64505         Renamed to ...
64506         (__WORDSIZE_TIME64_COMPAT32): This.
64507         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64508         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64509         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64510         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64511         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64512         (__WORDSIZE_TIME64_COMPAT32): New macro.
64514 2012-05-21  Andreas Jaeger  <aj@suse.de>
64516         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64517         only if [SHARED]. Add prototype for __wcschr_ia32.
64519 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64521         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64522         of %rbp unmolested in the jmp_buf while mangling the low bits.
64523         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64524         unmolested high bits of %rbp while demangling the low bits.
64525         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64527 2012-05-21  Andreas Jaeger  <aj@suse.de>
64529         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64530         * sunrpc/svc_simple.c: Use it for registerrpc.
64531         * sunrpc/xcrypt.c: Use it for passwd2des.
64533         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64535 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64537         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64538         Don't define if [__SYSCALL_WORDSIZE != 32].
64539         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64540         New macro.
64542 2012-05-21  Bruno Haible  <bruno@clisp.org>
64543             Andreas Jaeger  <aj@suse.de>
64545         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64546         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64547         inptr and inend for must_buffer_ch.
64548         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64549         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64550         * stdio-common/Makefile (tests): Remove bug15.
64551         (bug15-ENV): Remove macro.
64552         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64553         anymore.
64555 2012-05-19  Andreas Jaeger  <aj@suse.de>
64556             Roland McGrath  <roland@hack.frob.com>
64558         * manual/contrib.texi: Completely rewritten. It contains now an
64559         alphabetical list of contributors and their contributions.
64561 2012-05-21  Richard Henderson  <rth@twiddle.net>
64563         * misc/getauxval.c (__getauxval): Use unsigned long int.
64564         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64565         (getauxval): Use unsigned long int.
64567 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64569         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64571 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64573         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64574         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64575         __alignof__ (long double).
64577 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64581 2012-05-20  Richard Henderson  <rth@twiddle.net>
64583         * misc/getauxval.c: New file.
64584         * misc/sys/auxv.h: New file.
64585         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64586         (routines): Add getauxval.
64587         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64588         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64589         * elf/dl-sysdep.c (_dl_auxv): Remove.
64590         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64591         * elf/dl-support.c (_dl_auxv): New variable.
64592         (_dl_aux_init): Initialize it.
64593         * manual/startup.texi (Auxiliary Vector): New node.
64594         * sysdeps/generic/bits/hwcap.h: New file.
64595         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64596         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64597         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64598         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64599         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64600         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64602         Update.
64603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64606         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64612 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64616 2012-05-19  David S. Miller  <davem@davemloft.net>
64618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64620 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64622         [BZ #14123]
64623         * math/s_ccosh.c: Include <float.h>
64624         (__ccosh): Avoid internal overflow calculating sinh and cosh
64625         values before multiplying by sin and cos values.
64626         * math/s_ccoshf.c: Likewise.
64627         * math/s_ccoshl.c: Likewise.
64628         * math/s_csin.c: Likewise.
64629         * math/s_csinf.c: Likewise.
64630         * math/s_csinl.c: Likewise.
64631         * math/s_csinh.c: Likewise.
64632         * math/s_csinhf.c: Likewise.
64633         * math/s_csinhl.c: Likewise.
64634         * math/libm-test.inc (ccos_test): Add more tests.
64635         (ccosh_test): Likewise.
64636         (csin_test): Likewise.
64637         (csinh_test): Likewise.
64638         * sysdeps/i386/fpu/libm-test-ulps: Update.
64639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64641 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64643         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64644         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64646         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64648 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64650         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64651         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64652         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64653         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64654         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64655         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64656         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64657         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64658         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64659         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64660         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64661         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64662         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64663         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64664         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64665         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64666         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64667         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64668         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64669         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64670         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64671         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64672         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64673         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64674         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64675         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64676         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64677         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64678         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64679         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64680         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64682 2012-05-18  Andreas Jaeger  <aj@suse.de>
64684         * csu/.gitignore: Delete.
64686 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64688         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64689         (timex): Use __syscall_slong_t.
64691 2012-05-18  Andreas Jaeger  <aj@suse.de>
64692             Carlos O'Donell  <carlos_odonell@mentor.com>
64694         * manual/install.texi (Configuring and compiling): Update
64695         description about files modified in the source directory.
64696         * INSTALL: Regenerated.
64698 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64700         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64701         value.  Use "or" to set return value to -1.
64702         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64703         negate return value.
64705 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64707         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64708         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64709         failure if the compiler has Graphite support disabled.
64710         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64711         Likewise.
64712         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64713         (CFLAGS-memmove.c): Likewise.
64714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64715         Likewise.
64717 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64719         * sysdeps/x86_64/x32/_itoa.h: New file.
64721         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64722         getdents system call only if kernel and user dirents have the
64723         same d_ino and d_off.
64725         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64726         LLONG_MAX != LONG_MAX.
64727         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64728         (_fitoa_word): Likewise.
64730         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64731         years.
64732         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64733         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64734         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64736         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64737         include <bits/wordsize.h>.  Check __x86_64__ instead of
64738         __WORDSIZE.
64739         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64740         if __x86_64__ is defined.  Use anonymous union on fpstate.
64742         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64743         anonymous union.
64745 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64747         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64748         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64749         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64750         Refer to _rtld_local_ro instead of _rtld_global_ro.
64751         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64752         Likewise.
64753         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64754         Likewise.
64755         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64756         Likewise.
64757         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64758         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64759         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64761         [BZ #10882]
64762         * sysdeps/powerpc/powerpc32/dl-machine.c
64763         (__elf_machine_runtime_setup) [PROF]: Don't reference
64764         _dl_prof_resolve.
64766 2012-05-18  Andreas Jaeger  <aj@suse.de>
64768         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64769         function only available for GCCs before 3.4 since GCC 3.4
64770         introduced a builtin.
64771         (lrint): Likewise.
64772         (llrintf): Likewise.
64773         (llrint): Likewise.
64774         (fmaxf): Likewise.
64775         (fmax): Likewise.
64776         (fminf): Likewise.
64777         (fmin): Likewise.
64778         (rint): Likewise.
64779         (rintf): Likewise.
64780         (nearbyint): Likewise.
64781         (nearbyintf): Likewise.
64782         (ceil): Likewise.
64783         (ceilf): Likewise.
64784         (floor): Likewise.
64785         (floorf): Likewise.
64787 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64789         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64790         on both fields and cast pointer to __syscall_ulong_t.
64792         * bits/types.h (__fsword_t): New type.
64793         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64794         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64795         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64796         (__FSWORD_T_TYPE): Likewise.
64797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64798         (__FSWORD_T_TYPE): Likewise.
64799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64800         (__FSWORD_T_TYPE): Likewise.
64801         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64802         (__FSWORD_T_TYPE): Likewise.
64803         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64804         __SWORD_TYPE with __fsword_t.
64805         (statfs64): Likewise.
64807 2012-05-17  David S. Miller  <davem@davemloft.net>
64809         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64811 2012-05-17  Andreas Jaeger  <aj@suse.de>
64813         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64814         warning.
64816 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64818         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64820 2012-05-17  Andreas Jaeger  <aj@suse.de>
64822         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64823         when it is used.
64825 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64827         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64829 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64831         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64832         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64834 2012-05-17  Andreas Jaeger  <aj@suse.de>
64835             Carlos O'Donell  <carlos_odonell@mentor.com>
64837         [BZ #14059]
64838         * sysdeps/x86_64/multiarch/init-arch.h
64839         (bit_YMM_Usable): Rename to...
64840         (bit_AVX_Usable): ... this.
64841         (bit_FMA4_Usable): New macro.
64842         (bit_XMM_state): New macro.
64843         (bit_YMM_state): New macro.
64844         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64845         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64846         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64847         (CPUID_OSXSAVE): New macro.
64848         (CPUID_AVX): New macro.
64849         (CPUID_FMA4): New macro.
64850         (index_YMM_Usable): Rename to...
64851         (index_AVX_Usable): ... this.
64852         (HAS_AVX): Use HAS_ARCH_FEATURE.
64853         (HAS_FMA4): Likewise.
64854         (HAS_YMM_USABLE): Remove.
64855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64856         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64857         are present.
64858         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64859         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64860         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64861         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64862         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64864 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64866         * math/libm-test.c: Support platforms without multiple rounding modes.
64867         * math/bug-nextafter.c: Support platforms without FP exceptions.
64868         * math/bug-nexttoward.c: Likewise.
64869         * math/test-fenv.c: Likewise.
64870         * math/test-misc.c: Likewise.
64871         * stdlib/bug-getcontext.c: Likewise.
64873 2012-05-17  Andreas Jaeger  <aj@suse.de>
64875         * manual/examples/search.c (critter_cmp): Change signature to
64876         avoid warnings.
64877         * manual/string.texi (Collation Functions): Likewise.
64879 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64881         * bits/types.h: Fold copyright years.
64882         * bits/typesizes.h: Likewise.
64883         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64884         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64887         * time/time.h: Likewise.
64889 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64891         [BZ #208]
64892         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64893         in instead of returning them.  Return void.
64894         (__libc_mallinfo): Accumulate over all arenas.
64895         (__malloc_stats): Adjust for change in int_mallinfo interface.
64897 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64899         [BZ #10375]
64900         * configure.in (NM): Add AC_CHECK_TOOL for it.
64901         (libc_extra_cflags): New substituted variable.
64902         Check for -fstack-protector being used implicitly.
64903         * configure: Regenerated.
64904         * config.make.in (config-extra-cflags): New variable,
64905         gets @libc_extra_cflags@.
64906         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64908         [BZ #10375]
64909         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64910         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64911         * configure: Regenerated.
64912         * config.make.in (CPPUNDEFS): New substituted variable.
64913         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64914         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64915         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64919         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64920         (mq_attr): Use __syscall_slong_t.
64922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64924         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64925         Check __x86_64__ instead of __WORDSIZE.
64926         (_STAT_VER_LINUX): Likewise.
64927         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64928         __syscall_ulong_t and __syscall_slong_t.
64929         (stat64): Likewise.
64931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64933         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64935 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64937         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64941         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64942         __syscall_ulong_t.
64944         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64945         include <bits/wordsize.h>.  Check __x86_64__ instead of
64946         __WORDSIZE.
64947         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64948         defined.
64949         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64951         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64952         include <bits/wordsize.h>.  Check __x86_64__ instead of
64953         __WORDSIZE.
64954         (user_regs_struct): Use "__extension__ unsigned long long"
64955         instead of "unsigned long" if __x86_64__ is defined.
64956         (user): Likewise.  Pad after pointer field if __ILP32__ is
64957         defined.
64959 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64961         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64962         versions 5 to 9.
64963         * configure: Regenerated.
64964         * manual/install.texi (texinfo): Increase version requirement to
64965         4.5 or later.
64966         * INSTALL: Regenerated.
64968         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64972         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64974         * sysdeps/x86_64/x32/ffs.c: New file.
64976         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64977         __syscall_ulong_t.
64978         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64979         defined.  Use __syscall_ulong_t.
64980         (shminfo): Use __syscall_ulong_t.
64981         (shm_info): Likewise.
64983         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64984         __syscall_ulong_t.
64986         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64987         <bits/wordsize.h>.
64988         (msgqnum_t): Use __syscall_ulong_t.
64989         (msglen_t): Likewise.
64990         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64991         __syscall_ulong_t.
64993         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64994         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64996         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64998         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64999         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65001         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65002         __syscall_slong_t.
65004         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65005         include <bits/wordsize.h>.  Check __x86_64__ instead of
65006         __WORDSIZE.
65008         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65009         "unsigned long long int" if __x86_64__ is defined.
65010         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65012         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65013         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65014         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65016         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65017         <stdint.h>.
65018         (GET_PC): Cast to uintptr_t first.
65019         (GET_FRAME): Likewise.
65020         (GET_STACK): Likewise.
65022         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65023         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65024         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65025         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65026         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65027         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65028         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65029         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65030         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65031         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65032         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65033         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65034         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65035         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65036         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65037         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65038         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65039         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65040         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65041         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65042         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65043         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65044         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65045         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65046         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65047         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65048         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65049         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65050         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65052 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65054         * Makerules (+depfiles): Also collect depfiles from .oS in
65055         $(extra-objs).
65056         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65057         .oS, $(libnldbl-routines)).
65059         * Makerules (native-compile-mkdep-flags): Define.
65060         * sunrpc/Makefile (extra-objs): Add $(addprefix
65061         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65062         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65063         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65064         calling $(make-target-directory).
65066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65068         * bits/types.h (__snseconds_t): Removed.
65069         * time/time.h (struct timespec): Replace __snseconds_t with
65070         __syscall_slong_t.
65071         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65072         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65073         Likewise.
65074         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65075         (__SNSECONDS_T_TYPE): Likewise.
65076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65077         (__SNSECONDS_T_TYPE): Likewise.
65078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65079         (__SNSECONDS_T_TYPE): Likewise.
65081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65083         * sysdeps/mach/hurd/bits/typesizes.h
65084         (__SYSCALL_SLONG_TYPE): New macro.
65085         (__SYSCALL_ULONG_TYPE): Likewise.
65087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65089         * bits/types.h (__syscall_slong_t): New type.
65090         (__syscall_ulong_t): Likewise.
65092         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65093         (__SYSCALL_ULONG_TYPE): Likewise.
65094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65095         (__SYSCALL_SLONG_TYPE): Likewise.
65096         (__SYSCALL_ULONG_TYPE): Likewise.
65097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65098         (__SYSCALL_SLONG_TYPE): Likewise.
65099         (__SYSCALL_ULONG_TYPE): Likewise.
65100         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65101         (__SYSCALL_SLONG_TYPE): Likewise.
65102         (__SYSCALL_ULONG_TYPE): Likewise.
65104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65106         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65107         Add sigaltstack-offsets.sym.
65108         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65109         <sigaltstack-offsets.h>.
65110         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65111         longjmp_msg pointer.
65112         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65113         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65114         signal stack.
65115         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65117 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65119         * elf/stackguard-macros.h: Remove file.
65120         * sysdeps/generic/stackguard-macros.h: New file.
65121         * sysdeps/i386/stackguard-macros.h: Likewise.
65122         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65123         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65124         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65125         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65126         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65127         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65128         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65129         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65130         <elf/stackguard-macros.h>.
65132         [BZ #14109]
65133         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65134         __aligned__ in attribute.
65135         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65136         (gregset_t): Likewise.
65138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65140         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65141         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65142         * sysdeps/x86_64/x32/Implies-after: New file.
65144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65146         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65147         and access return value for _dl_profile_fixup.  Use R10_LP to
65148         load frame size.
65150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65152         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65156         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65157         * sysdeps/x86_64/x32/sysdep.h: New file.
65159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65161         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65162         * sysdeps/x86_64/setjmp.S: Likewise.
65164 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65166         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65167         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65168         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65169         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65170         remove unused global constant.
65172 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65174         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65175         include of <not-cancel.h>.
65177 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65179         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65181 2012-05-15  Jeff Law  <law@redhat.com>
65182             Andreas Jaeger  <aj@suse.de>
65184         [BZ #13594]
65185         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65186         out from...
65187         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65188         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65189         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65190         code changing __hst_map_handle.map.
65192 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65194         * configure.in (sysnames): Look for Implies-before and Implies-after
65195         files.
65196         * configure: Regenerated.
65198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65200         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65201         8-byte data alignment with LP_SIZE alignment.
65203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65205         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65206         into R10_LP.
65208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65210         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65214         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65215         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65216         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65217         Likewise.
65218         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65222         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65223         (stackinfo_sub_sp): Likewise.
65225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65227         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65228         RAX_LP.
65230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65232         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65233         into R*_LP.
65235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65237         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65238         sizes into R*_LP.
65240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65242         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65246         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65247         into R11_LP and load __x86_64_shared_cache_size_half into
65248         R8_LP.
65250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65252         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65253         R8_LP.
65255 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65258         logb for POWER7.
65259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65260         logbf for POWER7.
65261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65262         logbl for POWER7.
65263         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65264         powerpc32/power7/fpu/s_logb.c via #include.
65265         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65266         powerpc32/power7/fpu/s_logbf.c via #include.
65267         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65268         powerpc32/power7/fpu/s_logbl.c via #include.
65270 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65272         * README.libm: Remove file.
65274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65276         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65277         count for x32.  Use R*_LP and omit operand-size suffix.
65279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65281         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65282         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65283         * sysdeps/x86_64/x32/shlib-versions: New file.
65285 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65287         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65288         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65289         Use _dl_fatal_printf instead.
65291 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65293         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65294         set if not set by the user.  Do not allow for being unset.
65295         * sysdeps/unix/sysv/linux/configure: Regenerated.
65297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65299         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65300         the `q' suffix from lea and replace .quad with ASM_ADDR.
65302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65305         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65306         instead of $17.
65307         (PTR_DEMANGLE): Likewise.
65309 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65311         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65312         (LP_OP): Likewise.
65313         (ASM_ADDR): Likewise.
65314         (RAX_LP): Likewise.
65315         (RBP_LP): Likewise.
65316         (RBX_LP): Likewise.
65317         (RCX_LP): Likewise.
65318         (RDI_LP): Likewise.
65319         (RSI_LP): Likewise.
65320         (RSP_LP): Likewise.
65321         (R8_LP): Likewise.
65322         (R9_LP): Likewise.
65323         (R10_LP): Likewise.
65324         (R10_LP): Likewise.
65325         (R11_LP): Likewise.
65326         (R12_LP): Likewise.
65327         (R13_LP): Likewise.
65328         (R14_LP): Likewise.
65329         (R15_LP): Likewise.
65331 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65333         * sysdeps/x86_64/x32/dl-machine.h: New file.
65335 2012-05-14  Andreas Jaeger  <aj@suse.de>
65337         * manual/Makefile (subdir): Remove export of subdir.
65338         (all): Remove target.
65339         (.PHONY): Remove all from list.
65340         (mkinstalldirs): Remove.
65341         (.PHONY): Remove installdirs from list.
65342         ($(inst_infodir)/libc.info): Use make-target-directory.
65343         (installdirs): Remove.
65344         (subdir_%): Remove.
65345         (glibc-targets): Remove.
65346         (lib): Remove.
65347         (stubs): Remove.
65348         ($(objpfx)stubs ../po/manual.pot): Remove.
65349         ($(objpfx)stamp%): Remove.
65350         (make-target-directory): Remove.
65351         (subdir_install): Remove.
65352         (routines): Remove.
65353         (aux): Remove.
65354         (sources): Remove.
65355         (objects): Remove.
65356         (headers): Remove.
65358         [BZ #13750]
65359         * manual/.gitignore: Remove, it's not needed anymore.
65360         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65361         all files in it.
65362         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65363         directory.
65364         (texis): Renamed to $(objpfx)texis.
65365         (texis-path): New, contains path to generated files.
65366         (chapters.%): Use texis-path for complete path, add extra argument
65367         libc-texinfo.sh.
65368         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65369         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65370         (summary,texi, stamp-summary): Use complete path of
65371         files. Generate files in build dir.
65372         (dir-add.texi): Build in build dir.
65373         (libm-err.texi,stamp-libm-err): Likewise.
65374         (version.texi, stamp-version): Likewise.
65375         (.%c.texi): Likewise.
65376         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65377         (mostlyclean): Remove target.
65378         (realclean): Remove target.
65379         (generated): Add new variable with contents from mostlyclean and
65380         realclean, remove entries duplicated in common-mostlyclean, add
65381         stamp-libm-err and stamp-version.
65382         (generated-dirs): Add libc directory.
65383         ($(inst_infodir)/libc.info): Install files from build dir.
65385         * manual/install.texi (Configuring and compiling): Adjust since
65386         the info files are not part of the tar ball anymore.
65388 2012-05-14  Andreas Jaeger  <aj@suse.de>
65390         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65391         variable.
65393 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65395         [BZ #13717]
65396         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65397         to 2.2.0 where earlier.
65398         * sysdeps/unix/sysv/linux/configure: Regenerated.
65399         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65400         Remove conditional code.
65401         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65402         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65403         Remove conditional code.
65404         [!__NR_lchown]: Likewise.
65405         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65406         [__NR_lchown]: Likewise.
65407         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65408         comment referencing __ASSUME_LCHOWN_SYSCALL.
65409         * sysdeps/unix/sysv/linux/i386/sigaction.c
65410         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65411         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65412         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65413         Remove conditional code.
65414         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65415         (__protocol_available): Remove #if 0 code.
65416         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65417         conditional code.
65418         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65419         * sysdeps/unix/sysv/linux/kernel-features.h
65420         (__ASSUME_GETCWD_SYSCALL): Don't define.
65421         (__ASSUME_REALTIME_SIGNALS): Likewise.
65422         (__ASSUME_PREAD_SYSCALL): Likewise.
65423         (__ASSUME_PWRITE_SYSCALL): Likewise.
65424         (__ASSUME_POLL_SYSCALL): Likewise.
65425         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65426         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65427         non-SPARC.
65428         (__ASSUME_SIOCGIFNAME): Don't define.
65429         (__ASSUME_MSG_NOSIGNAL): Likewise.
65430         (__ASSUME_SENDFILE): Define unconditionally.
65431         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65432         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65433         conditional code.
65434         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65435         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65436         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65437         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65438         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65439         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65440         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65442         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65445         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65446         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65448         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65451         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65452         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65454         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65455         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65457         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65458         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65460         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65461         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65463         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65464         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65465         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65466         Remove conditional code.
65467         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65468         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65469         Remove conditional code.
65470         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65471         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65472         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65473         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65474         Remove conditional code.
65475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65476         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65477         Remove conditional code.
65478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65479         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65480         Remove conditional code.
65481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65482         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65483         Remove conditional code.
65484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65485         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65486         Remove conditional code.
65487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65488         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65489         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65490         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65491         * sysdeps/unix/sysv/linux/sigaction.c
65492         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65493         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65494         * sysdeps/unix/sysv/linux/sigpending.c
65495         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65496         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65497         * sysdeps/unix/sysv/linux/sigprocmask.c
65498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65500         * sysdeps/unix/sysv/linux/sigsuspend.c
65501         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65502         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65503         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65504         (__libc_missing_rt_sigs): Remove.
65505         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65506         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65507         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65508         Remove conditional code.
65509         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65510         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65511         return 1.
65512         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65513         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65514         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65515         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65517 2012-05-14  Andreas Jaeger  <aj@suse.de>
65519         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65520         it's not used in glibc.
65521         (__coshm1): Likewise.
65522         (__acosh1p): Likewise.
65523         (__sgn): Likewise.
65525         * manual/string.texi (Copying and Concatenation): Add missing
65526         variable in concat example.
65527         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65529 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65531         [BZ #14103]
65532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65533         __builtin_clzl with __builtin_clzll.
65535 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65537         [BZ #14104]
65538         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65539         libc_freeres_ptr.
65541 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65543         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65544         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65545         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65546         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65548 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65550         * NEWS: Update ia64 info.
65552 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65554         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65555         used as bcopy.
65557 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65559         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65560         * sysdeps/unix/syscalls.list (dup3): Likewise.
65561         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65562         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65564 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65566         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65567         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65569 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65571         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65572         thread pointer.
65573         (TLS_IE): Use mov/add instead of movq/addq to load thread
65574         pointer.
65575         (TLS_GD_PREFIX): New.
65576         (TLS_GD): Use it.
65578 2012-05-11  David S. Miller  <davem@davemloft.net>
65580         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65581         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65582         (_FPU_SETCW): Likewise.
65584 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65586         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65587         is 32-byte aligned.
65589 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65591         [BZ #11837]
65592         * iconvdata/gb18030.c: Update tables.
65593         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65594         characters specially.
65595         (BODY for TO_LOOP): Add encoding of missing ranges.
65597 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65599         [BZ #13673]
65600         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65601         * sysdeps/mach/hurd/dup3.c: Likewise.
65602         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65603         * sysdeps/powerpc/memmove.c:: Likewise.
65605 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65608         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65610 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65612         * elf/elf.h (R_X86_64_RELATIVE64): New.
65613         (R_X86_64_NUM): Updated.
65614         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65615         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65616         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65617         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65618         tst-quad1pie tst-quad2pie
65619         (modules-names): Add tst-quadmod1 tst-quadmod2.
65620         ($(objpfx)tst-quad1): New dependency.
65621         ($(objpfx)tst-quad2): Likewise.
65622         ($(objpfx)tst-quad1pie): Likewise.
65623         ($(objpfx)tst-quad2pie): Likewise.
65624         * sysdeps/x86_64/tst-quad1.c: New file.
65625         * sysdeps/x86_64/tst-quad1pie.c: New file.
65626         * sysdeps/x86_64/tst-quad2.c: Likewise.
65627         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65628         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65629         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65630         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65631         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65635         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65636         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65637         * streams/stropts.h (t_scalar_t): Define type.
65639         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65640         (_PATH_PRESERVE): Set to "/var/lib".
65641         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65643         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65644         instead of int.
65646         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65647         if __dir_mkfile succeeded.
65649         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65650         checking for _hurd_dtablesize.  Unlock it right after having
65651         finished _hurd_dtable allocation.
65653 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65655         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65656         * sysdeps/mach/hurd/configure: Regenerated.
65657         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65658         special-casing to...
65659         * sysdeps/gnu/configure.in: ... this new file.
65660         * sysdeps/unix/sysv/linux/configure: Regenerated.
65661         * sysdeps/gnu/configure: New generated file.
65663         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65664         for Linux: use nsec instead of usec, as well as:
65665         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65666         members of type struct timespec.
65667         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65668         New macros.
65669         (struct stat64): Likewise.
65670         (_STATBUF_ST_NSEC): New macro.
65671         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65673         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65674         __strtoul_internal rather than strtoul.
65676 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65678         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65679         and reject them.
65681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65683         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65684         which preserves existing values.
65685         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65687 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65689         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65690         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65691         greater than FD_SETSIZE.
65693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65695         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65696         allocated, call __vm_protect to finish enabling the existing space, and
65697         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65698         allocate the remainder.
65700 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65702         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65703         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65707         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65708         sysdeps/mach/hurd/readlink.c.
65710         * posix/tst-sysconf.c (posix_options): Only use
65711         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65712         _POSIX_SYNCHRONIZED_IO when they are defined
65713         * sysdeps/mach/hurd/bits/posix_opt.h:
65714         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65715         (_XOPEN_REALTIME): Undefine macro.
65716         (_XOPEN_REALTIME_THREADS): Undefine macro.
65717         (_XOPEN_SHM): Undefine macro.
65718         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65719         macro to -1.
65720         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65721         macro to -1.
65722         (_POSIX_ASYNC_IO): Undefine macro.
65723         (_POSIX_PRIORITIZED_IO): Undefine macro.
65724         (_POSIX_SPIN_LOCKS): Define macro to -1.
65726         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65727         SA_NODEFER, SA_RESETHAND.
65728         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65729         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65730         F_DUPFD_CLOEXEC.
65732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65734         * elf/Makefile (pldd-modules): Define unconditionally.
65736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65738         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65740 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65742         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65743         Return ENOENT when name is empty.
65744         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65748         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65750         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65752 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65754         Fix mlock in all cases except non-readable pages.
65755         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65756         instead of VM_PROT_ALL as parameter to __vm_wire function.
65758         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65759         (__mkdir): When path is `/', just fail with EEXIST.
65760         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65764         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65765         <sys/uio.h> (for writev).
65766         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65767         and <sys/param.h> (for MIN).
65769 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65771         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65772         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65773         if interrupted.
65775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65777         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65778         Depend on against $(link-rpcuserlibs).
65780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65782         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65783         (__libc_stack_end): Do not use attribute_relro.
65784         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65785         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65786         to libthread-provided value.
65787         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65788         attribute_relro.
65790 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65792         [BZ #3748]
65793         * bits/libc-lock.h (__libc_once_get): New macro.
65794         * sysdeps/mach/bits/libc-lock.h: Likewise.
65795         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65796         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65797         instead of using implementation details.
65799         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65800         * libio/freopen.c: Likewise.
65801         * libio/freopen64.c: Likewise.
65802         * misc/syslog.c: Likewise.
65803         * nscd/connections.c: Likewise.
65804         * nscd/netgroupcache.c: Likewise.
65805         * sysdeps/posix/getcwd.c: Likewise.
65807 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65809         * math/w_ilogbf.c: Add #include <limits.h>.
65811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65813         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65814         path instead of returning without unlocking.
65816         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65817         immediate-write ioctls.
65818         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65822         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65823         __builtin_frame_address instead of making assumptions about the
65824         location of the return address relative to DATA.  Force early load of
65825         the return address.
65826         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65827         __builtin_frame_address.
65829         dup3 for GNU Hurd.
65830         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65831         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65832         implement dup3 and do some further code clean-ups.
65833         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65834         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65838         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65840         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65841         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65842         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65843         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65844         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65845         d->port.lock.
65847         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65848         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65849         when handler == SIG_ERR, not when handler != SIG_ERR.
65851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65853         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65854         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65855         definitions.
65857         accept4 for GNU Hurd.
65858         * include/sys/socket.h (__libc_accept4): New prototype.
65859         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65860         to implement __libc_accept4.
65861         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65862         __libc_accept4.
65863         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65865         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65866         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65867         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65868         signal-defines.sym.
65870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65872         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65874 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65876         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65877         assertion on O_CLOEXEC flag.
65878         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65879         * hurd/intern-fd.c: Likewise.
65880         * hurd/port2fd.c: Likewise.
65882 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65884         [BZ #3906]
65885         * bits/in.h (IPV6_PKTINFO): Define new macro.
65886         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65888 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65890         [BZ #13954]
65891         [BZ #13955]
65892         [BZ #13956]
65893         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65895         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65896         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65898         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65899         * math/libm-test.inc (logb_test) : Additional logb tests.
65901 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65902             Andreas Jaeger  <aj@suse.de>
65904         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65905         * configure: Regenerated.
65906         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65907         * config.make.in (link-obsolete-rpc): New substituted variable.
65908         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65909         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65910         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65911         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65912         so that libc.a contains the symbols.
65913         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65914         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65915         * sunrpc/auth_none.c: Likewise.
65916         * sunrpc/auth_unix.c: Likewise.
65917         * sunrpc/authdes_prot.c: Likewise.
65918         * sunrpc/authuxprot.c: Likewise.
65919         * sunrpc/clnt_gen.c: Likewise.
65920         * sunrpc/clnt_perr.c: Likewise.
65921         * sunrpc/clnt_raw.c: Likewise.
65922         * sunrpc/clnt_simp.c: Likewise.
65923         * sunrpc/clnt_tcp.c: Likewise.
65924         * sunrpc/clnt_udp.c: Likewise.
65925         * sunrpc/clnt_unix.c: Likewise.
65926         * sunrpc/des_crypt.c: Likewise.
65927         * sunrpc/des_soft.c: Likewise.
65928         * sunrpc/get_myaddr.c: Likewise.
65929         * sunrpc/key_call.c: Likewise.
65930         * sunrpc/key_prot.c: Likewise.
65931         * sunrpc/netname.c: Likewise.
65932         * sunrpc/pm_getmaps.c: Likewise.
65933         * sunrpc/pm_getport.c: Likewise.
65934         * sunrpc/pmap_clnt.c: Likewise.
65935         * sunrpc/pmap_prot.c: Likewise.
65936         * sunrpc/pmap_prot2.c: Likewise.
65937         * sunrpc/pmap_rmt.c: Likewise.
65938         * sunrpc/publickey.c: Likewise.
65939         * sunrpc/rpc_cmsg.c: Likewise.
65940         * sunrpc/rpc_common.c: Likewise.
65941         * sunrpc/rpc_dtable.c: Likewise.
65942         * sunrpc/rpc_prot.c: Likewise.
65943         * sunrpc/rpc_thread.c: Likewise.
65944         * sunrpc/rtime.c: Likewise.
65945         * sunrpc/svc.c: Likewise.
65946         * sunrpc/svc_auth.c: Likewise.
65947         * sunrpc/svc_raw.c: Likewise.
65948         * sunrpc/svc_run.c: Likewise.
65949         * sunrpc/svc_tcp.c: Likewise.
65950         * sunrpc/svc_udp.c: Likewise.
65951         * sunrpc/svc_unix.c: Likewise.
65952         * sunrpc/svcauth_des.c: Likewise.
65953         * sunrpc/xcrypt.c: Likewise.
65954         * sunrpc/xdr.c: Likewise.
65955         * sunrpc/xdr_array.c: Likewise.
65956         * sunrpc/xdr_float.c: Likewise.
65957         * sunrpc/xdr_intXX_t.c: Likewise.
65958         * sunrpc/xdr_mem.c: Likewise.
65959         * sunrpc/xdr_rec.c: Likewise.
65960         * sunrpc/xdr_ref.c: Likewise.
65961         * sunrpc/xdr_sizeof.c: Likewise.
65962         * sunrpc/xdr_stdio.c: Likewise.
65964 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65967         change.  Update copyright years.
65969 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65971         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65973 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65974             Joseph Myers  <joseph@codesourcery.com>
65975             Paul Pluzhnikov  <ppluzhnikov@google.com>
65977         [BZ #14012]
65978         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65979         requiring rpcgen.
65980         [cross-compiling] (extra-libs): Likewise.
65981         [cross-compiling] (extra-libs-others): Likewise.
65982         [cross-compiling] (librpcsvc-routines): Likewise.
65983         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65984         [cross-compiling] (omit-deps): Likewise.
65985         (sunrpc-CPPFLAGS): New variable.
65986         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65987         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65988         (cross-rpcgen-objs): New variable.
65989         (extra-objs): Append $(cross-rpcgen-objs).
65990         ($(cross-rpcgen-objs)): New rule.
65991         ($(objpfx)cross-rpcgen): Likewise.
65992         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65993         comment.
65994         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65995         ($(objpfx)x%.stmp): Likewise.
65996         * sunrpc/proto.h [IS_IN_build] (_): Define.
65997         [IS_IN_build] (_libc_intl_domainname): Likewise.
65999 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66001         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66002         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66003         and R_X86_64_TPOFF64.
66005 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66007         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66008         sysdeps/unix/sysv/syscalls.list.
66009         (stime): Likewise.
66010         (utime): Likewise.
66011         * sysdeps/unix/sysv/syscalls.list: Remove file.
66013 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66015         [BZ #3440]
66016         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66017         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66018         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66019         (__LC_IDENTIFICATION): Make these macros useful in #if
66020         expressions, as required by C99.
66022 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66024         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66025         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66026         after this.
66028 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66030         * stdlib/longlong.h: Updated from GCC.
66032 2012-05-09  Andreas Jaeger  <aj@suse.de>
66034         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66035         default is first entry.
66036         (run_mode): Set type.
66037         (main): Remove informal message about syslog.
66038         (options): Fix typo.
66040         [BZ #14053]
66041         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66042         to asm.
66043         (lrint): Likewise.
66044         (llrintf): Likewise.
66045         (llrint): Likewise.
66046         (rint): Likewise.
66047         (rintf): Likewise.
66048         (nearbyint): Likewise.
66049         (nearbyintf): Likewise.
66051 2012-05-09  Andreas Jaeger  <aj@suse.de>
66052             Pedro Alves  <palves@redhat.com>
66054         * nscd/nscd.c (run_mode): Use enum.
66055         (main): Cleanup coding style issue.
66057 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66058             Andreas Jaeger  <aj@suse.de>
66060         * nscd/nscd.c (go_background): Replaced with...
66061         (run_mode): ... this.
66062         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66063         (options): Add -F --foreground.
66064         (main): Implement it.
66065         (parse_opt): Parse it.
66067 2012-05-09  Andreas Jaeger  <aj@suse.de>
66069         [BZ #14083]
66070         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66071         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66072         -Wconversion warning.
66073         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66074         Likewise.
66076 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66078         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66079         == 0.
66080         (LC_ALL): Use macro-int-constant.
66081         (LC_COLLATE): Likewise.
66082         (LC_CTYPE): Likewise.
66083         (LC_MESSAGES): Likewise.
66084         (LC_MONETARY): Likewise.
66085         (LC_NUMERIC): Likewise.
66086         (LC_TIME): Likewise.
66087         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66088         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66089         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66090         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66091         Specify type.
66092         [C99-based standards] (float_t): Expect type.
66093         [C99-based standards] (double_t): Expect type.
66094         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66095         type.
66096         [C99-based standards] (HUGE_VALL): Likewise.
66097         [C99-based standards] (INFINITY): Likewise.
66098         [C99-based standards] (NAN): Likewise.
66099         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66100         [C99-based standards] (FP_NAN): Likewise.
66101         [C99-based standards] (FP_NORMAL): Likewise.
66102         [C99-based standards] (FP_SUBNORMAL): Likewise.
66103         [C99-based standards] (FP_ZERO): Likewise.
66104         [C99-based standards] (FP_FAST_FMA): Use
66105         optional-macro-int-constant.  Specify type.  Require == 1.
66106         [C99-based standards] (FP_FAST_FMAF): Likewise.
66107         [C99-based standards] (FP_FAST_FMAL): Likewise.
66108         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66109         [C99-based standards] (FP_ILOGBNAN): Likewise.
66110         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66111         Specify type.
66112         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66113         [C99-based standards] (math_errhandling): Specify type.
66114         [ISO99 || ISO11] (signgam): Do not allow.
66115         [non-C99-based standards] (copysignf): Do not allow.
66116         [non-C99-based standards] (exp2f): Likewise.
66117         [non-C99-based standards] (log2f): Likewise.
66118         [non-C99-based standards] (modff): Allow.
66119         [non-C99-based standards] (erff): Do not allow.
66120         [non-C99-based standards] (erfcf): Likewise.
66121         [non-C99-based standards] (gammaf): Likewise.
66122         [non-C99-based standards] (hypotf): Likewise.
66123         [non-C99-based standards] (j0f): Likewise.
66124         [non-C99-based standards] (j1f): Likewise.
66125         [non-C99-based standards] (jnf): Likewise.
66126         [non-C99-based standards] (lgammaf): Likewise.
66127         [non-C99-based standards] (tgammaf): Likewise.
66128         [non-C99-based standards] (y0f): Likewise.
66129         [non-C99-based standards] (y1f): Likewise.
66130         [non-C99-based standards] (ynf): Likewise.
66131         [non-C99-based standards] (isnanf): Likewise.
66132         [non-C99-based standards] (acoshf): Likewise.
66133         [non-C99-based standards] (asinhf): Likewise.
66134         [non-C99-based standards] (atanhf): Likewise.
66135         [non-C99-based standards] (cbrtf): Likewise.
66136         [non-C99-based standards] (expm1f): Likewise.
66137         [non-C99-based standards] (ilogbf): Likewise.
66138         [non-C99-based standards] (log1pf): Likewise.
66139         [non-C99-based standards] (logbf): Likewise.
66140         [non-C99-based standards] (nextafterf): Likewise.
66141         [non-C99-based standards] (remainderf): Likewise.
66142         [non-C99-based standards] (rintf): Likewise.
66143         [non-C99-based standards] (scalbf): Likewise.
66144         [non-C99-based standards] (copysignl): Likewise.
66145         [non-C99-based standards] (exp2l): Likewise.
66146         [non-C99-based standards] (log2l): Likewise.
66147         [non-C99-based standards] (modfl): Allow.
66148         [non-C99-based standards] (erfl): Do not allow.
66149         [non-C99-based standards] (erfcl): Likewise.
66150         [non-C99-based standards] (gammal): Likewise.
66151         [non-C99-based standards] (hypotl): Likewise.
66152         [non-C99-based standards] (j0l): Likewise.
66153         [non-C99-based standards] (j1l): Likewise.
66154         [non-C99-based standards] (jnl): Likewise.
66155         [non-C99-based standards] (lgammal): Likewise.
66156         [non-C99-based standards] (tgammal): Likewise.
66157         [non-C99-based standards] (y0l): Likewise.
66158         [non-C99-based standards] (y1l): Likewise.
66159         [non-C99-based standards] (ynl): Likewise.
66160         [non-C99-based standards] (isnanl): Likewise.
66161         [non-C99-based standards] (acoshl): Likewise.
66162         [non-C99-based standards] (asinhl): Likewise.
66163         [non-C99-based standards] (atanhl): Likewise.
66164         [non-C99-based standards] (cbrtl): Likewise.
66165         [non-C99-based standards] (expm1l): Likewise.
66166         [non-C99-based standards] (ilogbl): Likewise.
66167         [non-C99-based standards] (log1pl): Likewise.
66168         [non-C99-based standards] (logbl): Likewise.
66169         [non-C99-based standards] (nextafterl): Likewise.
66170         [non-C99-based standards] (remainderl): Likewise.
66171         [non-C99-based standards] (rintl): Likewise.
66172         [non-C99-based standards] (scalbl): Likewise.
66173         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66174         [non-C99-based standards] (FP_*): Do not allow.
66175         [C99-based standards] (FP_*): Change to
66176         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66177         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66178         allow.
66179         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66180         (SIG_ERR): Likewise.
66181         [X/Open-based standards] (SIG_HOLD): Likewise.
66182         (SIG_IGN): Likewise.
66183         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66184         positive value.
66185         (SIGFPE): Likewise.
66186         (SIGILL): Likewise.
66187         (SIGINT): Likewise.
66188         (SIGSEGV): Likewise.
66189         (SIGTER): Likewise.
66190         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66191         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66192         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66193         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66194         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66195         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66196         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66197         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66198         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66199         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66200         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66201         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66202         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66203         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66204         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66205         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66206         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66207         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66208         [X/Open-based standards] (SIGTRAP): Likewise.
66209         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66210         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66211         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66212         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66213         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66214         allow.
66216 2012-05-08  Ian Wienand  <ianw@vmware.com>
66218         [BZ #14080]
66219         * time/tzset.c (__tzset_parse_tz): Update default rules for
66220         daylight time changes in the Energy Policy Act of 2005.
66222 2012-05-09  Andreas Jaeger  <aj@suse.de>
66224         [BZ #13983]
66225         * elf/ldconfig.c (parse_conf): Change string to make clear that
66226         ldconfig only issued a warning if ld.so.conf does not exist.
66228 2012-05-08  David S. Miller  <davem@davemloft.net>
66230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66231         movxtod instead of popping the value on the stack.
66233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66235 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66237         * config.h.in: Add HAVE_ARM_PCS_VFP.
66239 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66241         [BZ #13979]
66242         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66243         checking but the checks are disabled for any reason.
66245 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66247         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66248         and ELF64_R_TYPE with ELFW(R_TYPE).
66250 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66252         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66253         (ulimit): Likewise.
66255         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66256         (settimeofday): Likewise.
66258 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66260         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66261         a struct th_u2 inside the union, and move tu_block/tu_code into
66262         a new th_u3 union of tu_block/tu_code inside of that.  Move
66263         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66264         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66265         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66266         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66267         (th_stuff): Change to th_u1.tu_stuff.
66268         (th_data): Define.
66269         (th_msg): Change to th_u1.th_u2.tu_data.
66271 2012-05-07  David S. Miller  <davem@davemloft.net>
66273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66275         [BZ #14074]
66276         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66277         (SETUP_PIC_REG): Use it.
66278         (SETUP_PIC_REG_LEAF): Use it.
66280 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66282         [BZ #13885]
66283         [BZ #13923]
66284         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66285         USE_AS_EXPM1L.
66286         (EXPL_FINITE): Likewise.
66287         (FLDLOG): Likewise.
66288         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66289         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66290         e_expl.S.
66291         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66292         USE_AS_EXPM1L.
66293         (EXPL_FINITE): Likewise.
66294         (FLDLOG): Likewise.
66295         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66296         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66297         e_expl.S.
66298         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66299         test of -max_value argument for long double.
66300         * sysdeps/i386/fpu/libm-test-ulps: Update.
66301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66303 2012-05-06  David S. Miller  <davem@davemloft.net>
66305         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66306         quad soft-float symbols whose references which are compiler
66307         generated.
66308         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66310 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66312         [BZ #13884]
66313         [BZ #13914]
66314         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66315         USE_AS_EXP10L.
66316         (EXPL_FINITE): Likewise.
66317         (FLDLOG): Likewise.
66318         (c0): Likewise.
66319         (c1): Likewise.
66320         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66321         Adjust comments for base varying.
66322         (__expl_finite): Change alias to EXPL_FINITE.
66323         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66324         e_expl.S.
66325         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66326         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66327         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66328         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66329         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66330         USE_AS_EXP10L.
66331         (EXPL_FINITE): Likewise.
66332         (FLDLOG): Likewise.
66333         (c0): Likewise.
66334         (c1): Likewise.
66335         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66336         Adjust comments for base varying.
66337         (__expl_finite): Change alias to EXPL_FINITE.
66338         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66339         tests for bugs.
66340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66342         [BZ #14064]
66343         * math/libm-test.inc (check_float_internal): Correct ulp
66344         calculation for subnormal expected results.
66346 2012-05-06  Andreas Jaeger  <aj@suse.de>
66348         * Makeconfig (+math-flags): New, set to -frounding-math.
66349         (+cflags): Add +math-flags so that all of glibc gets compiled with
66350         it.
66352         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66354 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66356         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66357         Disable one test.
66359         [BZ #13787]
66360         [BZ #13922]
66361         [BZ #14036]
66362         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66363         (__ieee754_expl): Allow for and saturate large arguments.
66364         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66365         (u_threshold): Likewise.
66366         (__exp): Call __ieee754_exp before checking for overflow and
66367         underflow.
66368         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66369         (u_threshold): Likewise.
66370         (__expf): Call __ieee754_expf before checking for overflow and
66371         underflow.
66372         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66373         (u_threshold): Likewise.
66374         (__expl): Call __ieee754_expl before checking for overflow and
66375         underflow.
66376         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66377         (__ieee754_expl): Allow for and saturate large arguments.
66378         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66379         missing overflow exception on overflow.
66380         (expm1_test): Do not allow missing overflow exception on overflow.
66382         * sysdeps/i386/fpu/e_expl.c: Move to ...
66383         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66384         rather than using inline asm.
66385         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66386         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66387         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66389         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66390         (nice): Likewise.
66391         (poll): Likewise.
66392         (signal): Likewise.
66393         (time): Likewise.
66394         (times): Likewise.
66396 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66398         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66399         sysdeps/unix/common/syscalls.list.
66400         (fchmod): Likewise.
66401         (fchown): Likewise.
66402         (ftruncate): Likewise.
66403         (getrusage): Likewise.
66404         (gettimeofday): Likewise.
66405         (setpgid): Likewise.
66406         (setregid): Likewise.
66407         (setreuid): Likewise.
66408         (sigaction): Likewise.
66409         (truncate): Likewise.
66410         (vhangup): Likewise.
66411         * sysdeps/unix/common/syscalls.list: Remove file.
66412         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66413         * sysdeps/unix/sysv/linux/Implies: Likewise.
66415 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66417         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66419         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66420         Moved to ...
66421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66422         Here.
66423         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66424         to ...
66425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66426         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66427         to ...
66428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66429         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66430         to ...
66431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66432         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66433         to ...
66434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66435         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66436         to ...
66437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66438         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66439         to ...
66440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66441         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66442         to ...
66443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66444         Here.
66445         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66446         to ...
66447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66448         Here.
66449         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66450         to ...
66451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66452         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66453         Moved to ...
66454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66455         Here.
66456         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66457         to ...
66458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66460 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66462         * sysdeps/unix/common/bits/dirent.h: Remove file.
66463         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66465         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66466         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66467         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66468         * sysdeps/unix/bsd/isatty.c: Likewise.
66469         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66470         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66471         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66473 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66475         [BZ #13563]
66476         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66477         long double comparison inaccuracies.
66478         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66481 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66483         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66484         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66486 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66488         [BZ #14049]
66489         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66490         nonzero digits before rounding a hex value.
66491         * stdlib/tst-strtod.c (tests): Add another test.
66493 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66495         * sysdeps/s390/fpu/libm-test-ulps: Update.
66497 2012-05-03  Andreas Jaeger  <aj@suse.de>
66499         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66500         does not get optimized out.
66501         (malloc_opt_barrier): New.
66503 2012-05-03  Andreas Jaeger  <aj@suse.de>
66504             Roland McGrath  <roland@hack.frob.com>
66506         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66507         intermediate file deletion.
66508         (generated): Add .symlist files.
66510 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66512         [BZ #13775]
66513         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66514         Redirect under this condition.
66515         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66516         [__USE_GNU] (__dprintf_chk): Not under this condition.
66517         [__USE_GNU] (__vdprintf_chk): Likewise.
66518         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66519         under this condition.
66520         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66521         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66522         [__USE_XOPEN2K8] (vdprintf): Likewise.
66523         [__USE_GNU] (__dprintf_chk): Not under this condition.
66524         [__USE_GNU] (__vdprintf_chk): Likewise.
66525         [__USE_GNU] (dprintf): Likewise.
66526         [__USE_GNU] (vdprintf): Likewise.
66528 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66530         * elf/Makefile (common-generated): Set this instead of generated for
66531         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66532         $(all-built-dso)-derived lists.
66534 2012-05-03  Andreas Jaeger  <aj@suse.de>
66536         * sysdeps/i386/fpu/libm-test-ulps: Update.
66538         * FAQ: Removed.
66539         * FAQ.in: Likewise.
66540         * scripts/gen-FAQ.pl: Likewise.
66541         * manual/install.texi (Installation): Point to online location of
66542         FAQ.
66543         * Makefile (files-for-dist): Remove FAQ.
66544         (FAQ): Remove.
66546 2012-05-02  Allan McRae  <allan@archlinux.org>
66548         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66549         (LDFLAGS-reldepmod5.so): Likewise.
66550         (LDFLAGS-reldep6mod1.so): Likewise.
66551         (LDFLAGS-reldep6mod4.so): Likewise.
66552         (LDFLAGS-reldep8mod3.so): Likewise.
66553         (LDFLAGS-unload4mod1.so): Likewise.
66554         (LDFLAGS-unload4mod2.so): Likewise.
66555         (LDFLAGS-tst-initorder): Likewise.
66556         (LDFLAGS-tst-initordera2.so): Likewise.
66557         (LDFLAGS-tst-initordera3.so): Likewise.
66558         (LDFLAGS-tst-initordera4.so): Likewise.
66559         (LDFLAGS-tst-initorderb2.so): Likewise.
66560         (LDFLAGS-noload): Likewise.
66561         (LDFLAGS-next): Likewise.
66562         (LDFLAGS-order2mod1.so): Likewise.
66563         (LDFLAGS-order2mod2.so): Likewise.
66564         (LDFLAGS-tst-initorder2): Likewise.
66565         (LDFLAGS-tst-initorder2a.so): Likewise.
66566         (LDFLAGS-tst-initorder2b.so): Likewise.
66567         (LDFLAGS-tst-initorder2c.so): Likewise.
66568         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66570 2012-05-02  David S. Miller  <davem@davemloft.net>
66572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66574 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66576         [BZ #14055]
66577         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66579 2012-05-02  Andreas Jaeger  <aj@suse.de>
66581         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66582         since we manipulate rounding mode.
66583         (CPPFLAGS-test-idouble.c): Likewise.
66584         (CPPFLAGS-test-ifloat.c): Likewise.
66585         (CFLAGS-test-ldouble.c): Likewise.
66586         (CFLAGS-test-double.c): Likewise.
66587         (CFLAGS-test-float.c): Likewise.
66588         (CFLAGS-test-misc.c): Likewise.
66589         (CFLAGS-test-test-fenv.c): Likewise.
66591 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66593         [BZ #2550]
66594         [BZ #2570]
66595         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66596         comparisons to determine direction to adjust input.
66598 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66600         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66601         output to the target.
66603         * scripts/localplt.awk: New file.
66604         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66605         (check-localplt-CFLAGS): Variable removed.
66606         ($(all-built-dso:=.jmprel)): New static pattern rule.
66607         (generated): Add those targets.
66608         (localplt-built-dso): New variable.
66609         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66611         * elf/check-localplt.c: File removed.
66613         * scripts/check-execstack.awk: New file.
66614         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66615         (check-execstack-CFLAGS): Variable removed.
66616         ($(objpfx)check-execstack.h): Target removed.
66617         ($(objpfx)execstack-default): New target.
66618         (generated): Add that instead of check-execstack.h.
66619         ($(all-built-dso:=.phdr)): New static pattern rule.
66620         (generated): Add those targets.
66621         * elf/check-execstack.c: File removed.
66623         * scripts/check-textrel.awk: New file.
66624         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66625         (check-textrel-CFLAGS): Variable removed.
66626         (all-built-dso): Use := to define.o
66627         ($(all-built-dso:=.dyn)): New static pattern rule.
66628         (generated): Add those targets.
66629         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66630         * config.make.in (READELF): New substituted variable.
66631         * elf/check-textrel.c: File removed.
66633 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66635         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66636         allow.
66637         * conform/data/ctype.h-data [C99-based standards] (isblank):
66638         Expect function.
66639         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66640         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66641         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66642         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66643         Specify type.  Require positive value.
66644         (EILSEQ): Likewise.
66645         (ERANGE): Likewise.
66646         [ISO || POSIX] (EILSEQ): Do not expect.
66647         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66648         Specify type.  Require positive value.
66649         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66650         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66651         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66652         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66653         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66654         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66655         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66656         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66657         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66658         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66659         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66660         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66661         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66662         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66663         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66664         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66665         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66666         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66667         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66668         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66669         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66670         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66671         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66672         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66673         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66674         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66675         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66676         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66677         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66678         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66679         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66680         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66681         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66682         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66683         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66684         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66685         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66686         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66687         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66688         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66689         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66690         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66691         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66692         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66693         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66694         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66695         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66696         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66697         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66698         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66699         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66700         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66701         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66702         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66703         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66704         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66705         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66706         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66707         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66708         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66709         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66710         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66711         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66712         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66713         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66714         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66715         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66716         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66717         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66718         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66719         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66720         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66721         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66722         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66723         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66724         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66725         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66726         Require >= 2.
66727         (FLT_ROUNDS): Expect as macro, not constant.
66728         (FLT_MANT_DIG): Use macro-int-constant.
66729         (DBL_MANT_DIG): Likewise.
66730         (LDBL_MANT_DIG): Likewise.
66731         (FLT_DIG): Likewise.
66732         (DBL_DIG): Likewise.
66733         (LDBL_DIG): Likewise.
66734         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66735         (DBL_MIN_EXP): Likewise.
66736         (LDBL_MIN_EXP): Likewise.
66737         (FLT_MAX_EXP): Use macro-int-constant.
66738         (DBL_MAX_EXP): Likewise.
66739         (LDBL_MAX_EXP): Likewise.
66740         (FLT_MAX_10_EXP): Likewise.
66741         (DBL_MAX_10_EXP): Likewise.
66742         (LDBL_MAX_10_EXP): Likewise.
66743         (FLT_MAX): Use macro-constant.
66744         (DBL_MAX): Likewise.
66745         (LDBL_MAX): Likewise.
66746         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66747         (DBL_EPSILON): Likewise.
66748         (LDBL_EPSILON): Likewise.
66749         (FLT_MIN): Likewise.
66750         (DBL_MIN): Likewise.
66751         (LDBL_MIN): Likewise.
66752         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66753         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66754         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66755         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66756         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66757         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66758         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66759         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66760         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66761         [ISO11] (FLT_TRUE_MIN): Likewise.
66762         [ISO11] (LDBL_TRUE_MIN): Likewise.
66763         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66764         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66765         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66766         (SCHAR_MAX): Likewise.
66767         (UCHAR_MAX): Likewise.
66768         (CHAR_MIN): Likewise.
66769         (CHAR_MAX): Likewise.
66770         (MB_LEN_MAX): Use macro-int-constant.
66771         (SHRT_MIN): Use macro-int-constant.  Specify type.
66772         (SHRT_MAX): Likewise.
66773         (USHRT_MAX): Likewise.
66774         (INT_MAX): Likewise.
66775         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66776         bound negative.
66777         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66778         bound with "U".
66779         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66780         bound with "L".
66781         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66782         bound negative.  Suffix upper bound with "L".
66783         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66784         bound with "UL".
66785         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66786         Specify type.
66787         [C99-based standards] (LLONG_MAX): Likewise.
66788         [C99-based standards] (ULLONG_MAX): Likewise.
66789         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66790         == 0.
66791         [ISO11] (max_align_t): Require type.
66792         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66794         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66795         from $CFLAGS, without defining away __attribute__ calls.
66796         (checknamespace): Use $CFLAGS_namespace.
66798         * conform/conformtest.pl (@keywords): Only include C99 keywords
66799         for standards based on C99 or C11.
66801         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66802         Disable tests.
66803         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66804         UNIX98]: Likewise.
66806         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66807         usability of symbols in #if.
66809         * conform/conformtest.pl: If macro or constant types start
66810         "promoted:", expect the symbol to be of the following type
66811         promoted by the integer promotions.
66813         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66814         in one place.  Also handle "macro-constant".
66816         * conform/conformtest.pl: Only accept expected macro values with
66817         "==".  Parse all "macro" lines in one place.
66818         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66820         * conform/conformtest.pl: Handle braced types on "constant" lines
66821         instead of handling "typed-constant".
66822         * conform/data/signal.h-data: Use "constant" instead of
66823         "typed-constant".
66825         * conform/conformtest.pl: Handle "optional-" at start of lines in
66826         one place rather than duplicating several cases.  Handle each
66827         format of "macro" line with initial "optional-".
66829         * conform/conformtest.pl: Only accept expected constant or
66830         optional-constant values with "==".  Parse all "constant" lines in
66831         one place.  Parse all "optional-constant" lines in one place.
66832         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66833         * conform/data/fmtmsg.h-data: Likewise.
66834         * conform/data/netinet/in.h-data: Likewise.
66835         * conform/data/tar.h-data: Likewise.
66836         * conform/data/limits.h-data: Use "==" form on "constant" and
66837         "optional-constant" lines.
66839         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66840         Use -std=c99 for XOPEN2K.
66841         (@knownproblems): Remove.
66842         (newtoken): Don't check %isknown.
66844         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66845         Do not expect macro.
66846         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66847         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66848         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66849         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66850         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66851         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66852         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66853         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66854         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66855         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66856         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66857         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66858         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66859         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66860         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66861         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66862         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66863         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66864         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66865         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66866         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66867         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66868         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66869         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66870         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66871         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66872         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66873         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66874         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66875         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66876         [XPG3] (acosh): Likewise.
66877         [XPG3] (asinh): Likewise.
66878         [XPG3] (atanh): Likewise.
66879         [XPG3] (cbrt): Likewise.
66880         [XPG3] (expm1): Likewise.
66881         [XPG3] (ilogb): Likewise.
66882         [XPG3] (log1p): Likewise.
66883         [XPG3] (logb): Likewise.
66884         [XPG3] (nextafter): Likewise.
66885         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66886         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66887         [XPG3] (remainder): Likewise.
66888         [XPG3] (rint): Likewise.
66889         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66890         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66891         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66892         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66893         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66894         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66895         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66896         [UNIX98 || XOPEN2K] (scalb): Expect.
66897         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66898         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66899         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66900         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66901         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66902         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66903         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66904         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66905         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66906         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66907         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66908         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66909         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66910         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66911         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66912         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66913         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66914         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66915         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66916         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66917         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66918         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66919         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66920         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66921         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66922         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66923         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66924         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66925         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66926         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66927         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66928         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66929         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66930         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66931         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66932         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66933         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66934         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66935         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66936         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66937         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66938         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66939         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66940         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66941         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66942         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66943         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66944         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66945         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66946         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66947         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66948         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66949         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66950         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66951         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66952         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66953         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66954         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66955         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66956         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66957         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66958         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66959         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66960         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66961         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66962         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66963         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66964         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66965         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66966         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66967         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66968         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66969         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66970         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66971         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66972         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66973         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66974         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66975         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66976         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66977         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66978         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66979         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66980         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66981         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66982         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66983         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66984         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66985         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66986         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66987         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66988         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66989         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66990         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66991         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66992         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66993         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66994         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66995         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66996         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66997         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66998         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66999         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67000         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67001         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67002         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67003         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67004         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67005         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67006         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67007         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67008         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67009         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67010         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67011         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67012         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67013         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67014         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67015         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67016         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67017         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67018         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67019         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67020         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67021         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67022         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67023         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67024         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67025         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67026         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67027         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67028         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67029         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67030         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67031         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67032         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67033         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67035         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67036         _XOPEN_SOURCE_EXTENDED for XPG4.
67038         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67040         * Makeconfig (localtime): Remove variable.
67041         (inst_localtime-file): Likewise.
67043 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67046         Update.
67047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67048         Update.
67049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67050         Update.
67051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67052         Update.
67053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67054         Update.
67055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67056         Update.
67057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67058         Update.
67059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67060         Update.
67061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67062         Update.
67064 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67066         [BZ #2550]
67067         [BZ #2570]
67068         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67069         comparisons to determine direction to adjust input.
67070         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67071         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67072         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67073         Likewise.
67074         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67075         Likewise.
67076         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67077         Likewise.
67078         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67079         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67080         Likewise.
67081         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67082         Likewise.
67083         * math/libm-test.inc (nexttoward_test): Add more tests.
67085 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67087         [BZ #14040]
67088         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67089         in version GLIBC_2.1, not GLIBC_2.0.
67090         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67091         Likewise.
67093 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67095         [BZ #13942]
67096         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67097         (1 - x) * (1 + x).
67098         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67099         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67100         * math/libm-test.inc (acos_test): Add more tests.
67101         (asin_test): Likewise.
67102         * sysdeps/i386/fpu/libm-test-ulps: Update.
67103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67105         [BZ #14034]
67106         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67107         of square root.
67108         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67109         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67110         * math/libm-test.inc (acos_test_tonearest): New function.
67111         (acos_test_towardzero): Likewise.
67112         (acos_test_downward): Likewise.
67113         (acos_test_upward): Likewise.
67114         (asin_test_tonearest): Likewise.
67115         (asin_test_towardzero): Likewise.
67116         (asin_test_downward): Likewise.
67117         (asin_test_upward): Likewise.
67118         (main): Call the new functions.
67119         * sysdeps/i386/fpu/libm-test-ulps: Update.
67120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67122         [BZ #13884]
67123         [BZ #13924]
67124         * math/e_exp10.c: Include <float.h>.
67125         (__ieee754_exp10): Handle underflow here rather than multiplying
67126         large negative argument by M_LN10.
67127         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67128         of __ieee754_expf.
67129         * math/e_exp10l.c: Include <float.h>.
67130         (__ieee754_exp10l): Handle underflow here rather than multiplying
67131         large negative argument by M_LN10l.
67132         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67133         spurious overflow exception on underflow.
67135 2012-04-29  Marek Polacek  <polacek@redhat.com>
67137         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67138         (__fortify_function): New macro.
67139         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67140         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67141         __extern_always_inline.
67142         * libio/bits/stdio2.h: Likewise.
67143         * libio/bits/stdio.h: Likewise.
67144         * string/string.h: Likewise.
67145         * string/bits/string3.h: Likewise.
67146         * include/stdio.h: Likewise.
67147         * stdlib/bits/stdlib.h: Likewise.
67148         * stdlib/stdlib.h: Likewise.
67149         * rt/bits/mqueue2.h: Likewise.
67150         * rt/mqueue.h: Likewise.
67151         * posix/bits/unistd.h: Likewise.
67152         * posix/unistd.h: Likewise.
67153         * io/bits/poll2.h: Likewise.
67154         * io/bits/fcntl2.h: Likewise.
67155         * io/fcntl.h: Likewise.
67156         * io/sys/poll.h: Likewise.
67157         * misc/bits/syslog.h: Likewise.
67158         * misc/bits/syslog-ldbl.h: Likewise.
67159         * misc/sys/syslog.h: Likewise.
67160         * socket/bits/socket2.h: Likewise.
67161         * socket/sys/socket.h: Likewise.
67162         * debug/tst-chk1.c: Likewise.
67163         * wcsmbs/bits/wchar2.h: Likewise.
67164         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67165         * wcsmbs/wchar.h: Likewise.
67167 2012-04-29  Andreas Jaeger  <aj@suse.de>
67169         * Makerules (tests): Remove enable-check-abi protection.
67170         (check-abi-warn): Remove.
67171         (check-abi-%): Remove check-abi-warn usage.
67173         * configure.in: Remove check-abi configure option.
67174         * configure: Regenerated.
67175         * config.make.in (enable-check-abi): Remove.
67177 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67179         [BZ #14033]
67180         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67181         double functions to double *_finite functions.
67183         [BZ #13941]
67184         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67185         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67186         LDBL_MIN_EXP.
67187         * stdio-common/Makefile (tests): Add tst-sprintf3.
67188         * stdio-common/tst-sprintf3.c: New file.
67190         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67191         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67193 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67195         * conform/conformtest.pl: Remove duplicate typed-constant
67196         handling.
67198 2012-04-28  David S. Miller  <davem@davemloft.net>
67200         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67201         (check-abi-%): Remove AWK script prerequisite and explicit
67202         abilist directory.
67203         (check-abi): Rewrite to just diff the symlist with the abilist.
67204         (config-tls, config-abi-config): Delete, no longer used.
67205         (update-abi-%): Remove AWK script and explicit abilist directory.
67206         (update-abi): Rewrite to simply compare and conditionally copy the
67207         symlist and the sysdep abilist file.  Remove update-abi-config
67208         checks.
67209         * abilist/ld.abilist: Remove.
67210         * abilist/libBrokenLocale.abilist: Remove.
67211         * abilist/libanl.abilist: Remove.
67212         * abilist/libcrypt.abilist: Remove.
67213         * abilist/libdl.abilist: Remove.
67214         * abilist/librt.abilist: Remove.
67215         * abilist/libthread_db.abilist: Remove.
67216         * abilist/libutil.abilist: Remove.
67217         * scripts/extract-abilist.awk: Remove.
67218         * scripts/merge-abilist.awk: Remove.
67219         * sysdeps/generic/libcidn.abilist: New file.
67220         * sysdeps/generic/libnss_compat.abilist: New file.
67221         * sysdeps/generic/libnss_db.abilist: New file.
67222         * sysdeps/generic/libnss_dns.abilist: New file.
67223         * sysdeps/generic/libnss_files.abilist: New file.
67224         * sysdeps/generic/libnss_hesiod.abilist: New file.
67225         * sysdeps/generic/libnss_nis.abilist: New file.
67226         * sysdeps/generic/libnss_nisplus.abilist: New file.
67227         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67228         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67229         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67230         file.
67231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67232         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67233         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67234         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67235         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67236         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67237         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67238         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67239         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67240         file.
67241         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67242         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67243         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67244         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67245         file.
67246         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67247         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67248         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67249         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67250         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67251         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67252         file.
67253         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67254         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67255         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67256         file.
67257         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67259         New file.
67260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67261         New file.
67262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67263         New file.
67264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67265         New file.
67266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67267         New file.
67268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67269         New file.
67270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67271         New file.
67272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67273         New file.
67274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67275         New file.
67276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67277         New file.
67278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67279         New file.
67280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67281         New file.
67282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67283         New file.
67284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67285         file.
67286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67287         New file.
67288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67289         New file.
67290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67291         file.
67292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67293         New file.
67294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67295         New file.
67296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67297         file.
67298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67299         New file.
67300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67301         New file.
67302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67303         New file.
67304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67305         New file.
67306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67307         New file.
67308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67309         New file.
67310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67312         file.
67313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67314         New file.
67315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67316         file.
67317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67318         file.
67319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67320         file.
67321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67322         file.
67323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67324         file.
67325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67326         New file.
67327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67328         file.
67329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67330         file.
67331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67332         New file.
67333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67334         file.
67335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67337         file.
67338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67339         New file.
67340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67341         file.
67342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67343         file.
67344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67345         file.
67346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67347         file.
67348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67349         file.
67350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67351         New file.
67352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67353         file.
67354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67355         file.
67356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67357         New file.
67358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67359         file.
67360         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67361         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67362         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67363         file.
67364         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67365         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67366         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67367         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67368         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67370         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67371         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67372         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67373         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67376         file.
67377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67378         New file.
67379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67380         file.
67381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67382         file.
67383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67384         file.
67385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67386         file.
67387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67388         file.
67389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67390         New file.
67391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67392         New file.
67393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67394         file.
67395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67396         New file.
67397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67398         file.
67399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67401         file.
67402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67403         New file.
67404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67405         file.
67406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67407         file.
67408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67409         file.
67410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67411         file.
67412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67413         file.
67414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67415         New file.
67416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67417         New file.
67418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67419         file.
67420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67421         New file.
67422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67423         file.
67425 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67427         * conform/conformtest.pl: Fix typo in handling typed-constant from
67428         allow-header.
67430 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67432         * README: Cut down references to pre-2.6 Linux kernels and
67433         Linuxthreads.  Update lists of configurations in libc and ports
67434         and sort alphabetically.  Say "or newer" with Linux kernel version
67435         requirements.
67437         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67439 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67441         [BZ #887]
67442         * math/libm-test.inc (logb_test_downward): New test to expose
67443         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67444         rounding mode.
67446 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67448         [BZ #14027]
67449         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67450         to be done.
67451         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67452         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67454 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67456         * sysdeps/unix/i386/brk.S: Remove file.
67457         * sysdeps/unix/i386/dl-brk.S: Likewise.
67458         * sysdeps/unix/i386/pipe.S: Likewise.
67459         * sysdeps/unix/i386/sigreturn.S: Likewise.
67460         * sysdeps/unix/i386/syscall.S: Likewise.
67461         * sysdeps/unix/i386/vfork.S: Likewise.
67462         * sysdeps/unix/i386/wait.S: Likewise.
67464         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67465         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67467         * configure.in (arm*-none*): Do not allow without
67468         --enable-hacker-mode.
67469         (netbsd*): Remove case setting base_os.
67470         (386bsd*): Likewise.
67471         (freebsd*): Likewise.
67472         (bsdi*): Likewise.
67473         (osf*): Likewise.
67474         (sunos*): Likewise.
67475         (ultrix*): Likewise.
67476         (newsos*): Likewise.
67477         (dynix*): Likewise.
67478         (*bsd*): Likewise.
67479         (sysv*): Likewise.
67480         (isc*): Likewise.
67481         (esix*): Likewise.
67482         (sco*): Likewise.
67483         (minix*): Likewise.
67484         (irix4*): Likewise.
67485         (irix6*): Likewise.
67486         (solaris[2-9]*): Likewise.
67487         (none): Likewise.
67488         * configure: Regenerated.
67490 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67492         [BZ #11521]
67493         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67494         overflow or cancellation in calculating denominator.
67495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67496         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67497         down expression to avoid unexpected rounding in newer GCCs.
67498         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67500 2012-04-26  David S. Miller  <davem@davemloft.net>
67502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67503         long-double compat symbols.
67504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67518 2012-04-25  David S. Miller  <davem@davemloft.net>
67520         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67521         HWCAP_* values only after the memory barriers have been defined.
67522         (atomic_full_barrier): Define.
67523         (atomic_read_barrier): Define.
67524         (atomic_write_barrier): Define.
67526 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67528         * shlib-versions: Add libgcc_s version information.
67529         * sysdeps/generic/libgcc_s.h: Remove.
67530         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67531         libgcc_s.h.
67532         * sysdeps/gnu/unwind-resume.c: Likewise.
67533         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67535 2012-04-25  David S. Miller  <davem@davemloft.net>
67537         * sysdeps/unix/sparc/brk.S: Delete.
67538         * sysdeps/unix/sparc/dl-brk.S: Delete.
67539         * sysdeps/unix/sparc/pipe.S: Delete.
67540         * sysdeps/unix/sparc/sysdep.S: Delete.
67541         * sysdeps/unix/sparc/sysdep.h: Delete.
67542         * sysdeps/unix/sparc/vfork.S: Delete.
67543         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67544         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67545         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67546         (ret_ERRVAL, r0, r1, MOVE): Define.
67547         (JUMPTARGET): Remove.
67548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67549         sysdeps/unix/sparc/sysdep.h
67550         (ENTRY, END): Remove.
67551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67553 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67555         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67556         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67557         -DIS_IN_build.
67559         * timezone/README: Update upstream location and email address for
67560         tzcode and tzdata.
67561         * timezone/zdump.c: Update from tzcode 2012b.
67562         * timezone/zic.c: Likewise.
67564         * configure.in (libc_cv_as_needed): Remove test.
67565         * configure: Regenerated.
67566         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67567         conditional definition.
67568         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67569         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67570         * config.make.in (have-as-needed): Remove variable.
67572 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67573             Paul Pluzhnikov  <ppluzhnikov@google.com>
67575         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67576         strings correctly.
67578 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67580         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67581         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67582         * sysdeps/sh/strlen.S: Likewise.
67584 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67586         * sysdeps/unix/fork.S: Remove file.
67587         * sysdeps/unix/i386/fork.S: Likewise.
67588         * sysdeps/unix/sparc/fork.S: Likewise.
67590         * sysdeps/unix/system.c: Remove file.
67591         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67593         * sysdeps/unix/getegid.S: Remove file.
67594         * sysdeps/unix/geteuid.S: Likewise.
67596 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67598         * scripts/check-localplt.awk: New file.
67599         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67600         of diff.
67601         * scripts/data/localplt-generic.data: Add a comment.
67603         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67604         NODE when __dir_mkfile failed.
67605         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67606         Reported by Ludovic Courtès <ludo@gnu.org>.
67608 2012-04-24  Andreas Jaeger  <aj@suse.de>
67610         * Makerules (common-clean): Also remove gen-as-const-headers
67611         files.
67613 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67615         * Makerules (native-compile): Do not change working directory for
67616         build.  Use $(OUTPUT_OPTION) in command.
67617         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67619 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67621         [BZ #13886]
67622         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67623         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67624         * math/libm-test.inc (floor_test): Add more tests.
67625         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67627 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67629         * sysdeps/unix/getdents.c: Remove file.
67630         * sysdeps/unix/sysv/getdents.c: Likewise.
67631         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67633         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67634         sysdeps/unix/mman/syscalls.list.
67635         (mmap): Likewise.
67636         (mprotect): Likewise.
67637         (msync): Likewise.
67638         (munmap): Likewise.
67639         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67640         * sysdeps/unix/mman/syscalls.list: Remove.
67641         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67643         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67644         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67645         * configure: Regenerated.
67646         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67647         $(libgcc_s_suffix).
67648         * config.make.in (libgcc_s_suffix): Remove variable.
67650 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67652         * sysdeps/unix/sysv/gethostname.c: Move to ...
67653         * sysdeps/posix/gethostname.c: ... here.
67655         * sysdeps/unix/execve.S: Remove file.
67657         * sysdeps/unix/_exit.S: Remove file.
67659 2012-04-23  Andreas Jaeger  <aj@suse.de>
67661         [BZ #13739]
67662         * manual/Makefile: Remove make dist support, there's no
67663         need for a stand-alone documentation tar ball.
67664         (TEXI2DVI): Define always, it's not in Makeconfig.
67665         (dist): Removed.
67666         (tar-it): Removed.
67667         (edition): Removed.
67668         (glibc-doc-$(edition).tar): Removed
67669         (%.Z): Removed.
67670         (%.gz): Removed.
67671         (%.uu): Removed.
67672         (ETAGS): Remove, it's in Makeconfig.
67673         (move-if-change): Remove, it's in Makeconfig.
67675 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67677         [BZ #13970]
67678         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67679         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67680         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67681         (strtod_l, strtof_l, strtold_l): Remove __wur.
67682         It is not necessarily an error to ignore strtol's return value.
67683         One can reliably look at the stored endptr to decide whether
67684         the number had valid syntax.
67686 2012-04-21  Andreas Jaeger  <aj@suse.de>
67688         [BZ #13739]
67689         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67691 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67693         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67694         * sysdeps/unix/sysv/Versions: Remove file.
67696 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67698         [BZ #13927]
67699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67701 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67703         [BZ #7064]
67704         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67705         version from __vm86.
67707 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67709         * sysdeps/unix/common/lxstat.c: Remove file.
67710         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67712         * sysdeps/unix/sysv/Makefile: Remove file.
67714         * sysdeps/unix/sysv/direct.h: Remove file.
67716         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67717         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67718         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67719         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67720         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67721         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67722         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67724         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67726         * sysdeps/unix/xmknod.c: Remove file.
67727         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67729         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67731         * sysdeps/unix/sysv/i386/time.S: Remove file.
67733         * sysdeps/unix/fxstat.c: Remove file.
67734         * sysdeps/unix/xstat.c: Likewise.
67735         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67737         * sysdeps/unix/sysv/sigaction.c: Remove file.
67739         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67740         (sysdep_headers): Remove variable.
67741         [termio.h not in sysdep_headers] (generated): Likewise.
67742         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67743         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67744         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67745         * sysdeps/unix/sysv/tcflow.c: Likewise.
67746         * sysdeps/unix/sysv/tcflush.c: Likewise.
67747         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67748         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67749         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67750         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67751         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67753         * sysdeps/unix/siglist.c: Remove file.
67755         * sysdeps/unix/getppid.S: Remove file.
67757         * sysdeps/unix/mkdir.c: Remove file.
67758         * sysdeps/unix/rmdir.c: Likewise.
67760 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67762         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67763         ERR_MAX value.
67764         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67765         errlist-compat value.
67767 2012-04-18  David S. Miller  <davem@davemloft.net>
67769         * sysdeps/generic/memcopy.h (reg_char): Delete.
67770         * debug/strcat_chk.c: Use char, not reg_char.
67771         * debug/strcpy_chk.c: Likewise.
67772         * debug/strncat_chk.c: Likewise.
67773         * debug/strncpy_chk.c: Likewise.
67774         * string/memchr.c: Likewise.
67775         * string/memrchr.c: Likewise.
67776         * string/rawmemchr.c: Likewise.
67777         * string/strcat.c: Likewise.
67778         * string/strchr.c: Likewise.
67779         * string/strchrnul.c: Likewise.
67780         * string/strcmp.c: Likewise.
67781         * string/strcpy.c: Likewise.
67782         * string/strncat.c: Likewise.
67783         * string/strncmp.c: Likewise.
67784         * string/strncpy.c: Likewise.
67786 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67788         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67789         __builtin_memcopy is called when src and dest ranges are known to not
67790         overlap.
67792 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67794         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67795         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67796         fwd_align_merge macro call.
67797         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67798         bwd_align_merge macro call.
67799         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67801 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67803         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67804         bwd_align_merge macros.
67805         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67806         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67807         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67809 2012-04-18  David S. Miller  <davem@davemloft.net>
67811         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67813 2012-04-18  Andreas Jaeger  <aj@suse.de>
67815         [BZ# 6794]
67816         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67817         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67818         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67820         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67821         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67822         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67824         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67825         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67826         Adjust for changed ldbl-128 files.
67828         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67829         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67830         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67832 2012-04-17  David S. Miller  <davem@davemloft.net>
67834         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67836 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67838         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67839         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67840         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67841         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67842         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67843         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67845 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67847         [BZ #6794]
67848         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67849         * math/libm-test.inc: Add ilogb errno and exception tests.
67850         * math/w_ilogb.c: New file: ilogb wrapper.
67851         * math/w_ilogbf.c: New file: ilogbf wrapper.
67852         * math/w_ilogbl.c: New file: ilogbl wrapper.
67853         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67854         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67855         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67856         exception being thrown with 0.0 as argument.
67857         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67858         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67859         exception being thrown with 0.0 as argument.
67860         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67861         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67862         exception being thrown with 0.0 as argument.
67863         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67864         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67865         exception being thrown with 0.0 as argument.
67866         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67867         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67868         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67869         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67870         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67871         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67872         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67873         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67874         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67876 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67878         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67879         with altivec.
67881 2012-04-16  Marek Polacek  <polacek@redhat.com>
67883         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67885 2012-04-16  Marek Polacek  <polacek@redhat.com>
67887         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67888         operands of fdivp instruction.
67890 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67892         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67893         * elf/tst-auditmod3b.c: Likewise.
67894         * elf/tst-auditmod4b.c: Likewise.
67895         * elf/tst-auditmod5b.c: Likewise.
67896         * elf/tst-auditmod6b.c: Likewise.
67897         * elf/tst-auditmod6c.c: Likewise.
67898         * elf/tst-auditmod7b.c: Likewise.
67899         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67900         * sysdeps/x86_64/preconfigure.in: Likewise.
67901         * sysdeps/x86_64/preconfigure: Regenerated.
67903 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67905         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67906         __ILP32__.
67908 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67910         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67911         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67913 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67915         [BZ #13973]
67916         * locale/iso-639.def: Fix gl language name. Spotted by
67917         Yaron Shahrabani.
67919 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67921         [BZ #2074]
67922         * libio/libio.h (__io_write_fn): Update comment.
67924 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67926         [BZ #2074]
67927         * stdio.texi (Hook Functions): The user provided writer function
67928         is not allowed to return -1.
67930 2012-04-11  David S. Miller  <davem@davemloft.net>
67932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67934 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67936         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67937         Add a leading slash to rtkaio.
67939 2012-04-11  Jim Meyering  <meyering@redhat.com>
67941         [BZ #11959]
67942         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67943         It is not necessarily an error to ignore fwrite's return
67944         value.  One can reliably use ferror to test for errors after
67945         the fact.
67947 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67949         * bits/types.h (__snseconds_t): New type.
67950         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67952         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67953         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67954         (__SNSECONDS_T_TYPE): Likewise.
67955         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67956         (__SNSECONDS_T_TYPE): Likewise.
67957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67958         (__SNSECONDS_T_TYPE): Likewise.
67960 2012-04-10  Andreas Jaeger  <aj@suse.de>
67962         [BZ #2636]
67963         * manual/time.texi (Processor Time): Return type of times is
67964         elapsed real time since an arbitrary point in the past.
67965         (CPU Time): Move CLK_TCK from here...
67966         (Processor Time): ...to here.  Correct description.
67967         * manual/conf.texi (Constants for Sysconf): Correct description of
67968         _SC_CLK_TCK.
67970 2012-04-10  David S. Miller  <davem@davemloft.net>
67972         [BZ #13967]
67973         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67974         where the is a gap between DT_REL(A) and DT_JMPREL.
67976 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67978         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67979         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67980         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67982 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67984         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67985         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67986         (dl_main): Handle --inhibit-cache.
67987         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67988         _dl_inhibit_cache.
67989         * elf/dl-load.c (_dl_map_object): Use it.
67990         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67992 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67994         [BZ #13872]
67995         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67996         (__ieee754_powl): Saturate large exponents rather than testing for
67997         overflow of y*log2(x).
67998         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67999         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68000         exceptions.
68002         [BZ #11521]
68003         * math/s_ctan.c: Include <float.h>.
68004         (__ctan): Avoid internal overflow or cancellation in calculating
68005         denominator.
68006         * math/s_ctanf.c: Likewise.
68007         * math/s_ctanl.c: Likewise.
68008         * math/s_ctanh.c: Likewise.
68009         * math/s_ctanhf.c: Likewise.
68010         * math/s_ctanhl.c: Likewise.
68011         * math/libm-test.inc (ctan_test): Add more tests.
68012         (ctanh_test): Likewise.
68013         * sysdeps/i386/fpu/libm-test-ulps: Update.
68014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68016 2012-04-09  Andreas Jaeger  <aj@suse.de>
68018         [BZ #6894]
68019         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68020         is an optional BSD extension.
68022         [BZ #10254]
68023         * manual/stdio.texi (Opening Streams): Document additional fopen
68024         parameters.
68026 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68028         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68029         %eax without telling the compiler.
68031 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68033         [BZ # 13963]
68034         * manual/install.texi: Use sourceware.org.
68036 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68038         [BZ #13873]
68039         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68040         (__ieee754_pow): Generate overflow and underflow using huge*huge
68041         and tiny*tiny rather than just returning constant infinity or zero
68042         for large exponents.
68043         * math/libm-test.inc (pow_test): Require overflow exceptions for
68044         applicable cases of large exponents.
68046         [BZ #706]
68047         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68048         (__ieee754_pow): Use iterative multiplication algorithm only for
68049         integer exponents with absolute value below 1024.  Check for odd
68050         integer exponents when using algorithm for real exponents.
68051         * math/libm-test.inc (pow_test): Add more tests.
68052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68054 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68056         [BZ #13705]
68057         * math/libm-test.inc (exp_test): Do not allow overflow exception
68058         on underflow test.
68060 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68062         [BZ #13705]
68063         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68064         instead of __kernel_standard_f.
68066 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68068         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68069         * sysdeps/x86_64/memset_chk.S: Likewise.
68071 2012-04-08  Andreas Jaeger  <aj@suse.de>
68073         [BZ #10153]
68074         * manual/startup.texi (Environment Access): Describe return value
68075         for putenv and setenv.
68077         [BZ #6895]
68078         * manual/filesys.texi (Directory Entries): Add description for
68079         DT_LNK.
68081         [BZ #6890]
68082         * manual/filesys.texi (Directory Entries): Clarify that it's file
68083         system not operating system in the description of DT_UNKNOWN.
68085         [BZ #6578]
68086         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68088 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68090         [BZ #6649]
68091         * manual/llio.texi (Opening and Closing Files): Add cross
68092         reference to explain mode argument.
68094 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68096         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68097         * sysdeps/x86_64/memset_chk.S: Likewise.
68099 2012-04-07  David S. Miller  <davem@davemloft.net>
68101         * elf/elf.h (R_SPARC_WDISP10): Define.
68102         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68103         R_SPARC_SIZE32.
68104         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68105         R_SPARC_SIZE64 and R_SPARC_H34.
68107 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68109         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68110         conditions and remove no longer applicable assertion.
68112 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68114         * bits/byteswap.h: Include <features.h>.
68115         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68116         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68118 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68120         * bits/byteswap.h (__bswap_16): Removed.
68121         Include <bits/byteswap-16.h> to get __bswap_16.
68122         * sysdeps/i386/bits/byteswap.h: Likewise.
68123         * sysdeps/s390/bits/byteswap.h: Likewise.
68124         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68125         * bits/byteswap-16.h: New file.
68126         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68127         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68128         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68129         * string/Makefile (headers): Add bits/byteswap-16.h.
68131 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68133         [BZ #13895]
68134         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68135         extra indirection.
68136         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68137         * nss/tst-nss-static.c: New.
68139 2012-04-06  Robert Millan  <rmh@gnu.org>
68141         [BZ #6486]
68142         * manual/llio.texi (File Position Primitive): lseek
68143         refers to WHENCE when it really means OFFSET.
68145 2012-04-06  Andreas Jaeger  <aj@suse.de>
68147         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68148         strncmp declarations.
68150         * abilist/libc.abilist: Add __poll and __ppoll.
68152 2012-04-05  David S. Miller  <davem@davemloft.net>
68154         * scripts/check-local-headers.sh: Accept a host triplet in the
68155         path matched by the exclude regexp.
68157         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68158         definition.
68159         * sysdeps/powerpc/powerpc32/dl-machine.h
68160         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68161         * sysdeps/s390/s390-32/dl-machine.h
68162         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68163         * sysdeps/sparc/sparc32/dl-machine.h
68164         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68165         * sysdeps/sparc/sparc64/dl-machine.h
68166         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68168         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68169         lazy binding.
68170         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68171         undefined symbol errors.
68173         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68174         DT_NEEDED entries.
68176 2012-04-05  Michael Matz  <matz@suse.de>
68178         [BZ #13592]
68179         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68181 2012-04-05  Andreas Jaeger  <aj@suse.de>
68183         [BZ #13908]
68184         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68185         comment.
68187 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68189         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68190         which ROUND is no valid rounding mode.
68192 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68194         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68195         read again.
68196         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68198 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68200         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68201         an exception using FPU order intentionally.
68203 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68205         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68206         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68207         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68208         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68210 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68212         [BZ #12340]
68213         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68214         EINVAL when BUFLEN is too smal.
68216 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68218         [BZ #13553]
68219         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68220         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68222 2012-04-03  Andreas Jaeger  <aj@suse.de>
68224         [BZ #13938]
68225         * manual/setjmp.texi (System V contexts): Fix sentence.
68227         [BZ #13926]
68228         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68229         New macro for this case.
68230         [!__GNUC__] (__bswap_64): New inline function for this case.
68231         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68232         * bits/byteswap.h: Likewise.
68233         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68234         ull, guard with __GLIBC_HAVE_LONG_LONG.
68236         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68237         __GLIBC_HAVE_LONG_LONG.
68239         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68240         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68242 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68244         [BZ #13691]
68245         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68246         inptr and inend, rather than using last_ch.
68248 2012-04-02  David S. Miller  <davem@davemloft.net>
68250         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68251         * stdio-common/printf-parse.h (read_int): Change return type to
68252         'int', return -1 on INT_MAX overflow.
68253         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68254         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68255         overflows INT_MAX.  Check for overflow of in-format-string precision
68256         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68257         SIZE_MAX not INT_MAX for integer overflow test.
68258         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68259         skip the construct in the format string but do not record anything.
68260         * stdio-common/bug22.c: Adjust to test both width/prevision
68261         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68262         explicitly for proper errno values.
68264 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68266         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68267         CHAR_MAX.
68268         * string/test-strcmp.c [! WIDE]: Likewise.
68269         * time/tst-mktime2.c: Likewise for INT_MAX.
68270         * string/test-string.h: #include <sys/param.h> for MIN.
68272         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68273         * sysdeps/i386/init-first.c (init): Likewise.
68274         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68275         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68276         * sysdeps/sh/init-first.c (init): Likewise.
68278 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68280         * po/ru.po: Update from translation team.
68281         * po/vi.po: Likewise.
68283 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68285         * resolv/nss_dns/dns-host.c: Merge copyright years.
68287 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68289         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68290         Optimize memcpy with prefetch if
68291         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68292         src, dst pointers have unequal 16 byte alignments.
68294 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68296         [BZ #13928]
68297         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68298         from a CNAME entry and return the minimum ttl for the query.
68299         (gaih_getanswer_slice): Likewise.
68301 2012-03-30  Jeff Law  <law@redhat.com>
68303         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68304         due to long keys.
68305         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68306         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68308         * resolv/nss_dns/dns-host.c: Update copyright year.
68310 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68312         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68313         requests to save a system call.  Fix check that all bytes are sent.
68315         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68316         comments for sendmmsg.
68318 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68320         [BZ #13691]
68321         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68322         with only 1 character between 0x0041 and 0x01b0.
68323         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68324         * wcsmbs/tst-mbsnrtowcs.c: New file.
68326 2012-03-29  David S. Miller  <davem@davemloft.net>
68328         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68329         small copies by hand.
68331 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68333         [BZ #13761]
68334         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68335         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68336         group memberships.
68338 2012-03-28  David S. Miller  <davem@davemloft.net>
68340         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68341         that branches into memcpy.
68342         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68343         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68345         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68347         bits.
68348         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68349         implementation too.
68350         * sysdeps/sparc/mempcpy.S: New file.
68352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68353         the IFUNC routine in the libc case.
68354         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68356         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68357         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68358         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68359         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68360         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68361         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68362         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68363         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68365         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68366         loop to 256 bytes instead of 64 bytes and fix test signedness.
68368         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68369         * sysdeps/sparc/sparc32/Makefile: rather than here...
68370         * sysdeps/sparc/sparc64/Makefile: and here.
68372 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68374         * malloc/mallocbug.c: Avoid warnings about unused variables.
68376 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68378         [BZ #13760]
68379         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68380         in the right place. Discard and retry query if response is
68381         larger than input buffer size.
68383 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68385         [BZ #369]
68386         [BZ #2678]
68387         [BZ #3866]
68388         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68389         x for large integer exponent.
68390         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68391         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68392         sign of result as needed afterwards.
68393         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68394         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68395         result for underflowing pow the same as for overflow.
68396         (__kernel_standard_l): Handle powl overflow and underflow here
68397         rather than calling __kernel_standard.
68398         * math/libm-test.inc (pow_test): Add more tests.
68400         [BZ #3868]
68401         [BZ #13879]
68402         [BZ #13910]
68403         [BZ #13911]
68404         [BZ #13912]
68405         [BZ #13913]
68406         [BZ #13915]
68407         [BZ #13916]
68408         [BZ #13917]
68409         [BZ #13918]
68410         [BZ #13919]
68411         [BZ #13920]
68412         [BZ #13921]
68413         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68414         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68415         (__kernel_standard_l): New function.
68416         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68417         __kernel_standard.
68418         * math/w_acosl.c (__acosl): Likewise.
68419         * math/w_asinl.c (__asinl): Likewise.
68420         * math/w_atan2l.c (__atan2l): Likewise.
68421         * math/w_atanhl.c (__atanhl): Likewise.
68422         * math/w_coshl.c (__coshl): Likewise.
68423         * math/w_exp10l.c (__exp10l): Likewise.
68424         * math/w_exp2l.c (__exp2l): Likewise.
68425         * math/w_fmodl.c (__fmodl): Likewise.
68426         * math/w_hypotl.c (__hypotl): Likewise.
68427         * math/w_j0l.c (__j0l, __y0l): Likewise.
68428         * math/w_j1l.c (__j1l, __y1l): Likewise.
68429         * math/w_jnl.c (__jnl, __ynl): Likewise.
68430         * math/w_lgammal.c (__lgammal): Likewise.
68431         * math/w_log10l.c (__log10l): Likewise.
68432         * math/w_log2l.c (__log2l): Likewise.
68433         * math/w_logl.c (__logl): Likewise.
68434         * math/w_powl.c (__powl): Likewise.
68435         * math/w_remainderl.c (__remainderl): Likewise.
68436         * math/w_scalbl.c (sysv_scalbl): Likewise.
68437         * math/w_sinhl.c (__sinhl): Likewise.
68438         * math/w_sqrtl.c (__sqrtl): Likewise.
68439         * math/w_tgammal.c (__tgammal): Likewise.
68440         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68441         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68442         * math/libm-test.inc (acos_test): Add more tests.
68443         (acosh_test): Likewise.
68444         (asin_test): Likewise.
68445         (atanh_test): Likewise.
68446         (exp_test): Likewise.
68447         (exp10_test): Likewise.
68448         (exp2_test): Likewise.
68449         (expm1_test): Likewise.
68450         (lgamma_test): Likewise.
68451         (log_test): Likewise.
68452         (log10_test): Likewise.
68453         (log1p_test): Likewise.
68454         (log2_test): Likewise.
68455         (pow_test): Do not allow some spurious overflow exceptions.
68456         (sqrt_test): Add more tests.
68457         (tgamma_test): Likewise.
68458         (y0_test): Likewise.
68459         (y1_test): Likewise.
68460         (yn_test): Likewise.
68462 2012-03-27  Anton Blanchard  <anton@samba.org>
68464         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68465         MAP_HUGETLB.
68466         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68467         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68468         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68470 2012-03-27  David S. Miller  <davem@davemloft.net>
68472         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68474         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68475         have-as-vis3 check.
68477 2012-03-27  Andreas Jaeger  <aj@suse.de>
68479         * sysdeps/x86_64/elf/configure.in: Moved to ...
68480         * sysdeps/x86_64/configure.in: ... here.
68481         * sysdeps/x86_64/elf/start.S: Moved to ...
68482         * sysdeps/x86_64/start.S: ... here.
68483         * sysdeps/x86_64/elf/configure: Delete.
68485         * sysdeps/x86_64/configure.in: Merge contents from
68486         sysdeps/i386/configure.in (without i686 check).
68488         * sysdeps/i386/elf/Versions: Merge into ...
68489         * sysdeps/i386/Versions: ... this.
68490         * sysdeps/i386/elf/Versions: Delete file.
68491         * sysdeps/i386/elf/start.S: Moved to ...
68492         * sysdeps/i386/start.S: ...here.
68493         * sysdeps/i386/elf/configure.in: Merge into...
68494         * sysdeps/i386/configure.in: ...here.
68495         * sysdeps/i386/elf/configure.in: Delete file.
68496         * sysdeps/i386/elf/configure: Delete file.
68498         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68499         * debug/backtracesyms.c: ... here.
68500         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68501         * debug/backtracesymsfd.c: ... here.
68502         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68503         * sysdeps/generic/ifunc-sel.h: ... here.
68505         * sysdeps/unix/i386/start.c: Delete file.
68506         * sysdeps/unix/sparc/start.c: Delete file.
68507         * sysdeps/unix/start.c: Delete file.
68509         * sysdeps/sh/elf/configure.in: Moved to ...
68510         * sysdeps/sh/configure.in: ... here.
68511         * sysdeps/sh/elf/start.S: Moved to ...
68512         * sysdeps/sh/start.S: ... here.
68513         * sysdeps/sh/elf/configure: Delete file.
68515         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68516         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68517         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68518         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68519         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68520         * sysdeps/powerpc/powerpc64/start.S: here.
68521         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68522         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68523         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68524         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68525         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68527         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68528         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68529         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68530         * sysdeps/powerpc/powerpc32/start.S: ... here.
68531         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68532         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68533         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68535         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68536         * sysdeps/powerpc/ifunc-sel.h: ... here.
68537         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68538         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68540         * sysdeps/sparc/elf/configure.in: Moved to ...
68541         * sysdeps/sparc/configure.in: ... here.
68542         * sysdeps/sparc/elf/configure: Delete file.
68543         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68544         * sysdeps/sparc/sparc32/start.S: ... here.
68545         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68546         * sysdeps/sparc/sparc64/start.S: ... here.
68547         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68548         * sysdeps/sparc/sparc32/Makefile: ... this.
68549         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68550         * sysdeps/sparc/sparc64/Makefile: ... this.
68552         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68553         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68554         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68555         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68556         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68557         * sysdeps/s390/s390-32/setjmp.S: ... here.
68558         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68559         * sysdeps/s390/s390-32/configure.in: ... here.
68560         * sysdeps/s390/s390-32/elf/configure: Delete file.
68561         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68562         * sysdeps/s390/s390-32/start.S: ... here.
68564         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68565         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68566         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68567         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68568         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68569         * sysdeps/s390/s390-64/setjmp.S: ... here.
68570         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68571         * sysdeps/s390/s390-64/configure.in: ... here
68572         * sysdeps/s390/s390-64/elf/configure: Delete file.
68573         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68574         * sysdeps/s390/s390-64/start.S: ... here.
68575         * sysdeps/s390/s390-64/elf/configure: Delete.
68577         * configure.in: Remove support for elf directories in sysdeps.
68579         * configure: Regenerated.
68580         * sysdeps/i386/configure: Regenerated.
68581         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68582         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68583         * sysdeps/s390/s390-32/configure: Regenerated.
68584         * sysdeps/s390/s390-64/configure: Regenerated.
68585         * sysdeps/sh/configure: Regenerated.
68586         * sysdeps/sparc/configure: Regenerated.
68587         * sysdeps/x86_64/configure: Regenerated.
68589 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68593         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68594         denormal result into account.
68596 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68598         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68599         Reported by Allan McRae <allan@archlinux.org>.
68601 2012-03-23  Jeff Law  <law@redhat.com>
68603         * nss/getnssent.c (__nss_getent): Fix typo.
68605 2012-03-23  David S. Miller  <davem@davemloft.net>
68607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68609 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68611         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68612         to pad to uint64_t for each field.
68613         (dl_tls_index): Replace unsigned long with uint64_t.
68615 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68616         Paul Pluzhnikov  <ppluzhnikov@google.com>
68618         [BZ #6528]
68619         * grp/Makefile (otherlibs): Don't set it.
68620         * inet/Makefile (otherlibs): Likewise.
68621         * login/Makefile (otherlibs): Likewise.
68622         * nscd/Makefile (otherlibs): Likewise.
68623         * posix/Makefile (otherlibs): Likewise.
68624         * pwd/Makefile (otherlibs): Likewise.
68625         * rt/Makefile (otherlibs): Likewise.
68626         * sunrpc/Makefile (otherlibs): Likewise.
68627         * nss/Makefile (otherlibs): Likewise.
68628         Add libnss_files to routines and static-only-routines.
68629         ($(objpfx)getent): Remove rule.
68630         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68631         static-only-routines.
68633 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68635         [BZ #13892]
68636         * math/s_cexp.c: Include <float.h>.
68637         (__cexp): Handle exp result overflowing not necessarily
68638         overflowing both real and imaginary parts of result.
68639         * math/s_cexpf.c: Likewise.
68640         * math/s_cexpl.c: Likewise.
68641         * math/libm-test.inc (cexp_test): Add more tests.
68642         * sysdeps/i386/fpu/libm-test-ulps: Update.
68643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68645 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68647         * include/link.h (ELFW): New macro.
68648         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68649         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68651 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68653         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68654         with uint64_t.
68656 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68658         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68659         declaration.
68660         (struct La_x32_retval): Likewise.
68662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68664         * sysdeps/x86_64/preconfigure.in: New file.
68665         * sysdeps/x86_64/preconfigure: New generated file.
68667 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68669         [BZ #13824]
68670         * math/e_exp2l.c: Include <float.h>.
68671         (__ieee754_exp2l): Handle overflow and underflow cases
68672         separately.  Only pass fractional part of argument to
68673         __ieee754_expl.
68674         * math/libm-test.inc (exp2_test): Add more tests.
68676         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68677         negating x to take absolute value.
68678         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68679         Likewise.
68680         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68681         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68682         Likewise.
68683         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68684         computing low part if x was negated.
68685         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68687 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68689         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68690         la_x32_gnu_pltexit.
68691         (pltexit): Cast int_retval to ptrdiff_t.
68692         * elf/tst-auditmod3b.c: Likewise.
68693         * elf/tst-auditmod4b.c: Likewise.
68694         * elf/tst-auditmod5b.c: Likewise.
68695         * elf/tst-auditmod6b.c: Likewise.
68696         * elf/tst-auditmod6c.c: Likewise.
68697         * elf/tst-auditmod7b.c: Likewise.
68699         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68700         and x32_gnu_pltexit.
68702         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68703         __ELF_NATIVE_CLASS.
68704         (La_x32_regs): New macro.
68705         (La_x32_retval): Likewise.
68706         (la_x32_gnu_pltenter): New function prototype.
68707         (la_x32_gnu_pltexit): Likewise.
68709 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68711         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68712         exponent.
68714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68716         * configure.in (libc_cv_cc_nofma): Check for option to disable
68717         generation of FMA instructions.
68718         * configure: Regenerate.
68719         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68720         * sysdeps/ieee754/dbl-64/Makefile: New file.
68721         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68722         Remove brandred-fma4.
68723         (CFLAGS-brandred-fma4.c): Remove.
68724         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68725         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68726         define.
68727         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68728         define.
68730 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68732         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68733         LLONG_MAX != LONG_MAX.
68734         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68735         (_fitoa_word): Likewise.
68736         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68737         LLONG_MAX != LONG_MAX.
68738         * stdio-common/_itowa.h: Include <_itoa.h>.
68739         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68740         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68741         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68742         only if not defined.
68743         (_ITOA_WORD_TYPE): Likewise.
68744         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68745         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68747 2012-03-21  David S. Miller  <davem@davemloft.net>
68749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68751 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68753         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68754         of x86_64 when setting libc_cv_slibdir, libdir and
68755         libc_cv_localedir.
68756         * sysdeps/unix/sysv/linux/configure: Regenerated.
68758 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68760         * manual/lang.texi (Old Varargs): Remove section.
68761         (How Variadic): Update menu.
68762         (va_start): Do not mention varargs.h.
68764 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68765             Joseph Myers  <joseph@codesourcery.com>
68767         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68768         link test.
68769         * configure: Regenerated.
68771 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68773         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68774         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68775         conformtest.pl
68777 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68779         * NOTES: Remove.
68780         * Makefile (files-for-dist): Remove NOTES.
68781         (NOTES): Remove rule.
68782         * README: Don't refer to NOTES.
68783         * manual/creature.texi: Don't include macros.texi.
68784         * manual/intro.texi (creature.texi): Remove comment referring to
68785         NOTES.
68787         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68788         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68789         * configure: Regenerated.
68790         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68791         LIBC_TRY_CC_OPTION.
68792         (libc_cv_as_i686): Likewise.
68793         (libc_cv_cc_avx): Likewise.
68794         (libc_cv_cc_sse2avx): Likewise.
68795         (libc_cv_cc_fma4): Likewise.
68796         (libc_cv_cc_novzeroupper): Likewise.
68797         * sysdeps/i386/configure: Regenerated.
68799         [BZ #13883]
68800         * sysdeps/i386/fpu/s_cexp.S: Remove.
68801         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68802         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68803         * math/libm-test.inc (cexp_test): Add more tests.
68804         * sysdeps/i386/fpu/libm-test-ulps: Update.
68805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68807 2012-03-21  Allan McRae  <allan@archlinux.org>
68809         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68811 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68813         [BZ #13871]
68814         * math/w_exp2.c: Do not include <float.h>.
68815         (o_threshold, u_threshold): Remove.
68816         (__exp2): Calculate result before checking finiteness and calling
68817         __kernel_standard.
68818         * math/w_exp2f.c: Likewise.
68819         * math/w_exp2l.c: Likewise.
68820         * math/libm-test.inc (exp2_test): Require overflow exception for
68821         1e6 input.
68823         [BZ #3866]
68824         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68825         range of signed 64-bit integers before using fistpll.  Remove
68826         checks for whether integers fit in mantissa bits.
68827         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68828         the range of signed 32-bit integers before using fistpl.  Remove
68829         checks for whether integers fit in mantissa bits.
68830         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68831         (__ieee754_powl): Test for y outside the range of signed 64-bit
68832         integers before using fistpll.  Reduce 64-bit values to 63-bit
68833         ones as needed.
68834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68835         divide-by-zero is raised for zero to large negative powers.
68836         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68837         (__ieee754_powl): Test for y outside the range of signed 64-bit
68838         integers before using fistpll.  Reduce 64-bit values to 63-bit
68839         ones as needed.
68840         * math/libm-test.inc (pow_test): Add more tests.
68842 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68844         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68845         <stdio-common/_itoa.h>.
68846         * debug/segfault.c: Likewise.
68847         * elf/dl-cache.c: Likewise.
68848         * elf/dl-minimal.c: Likewise.
68849         * elf/dl-misc.c: Likewise.
68850         * elf/dl-sysdep.c: Likewise.
68851         * elf/dl-version.c: Likewise.
68852         * elf/rtld.c: Likewise.
68853         * hurd/hurdsock.c: Likewise.
68854         * hurd/lookup-retry.c: Likewise.
68855         * malloc/malloc.c: Likewise.
68856         * malloc/mtrace.c: Likewise.
68857         * nscd/nscd_getgr_r.c: Likewise.
68858         * nscd/nscd_getpw_r.c: Likewise.
68859         * nscd/nscd_getserv_r.c: Likewise.
68860         * posix/getopt_init.c: Likewise.
68861         * posix/wordexp.c: Likewise.
68862         * stdio-common/_itoa.c: Likewise.
68863         * stdio-common/printf_fphex.c: Likewise.
68864         * stdio-common/vfprintf.c: Likewise.
68865         * string/_strerror.c: Likewise.
68866         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68867         * sysdeps/i386/i686/hp-timing.h: Likewise.
68868         * sysdeps/mach/_strerror.c: Likewise.
68869         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68870         * sysdeps/mach/hurd/sethostid.c: Likewise.
68871         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68872         * sysdeps/mach/xpg-strerror.c: Likewise.
68873         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68875         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68876         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68877         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68878         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68879         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68880         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68881         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68882         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68883         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68884         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68885         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68886         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68887         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68888         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68889         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68890         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68891         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68892         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68893         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68895         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68897         * stdio-common/_itoa.h: Moved to ...
68898         * sysdeps/generic/_itoa.h: Here.
68900         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68902         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68903         instead of "_itoa.h" and "_itowa.h".
68904         * stdio-common/vfprintf.: Likewise.
68906 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68908         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68909         <bits/wordsize.h>.
68910         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68911         (__signbit): Likwise.
68912         (llrintf): Likwise.
68913         (llrint): Likwise.
68915 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68917         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68918         __WORDSIZE != 64.
68920 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68922         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68923         OVERFLOW_EXCEPTION_OK.
68924         * math/libm-test.inc ("Philosophy"): Update comment about
68925         exception testing.
68926         (OVERFLOW_EXCEPTION): Define.
68927         (OVERFLOW_EXCEPTION_OK): Likewise.
68928         (INVALID_EXCEPTION_OK): Renumber.
68929         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68930         (IGNORE_ZERO_INF_SIGN): Likewise.
68931         (test_exceptions): Handle FE_OVERFLOW.
68932         (exp10_test): Expect overflow exceptions.
68933         (exp2_test): Likewise.
68934         (expm1_test): Likewise.
68935         (nextafter_test): Likewise.
68936         (pow_test): Likewise.
68937         (scalbn_test): Likewise.
68938         (scalbln_test): Likewise.
68940 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68942         * sysdeps/x86_64/bits/atomic.h
68943         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68944         64bit integer.
68945         (atomic_exchange_acq): Likewise.
68946         (__arch_exchange_and_add_body): Likewise.
68947         (__arch_add_body): Likewise.
68948         (atomic_add_negative): Likewise.
68949         (atomic_add_zero): Likewise.
68951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68953         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68954         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68958         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68959         Check __x86_64__ instead of __WORDSIZE.
68961 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68963         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68965 2012-03-19  David S. Miller  <davem@davemloft.net>
68967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68969         * sysdeps/sparc/fpu/fenv_private.h: New file.
68970         * sysdeps/sparc/fpu/math_private.h: Use it.
68971         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68972         Remove.
68973         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68974         (libc_feholdexcept_setroundl): Remove.
68975         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68976         Remove.
68977         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68978         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68980 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68982         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68983         int64_t instead of long int.
68984         (INSERT_WORDS64): Likwise.
68986 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68988         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68989         _Unwind_GetCFA return to _Unwind_Ptr first.
68991 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68993         [BZ #13629]
68994         * math/s_clog.c: Include <float.h>.
68995         (__clog): Scale large or subnormal inputs.
68996         * math/s_clogf.c: Likewise.
68997         * math/s_clogl.c: Likewise.
68998         * math/s_clog10.c: Include <float.h>.
68999         (M_LOG10_2): Define.
69000         (__clog10): Scale large or subnormal inputs.
69001         * math/s_clog10f.c: Likewise.
69002         * math/s_clog10l.c: Likewise.
69003         * math/libm-test.inc (clog_test): Add more tests.
69004         (clog10_test): Likewise.
69005         * sysdeps/i386/fpu/libm-test-ulps: Update.
69006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69008         [BZ #11451]
69009         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69010         x and y.
69011         * math/libm-test.inc (atan2_test): Add another test.
69013         * Makerules (common-objdir-compile): Remove.
69014         * sysdeps/unix/Makefile (config-generated): Do not add
69015         $(unix-generated) to variable.
69016         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69017         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69018         Remove rule.
69019         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69020         Likewise.
69021         [generic bits/local_lim.h] (before-compile): Do not append to
69022         variable.
69023         [generic bits/local_lim.h] (common-generated): Likewise.
69024         [generic sys/param.h] (before-compile): Do not append to variable.
69025         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69026         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69027         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69028         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69029         include.
69030         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69031         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69032         [generic sys/param.h] ($(addprefix
69033         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69034         [generic sys/param.h] (common-generated): Do not append to
69035         variable.
69036         [generic sys/param.h] (sysdep_headers): Likewise.
69037         [generic bits/errno.h] (before-compile): Do not append to
69038         variable.
69039         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69040         rule.
69041         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69042         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69043         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69044         [generic bits/errno.h] (common-generated): Do not append to
69045         variable.
69046         [generic bits/ioctls.h] (before-compile): Do not append to
69047         variable.
69048         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69049         rule.
69050         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69051         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69052         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69053         rule.
69054         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69055         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69056         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69057         [generic bits/ioctls.h] (common-generated): Do not append to
69058         variable.
69059         [generic sys/syscall.h] (syscall.h): Remove variable.
69060         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69061         rule.
69062         [generic sys/syscall.h] (before-compile): Do not append to
69063         variable.
69064         [generic sys/syscall.h] (common-generated): Likewise.
69065         * sysdeps/unix/errnos-tmpl.c: Remove file.
69066         * sysdeps/unix/errnos.awk: Likewise.
69067         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69068         * sysdeps/unix/ioctls.awk: Likewise.
69069         * sysdeps/unix/mk-local_lim.c: Likewise.
69070         * sysdeps/unix/snarf-ioctls: Likewise.
69072 2012-03-19  Richard Henderson  <rth@twiddle.net>
69074         * sysdeps/i386/fpu/fenv_private.h: New file.
69075         * sysdeps/i386/fpu/math_private.h: Use it.
69076         (math_opt_barrier, math_force_eval): Remove.
69077         (libc_feholdexcept_setround_53bit): Remove.
69078         (libc_feupdateenv_53bit): Remove.
69079         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69080         (math_opt_barrier, math_force_eval): Remove.
69081         (libc_feholdexcept): Remove.
69082         (libc_feholdexcept_setround): Remove.
69083         (libc_fetestexcept, libc_fesetenv): Remove.
69084         (libc_feupdateenv_test): Remove.
69085         (libc_feupdateenv, libc_feholdsetround): Remove.
69086         (libc_feresetround): Remove.
69088         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69089         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69091         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69092         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69093         (libc_feupdateenv_testl): New.
69094         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69095         (libc_feupdateenv_testf): New.
69096         (libc_feupdateenv): Use libc_feupdateenv_test.
69097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69098         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69100         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69101         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69102         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69103         (libc_feresetround_noex): New.
69104         (libc_feresetround_noexf): New.
69105         (libc_feresetround_noexl): New.
69106         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69107         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69108         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69109         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69110         SET_RESTORE_ROUND.
69111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69113         (__cos): Likewise.
69114         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69115         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69116         SET_RESTORE_ROUND_NOEX.
69117         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69118         SET_RESTORE_ROUND_NOEXF.
69119         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69120         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69121         (libc_feholdsetroundf): New.
69122         (libc_feresetround, libc_feresetroundf): New.
69124         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69125         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69126         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69128         * sysdeps/generic/math_private.h: Include <fenv.h>.
69129         (default_libc_feholdexcept): New.
69130         (default_libc_feholdexcept_setround): New.
69131         (default_libc_fesetenv, default_libc_feupdateenv): New.
69132         (libc_feholdexcept): Only define if undefined.
69133         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69134         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69135         (libc_feholdexcept_setroundl): Likewise.
69136         (libc_feholdexcept_setround_53bit): Likewise.
69137         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69138         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69139         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69140         (libc_feupdateenv_53bit): Likewise.
69141         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69142         (libc_feholdexcept): Convert from macro to inline function.
69143         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69144         (libc_fesetenv, libc_feupdateenv): Likewise.
69146         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69147         not previously defined.
69148         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69149         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69150         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69151         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69152         * sysdeps/ieee754/flt-32/math_private.h: New file.
69153         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69154         math_private.h below SET_FLOAT_WORD.
69155         (__isnan, __isinf_ns, __finite): Remove.
69156         (__isnanf, __isinf_nsf, __finitef): Remove.
69158 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69162 2012-03-17  David S. Miller  <davem@davemloft.net>
69164         [BZ #6471]
69165         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69166         for 2.16.
69168 2012-03-16  David S. Miller  <davem@davemloft.net>
69170         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69171         warnings.
69173         [BZ #6471]
69174         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69175         properly.
69176         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69177         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69178         sysdep_routines when subdir is sysvipc.
69179         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69180         __getshmlba helper.
69182         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69184 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69186         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69187         [__LP64__].
69189 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69191         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69192         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69193         (__lround): Renamed to ...
69194         (__llround): This.  Replace long int with long long int.
69195         Define lround functions as aliases of llround functions.
69196         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69198 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69200         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69201         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69202         adresses to uintptr_t.  Replace "long int" and "unsigned long
69203         int" with "greg_t" on va_arg.
69205 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69207         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69208         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69210         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69211         Move e_machine check before EI_CLASS check.  Handle x32
69212         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69213         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69214         SKIP_EM_IA_64 and include
69215         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69217         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69218         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69219         (add_system_dir): New macro.
69221         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69222         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69224 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69226         [BZ #2551]
69227         [BZ #2552]
69228         [BZ #2553]
69229         [BZ #2554]
69230         [BZ #2562]
69231         [BZ #2563]
69232         [BZ #2565]
69233         [BZ #2566]
69234         [BZ #2576]
69235         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69236         (y0): Likewise.
69237         * math/w_j0f.c (j0f): Likewise.
69238         (y0f): Likewise.
69239         * math/w_j0l.c (__j0l): Likewise.
69240         (__y0l): Likewise.
69241         * math/w_j1.c (j1): Likewise.
69242         (y1): Likewise.
69243         * math/w_j1f.c (j1f): Likewise.
69244         (y1f): Likewise.
69245         * math/w_j1l.c (__j1l): Likewise.
69246         (__y1l): Likewise.
69247         * math/w_jn.c (jn): Likewise.
69248         (yn): Likewise.
69249         * math/w_jnf.c (jnf): Likewise.
69250         (ynf): Likewise.
69251         * math/w_jnl.c (__jnl): Likewise.
69252         (__ynl): Likewise.
69253         * math/libm-test.inc (j0_test): Add more tests.
69254         (j1_test): Likewise.
69255         (jn_test): Likewise.  Add trailing semicolon to existing test.
69256         (y0_test): Likewise.
69257         (y1_test): Likewise.
69258         * sysdeps/i386/fpu/libm-test-ulps: Update.
69259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69261         [BZ #13851]
69262         [BZ #13854]
69263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69264         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69265         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69266         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69267         (__tanl): Set errno for infinite argument.
69268         * sysdeps/i386/fpu/mptan.c: Remove.
69269         * sysdeps/i386/fpu/s_tan.S: Likewise.
69270         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69271         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69272         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69273         * math/libm-test.inc (tan_test): Add more tests and enable more
69274         tests for double and long double.
69275         * sysdeps/i386/fpu/libm-test-ulps: Update.
69276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69278 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69280         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69281         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69283 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69285         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69286         * configure.in: Use it for both main tree and add-ons.
69287         * configure: Regenerated.
69289 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69291         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69293 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69295         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69296         in comment.
69298         [BZ #13851]
69299         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69300         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69301         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69302         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69303         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69304         infinite argument.
69305         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69306         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69307         != 0 for prec == 2.
69308         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69309         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69310         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69311         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69312         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69313         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69314         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69315         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69316         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69317         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69318         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69319         * math/libm-test.inc (cos_test): Add more tests and enable more
69320         tests for long double.
69321         (sin_test): Likewise.
69322         (sincos_test): Likewise.
69323         * sysdeps/i386/fpu/libm-test-ulps: Update.
69324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69326 2012-03-16  David S. Miller  <davem@davemloft.net>
69328         * sysdeps/sparc/fpu/math_private.h: New file.
69330 2012-03-15  David S. Miller  <davem@davemloft.net>
69332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69333         file.
69334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69336         file.
69337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69343         sysdep routines.
69344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69346         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69347         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69349         * sysdeps/sparc/sparc-ifunc.h: New file.
69350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69351         sparc-ifunc.h
69352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69354         Likewise.
69355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69356         Likewise.
69357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69361         Likewise.
69362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69367         Likewise.
69368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69369         Likewise.
69370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69375         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69376         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69377         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69390         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69393         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69395 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69397         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69398         scaling.
69399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69401 2012-03-15  Andreas Jaeger  <aj@suse.de>
69403         [BZ #13852]
69404         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69405         ieee754/flt-32 implementation for sin, cos and sincos.
69406         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69407         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69408         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69409         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69410         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69411         ieee754/flt-32 implementation for tan.
69413         * math/libm-test.inc (cos_test): Enable some large input tests for
69414         float as well
69415         (sin_test): Likewise.
69416         (sincos_test): Likewise.
69417         (tan_test): Add tests for large input.
69419         * sysdeps/i386/fpu/libm-test-ulps: Update.
69421 2012-03-15  Andreas Jaeger  <aj@suse.de>
69423         [BZ #13658]
69424         * math/libm-test.inc (cos_test): Add more test cases.
69425         (sin_test): Likewise.
69426         (sincos_test): Likewise.
69428 2012-03-15  Andreas Jaeger  <aj@suse.de>
69430         [BZ #13837]
69431         * math/libm-test.inc (cos_test): Add a test case for large input
69432         value.
69433         (sin_test): Likewise.
69434         (sincos_test): Likewise.
69436 2012-03-15  Andreas Jaeger  <aj@suse.de>
69437             Joseph Myers  <joseph@codesourcery.com>
69439         [BZ #13658]
69440         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69441         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69442         * sysdeps/i386/fpu/branred.c: Likewise.
69443         * sysdeps/i386/fpu/dosincos.c: Likewise.
69444         * sysdeps/i386/fpu/mpa.c: Likewise.
69445         * sysdeps/i386/fpu/s_cos.S: Likewise.
69446         * sysdeps/i386/fpu/s_sin.S: Likewise.
69447         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69448         * sysdeps/i386/fpu/sincos32.c: Likewise.
69450         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69451         Define.
69452         (libc_feupdateenv_53bit): Define.
69453         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69454         Define.
69455         (libc_feupdateenv_53bit): Define.
69457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69458         53 bit (without extend i386 double precision).
69460         * math/libm-test.inc (sincos_test): Add tests for large input.
69461         (sin): Likewise.
69462         (cos): Likewise.
69464         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69466 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69470 2012-03-15  David S. Miller  <davem@davemloft.net>
69472         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69473         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69474         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69475         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69488         file.
69489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69491         file.
69492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69494         file.
69495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69497         file.
69498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69499         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69500         fmin/fmax sysdep routines.
69501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69503 2012-03-14  David S. Miller  <davem@davemloft.net>
69505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69509         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69510         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69511         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69512         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69525         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69526         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69527         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69528         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69529         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69530         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69532         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69533         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69534         routines.
69535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69536         file.
69537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69539         file.
69540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69542         file.
69543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69545         file.
69546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69548         file.
69549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69551         file.
69552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69553         file.
69554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69555         file.
69556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69557         file.
69558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69559         New file.
69560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69561         file.
69562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69563         file.
69564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69566         file.
69567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69569         file.
69570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69572         file.
69573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69575         VIS3 routines.
69577         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69578         New file.
69580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69582         * sysdeps/sparc/configure.in: New file.
69583         * sysdeps/sparc/configure: Generate.
69584         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69585         * configure: Regenerate.
69586         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69587         * config.make.in (have-as-vis3): New.
69588         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69589         available use -Av9d instead of -Av9a.
69590         * sysdeps/sparc/sparc64/Makefile: Likewise.
69591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69593         New file.
69594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69595         file.
69596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69597         New file.
69598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69599         file.
69600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69601         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69602         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69603         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69606         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69607         fzeros/fnegs to load 0x80000000 into a float register instead of
69608         using the stack.
69609         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69611 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69614         bits/syscall.h.
69615         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69616         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69617         ($(inst_includedir)/bits/syscall.h): Remove rule.
69618         ($(objpfx)bits/syscall.d): Include instead of
69619         $(objpfx)syscall-list.d.
69620         (generated): Change syscall-list.h and syscall-list.d to
69621         bits/syscall.h and bits/syscall.d.
69623 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69625         [BZ #13846]
69626         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69628 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69630         [BZ #13841]
69631         * math/s_csqrt.c: Include <float.h>.
69632         (__csqrt): Scale large or subnormal inputs.
69633         * math/s_csqrtf.c: Likewise.
69634         * math/s_csqrtl.c: Likewise.
69635         * math/libm-test.inc (csqrt_test): Add more tests.
69636         * sysdeps/i386/fpu/libm-test-ulps: Update.
69637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69639         [BZ #13840]
69640         * math/libm-test.inc (hypot_test): Add more tests.
69642 2012-03-13  David S. Miller  <davem@davemloft.net>
69644         [BZ #13840]
69645         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69646         double-precision for the calculation instead of scaling.
69648 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69650         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69651         manipulate bits before adding and subtracting TWO52[sx].
69652         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69653         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69654         Likewise.
69655         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69657 2012-03-13  David S. Miller  <davem@davemloft.net>
69659         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69660         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69661         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69662         rtld-global-offsets.h
69663         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69665         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69666         large parameters.
69668         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69670         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69671         'err' in the ifdef scope in which it is actually used.
69673         * nss/nss_db/db-init.c: Include string.h
69675 2012-03-12  David S. Miller  <davem@davemloft.net>
69677         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69678         masking out of the most significant byte of random value used.
69679         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69680         Fix coding style in previous change.
69682         * sysdeps/unix/sysv/linux/kernel-features.h
69683         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69684         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69685         expression.
69686         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69687         later.
69689 2012-03-11  David S. Miller  <davem@davemloft.net>
69691         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69692         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69693         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69694         for 'resultvar' otherwise things get truncated on 64-bit.
69696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69697         Fix masking out of the most significant byte of random value used.
69699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69701 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69705 2012-03-09  David S. Miller  <davem@davemloft.net>
69707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69708         variables with appropriate CPP guards.
69709         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69710         from the frame pointer, not the stack pointer.  Correct layout
69711         comments.  Fix test on resulting framesize and the management of
69712         the outregs buffer for pltexit.  Preserve floating point return
69713         values across _dl_call_pltexit call.
69714         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69715         framesize and the management of the outregs buffer for pltexit.
69716         Preserve floating point return values across _dl_call_pltexit
69717         call.
69718         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69719         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69720         (la_sparc64_gnu_pltexit): New functions.
69721         (print_exit): Fix format string for return register value.
69723 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69725         * sunrpc/Makefile (others): Add rpcgen.
69726         ($(objpfx)rpcgen): Remove special build rule and dependency on
69727         libc.
69728         * sunrpc/rpcgen.c: New file.
69730 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69732         [BZ #13673]
69733         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69734         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69735         * sysdeps/i386/crti.S: Likewise.
69736         * sysdeps/i386/crtn.S: Likewise.
69737         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69738         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69739         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69740         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69741         * sysdeps/sh/crti.S: Likewise.
69742         * sysdeps/sh/crtn.S: Likewise.
69743         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69745         [BZ #13673]
69746         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69747         with URL.
69748         * locale/programs/locfile-kw.gperf: Likewise.
69749         * locale/programs/charmap-kw.h: Regenerated.
69750         * locale/programs/locfile-kw.h: Likewise.
69752         [BZ #13673]
69753         * intl/plural.y: Replace FSF snail mail address with URL.
69754         * intl/plural.c: Regenerated.
69756 2012-03-09  Richard Henderson  <rth@twiddle.net>
69758         * include/math_private.h: Remove file.
69759         * math/math_private.h: Move file ...
69760         * sysdeps/generic/math_private.h: ... here.
69762         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69763         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69764         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69766         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69767         and <math_private.h>.
69768         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69769         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69770         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69771         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69772         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69773         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69774         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69775         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69776         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69777         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69778         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69779         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69780         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69781         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69782         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69783         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69784         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69785         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69786         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69787         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69789         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69790         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69791         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69792         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69793         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69794         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69795         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69796         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69797         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69798         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69800         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69801         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69802         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69803         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69804         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69805         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69806         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69808         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69809         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69810         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69811         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69812         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69813         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69814         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69815         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69816         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69817         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69818         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69819         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69820         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69821         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69822         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69823         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69824         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69825         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69826         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69827         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69828         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69829         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69831         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69832         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69833         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69834         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69835         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69836         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69837         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69838         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69839         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69840         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69842         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69843         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69845         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69846         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69847         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69848         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69849         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69850         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69851         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69852         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69853         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69854         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69855         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69856         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69857         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69858         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69859         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69860         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69861         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69862         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69863         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69864         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69865         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69866         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69867         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69868         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69869         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69870         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69871         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69872         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69873         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69874         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69875         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69876         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69877         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69878         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69879         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69880         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69881         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69882         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69883         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69884         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69885         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69886         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69887         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69888         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69889         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69890         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69891         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69892         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69893         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69894         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69895         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69896         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69897         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69898         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69899         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69900         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69901         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69902         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69903         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69904         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69906         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69907         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69908         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69909         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69910         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69911         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69912         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69913         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69914         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69915         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69916         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69917         * sysdeps/ieee754/k_standard.c: Likewise.
69918         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69922         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69927         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69928         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69929         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69930         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69931         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69932         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69933         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69935         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69936         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69937         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69938         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69939         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69940         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69941         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69942         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69943         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69944         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69945         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69946         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69947         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69948         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69949         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69950         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69951         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69952         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69953         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69954         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69955         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69956         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69957         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69958         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69959         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69960         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69961         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69962         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69963         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69964         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69965         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69966         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69967         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69968         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69969         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69970         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69971         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69972         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69973         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69974         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69975         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69976         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69977         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69978         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69979         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69980         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69981         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69982         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69984         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69985         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69986         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69988         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69990         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69991         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69992         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69993         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69994         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69995         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69996         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69997         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69998         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69999         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70000         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70001         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70002         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70003         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70004         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70005         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70006         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70008         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70009         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70010         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70011         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70013         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70014         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70015         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70016         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70017         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70018         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70019         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70020         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70022         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70023         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70024         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70025         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70026         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70027         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70028         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70029         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70030         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70031         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70032         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70033         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70034         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70035         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70036         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70037         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70038         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70039         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70040         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70041         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70042         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70043         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70044         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70045         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70046         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70047         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70048         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70049         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70050         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70051         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70052         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70053         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70054         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70055         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70056         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70057         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70058         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70059         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70060         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70061         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70062         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70063         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70064         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70065         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70066         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70067         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70068         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70069         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70070         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70072         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70073         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70074         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70075         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70076         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70077         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70078         * sysdeps/ieee754/s_lib_version.c: Likewise.
70079         * sysdeps/ieee754/s_matherr.c: Likewise.
70080         * sysdeps/ieee754/s_signgam.c: Likewise.
70081         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70082         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70083         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70084         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70085         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70086         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70087         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70088         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70089         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70090         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70091         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70092         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70093         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70094         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70095         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70096         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70097         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70098         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70099         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70100         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70101         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70103 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70105         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70106         * sunrpc/rpc_main.c: Likewise.
70107         * sunrpc/rpc_svcout.c: Likewise.
70109 2012-03-09  David S. Miller  <davem@davemloft.net>
70111         * include/math_private.h: New file.
70113 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70115         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70116         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70117         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70118         from <bits/socket_type.h>.
70119         (enum __socket_type): Don't define here.
70120         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70122         bits/socket_type.h.
70124         [BZ #13566]
70125         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70126         checking __USE_GNU.
70128         * Makerules ($(inst_includedir)/%.h): New rule.
70129         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70130         (install-others): Remove variable setting.
70131         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70133 2012-03-08  Richard Henderson  <rth@twiddle.net>
70135         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70136         from macro to inline function; merge with the
70137         !__LIBC_INTERNAL_MATH_INLINES version.
70138         (__ieee754_sqrtf): Likewise.
70140         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70141         to inline function.
70142         (__rintf, __floor, __floorf): Likewise.
70144         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70145         macro to inline function.
70146         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70148         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70149         not <math/math_private.h>.
70151 2012-03-08  David S. Miller  <davem@davemloft.net>
70153         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70154         copyright year.
70155         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70157 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70159         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70160         normalization.
70161         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70162         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70164 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70166         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70167         be defined individually, they must be defined as a block.  Define
70168         S for printing a string instead of hidint the different by using a
70169         macro for adding the 'l'.
70170         * stdio-common/tst-fphex-wide.c: Adjust.
70172 2012-03-07  Marek Polacek  <polacek@redhat.com>
70174         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70176 2012-03-08  Marek Polacek  <polacek@redhat.com>
70178         [BZ #13806]
70179         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70180         * stdio-common/tst-fphex.c: Define a few macros to make the
70181         test reusable.  Use them.
70182         * stdio-common/tst-fphex-wide.c: New file.
70184 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70186         [BZ #6911]
70187         * manual/macros.texi (gnusystems): New macro.
70188         (nongnusystems): Likewise.
70189         (gnulinuxhurdsystems): Likewise.
70190         (gnuhurdsystems): Likewise..
70191         (gnulinuxsystems): Likewise.
70192         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70193         variants of the GNU system, not "GNU system".
70194         * manual/conf.texi: Likewise.
70195         * manual/errno.texi: Likewise.  Update example of errno macro
70196         expansion.
70197         * manual/filesys.texi: Likewise.
70198         (getumask): Document as specific to GNU/Hurd.
70199         * manual/install.texi: Likewise.  Reword some references to
70200         GNU/Linux.
70201         * manual/intro.texi: Likewise.
70202         * manual/io.texi: Likewise.
70203         (File Name Portability): Detail which constraints are inapplicable
70204         to all GNU systems and which are only inapplicable to GNU/Hurd.
70205         * manual/job.texi: Likewise.
70206         * manual/llio.texi: Likewise.
70207         (O_NOCTTY): Document as present on GNU/Linux.
70208         * manual/maint.texi: Likewise.
70209         * manual/memory.texi: Likewise.
70210         * manual/pattern.texi: Likewise.
70211         * manual/pipe.texi: Likewise.
70212         * manual/process.texi: Likewise.
70213         * manual/resource.texi: Likewise.
70214         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70215         child on GNU/Hurd.
70216         * manual/setjmp.texi: Likewise.
70217         * manual/signal.texi: Likewise.
70218         * manual/startup.texi: Likewise.
70219         * manual/stdio.texi: Likewise.
70220         * manual/terminal.texi: Likewise.
70221         (ONLCR): Document as POSIX.
70222         (OXTABS): Document availability on GNU/Linux as XTABS.
70223         (ONOEOT): Document availability separately from other bits.
70224         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70225         * manual/time.texi: Likewise.
70226         * manual/users.texi: Likewise.
70227         * INSTALL: Regenerated.
70228         * sysdeps/gnu/errlist.c: Regenerated.
70230         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70231         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70232         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70233         puts.
70234         * configure: Regenerated.
70236 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70238         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70239         default includes instead of AC_HEADER_CHECK.
70240         * sysdeps/i386/configure: Regenerated.
70242         [BZ #10716]
70243         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70244         * math/s_cacoshf.c (__cacoshf): Likewise.
70245         * math/s_cacoshl.c (__cacoshl): Likewise.
70246         * math/s_casinh.c (__casinh): Set signs of result from argument.
70247         * math/s_casinhf.c (__casinhf): Likewise.
70248         * math/s_casinhl.c (__casinhl): Likewise.
70249         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70250         (casinh_test): Add more tests.
70251         * sysdeps/i386/fpu/libm-test-ulps: Update.
70252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70254 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70256         * po/zh_TW.po: Update from translation team.
70258         * login/Makefile (distribute): Remove variable.
70259         * catgets/Makefile: Likewise.
70260         * mach/Makefile: Likewise.
70261         * malloc/Makefile: Likewise.
70262         * misc/Makefile: Likewise.
70263         * iconv/Makefile: Likewise.
70264         * nscd/Makefile: Likewise.
70265         * hurd/Makefile: Likewise.
70266         * manual/Makefile: Likewise.
70267         * locale/Makefile: Likewise.
70268         * intl/Makefile: Likewise.
70269         * conform/Makefile: Likewise.
70270         * nss/Makefile: Likewise.
70271         * time/Makefile: Likewise.
70272         * soft-fp/Makefile: Likewise.
70273         * dirent/Makefile: Likewise.
70274         * gmon/Makefile: Likewise.
70275         * po/Makefile: Likewise.
70276         * rt/Makefile: Likewise.
70277         * socket/Makefile: Likewise.
70278         * math/Makefile: Likewise.
70279         * signal/Makefile: Likewise.
70280         * debug/Makefile: Likewise.
70281         * elf/Makefile: Likewise.
70282         * timezone/Makefile: Likewise.
70283         * stdlib/Makefile: Likewise.
70284         * iconvdata/Makefile: Likewise.
70285         * sunrpc/Makefile: Likewise.
70286         * io/Makefile: Likewise.
70287         * argp/Makefile: Likewise.
70288         * inet/Makefile: Likewise.
70289         * hesiod/Makefile: Likewise.
70290         * grp/Makefile: Likewise.
70291         * csu/Makefile: Likewise.
70292         * wctype/Makefile: Likewise.
70293         * crypt/Makefile: Likewise.
70294         * libio/Makefile: Likewise.
70295         * string/Makefile: Likewise.
70296         * nis/Makefile: Likewise.
70297         * resolv/Makefile: Likewise.
70298         * stdio-common/Makefile: Likewise.
70299         * wcsmbs/Makefile: Likewise.
70300         * dlfcn/Makefile: Likewise.
70301         * posix/Makefile: Likewise.
70303         [BZ #6959]
70304         * timezone/Makefile: Don't install timezone files, just the programs
70305         and scripts.
70307 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70309         * nss/databases.def: Add missing gshadow entry.
70311         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70313 2012-03-06  Marek Polacek  <polacek@redhat.com>
70315         [BZ #13726]
70316         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70317         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70318         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70319         * stdio-common/tst-long-dbl-fphex.c: New file.
70321 2012-03-06  David S. Miller  <davem@davemloft.net>
70323         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70324         (set_obp_int): New function.
70325         (get_obp_int): New function.
70326         (__get_clockfreq_via_dev_openprom): Likewise.
70327         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70328         Avoid unused variable warnings on 'val' and use builtin_expect.
70329         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70330         __builtin_expect.
70331         (INLINE_CLONE_SYSCALL): Likewise.
70333 2012-03-05  David S. Miller  <davem@davemloft.net>
70335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70337 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70341         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70342         only for |x| >= 40.
70343         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70345 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70347         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70348         Replace gettimeofday with __vdso_gettimeofday.
70350         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70351         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70352         __vdso_clock_gettime and __vdso_getcpu.
70354         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70355         time with __vdso_time.
70357 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70359         * manual/lang.texi (size_t): Note types to which size_t may be
70360         equivalent with the GNU C Library, but do not describe when
70361         differences between them are significant.
70363 2012-03-05  Andreas Jaeger  <aj@suse.de>
70365         * sysdeps/i386/fpu/libm-test-ulps: Update.
70367 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70369         [BZ #3976]
70370         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70371         (__ieee754_pow): Save and restore rounding mode and use
70372         round-to-nearest for main computations.
70373         * math/libm-test.inc (pow_test_tonearest): New function.
70374         (pow_test_towardzero): Likewise.
70375         (pow_test_downward): Likewise.
70376         (pow_test_upward): Likewise.
70377         (main): Call the new functions.
70378         * sysdeps/i386/fpu/libm-test-ulps: Update.
70379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70381         [BZ #3976]
70382         * math/libm-test.inc (cosh_test_tonearest): New function.
70383         (cosh_test_towardzero): Likewise.
70384         (cosh_test_downward): Likewise.
70385         (cosh_test_upward): Likewise.
70386         (sinh_test_tonearest): Likewise.
70387         (sinh_test_towardzero): Likewise.
70388         (sinh_test_downward): Likewise.
70389         (sinh_test_upward): Likewise.
70390         (main): Call the new functions.
70391         * sysdeps/i386/fpu/libm-test-ulps: Update.
70392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70394 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70396         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70397         default stack guard is set in last bytes.
70398         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70400 2012-03-05  Kees Cook  <keescook@chromium.org>
70402         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70404         [BZ #13656]
70405         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70406         possibly allocate from heap instead of stack.
70407         * stdio-common/bug-vfprintf-nargs.c: New file.
70408         * stdio-common/Makefile (tests): Add nargs overflow test.
70410 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70414 2012-03-03  Marek Polacek  <polacek@redhat.com>
70416         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70417         * math/math_private.h: Likewise.
70418         * stdlib/tst-strtod.c: Likewise.
70419         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70420         * sysdeps/x86_64/bits/atomic.h: Likewise.
70422 2012-03-02  David S. Miller  <davem@davemloft.net>
70424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70428         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70429         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70430         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70431         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70433 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70435         [BZ #13792]
70436         * manual/examples/README: New file, says the example source files
70437         can be used under GPL>=2.
70438         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70439         line containing just "*/".
70440         * manual/examples/add.c: Add copyright header (GPL>=2).
70441         * manual/examples/argp-ex1.c: Likewise.
70442         * manual/examples/argp-ex2.c: Likewise.
70443         * manual/examples/argp-ex3.c: Likewise.
70444         * manual/examples/argp-ex4.c: Likewise.
70445         * manual/examples/atexit.c: Likewise.
70446         * manual/examples/db.c: Likewise.
70447         * manual/examples/dir.c: Likewise.
70448         * manual/examples/dir2.c: Likewise.
70449         * manual/examples/execinfo.c: Likewise.
70450         * manual/examples/filecli.c: Likewise.
70451         * manual/examples/filesrv.c: Likewise.
70452         * manual/examples/fmtmsgexpl.c: Likewise.
70453         * manual/examples/genpass.c: Likewise.
70454         * manual/examples/inetcli.c: Likewise.
70455         * manual/examples/inetsrv.c: Likewise.
70456         * manual/examples/isockad.c: Likewise.
70457         * manual/examples/longopt.c: Likewise.
70458         * manual/examples/memopen.c: Likewise.
70459         * manual/examples/memstrm.c: Likewise.
70460         * manual/examples/mkfsock.c: Likewise.
70461         * manual/examples/mkisock.c: Likewise.
70462         * manual/examples/mygetpass.c: Likewise.
70463         * manual/examples/pipe.c: Likewise.
70464         * manual/examples/popen.c: Likewise.
70465         * manual/examples/rprintf.c: Likewise.
70466         * manual/examples/search.c: Likewise.
70467         * manual/examples/select.c: Likewise.
70468         * manual/examples/setjmp.c: Likewise.
70469         * manual/examples/sigh1.c: Likewise.
70470         * manual/examples/sigusr.c: Likewise.
70471         * manual/examples/stpcpy.c: Likewise.
70472         * manual/examples/strdupa.c: Likewise.
70473         * manual/examples/strftim.c: Likewise.
70474         * manual/examples/strncat.c: Likewise.
70475         * manual/examples/subopt.c: Likewise.
70476         * manual/examples/swapcontext.c: Likewise.
70477         * manual/examples/termios.c: Likewise.
70478         * manual/examples/testopt.c: Likewise.
70479         * manual/examples/testpass.c: Likewise.
70480         * manual/examples/timeval_subtract.c: Likewise.
70482         [BZ #13792]
70483         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70484         function to ...
70485         * manual/timeval_subtract.c.texi: ... here, new file.
70487 2012-03-02  David S. Miller  <davem@davemloft.net>
70489         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70491 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70493         [BZ #3976]
70494         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70495         (__sin): Save and restore rounding mode and use round-to-nearest
70496         for all computations.
70497         (__cos): Save and restore rounding mode and use round-to-nearest
70498         for all computations.
70499         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70500         <fenv.h>.
70501         (tan): Save and restore rounding mode and use round-to-nearest for
70502         all computations.
70503         * math/libm-test.inc (cos_test_tonearest): New function.
70504         (cos_test_towardzero): Likewise.
70505         (cos_test_downward): Likewise.
70506         (cos_test_upward): Likewise.
70507         (sin_test_tonearest): Likewise.
70508         (sin_test_towardzero): Likewise.
70509         (sin_test_downward): Likewise.
70510         (sin_test_upward): Likewise.
70511         (tan_test_tonearest): Likewise.
70512         (tan_test_towardzero): Likewise.
70513         (tan_test_downward): Likewise.
70514         (tan_test_upward): Likewise.
70515         (main): Call the new functions.
70516         * sysdeps/i386/fpu/libm-test-ulps: Update.
70517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70519         [BZ #10135]
70520         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70521         small n, then large n, before computing and testing k+n.
70522         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70523         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70524         Likewise.
70525         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70526         Likewise.
70527         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70528         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70529         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70530         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70531         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70532         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70533         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70534         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70535         * math/libm-test.inc (scalbn_test): Add more tests.
70536         (scalbln_test): Likewise.
70538         * manual/filesys.texi (mode_t): Describe constraints on size and
70539         signedness, not exact equivalence to a particular type.
70540         (ino_t): Likewise.
70541         (ino64_t): Likewise.
70542         (dev_t): Likewise.
70543         (nlink_t): Likewise.
70544         (blkcnt_t): Likewise.
70545         (blkcnt64_t): Likewise.
70546         * manual/llio.texi (off_t): Likewise.
70548         [BZ #3976]
70549         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70550         (__ieee754_exp): Save and restore rounding mode and use
70551         round-to-nearest for all computations.
70552         * math/libm-test.inc (exp_test_tonearest): New function.
70553         (exp_test_towardzero): Likewise.
70554         (exp_test_downward): Likewise.
70555         (exp_test_upward): Likewise.
70556         (main): Call the new functions.
70557         * sysdeps/i386/fpu/libm-test-ulps: Update.
70558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70560 2012-03-01  Chris Demetriou  <cgd@google.com>
70562         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70563         have predictable order.
70565 2012-03-01  David S. Miller  <davem@davemloft.net>
70567         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70569         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70570         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70571         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70572         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70574         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70575         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70576         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70578         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70579         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70580         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70581         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70582         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70586         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70587         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70588         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70590         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70591         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70592         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70593         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70594         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70595         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70596         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70597         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70598         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70599         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70600         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70601         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70603         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70604         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70605         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70606         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70607         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70608         * sysdeps/sparc/elf/configure: Regenerated.
70610 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70612         * configure.in (AS, LD): Require binutils 2.20 or later.
70613         * configure: Regenerated.
70614         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70615         as required minimum version.
70616         * INSTALL: Regenerated.
70618         [BZ #2541]
70619         [BZ #4108]
70620         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70621         before squaring exponent.
70622         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70623         bottom long double and 27 bits of top long double before squaring
70624         exponent.
70625         * math/libm-test.inc (erfc_test): Add more tests.
70626         * sysdeps/i386/fpu/libm-test-ulps: Update.
70627         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70630 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70632         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70633         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70634         containing bit-fields.
70635         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70636         * soft-fp/single.h (_FP_UNION_S): Likewise.
70637         * soft-fp/double.h (_FP_UNION_D): Likewise.
70639 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70641         [BZ #13786]
70642         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70643         not include ../strcmp.S.
70644         [USE_AS_STRNCASECMP_L]: Likewise.
70645         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70646         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70647         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70648         (__strncasecmp_l_ia32): Define as alias to
70649         __strncasecmp_l_nonascii.
70651         [BZ #5794]
70652         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70653         * sysdeps/i386/fpu/libm-test-ulps: Update.
70654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70656         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70659 2012-02-29  Jeff Law  <law@redhat.com>
70661         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70662         out of bounds read.
70664 2012-02-29  Marek Polacek  <polacek@redhat.com>
70666         [BZ #13706]
70667         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70668         * elf/Makefile: Add rules to run tst-unused-dep.out.
70670 2012-02-28  David S. Miller  <davem@davemloft.net>
70672         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70673         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70674         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70675         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70676         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70677         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70679 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70681         * math/libm-test.inc (llround_test): Move one test from
70682         lround_test.  Use TEST_f_L in moved test.
70683         (lround_test): Move misplaced test to llround_test.  Add testcase
70684         from bug 2561.
70686 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70688         * sysdeps/x86_64/fpu/e_expf.S: New file.
70689         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70691 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70693         [BZ #13637]
70694         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70695         of remain_len that may cause incomplete multi-byte character and
70696         false match.
70697         * posix/bug-regex33.c: New file.
70698         * posix/Makefile (tests): Add bug-regex33.
70700 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70702         * manual/macros.texi: New file.
70703         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70704         * manual/libc.texinfo: Include macros.texi.
70705         * manual/creatute.texi: Likewise.
70706         * manual/install.texi: Likewise.
70707         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70708         @glibcadj{} in references to the GNU C Library.
70709         * manual/charset.texi: Likewise.
70710         * manual/conf.texi: Likewise.
70711         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70712         when not using those macros.
70713         * manual/creature.texi: Likewise.
70714         * manual/crypt.texi: Likewise.
70715         * manual/errno.texi: Likewise.
70716         * manual/filesys.texi: Likewise.
70717         * manual/header.texi: Likewise.
70718         * manual/install.texi: Likewise.
70719         * manual/intro.texi: Likewise.
70720         * manual/io.texi: Likewise.
70721         * manual/job.texi: Likewise.
70722         * manual/lang.texi: Likewise.
70723         * manual/libc.texiinfo: Likewise.
70724         * manual/llio.texi: Likewise.
70725         * manual/locale.texi: Likewise.
70726         * manual/maint.texi: Likewise.
70727         * manual/math.texi: Likewise.
70728         * manual/memory.texi: Likewise.
70729         * manual/message.texi: Likewise.
70730         * manual/nss.texi: Likewise.
70731         * manual/pattern.texi: Likewise.
70732         * manual/process.texi: Likewise.
70733         * manual/resource.texi: Likewise.
70734         * manual/search.texi: Likewise.
70735         * manual/setjmp.texi: Likewise.
70736         * manual/signal.texi: Likewise.
70737         * manual/socket.texi: Likewise.
70738         * manual/startup.texi: Likewise.
70739         * manual/stdio.texi: Likewise.
70740         * manual/string.texi: Likewise.
70741         * manual/sysinfo.texi: Likewise.
70742         * manual/syslog.texi: Likewise.
70743         * manual/terminal.texi: Likewise.
70744         * manual/time.texi: Likewise.
70745         * manual/users.texi: Likewise.
70746         * INSTALL: Regenerated.
70747         * NOTES: Regenerated.
70748         * sysdeps/gnu/errlist.c: Regenerated.
70750 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70752         * include/dirent.h: Include <dirstream.h> before
70753         <dirent/dirent.h>.
70755 2012-02-28  David S. Miller  <davem@davemloft.net>
70757         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70758         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70759         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70760         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70762 2012-02-27  David S. Miller  <davem@davemloft.net>
70764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70766         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70767         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70770         frame pointer instead of stack pointer relative arg slot.
70771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70772         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70773         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70775 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70777         [BZ #3992]
70778         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70780 2012-02-27  David S. Miller  <davem@davemloft.net>
70782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70786         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70787         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70788         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70789         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70791 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70793         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70794         later.  Allow versions 5-9.
70795         * configure: Regenerated.
70796         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70797         required minimum version and 4.6 as recommended version.  Do not
70798         mention bugs in GCC 2.7 and 2.8.
70799         * INSTALL: Regenerated.
70801 2012-02-27  David S. Miller  <davem@davemloft.net>
70803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70807         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70808         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70809         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70810         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70812         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70813         manipulate bits before adding and subtracting TWO112[sx].
70814         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70816 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70818         [BZ #13775]
70819         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70820         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70821         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70822         being in POSIX, because they are in 1003.1-2008.
70824         * rt/tst-aio.c: Include <fcntl.h>.
70825         * rt/tst-aio7.c: Likewise.
70826         * rt/tst-aio64.c: Likewise.
70828         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70830 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70832         * manual/install.texi (--with-headers): Describe headers as
70833         interface headers, not private headers.
70834         (Specific advice for GNU/Linux systems): Describe use of headers
70835         from "make headers_install", not private headers from older
70836         kernels.
70837         * INSTALL: Regenerated.
70838         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70839         Change to 2.6.19.
70840         * sysdeps/unix/sysv/linux/configure: Regenerated.
70842         * manual/llio.texi (fclean): Remove documentation.
70844         * manual/Makefile (libc-texi-generated): New variable.  Include
70845         version.texi.
70846         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70847         $(libc-texi-generated), not duplicated list of files.
70848         (version.texi, stamp-version): New rules.
70849         (realclean): Remove $(libc-texi-generated), not individual files
70850         from that list.  Do not remove dir-add.texinfo.
70851         * manual/libc.texinfo: Comment out uses of edition numbers and
70852         references to printed manual.  Remove last-updated dates.
70853         (EDITION): Comment out.
70854         (ISBN): Likewise.
70855         (VERSION, UPDATED): Remove.
70856         (version.texi): Include.
70858 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70860         * sysdeps/posix/spawni.c: Include <signal.h>.
70861         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70862         * sysdeps/pthread/aio_fsync.c: Likewise.
70864 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70866         * conform/Makefile (tests): Run only when not cross-compiling and
70867         when fast-check is not defined.
70869         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70870         * conform/data/limits.h-data: Fixes for POSIX2008.
70871         * conform/run-conformtest.sh: Run all tests.
70872         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70873         headers.
70874         * include/bits/dlfcn.h: Likewise.
70875         * include/langinfo.h: Likewise.
70876         * include/monetary.h: Likewise.
70877         * include/sys/poll.h: Likewise.
70879         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70880         for __USE_GNU.
70881         * posix/spawn.h: Define __need_sigset_t.
70882         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70883         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70884         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70885         to get sigevent_t only.
70886         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70887         only for __USE_GNU.
70888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70889         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70890         process_vm_writev only for __USE_GNU.
70891         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70893         * conform/Makefile: For now ignore errors from run-conformtest.
70894         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70895         POSIX to avoid namespace pollution.  Don't prepend headers.
70896         * conform/data/aio.h-data: Fixes for POSIX testing.
70897         * conform/data/fcntl.h-data: Likewise.
70898         * conform/data/glob.h-data: Likewise.
70899         * conform/data/grp.h-data: Likewise.
70900         * conform/data/pthread.h-data: Likewise.
70901         * conform/data/pwd.h-data: Likewise.
70902         * conform/data/signal.h-data: Likewise.
70903         * conform/data/spawn.h-data: Likewise.
70904         * conform/data/stdio.h-data: Likewise.
70905         * conform/data/stdlib.h-data: Likewise.
70906         * conform/data/stropts.h-data: Likewise.
70907         * conform/data/sys/mman.h-data: Likewise.
70908         * conform/data/sys/stat.h-data: Likewise.
70909         * conform/data/sys/types.h-data: Likewise.
70910         * conform/data/sys/wait.h-data: Likewise.
70911         * conform/data/time.h-data: Likewise.
70912         * conform/data/unistd.h-data: Likewise.
70913         * conform/data/utime.h-data: Likewise.
70915         * io/sys/stat.h: fchmod was always in POSIX.
70916         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70917         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70918         * rt/aio.h: Define __need_timespec before including <time.h>.
70919         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70920         struct.  Add forward declaration of pthread_attr_t and use it in
70921         sigevent.
70922         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70924         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70925         always remove CLK_TCK definition.
70927 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70929         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70931 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70933         * conform/run-conformtest.sh: New file.
70934         * conform/Makefile: Run run-conformtest for tests.
70935         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70936         support.
70938         * conform/data/uchar.h-data: New file.
70939         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70940         * conform/data/arpa/inet.h-data: Likewise.
70941         * conform/data/assert.h-data: Likewise.
70942         * conform/data/complex.h-data: Likewise.
70943         * conform/data/cpio.h-data: Likewise.
70944         * conform/data/ctype.h-data: Likewise.
70945         * conform/data/dirent.h-data: Likewise.
70946         * conform/data/dlfcn.h-data: Likewise.
70947         * conform/data/errno.h-data: Likewise.
70948         * conform/data/fcntl.h-data: Likewise.
70949         * conform/data/float.h-data: Likewise.
70950         * conform/data/fmtmsg.h-data: Likewise.
70951         * conform/data/fnmatch.h-data: Likewise.
70952         * conform/data/ftw.h-data: Likewise.
70953         * conform/data/glob.h-data: Likewise.
70954         * conform/data/grp.h-data: Likewise.
70955         * conform/data/iconv.h-data: Likewise.
70956         * conform/data/inttypes.h-data: Likewise.
70957         * conform/data/langinfo.h-data: Likewise.
70958         * conform/data/libgen.h-data: Likewise.
70959         * conform/data/limits.h-data: Likewise.
70960         * conform/data/locale.h-data: Likewise.
70961         * conform/data/math.h-data: Likewise.
70962         * conform/data/monetary.h-data: Likewise.
70963         * conform/data/mqueue.h-data: Likewise.
70964         * conform/data/ndbm.h-data: Likewise.
70965         * conform/data/net/if.h-data: Likewise.
70966         * conform/data/netdb.h-data: Likewise.
70967         * conform/data/netinet/in.h-data: Likewise.
70968         * conform/data/nl_types.h-data: Likewise.
70969         * conform/data/poll.h-data: Likewise.
70970         * conform/data/pthread.h-data: Likewise.
70971         * conform/data/pwd.h-data: Likewise.
70972         * conform/data/regex.h-data: Likewise.
70973         * conform/data/sched.h-data: Likewise.
70974         * conform/data/search.h-data: Likewise.
70975         * conform/data/semaphore.h-data: Likewise.
70976         * conform/data/setjmp.h-data: Likewise.
70977         * conform/data/signal.h-data: Likewise.
70978         * conform/data/spawn.h-data: Likewise.
70979         * conform/data/stdarg.h-data: Likewise.
70980         * conform/data/stdio.h-data: Likewise.
70981         * conform/data/stdlib.h-data: Likewise.
70982         * conform/data/string.h-data: Likewise.
70983         * conform/data/strings.h-data: Likewise.
70984         * conform/data/stropts.h-data: Likewise.
70985         * conform/data/sys/ipc.h-data: Likewise.
70986         * conform/data/sys/mman.h-data: Likewise.
70987         * conform/data/sys/msg.h-data: Likewise.
70988         * conform/data/sys/resource.h-data: Likewise.
70989         * conform/data/sys/select.h-data: Likewise.
70990         * conform/data/sys/sem.h-data: Likewise.
70991         * conform/data/sys/shm.h-data: Likewise.
70992         * conform/data/sys/socket.h-data: Likewise.
70993         * conform/data/sys/stat.h-data: Likewise.
70994         * conform/data/sys/statvfs.h-data: Likewise.
70995         * conform/data/sys/time.h-data: Likewise.
70996         * conform/data/sys/timeb.h-data: Likewise.
70997         * conform/data/sys/times.h-data: Likewise.
70998         * conform/data/sys/types.h-data: Likewise.
70999         * conform/data/sys/uio.h-data: Likewise.
71000         * conform/data/sys/un.h-data: Likewise.
71001         * conform/data/sys/utsname.h-data: Likewise.
71002         * conform/data/sys/wait.h-data: Likewise.
71003         * conform/data/syslog.h-data: Likewise.
71004         * conform/data/tar.h-data: Likewise.
71005         * conform/data/termios.h-data: Likewise.
71006         * conform/data/utime.h-data: Likewise.
71007         * conform/data/utmpx.h-data: Likewise.
71008         * conform/data/varargs.h-data: Likewise.
71009         * conform/data/wchar.h-data: Likewise.
71010         * conform/data/wctype.h-data: Likewise.
71011         * conform/data/wordexp.h-data: Likewise.
71013         * include/stropts.h: New file.
71014         * include/uchar.h: New file.
71015         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71016         * include/assert.h: Likewise.
71017         * include/ctype.h: Likewise.
71018         * include/dirent.h: Likewise.
71019         * include/dlfcn.h: Likewise.
71020         * include/fcntl.h: Likewise.
71021         * include/fnmatch.h: Likewise.
71022         * include/glob.h: Likewise.
71023         * include/grp.h: Likewise.
71024         * include/libio.h: Likewise.
71025         * include/locale.h: Likewise.
71026         * include/math.h: Likewise.
71027         * include/net/if.h: Likewise.
71028         * include/netdb.h: Likewise.
71029         * include/netinet/in.h: Likewise.
71030         * include/pthread.h: Likewise.
71031         * include/pwd.h: Likewise.
71032         * include/regex.h: Likewise.
71033         * include/sched.h: Likewise.
71034         * include/search.h: Likewise.
71035         * include/setjmp.h: Likewise.
71036         * include/signal.h: Likewise.
71037         * include/stdio.h: Likewise.
71038         * include/stdlib.h: Likewise.
71039         * include/string.h: Likewise.
71040         * include/sys/cdefs.h: Likewise.
71041         * include/sys/mman.h: Likewise.
71042         * include/sys/msg.h: Likewise.
71043         * include/sys/resource.h: Likewise.
71044         * include/sys/select.h: Likewise.
71045         * include/sys/socket.h: Likewise.
71046         * include/sys/stat.h: Likewise.
71047         * include/sys/statvfs.h: Likewise.
71048         * include/sys/time.h: Likewise.
71049         * include/sys/times.h: Likewise.
71050         * include/sys/uio.h: Likewise.
71051         * include/sys/utsname.h: Likewise.
71052         * include/sys/wait.h: Likewise.
71053         * include/termios.h: Likewise.
71054         * include/time.h: Likewise.
71055         * include/ulimit.h: Likewise.
71056         * include/unistd.h: Likewise.
71057         * include/utime.h: Likewise.
71058         * include/wchar.h: Likewise.
71059         * include/wctype.h: Likewise.
71060         * include/wordexp.h: Likewise.
71062         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71064         * time/time.h: TIME_UTC must be a macro.
71065         Make timespec_get available for ISO C11 only as well.
71067 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71069         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71070         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71072 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71074         * configure.in: Use -o not -a in test for unsupported multi-arch.
71076 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71078         * manual/texinfo.tex: Update to version 2012-01-19.16.
71080 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71082         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71084 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71086         [BZ #13738]
71087         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71088         * manual/fdl-1.3.texi: New file.
71089         * manual/fdl-1.1.texi: File removed.
71091         [BZ #13738]
71092         * manual/libc.texinfo (FDL_VERSION): New @set.
71093         Use it for mention of FDL in cover text.
71094         (Documentation License): Use it in @include file name.
71096 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71097             Roland McGrath  <roland@hack.frob.com>
71099         [BZ #5461]
71100         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71101         (not LONG_LONG_MAX and LONG_LONG_MIN.
71102         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71103         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71104         name.
71105         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71107 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71109         [BZ #2547]
71110         [BZ #11365]
71111         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71112         manipulate bits before adding and subtracting TWO23[sx].
71113         * math/libm-test.inc (nearbyint_test): Add more tests.
71115 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71117         [BZ #2548]
71118         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71119         bits before adding and subtracting TWO23[sx].
71120         * math/libm-test.inc (rint_test): Add more tests.
71121         (rint_test_tonearest): Likewise.
71122         (rint_test_towardzero): Likewise.
71123         (rint_test_downward): Likewise.
71124         (rint_test_upward: Likewise.
71126 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71128         [BZ #10110]
71129         * include/stdc-predef.h: New file.  Extracted from features.h.
71130         * include/features.h: Include stdc-predef.h.
71131         * Makefile (headers): Add stdc-predef.h.
71132         * CONFORMANCE (Compiler limitations): Update.
71134 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71136         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71138 2012-02-21  David S. Miller  <davem@davemloft.net>
71140         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71141         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71143 2012-02-20  David S. Miller  <davem@davemloft.net>
71145         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71146         using a normal save/restore sequence, rather than allocating a
71147         dummy stack frame just to store a frame pointer and restore.
71148         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71150 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71152         * manual/install.texi: Fix stray word in line-wrapped comment.
71154 2012-02-20  David S. Miller  <davem@davemloft.net>
71156         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71157         both binutils and gcc support GOTDATA.
71159         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71160         "rd %pc" in the PIC register setup sequences.
71162         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71163         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71164         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71165         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71166         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71168         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71169         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71170         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71171         (SYSCALL_ERROR_HANDLER): Likewise.
71172         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71173         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71174         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71175         (SYSCALL_ERROR_HANDLER): Likewise.
71177         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71178         (HAVE_GCC_GOTDATA): New.
71179         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71180         relocation support in both binutils and gcc.
71181         * sysdeps/sparc/elf/configure: Regenerate.
71183         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71184         * sysdeps/sparc/sparc32/elf/configure: Delete.
71185         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71186         * sysdeps/sparc/sparc64/elf/configure: Delete.
71187         * sysdeps/sparc/elf/configure.in: New file.
71188         * sysdeps/sparc/elf/configure: Generate.
71190         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71191         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71192         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71193         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71194         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71196 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71198         * manual/install.texi: Do not mention specific glibc version
71199         numbers.
71200         * manual/libc.texinfo (VERSION, UPDATED): Update.
71201         (@copying): Use @copyright{} and range of years.
71203 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71205         [BZ #13695]
71206         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71207         [crti.S not in sysdirs] (generated): Do not append.
71208         [crti.S not in sysdirs] (omit-deps): Likewise.
71209         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71210         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71211         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71212         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71213         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71214         Likewise.
71215         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71216         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71217         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71218         * csu/defs.awk: Remove file.
71219         * sysdeps/generic/initfini.c: Likewise.
71220         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71221         variable.
71222         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71223         Likewise.
71225 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71227         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71228         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71229         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71230         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71231         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71232         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71233         <bits/epoll.h>.
71234         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71235         (__EPOLL_PACKED): Define to empty if not defined by
71236         <bits/epoll.h>.
71237         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71239         bits/epoll.h.
71241 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71243         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71244         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71245         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71246         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71247         <bits/timerfd.h>.
71248         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71250         bits/timerfd.h.
71252 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71254         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71255         in C locale.
71256         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71257         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71258         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71261 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71263         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71264         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71266 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71268         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71269         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71270         defined.
71271         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71272         Likewise.
71273         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71274         entry for 2.16.
71276 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71278         * math/w_acos.c: Use non-signaling floating-point comparisons.
71279         * math/w_acosf.c: Likewise.
71280         * math/w_acosh.c: Likewise.
71281         * math/w_acoshf.c: Likewise.
71282         * math/w_acoshl.c: Likewise.
71283         * math/w_acosl.c: Likewise.
71284         * math/w_asin.c: Likewise.
71285         * math/w_asinf.c: Likewise.
71286         * math/w_asinl.c: Likewise.
71287         * math/w_atanh.c: Likewise.
71288         * math/w_atanhf.c: Likewise.
71289         * math/w_atanhl.c: Likewise.
71290         * math/w_exp2.c: Likewise.
71291         * math/w_exp2f.c: Likewise.
71292         * math/w_exp2l.c: Likewise.
71293         * math/w_j0.c: Likewise.
71294         * math/w_j0f.c: Likewise.
71295         * math/w_j0l.c: Likewise.
71296         * math/w_j1.c: Likewise.
71297         * math/w_j1f.c: Likewise.
71298         * math/w_j1l.c: Likewise.
71299         * math/w_jn.c: Likewise.
71300         * math/w_jnf.c: Likewise.
71301         * math/w_log.c: Likewise.
71302         * math/w_log10.c: Likewise.
71303         * math/w_log10f.c: Likewise.
71304         * math/w_log10l.c: Likewise.
71305         * math/w_log2.c: Likewise.
71306         * math/w_log2f.c: Likewise.
71307         * math/w_log2l.c: Likewise.
71308         * math/w_logf.c: Likewise.
71309         * math/w_logl.c: Likewise.
71310         * math/w_sqrt.c: Likewise.
71311         * math/w_sqrtf.c: Likewise.
71312         * math/w_sqrtl.c: Likewise.
71313         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71314         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71315         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71316         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71317         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71319 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71321         [BZ #9739]
71322         * manual/string.texi (strnlen): Use correct parameter name in
71323         equivalent expression.
71325 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71327         [BZ #11174]
71328         * manual/users.texi (seteuid): Consistently use neweuid for
71329         argument name.
71331 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71333         [BZ #13704]
71334         * manual/nss.texi (Services in the NSS configuration): Correct
71335         list of services in example configuration file.
71337 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71339         [BZ #11322]
71340         * manual/arith.texi: Remove statements about negative zero
71341         behaving identically to zero.
71343 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71345         [BZ #5993]
71346         * manual/install.texi: Do not document upgrading from libc5.
71348 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71350         [BZ #4596]
71351         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71353 2012-02-18  David S. Miller  <davem@davemloft.net>
71355         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71356         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71357         %o7 across the call.
71358         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71359         instead.
71360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71361         SETUP_PIC_REG_LEAF.
71362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71363         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71364         * sysdeps/sparc/crtn.S: Likewise.
71366 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71368         * aout/Makefile: Remove.
71370 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71372         [BZ #13058]
71373         * manual/examples/argp-ex1.c (main): Format definition in GNU
71374         style.
71375         * manual/examples/argp-ex2.c (main): Likewise.
71376         * manual/examples/argp-ex3.c (main): Likewise.
71377         * manual/examples/argp-ex4.c (main): Likewise.
71378         * manual/examples/longopt.c (main): Use new-style prototype
71379         definition.
71380         * manual/examples/strncat.c (main): Specify return type and use
71381         (void) for arguments.
71382         * manual/examples/subopt.c (main): Use char **argv argument.
71384 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71386         [BZ #5077]
71387         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71388         rounding modes.
71390 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71392         [BZ #6907]
71393         * manual/string.texi (strchr): Change when strchrnul is
71394         recommended.
71396 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71398         [BZ #174]
71399         * manual/locale.texi (setlocale): Document LOCPATH.
71401 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71403         [BZ #10210]
71404         * manual/process.texi (execle): Move @dots{} before last argument.
71406 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71408         [BZ #12047]
71409         * manual/charset.texi (Generic Charset Conversion): Fix typo
71410         (LC_TYPE -> LC_CTYPE).
71412 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71414         [BZ #5805]
71415         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71416         (scalbnf): Likewise.
71417         (scalbnl): Likewise.
71418         (scalbln): Likewise.
71419         (scalblnf): Likewise.
71420         (scalblnl): Likewise.
71421         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71422         (vwarnx): Likewise.
71423         (verr): Likewise.
71424         (verrx): Likewise.
71425         * manual/filesys.texi (telldir): Use braces around return type.
71426         * manual/llio.texi (mmap): Add space after comma.
71427         (mmap64): Likewise.
71428         * manual/math.texi (jn): Use @var{} on parameter names.
71429         (jnf): Likewise.
71430         (jnl): Likewise.
71431         (yn): Likewise.
71432         (ynf): Likewise.
71433         (ynl): Likewise.
71434         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71435         line.
71436         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71437         "...".
71438         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71439         (sched_get_priority_max): Likewise.
71440         * manual/signal.texi (sigvec): Add space after comma.
71441         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71442         names.
71443         (if_indextoname): Likewise.
71444         (if_freenameindex): Likewise.
71445         (sendto): Use ',' instead of '.' in prototype.
71446         * manual/startup.texi (syscall): Use @dots{} instead of literal
71447         "...".
71448         * manual/stdio.texi (__fpending): Separate initial words of
71449         paragraph from @deftypefun line.
71450         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71451         "...".
71452         (vsyslog): Use @var{} on parameter names.
71453         * manual/terminal.texi (stty): Use @var{} on parameter names.
71454         * manual/users.texi (getutmp): Use @var{} on parameter names.
71455         (getutmpx): Likewise.
71457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71459         [BZ #6884]
71460         * manual/stdio.texi (fopen): Fix typos in description of
71461         ",ccs=STRING".
71463 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71465         [BZ #4026]
71466         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71467         get clock_id definition.
71469 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71471         [BZ #4822]
71472         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71473         (madvise): Cast every argument to void on its own.
71475 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71477         [BZ #9902]
71478         * manual/startup.texi (Exit Status): Fix typo.
71480 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71482         [BZ #10140]
71483         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71484         * manual/examples/argp-ex2.c: Likewise.
71485         * manual/examples/argp-ex3.c: Likewise.
71487 2012-02-16  Richard Henderson  <rth@redhat.com>
71489         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71490         * sysdeps/s390/s390-32/initfini.c: Remove.
71491         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71492         * sysdeps/s390/s390-64/initfini.c: Remove.
71494 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71496         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71497         compiler output for sysdeps/generic/initfini.c.
71498         * sysdeps/sh/elf/initfini.c: Remove file.
71500 2012-02-16  David S. Miller  <davem@davemloft.net>
71502         [BZ #11494]
71503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71505         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71506         * sysdeps/sparc/crti.S: New file.
71507         * sysdeps/sparc/crtn.S: New file.
71508         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71509         * sysdeps/sparc/sparc64/Makefile: Likewise.
71511 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71513         [BZ #3335]
71514         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71516 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71518         [BZ #4822]
71519         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71521         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71522         (write, read, close): Likewise.
71523         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71525 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71527         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71528         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71529         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71530         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71531         <bits/signalfd.h>.
71532         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71534         bits/signalfd.h.
71536 2012-02-14  Marek Polacek  <polacek@redhat.com>
71538         * sysdeps/x86_64/crti.S: New file.
71539         * sysdeps/x86_64/crtn.S: New file.
71540         * sysdeps/x86_64/elf/initfini.c: Remove file.
71542 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71544         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71545         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71546         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71547         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71548         <bits/inotify.h>.
71549         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71551         bits/inotify.h.
71553 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71555         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71556         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71557         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71558         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71559         <bits/eventfd.h>.
71560         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71562         bits/eventfd.h.
71564 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71566         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71567         __feraiseexcept instead of feraiseexcept.
71569         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71570         nanosleep invocations.
71571         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71572         strings, and add error checking for a nanosleep invocations.
71574 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71576         Replace FSF snail mail address with URLs, as per GNU coding standards.
71577         Most of the snail mail addresses were wrong anyway, and omitting
71578         them makes the source code easier to maintain.  Almost all of the
71579         changes are to license notices and to locale LC_IDENTIFICATION
71580         addresses, except for this one:
71581         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71582         not its snail mail address.
71584 2012-02-09  Richard Henderson  <rth@twiddle.net>
71586         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71587         of kernel-features.h.
71589         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71591 2012-02-08  Marek Polacek  <polacek@redhat.com>
71593         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71594         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71595         * sysdeps/gnu/_G_config.h: Likewise.
71596         * sysdeps/generic/_G_config.h: Likewise.
71598 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71600         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71601         tests.
71602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71604         * sysdeps/powerpc/powerpc32/crti.S: New file.
71605         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71606         * sysdeps/powerpc/powerpc64/crti.S: New file.
71607         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71609         * Makeconfig (have-initfini): Don't set.
71610         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71611         * configure.in (nopic_initfini): Don't substitute.
71612         * config.h.in (HAVE_INITFINI): Don't #undef.
71613         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71614         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71616 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71618         Support crti.S and crtn.S provided directly by architectures.
71619         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71620         [crti.S in sysdirs] (omit-deps): Likewise.
71621         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71622         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71623         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71624         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71625         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71626         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71627         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71628         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71629         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71630         compiler output for sysdeps/generic/initfini.c.
71631         * sysdeps/i386/elf/Makefile: Remove file.
71632         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71634 2012-02-07  Marek Polacek  <polacek@redhat.com>
71636         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71637         * sysdeps/gnu/_G_config.h: Likewise.
71638         * sysdeps/mach/hurd/_G_config.h: Likewise.
71640 2012-02-07  Marek Polacek  <polacek@redhat.com>
71642         * math/Makefile (tests): Add tst-CMPLX2.
71643         * math/tst-CMPLX2.c: New file.
71645 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71647         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71649         * math/libm-test.inc (jn_test): Add missing L suffix.
71651 2012-02-06  Marek Polacek  <polacek@redhat.com>
71653         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71654         * sysdeps/i386/fpu/e_powf.S: Likewise.
71655         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71656         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71657         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71658         * sysdeps/i386/fpu/e_pow.S: Likewise.
71659         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71660         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71661         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71662         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71663         * sysdeps/i386/fpu/e_log2.S: Likewise.
71664         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71665         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71666         * sysdeps/i386/fpu/e_powl.S: Likewise.
71667         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71668         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71669         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71670         * sysdeps/i386/fpu/e_logl.S: Likewise.
71671         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71672         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71673         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71674         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71675         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71676         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71677         * sysdeps/i386/fpu/e_log.S: Likewise.
71678         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71679         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71680         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71681         * sysdeps/i386/fpu/e_logf.S: Likewise.
71682         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71683         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71684         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71685         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71686         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71687         * sysdeps/i386/fpu/e_log10.S: Likewise.
71688         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71689         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71690         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71691         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71692         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71693         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71694         * sysdeps/i386/asm-syntax.h: Likewise.
71695         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71696         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71697         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71698         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71699         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71700         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71701         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71702         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71703         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71704         * sysdeps/powerpc/sysdep.h: Likewise.
71705         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71706         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71708 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71710         [BZ #411]
71711         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71713 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71715         * sysdeps/i386/sysdep.h: Include <features.h>.
71716         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71717         version.
71719 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71721         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71722         Define.
71723         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71724         LOAD_PIC_REG_STR.
71726 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71728         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71729         (SETUP_PIC_REG): Use GET_PC_THUNK.
71730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71731         macro.
71733 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71735         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71736         for non-PIC compilation.
71737         (SETUP_PIC_REG): Add .p2align directive.
71738         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71739         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71740         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71741         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71742         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71743         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71744         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71745         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71746         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71747         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71748         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71749         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71750         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71751         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71752         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71753         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71754         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71755         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71756         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71757         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71759         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71760         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71761         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71762         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71763         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71764         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71765         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71766         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71767         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71768         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71769         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71770         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71771         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71772         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71773         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71774         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71775         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71776         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71777         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71778         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71780 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71782         * math/tst-CMPLX.c: Include <stdio.h>.
71784 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71786         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71787         float.
71788         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71789         * sysdeps/sparc/bits/mathdef.h: Likewise.
71791 2012-01-31  Marek Polacek  <polacek@redhat.com>
71793         * libio/libio.h: Don't define _PARAMS.
71794         * locale/programs/config.h: Don't define PARAMS.
71795         * stdlib/strtol_l.c: Likewise.
71796         (__strtol_l): Remove PARAMS from the prototype.
71798 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71800         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71801         names.  Just use the correct names.  Remove unnecessary wrapper
71802         functions.
71803         * malloc/arena.c: Likewise.
71804         * malloc/hooks.c: Likewise.
71806         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71807         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71808         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71810 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71812         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71813         into tail calls.
71814         (update_get_addr): New function.
71815         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71816         GET_ADDR_MODULE parameter.
71818 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71820         * crypt/cert.c: Remove __STDC__ conditionals.
71821         * crypt/crypt-entry.c: Likewise.
71822         * crypt/crypt_util.c: Likewise.
71823         * libio/filedoalloc.c: Likewise.
71824         * libio/fileops.c: Likewise.
71825         * libio/genops.c: Likewise.
71826         * libio/iofclose.c: Likewise.
71827         * libio/iofdopen.c: Likewise.
71828         * libio/iofopen.c: Likewise.
71829         * libio/iofopen64.c: Likewise.
71830         * libio/iogetdelim.c: Likewise.
71831         * libio/iopopen.c: Likewise.
71832         * libio/obprintf.c: Likewise.
71833         * libio/oldfileops.c: Likewise.
71834         * libio/oldiofclose.c: Likewise.
71835         * libio/oldiofdopen.c: Likewise.
71836         * libio/oldiofopen.c: Likewise.
71837         * libio/oldiopopen.c: Likewise.
71838         * libio/wfiledoalloc.c: Likewise.
71839         * libio/wgenops.c: Likewise.
71840         * locale/programs/xmalloc.c: Likewise.
71841         * misc/syslog.c: Likewise.
71842         * stdio-common/xbug.c: Likewise.
71843         * string/memchr.c: Likewise.
71844         * string/memcmp.c: Likewise.
71845         * string/memrchr.c: Likewise.
71846         * string/rawmemchr.c: Likewise.
71847         * sysdeps/posix/getcwd.c: Likewise.
71848         * time/strftime_l.c: Likewise.
71850 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71852         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71853         * config.make.in (config-cflags-sse2avx): Define.
71854         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71855         Fix typo.
71857 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71859         * scripts/config.guess: Update from upstream config git repository.
71860         * scripts/config.sub: Likewise.
71862 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71864         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71865         (EM_NUM): Update.
71866         (R_TILEPRO_*, R_TILEGX_*): New macros.
71868         * scripts/firstversions.awk: Fix bug in version range handling.
71870         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71872         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71874         * include/sys/epoll.h: New file.
71875         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71876         libc_hidden_def.
71878 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71880         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71881         Avoid unnecessary __WORDSIZE == 64 test.
71882         (fmaxf): Use VEX format if possible.
71883         (fmax): Likewise.
71884         (fminf): Likewise.
71885         (fmin): Likewise.
71887         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71888         * math/math_private.h: Remove libc_fegetround* and
71889         libc_fesetround*.
71890         * sysdeps/i386/configure.in: Check for -msse2avx.
71891         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71892         also if SSE2AVX is defined.
71893         Remove libc_fegetround* and libc_fesetround*.
71894         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71895         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71896         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71897         of HAS_YMM_USABLE.
71898         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71899         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71900         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71901         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71902         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71904         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71906 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71908         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71909         size is not set.
71910         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71912 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71914         [BZ #13618]
71915         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71916         relocation.
71917         * Makeconfig (libm): Define.
71918         * elf/Makefile: Add rules to build and run tst-relsort1.
71919         * elf/tst-relsort1.c: New file.
71920         * elf/tst-relsort1mod1.c: New file.
71921         * elf/tst-relsort1mod2.c: New file.
71923 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71925         * math/s_ldexp.c: Remove __STDC__ conditionals.
71926         * math/s_ldexpf.c: Likewise.
71927         * math/s_ldexpl.c: Likewise.
71928         * math/s_nextafter.c: Likewise.
71929         * math/s_nexttowardf.c: Likewise.
71930         * math/s_significand.c: Likewise.
71931         * math/s_significandf.c: Likewise.
71932         * math/s_significandl.c: Likewise.
71933         * math/w_jnl.c: Likewise.
71934         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71935         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71936         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71937         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71938         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71939         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71940         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71941         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71942         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71943         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71944         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71945         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71946         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71947         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71948         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71949         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71950         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71951         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71952         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71953         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71954         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71955         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71956         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71958         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71959         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71960         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71961         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71962         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71963         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71964         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71965         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71966         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71967         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71968         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71969         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71970         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71971         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71972         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71973         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71974         * sysdeps/ieee754/k_standard.c: Likewise.
71975         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71976         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71977         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71978         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71979         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71980         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71981         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71982         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71983         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71984         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71985         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71986         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71987         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71988         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71989         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71990         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71991         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71992         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71993         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71994         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71996         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71997         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71998         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71999         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72000         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72001         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72004         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72005         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72006         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72007         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72008         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72010         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72011         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72013         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72014         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72015         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72016         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72017         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72018         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72019         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72020         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72021         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72022         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72023         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72024         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72025         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72026         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72027         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72028         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72029         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72030         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72031         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72032         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72033         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72034         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72035         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72036         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72037         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72038         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72039         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72040         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72041         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72042         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72043         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72044         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72045         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72046         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72047         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72048         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72049         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72050         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72051         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72052         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72053         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72054         * sysdeps/ieee754/s_matherr.c: Likewise.
72055         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72056         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72057         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72058         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72060 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72062         * crypt/md5.h: Remove __STDC__ conditionals.
72063         * libio/libioP.h: Likewise.
72064         * locale/programs/config.h: Likewise.
72065         * sysdeps/generic/sysdep.h: Likewise.
72066         * sysdeps/i386/asm-syntax.h: Likewise.
72067         * sysdeps/s390/asm-syntax.h: Likewise.
72068         * sysdeps/unix/sysdep.h: Likewise.
72069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72072 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72074         * libio/libio.h: Remove __STDC__ conditionals.
72075         * malloc/obstack.h: Likewise.
72076         * math/complex.h: Likewise.
72077         * math/math.h: Likewise.
72078         * sysdeps/generic/_G_config.h: Likewise.
72079         * sysdeps/gnu/_G_config.h: Likewise.
72080         * sysdeps/mach/hurd/_G_config.h: Likewise.
72081         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72082         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72083         * sysdeps/sparc/bits/mathdef.h: Likewise.
72085 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72087         [BZ #13583]
72088         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72089         Clean up HAS_* macros.
72090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72091         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72092         possible.
72093         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72094         HAS_AVX.
72095         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72096         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72097         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72098         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72099         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72101 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72103         * elf/tst-unique3.cc (gets): Remove declaration.
72104         * elf/tst-unique3lib.cc (gets): Likewise.
72105         * elf/tst-unique3lib2.cc (gets): Likewise.
72106         * elf/tst-unique4.cc (gets): Likewise.
72108 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72110         * include/stdio.h: Add C++ protection.  Add gets declarations and
72111         definitions.
72112         * debug/tst-chk1.c: Don't declare gets here.
72113         * stdio-common/tst-gets.c: Likewise.
72115 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72117         * posix/glob: Remove directory.
72119 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72121         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72123 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72125         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72126         of the non-standard EPFNOSUPPORT.
72128 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72130         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72131         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72132         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72134 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72136         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72138 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72140         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72141         transient errors.
72142         * nscd/grpcache.c (cache_addgr): Likewise.
72143         * nscd/hstcache.c (cache_addhst): Likewise.
72144         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72145         * nscd/pwdcache.c (cache_addpw): Likewise.
72146         * nscd/servicescache.c (cache_addserv): Likewise.
72148 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72150         * malloc/malloc.c: Various cleanups.
72151         * malloc/hooks.c: Likewise.
72153         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72154         * stdlib/bug-fmtmsg1.c: New file.
72156         * stdlib/fmtmsg.c (init): Add missing unlock.
72157         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72159 2012-01-12  Marek Polacek  <polacek@redhat.com>
72161         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72162         and _GNU_SOURCE.
72164 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72166         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72167         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72168         macro to ensure uniqueness of label name.
72169         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72170         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72172 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72174         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72176         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72177         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72178         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72179         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72181 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72183         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72185         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72186         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72187         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72189         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72191         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72192         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72193         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72194         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72196         * math/bits/math-finite.h: Add ldexp support.
72198 2012-01-10  Marek Polacek  <polacek@redhat.com>
72200         * locale/programs/localedef.h (show_archive_content): Add noreturn
72201         attribute.
72203 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72205         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72207 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72209         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72211         * io/Makefile (headers): Add bits/poll2.h.
72213 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72216         typo #include statement.
72218 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72220         * include/sys/cdefs.h: Define __attribute_alloc_size.
72221         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72222         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72223         * elf/pldd.c: Likewise.
72224         * iconv/iconv_charmap.c: Likewise.
72225         * iconv/iconvconfig.c: Likewise.
72226         * iconv/strtab.c: Likewise.
72227         * locale/programs/locale.c: Likewise.
72228         * locale/programs/localedef.h: Likewise.
72229         * locale/programs/simple-hash.c: Likewise.
72230         * nscd/nscd.h: Likewise.
72231         * nss/makedb.c: Likewise.
72232         * sysdeps/generic/ldconfig.h: Likewise.
72233         * locale/programs/localedef.c: Remove xmalloc prototype.
72234         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72236 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72238         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72239         appropriate.
72241 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72243         * math/Makefile (tests): Add tst-CMPLX.
72244         * math/tst-CMPLX.c: New file.
72246         * math/complex.h (CMPLXL): Fix typo.
72248         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72249         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72250         GLIBC_2.16.
72251         * debug/tst-chk1.c: Add poll and ppoll tests.
72252         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72253         * include/sys/poll.h: Add hidden proto for ppoll.
72254         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72255         * sysdeps/mach/hurd/ppoll.c: Likewise.
72256         * io/ppoll.c: Likewise.
72257         * debug/poll_chk.c: New file.
72258         * debug/ppoll_chk.c: New file.
72259         * include/bits/poll2.h: New file.
72260         * io/bits/poll2.h: New file.
72262         [BZ #1350]
72263         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72265         * configure.in: static is always set to yes.  Remove.
72266         * config.make.in: Don't set build-static.
72267         * Makeconfig: Remove use of build-static.
72268         * dlfcn/Makefile: Likewise.
72269         * elf/Makefile: Likewise.
72270         * math/Makefile: Likewise.
72271         * misc/Makefile: Likewise.
72272         * nptl/Makefile: Likewise.
72273         * sysdeps/mach/hurd/Makefile: Likewise.
72275         * configure.in: PWD_P is not used anymore.
72276         * config.make.in: Remove PWD_P entry.
72278         * configure.in: Remove last remnants of RANLIB.
72279         No need to check for signed size_t anymore.
72280         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72281         and IA-64.
72282         Remove __builtin_expect test because we require at least gcc 3.4.
72283         * aclocal.m4: Likewise.
72285         * wcsmbs/mbrtoc16.c: Implement using towc function.
72286         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72287         * wcsmbs/wcsmbsload.c: Likewise.
72288         * iconv/gconv_simple.c: Likewise.
72289         * iconv/gconv_int.h: Likewise.
72290         * iconv/gconv_builtin.h: Likewise.
72291         * iconv/iconv_prog.c: Remove CHAR16 handling.
72293         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72295         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72297         * configure.in: Remove --with-elf and --enable-bounded options.
72298         Dont set base_machine for ia64.  More non-ELF conditions removed.
72299         Remove testing and setting of leading underscore information.
72300         * config.make.in (build-bounded): Set to no.
72301         * config.h.in: Remove NO_UNDERSCORES entry.
72302         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72303         them.
72304         * csu/start.c: Remove !NO_UNDERSCORE code.
72305         * locale/localeinfo.h: Likewise.
72306         * sysdeps/generic/machine-gmon.h: Likewise.
72307         * sysdeps/generic/sysdep.h: Likewise.
72308         * sysdeps/i386/sysdep.h: Likewise.
72309         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72310         * sysdeps/mach/sysdep.h: Likewise.
72311         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72312         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72313         * sysdeps/sh/sysdep.h: Likewise.
72314         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72315         * sysdeps/unix/i386/sysdep.S: Likewise.
72316         * sysdeps/unix/sparc/start.c: Likewise.
72317         * sysdeps/unix/sparc/sysdep.S: Likewise.
72318         * sysdeps/unix/sparc/sysdep.h: Likewise.
72319         * sysdeps/unix/start.c: Likewise.
72320         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72321         * sysdeps/x86_64/sysdep.h: Likewise.
72323 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72325         [BZ #13553]
72326         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72327         for non-gcc.
72328         * argp/argp-fmtstream.h: Use const instead __const.
72329         * argp/argp.h: Likewise.
72330         * assert/assert.h: Likewise.
72331         * bits/fenv.h: Likewise.
72332         * bits/sched.h: Likewise.
72333         * bits/sigset.h: Likewise.
72334         * bits/sigthread.h: Likewise.
72335         * catgets/nl_types.h: Likewise.
72336         * conform/data/pthread.h-data: Likewise.
72337         * crypt/crypt-private.h: Likewise.
72338         * crypt/crypt.h: Likewise.
72339         * crypt/crypt_util.c: Likewise.
72340         * ctype/ctype.h: Likewise.
72341         * debug/execinfo.h: Likewise.
72342         * debug/mbsnrtowcs_chk.c: Likewise.
72343         * debug/mbsrtowcs_chk.c: Likewise.
72344         * debug/wcsnrtombs_chk.c: Likewise.
72345         * debug/wcsrtombs_chk.c: Likewise.
72346         * debug/wcstombs_chk.c: Likewise.
72347         * dirent/dirent.h: Likewise.
72348         * dlfcn/dlfcn.h: Likewise.
72349         * elf/neededtest4.c: Likewise.
72350         * grp/grp.h: Likewise.
72351         * gshadow/gshadow.h: Likewise.
72352         * iconv/gconv.h: Likewise.
72353         * iconv/gconv_int.h: Likewise.
72354         * iconv/gconv_simple.c: Likewise.
72355         * iconv/iconv.h: Likewise.
72356         * iconv/loop.c: Likewise.
72357         * iconv/skeleton.c: Likewise.
72358         * include/aio.h: Likewise.
72359         * include/aliases.h: Likewise.
72360         * include/argz.h: Likewise.
72361         * include/arpa/inet.h: Likewise.
72362         * include/assert.h: Likewise.
72363         * include/dirent.h: Likewise.
72364         * include/dlfcn.h: Likewise.
72365         * include/execinfo.h: Likewise.
72366         * include/fcntl.h: Likewise.
72367         * include/fenv.h: Likewise.
72368         * include/glob.h: Likewise.
72369         * include/grp.h: Likewise.
72370         * include/libintl.h: Likewise.
72371         * include/mntent.h: Likewise.
72372         * include/netdb.h: Likewise.
72373         * include/pwd.h: Likewise.
72374         * include/rpc/netdb.h: Likewise.
72375         * include/sched.h: Likewise.
72376         * include/search.h: Likewise.
72377         * include/shadow.h: Likewise.
72378         * include/signal.h: Likewise.
72379         * include/stdio.h: Likewise.
72380         * include/stdlib.h: Likewise.
72381         * include/string.h: Likewise.
72382         * include/sys/socket.h: Likewise.
72383         * include/sys/stat.h: Likewise.
72384         * include/sys/statfs.h: Likewise.
72385         * include/sys/statvfs.h: Likewise.
72386         * include/sys/syslog.h: Likewise.
72387         * include/sys/time.h: Likewise.
72388         * include/sys/uio.h: Likewise.
72389         * include/time.h: Likewise.
72390         * include/unistd.h: Likewise.
72391         * include/utmp.h: Likewise.
72392         * include/wchar.h: Likewise.
72393         * include/wctype.h: Likewise.
72394         * inet/aliases.h: Likewise.
72395         * inet/arpa/inet.h: Likewise.
72396         * inet/netinet/ether.h: Likewise.
72397         * inet/netinet/in.h: Likewise.
72398         * intl/libintl.h: Likewise.
72399         * io/bits/fcntl2.h: Likewise.
72400         * io/fcntl.h: Likewise.
72401         * io/ftw.h: Likewise.
72402         * io/sys/poll.h: Likewise.
72403         * io/sys/stat.h: Likewise.
72404         * io/sys/statfs.h: Likewise.
72405         * io/sys/statvfs.h: Likewise.
72406         * io/utime.h: Likewise.
72407         * libio/bits/stdio.h: Likewise.
72408         * libio/bits/stdio2.h: Likewise.
72409         * libio/libio.h: Likewise.
72410         * libio/libioP.h: Likewise.
72411         * libio/stdio.h: Likewise.
72412         * locale/lc-ctype.c: Likewise.
72413         * locale/locale.h: Likewise.
72414         * login/utmp.h: Likewise.
72415         * malloc/arena.c: Likewise.
72416         * malloc/malloc.c: Likewise.
72417         * malloc/malloc.h: Likewise.
72418         * malloc/mcheck.c: Likewise.
72419         * malloc/mtrace.c: Likewise.
72420         * math/bits/mathcalls.h: Likewise.
72421         * math/fenv.h: Likewise.
72422         * math/math_private.h: Likewise.
72423         * misc/bits/error.h: Likewise.
72424         * misc/bits/syslog.h: Likewise.
72425         * misc/err.h: Likewise.
72426         * misc/error.h: Likewise.
72427         * misc/fstab.h: Likewise.
72428         * misc/mntent.h: Likewise.
72429         * misc/regexp.h: Likewise.
72430         * misc/search.h: Likewise.
72431         * misc/sgtty.h: Likewise.
72432         * misc/sys/mman.h: Likewise.
72433         * misc/sys/syslog.h: Likewise.
72434         * misc/sys/uio.h: Likewise.
72435         * misc/sys/xattr.h: Likewise.
72436         * misc/ttyent.h: Likewise.
72437         * nis/rpcsvc/ypclnt.h: Likewise.
72438         * nss/nss.h: Likewise.
72439         * posix/bits/unistd.h: Likewise.
72440         * posix/fnmatch.h: Likewise.
72441         * posix/glob.h: Likewise.
72442         * posix/sched.h: Likewise.
72443         * posix/spawn.h: Likewise.
72444         * posix/sys/wait.h: Likewise.
72445         * posix/unistd.h: Likewise.
72446         * posix/wordexp.h: Likewise.
72447         * pwd/pwd.h: Likewise.
72448         * resolv/netdb.h: Likewise.
72449         * resource/sys/resource.h: Likewise.
72450         * rt/aio.h: Likewise.
72451         * rt/bits/mqueue2.h: Likewise.
72452         * rt/mqueue.h: Likewise.
72453         * shadow/shadow.h: Likewise.
72454         * signal/signal.h: Likewise.
72455         * socket/send.c: Likewise.
72456         * socket/sendto.c: Likewise.
72457         * socket/sys/socket.h: Likewise.
72458         * stdio-common/printf.h: Likewise.
72459         * stdlib/bits/stdlib.h: Likewise.
72460         * stdlib/fmtmsg.h: Likewise.
72461         * stdlib/monetary.h: Likewise.
72462         * stdlib/stdlib.h: Likewise.
72463         * stdlib/ucontext.h: Likewise.
72464         * streams/stropts.h: Likewise.
72465         * string/argz.h: Likewise.
72466         * string/bits/string2.h: Likewise.
72467         * string/string.h: Likewise.
72468         * string/strings.h: Likewise.
72469         * sunrpc/rpc/auth.h: Likewise.
72470         * sunrpc/rpc/auth_des.h: Likewise.
72471         * sunrpc/rpc/clnt.h: Likewise.
72472         * sunrpc/rpc/netdb.h: Likewise.
72473         * sunrpc/rpc/pmap_clnt.h: Likewise.
72474         * sunrpc/rpc/xdr.h: Likewise.
72475         * sysdeps/generic/inttypes.h: Likewise.
72476         * sysdeps/generic/net/if.h: Likewise.
72477         * sysdeps/generic/sys/swap.h: Likewise.
72478         * sysdeps/gnu/net/if.h: Likewise.
72479         * sysdeps/gnu/utmpx.h: Likewise.
72480         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72481         * sysdeps/i386/i486/bits/string.h: Likewise.
72482         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72483         * sysdeps/s390/bits/string.h: Likewise.
72484         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72485         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72486         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72487         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72488         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72489         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72490         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72491         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72492         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72493         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72494         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72495         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72496         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72497         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72498         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72499         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72500         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72501         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72502         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72503         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72504         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72505         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72506         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72507         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72508         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72509         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72510         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72511         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72512         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72513         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72514         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72515         * sysvipc/sys/ipc.h: Likewise.
72516         * sysvipc/sys/msg.h: Likewise.
72517         * sysvipc/sys/sem.h: Likewise.
72518         * sysvipc/sys/shm.h: Likewise.
72519         * termios/termios.h: Likewise.
72520         * time/sys/time.h: Likewise.
72521         * time/time.h: Likewise.
72522         * wcsmbs/bits/wchar2.h: Likewise.
72523         * wcsmbs/uchar.h: Likewise.
72524         * wcsmbs/wchar.h: Likewise.
72525         * wctype/wctype.h: Likewise.
72527         [BZ #13551]
72528         * Makeconfig: Remove all but ELF support including AIX support.
72529         * Makerules: Likewise.
72530         * config.h.in: Likewise.
72531         * config.make.in: Likewise.
72532         * configure: Likewise.
72533         * configure.in: Likewise.
72534         * csu/Makefile: Likewise.
72535         * csu/version.c: Likewise.
72536         * debug/Makefile: Likewise.
72537         * dlfcn/Makefile: Likewise.
72538         * elf/Makefile: Likewise.
72539         * extra-lib.mk: Likewise.
72540         * iconv/Makefile: Likewise.
72541         * include/libc-symbols.h: Likewise.
72542         * include/shlib-compat.h: Likewise.
72543         * resolv/Makefile: Likewise.
72544         * resolv/res_libc.c: Likewise.
72545         * rt/Makefile: Likewise.
72546         * sysdeps/i386/asm-syntax.h: Likewise.
72547         * sysdeps/i386/sysdep.h: Likewise.
72548         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72549         * sysdeps/mach/sysdep.h: Likewise.
72550         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72551         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72552         * sysdeps/s390/asm-syntax.h: Likewise.
72553         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72554         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72555         * sysdeps/sh/sysdep.h: Likewise.
72556         * sysdeps/unix/sparc/sysdep.h: Likewise.
72557         * sysdeps/wordsize-32/divdi3.c: Likewise.
72558         * sysdeps/x86_64/sysdep.h: Likewise.
72560         * argp/Versions: Remove _argp_unlock_xxx.
72562         [BZ #13559]
72563         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72564         * abilist/libBrokenLocale.abilist: Likewise.
72565         * abilist/libanl.abilist: Likewise.
72566         * abilist/libc.abilist: Likewise.
72567         * abilist/libcrypt.abilist: Likewise.
72568         * abilist/libdl.abilist: Likewise.
72569         * abilist/libm.abilist: Likewise.
72570         * abilist/libnsl.abilist: Likewise.
72571         * abilist/libpthread.abilist: Likewise.
72572         * abilist/libresolv.abilist: Likewise.
72573         * abilist/librt.abilist: Likewise.
72574         * abilist/libthread_db.abilist: Likewise.
72575         * abilist/libutil.abilist: Likewise.
72576         * abilist/libnss_db.abilist: New file.
72578         * scripts/abilist.awk: Add support for indirect functions.
72580         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72582         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72584         * shlib-versions: Remove entries for ports architectures.
72586         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72587         files in ports.
72588         * elf/stackguard-macros.h: Remove support for IA-64.
72589         * elf/tst-auditmod1.c: Likewise.
72590         * sysdeps/generic/ldsodefs.h: Likewise.
72592         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72593         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72594         configure files.
72596         [BZ #13552]
72597         * configure.in: Remove --enable-omitfp support.
72598         * FAQ.in: Adjust.
72599         * config.make.in: Likewise.
72600         * Makeconfig: Likewise.
72601         * manual/install.texi: Likewise.
72603         In case anyone cares, the IA-64 architecture could move to ports.
72604         * sysdeps/ia64/*: Removed.
72605         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72606         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72608         [BZ #13555]
72609         * configure.in: Remove entries for unsupported architectures.
72611         [BZ #13533]
72612         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72613         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72614         routines.
72615         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72616         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72617         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72618         fall back to using wcrtomb.
72619         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72620         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72621         renaming.
72622         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72623         * wcsmbs/tst-c16c32-1.c: New file.
72625         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72626         local variable.
72628         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72630         * elf/tst-unique3.cc: Add explicit declaration of gets.
72631         * elf/tst-unique3lib.cc: Likewise.
72632         * elf/tst-unique3lib2.cc: Likewise.
72633         * elf/tst-unique4.cc: Likewise.
72635         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72637 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72639         [BZ #13566]
72640         * assert/assert.h (static_assert): Don't define for C++.
72641         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72642         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72644 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72646         * iconv/loop.c (single loop): Fix assertion in storing of
72647         remaining bytes.
72649         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72651 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72653         * posix/getconf.c: Update copyright year.
72654         * nss/getent.c: Likewise.
72655         * nss/makedb.c: Likewise.
72656         * iconv/iconvconfig.c: Likewise.
72657         * iconv/iconv_prog.c: Likewise.
72658         * elf/ldconfig.c: Likewise.
72659         * elf/pldd.c: Likewise.
72660         * elf/sotruss.ksh: Likewise.
72661         * catgets/gencat.c: Likewise.
72662         * csu/version.c: Likewise.
72663         * elf/ldd.bash.in: Likewise.
72664         * elf/sprof.c (print_version): Likewise.
72665         * locale/programs/locale.c: Likewise.
72666         * locale/programs/localedef.c: Likewise.
72667         * login/programs/pt_chown.c: Likewise.
72668         * nscd/nscd.c (print_version): Likewise.
72669         * debug/xtrace.sh: Likewise.
72670         * malloc/memusage.sh: Likewise.
72671         * malloc/mtrace.pl: Likewise.
72672         * debug/catchsegv.sh: Likewise.
72674 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72676         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72677         pure attribute.
72679 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72681         [BZ #13533]
72682         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72683         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72684         transformations.
72685         * iconv/gconv_int.h: Likewise.
72686         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72687         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72688         from libc for GLIBC_2.16.
72689         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72690         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72691         * wcsmbs/uchar.h: Really define mbstate_t.
72692         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72693         * wcsmbs/c16rtomb.c: New file.
72694         * wcsmbs/mbrtoc16.c: New file.
72695         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72696         for C/POSIX locale.
72697         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72698         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72700         * wcsmbs/wchar.h: Add missing __restrict.
72702 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72704         [BZ #13532]
72705         * time/Makefile (routines): Add timespec_get.
72706         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72707         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72708         timespec for ISO C11.
72709         * time/timespec_get.c: New file.
72710         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72711         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72713         [BZ #13531]
72714         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72715         * stdlib/stdlib.h: Declare aligned_alloc.
72716         * Versions.def: Add GLIBC_2.16 for libc.
72717         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72719         [BZ 13527]
72720         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72721         ISO C11.
72723         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72724         code.
72726         [BZ #13528]
72727         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72729         [BZ #13529]
72730         * assert/assert.h (static_assert): Define.
72732         * version.h: Update for 2.16 development version.
72734         [BZ #13526]
72735         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72736         _ISOC11_SOURCE.
72738         * version.h (RELEASE): Bump for 2.15 release.
72739         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72741         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72742         Patch by Marek Polacek <mpolacek@redhat.com>.
72744         * bits/byteswap.h: Protect long long constants with __extension__.
72745         * sysdeps/i386/bits/byteswap.h: Likewise.
72746         * sysdeps/ia64/bits/byteswap.h: Likewise.
72747         * sysdeps/s390/bits/byteswap.h: Likewise.
72748         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72750 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72752         [BZ #13540]
72753         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72754         destination buffer.
72755         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72757 2011-12-23  Marek Polacek  <polacek@redhat.com>
72759         * elf/dl-addr.c (determine_info): Add inline keyword.
72760         * elf/tst-auditmod4b.c (check_avx): Likewise.
72761         * elf/tst-auditmod6b.c (check_avx): Likewise.
72762         * elf/tst-auditmod6c.c (check_avx): Likewise.
72763         * elf/tst-auditmod7b.c (check_avx): Likewise.
72765 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72767         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72768         !__SSE_MATH__.
72770 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72772         [BZ #13540]
72773         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72774         processing for last bytes.
72776 2011-08-06  Bruno Haible  <bruno@clisp.org>
72778         [BZ #13061]
72779         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72780         U+0385, not to U+1FEE.
72782         [BZ #13062]
72783         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72784         entry for U+00A5 U+0301.
72786 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72788         [BZ #13166]
72789         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72790         buffer for the output is too small.
72792         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72793         optimization.
72795         [BZ #13185]
72796         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72797         SSE flags if possible.
72799 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72801         [BZ #13540]
72802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72803         processing for last bytes.
72805 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72807         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72808         (syscall-list-default-options, syscall-list-default-condition)
72809         (syscall-list-includes): Define.
72810         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72811         list of ABIs and options and #if conditions for each ABI.  Do not
72812         handle common syscalls between ABIs specially.
72813         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72814         Remove.
72815         (syscall-list-variants, syscall-list-32bit-options)
72816         (syscall-list-32bit-condition, syscall-list-64bit-options)
72817         (syscall-list-64bit-condition): Define.
72818         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72819         (syscall-list-variants, syscall-list-32bit-options)
72820         (syscall-list-32bit-condition, syscall-list-64bit-options)
72821         (syscall-list-64bit-condition): Define.
72822         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72823         Remove.
72824         (syscall-list-variants, syscall-list-32bit-options)
72825         (syscall-list-32bit-condition, syscall-list-64bit-options)
72826         (syscall-list-64bit-condition): Define.
72827         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72828         Remove.
72829         (syscall-list-variants, syscall-list-32bit-options)
72830         (syscall-list-32bit-condition, syscall-list-64bit-options)
72831         (syscall-list-64bit-condition): Define.
72833 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72835         * locale/iso-639.def: Add brx entry.
72837         [BZ #13328]
72838         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72839         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72841         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72842         __feraiseexcept_renamed.
72844 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72846         [BZ #13538]
72847         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72848         EPOLLET with unsigned values.
72849         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72850         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72852         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72853         to large cancellation.
72854         * math/s_cacoshf.c: Likewise.
72855         * math/s_cacoshl.c: Likewise.
72857 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72859         [BZ #13305]
72860         [BZ #12786]
72861         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72862         * math/s_cacoshf.c: Likewise.
72863         * math/s_cacoshl.c: Likewise.
72865 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72867         [BZ #13439]
72868         * iconv/gconv.h: Define __GCONV_SWAP.
72869         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72870         * iconvdata/utf-16.c: Likewise.
72871         * iconvdata/utf-32.c: Likewise.
72873 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72875         [BZ #13524]
72876         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72877         numerator after shifting it by one limb.
72879 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72881         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72882         under [__USE_EXTERN_INLINES].
72884 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72886         [BZ #13446]
72887         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72889 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72891         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72892         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72893         optimized code.
72894         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72895         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72896         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72897         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72898         for strncasecmp/strncasecmp_l compilation.
72899         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72900         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72902 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72904         [BZ #13484]
72905         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72906         of __asm__.
72908 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72910         [BZ #13506]
72911         * time/tzfile.c (__tzfile_read): Check values from file header.
72913 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72915         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72916         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72917         * powerpc/powerpc32/dl-start.S: Likewise.
72918         * powerpc/powerpc32/elf/start.S: Likewise.
72919         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72920         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72921         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72922         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72923         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72924         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72925         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72926         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72927         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72928         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72929         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72930         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72931         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72932         * powerpc/powerpc32/memset.S: Likewise.
72933         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72934         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72935         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72936         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72937         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72938         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72939         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72940         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72941         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72942         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72943         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72944         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72945         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72947 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72949         * math/libm-test.inc: Added more nearbyint tests.
72950         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72951         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72952         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72953         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72955 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72957         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72958         FD_CLOEXEC.
72960 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72962         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72963         Add wcscpy-ssse3 wcscpy-c.
72964         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72965         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72966         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72967         * sysdeps/x86_64/wcschr.S: New file.
72968         * sysdeps/x86_64/wcsrchr.S: New file.
72969         * string/test-strcmp.c: Remove checking of wcscmp function for
72970         wrong alignments.
72971         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72972         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72973         wcsrchr-sse2 wcsrchr-c.
72974         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72975         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72976         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72977         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72978         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72979         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72980         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72981         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72982         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72983         * wcsmbc/wcschr.c (WCSCHR): New macro.
72985 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72987         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72988         * wcsmbs/test-wcsrchr.c: New file.
72989         * string/test-strrchr.c: Add wcsrchr support.
72990         (WIDE): New macro.
72991         * wcsmbs/test-wcscpy.c: New file.
72992         * string/test-strcpy.c: Add wcscpy support.
72993         (WIDE): New macro.
72995 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72997         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72998         the inner loop.
73000 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73002         [BZ #13472]
73003         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73005 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73007         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73008         Minor optimizations.
73010         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73011         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73012         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73014 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73016         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73017         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73018         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73019         for gcc to avoid warnings.
73020         * inet/Makefile (tests): Add tst-checks.
73021         * inet/tst-checks.c: New file.
73023         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73024         warning.
73026         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73027         __wmemcmp_sse2.
73029         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73030         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73032         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73034 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73036         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73037         problem.
73039         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73041 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73043         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73044         conditional on GCC version.
73045         (__arch_compare_and_exchange_val_8_acq)
73046         (__arch_compare_and_exchange_val_16_acq)
73047         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73048         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73049         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73051 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73053         * sysdeps/sh/backtrace.c: New file.
73055 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73057         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73058         parenthesis.
73060 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73062         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73063         falling back to utime.
73065 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73067         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73068         expectations for float.
73070 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73072         * locale/weight.h (findidx): Add parameter len.
73073         * locale/weightwc.h (findidx): Likewise.
73074         * posix/fnmatch_loop.c (FCT): Adjust caller.
73075         * posix/regcomp.c (build_equiv_class): Likewise.
73076         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73077         * posix/regexec.c (check_node_accept_bytes): Likewise.
73078         * string/strcoll_l.c (STRCOLL): Likewise.
73079         * string/strxfrm_l.c (STRXFRM): Likewise.
73081 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73083         * Makefile.in: Remove CVSOPT handling.
73084         * configure.in: Remove use of AC_REVISION.
73085         * iconvdata/Makefile (distribute): No need to filter out CVS.
73086         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73087         handling.
73089 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73091         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73092         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73093         [USE_AS_STRNCASECMP_L]: Likewise.
73094         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73095         NO_TLS_DIRECT_SEG_REFS.
73096         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73097         Fix argument offsets for non-PIC.
73098         [USE_AS_STRNCASECMP_L]: Likewise.
73099         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73100         NO_TLS_DIRECT_SEG_REFS.
73102 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73104         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73105         O_CLOEXEC.
73106         * locale/loadlocale.c (_nl_load_locale): Likewise.
73108 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73110         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73111         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73113         (SYSCALL_GETTIME): Set errno on error.
73115         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73116         count references to noai6ai_cached.
73118 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73120         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73122         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73123         FD_CLOEXEC for /proc/self/maps.
73125         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73126         FD_CLOEXEC for /proc/meminfo.
73128         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73129         gai.conf.
73131         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73132         FD_CLOEXEC for given file.
73134         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73136         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73137         FD_CLOEXEC for /etc/hosts.
73138         (_gethtent): Likewise.
73140         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73142         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73143         cancellation and set FD_CLOEXEC for /etc/netgroup.
73145         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73146         reading /etc/publickey.
73148         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73149         allow cancellation when reading /etc/group.
73151         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73152         cancellation.
73153         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73155         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73156         when using data file.
73158         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73160         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73161         (write_nis_obj): Use "c" and "e" in fopen.
73163         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73165         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73167         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73169         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73171         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73172         locale.alias.
73174         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73176         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73178         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73180         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73181         file parsing and set FD_CLOEXEC.
73183 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73185         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73187 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73189         * malloc/arena.c (arena_get2): Don't call reused_arena when
73190         _int_new_arena failed.
73192 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73194         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73195         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73196         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73197         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73198         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73199         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73200         to compile strcasecmp and strncasecmp.
73201         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73202         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73206 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73208         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73209         locale-defines.sym to gen-as-const-headers.
73210         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73211         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73212         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73213         to compile strcasecmp and strncasecmp.
73214         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73215         strcasecmp_l and strncasecmp_l.
73216         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73217         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73218         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73219         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73220         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73221         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73222         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73223         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73224         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73225         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73226         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73228 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73230         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73231         result of SYSDEP_GETTIME_CPU to retval.
73232         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73233         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73235         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73236         variable.
73238         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73239         mantissa words.
73240         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73242         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73243         from unused variable.
73245         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73246         DWARF definitions.
73247         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73248         for assembling.
73250         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73251         over namespaces.
73253         * sunrpc/rpc_prot.c (rejected): Fix case value.
73255         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73256         unsigned long long int to avoid warnings in shift.
73258         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73259         of use of trans.
73260         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73261         variable tmp.
73263         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73264         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73265         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73267         * nis/nis_table.c (nis_list): Use variable of correct type for
73268         result of __follow_path call.
73270 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73272         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73273         of math functions ceil, trunc, floor, round, and sqrt, when
73274         avaliable on the platform.
73275         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73276         name clash.
73277         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73278         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73279         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73281 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73283         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73284         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73286 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73288         * include/unistd.h: Fix __readlink return type.
73289         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73291 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73293         * stdlib/ucontext.h: Undo last change for makecontext.
73295 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73297         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73299         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73300         * setjmp/setjmp.h: Mark functions as non-leaf.
73301         * setjmp/bits/setjmp2.h: Likewise.
73302         * stdlib/ucontext.h: Likewise.
73304 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73306         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73307         (reused_arena): Don't check arena limit.
73308         (arena_get2): Atomically check arena limit.
73310 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73312         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73313         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73316         instructions.
73318 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73320         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73321         handler when locking.
73323         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73324         Fix size of allocated buffer.
73326 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73328         [BZ #10103]
73329         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73330         declarations for long double functions.
73331         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73333         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73335 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73337         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73338         installed.
73340         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73341         is disabled.
73343 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73345         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73347 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73349         * include/alloca.h (stackinfo_alloca_round): Define.
73350         (extend_alloca): Use it.
73351         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73352         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73353         here.
73355         * scripts/check-local-headers.sh: Ignore libaudit.h.
73357         * nscd/Makefile (extra-objs): Make recursively expanded.
73359 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73361         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73362         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73364         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73365         * posix/tst-rfc3484-2.c: Likewise.
73366         * posix/tst-rfc3484-3.c: Likewise.
73368         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73369         process_vm_writev.
73370         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73371         process_vm_writev.
73372         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73373         process_vm_writev from libc using GLIBC_2.15 version.
73375         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73377 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73379         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73380         stack usage.
73382 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73384         [BZ #13367]
73385         * nss/getent.c (initgroups_keys): Show error message in case no group
73386         names are given.
73388         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73389         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73390         __bump_nl_timestamp.
73391         * nscd/connections (nscd_init): When host database is served open
73392         netlink socket and request notification about configuration changes.
73393         (main_loop_poll): Track netlink file descriptor and bump timestamp
73394         in case data becomes available.
73395         (main_loop_epoll): Likewise.
73396         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73397         (database_pers_head): Add extra_data fileds.
73398         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73399         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73400         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73401         Adjust caller.
73402         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73403         in6ai data, call __free_in6ai.
73404         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73405         Add -DHAVE_NETLINK.
73406         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73407         interface information.  Reuse previous data if netlink timestamp
73408         is not changed.
73409         (__bump_nl_timestamp): New function.
73410         (__free_in6ai): New function.
73412 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73414         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73415         close_not_cancel_no_status here.
73416         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73418 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73420         [BZ #13276]
73421         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73422         return value.
73424         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73425         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73426         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73428 2011-07-03  Andreas Jaeger  <aj@suse.de>
73430         [BZ #10709]
73431         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73432         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73433         * math/libm-test.inc (sin_test): Add test case.
73435 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73437         [BZ #13337]
73438         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73439         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73441         * elf/chroot_canon.c (chroot_canon): Cleanups.
73443         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73445         [BZ #13335]
73446         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73447         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73449         * string/test-strchr.c: Make usable for strchrnul testing.
73450         * string/test-strchrnul.c: New file.
73451         * string/Makefile (strop-tests): Add strchrnul.
73453         * po/it.po: Update from translation team.
73454         * po/es.po: Likewise.
73456 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73458         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73459         the three constants needed as parameters.  Drop the others.
73460         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73461         __m128i_strloadu_tolower.
73462         Create and initialize variable zero and use it in all the places
73463         where _mm_setzero_si128 was used.
73465         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73466         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73467         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73468         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73469         anymore.
73470         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73471         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73472         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73473         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73474         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73475         __mpranred, __mptan.
73476         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73477         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73478         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73479         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73480         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73481         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73482         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73483         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73484         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73486 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73488         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73489         redefine if SHARED.
73490         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73492         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73493         wide char related routines to wcsmbs subdir.
73495 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73497         [BZ #13344]
73498         * misc/sys/cdefs.h (__THROWNL): Define.
73499         * posix/unistd.h: Use __THREADNL instead of __THREAD
73500         for memory synchronization functions.
73502 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73504         [BZ #13349]
73505         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73506         doesn't exist.
73507         * manual/stdio.texi (Obstack Streams): Node removed.
73509 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73511         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73512         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73513         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73515         * math/math_private.h (math_force_eval): Allow non-addressable
73516         arguments.
73517         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73519 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73521         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73522         file is not needed.
73524         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73525         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73526         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73527         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73528         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73529         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73530         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73531         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73532         Add AVX variants.
73533         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73534         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73535         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73536         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73537         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73538         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73539         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73540         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73541         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73542         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73543         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73544         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73545         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73546         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73547         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73548         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73549         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73550         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73551         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73553         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73554         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73556         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73557         place.  Use VEX encoding when compiling for AVX.
73559 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73561         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73562         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73564         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73566 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73568         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73569         useless if() expression.
73570         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73571         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73572         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73574         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73575         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73576         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73577         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73578         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73579         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73580         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73581         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73582         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73583         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73584         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73585         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73586         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73587         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73588         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73590         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73592 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73594         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73595         condition.
73596         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73598 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73600         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73601         .text section.  Avoid duplicate constants.
73602         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73603         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73604         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73606         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73610         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73611         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73612         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73613         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73614         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73615         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73616         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73617         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73618         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73619         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73620         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73621         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73622         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73623         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73624         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73625         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73626         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73627         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73628         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73629         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73630         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73631         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73632         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73633         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73634         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73635         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73636         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73637         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73638         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73639         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73640         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73641         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73642         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73643         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73644         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73645         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73646         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73648 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73650         * sysdeps/x86_64/dla.h: Move to ...
73651         * sysdeps/x86_64/fpu/dla.h: ...here.
73652         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73653         situations.  Use __builtin_fma only for gcc 4.6 and up.
73655         * config.make.in: Add have-mfma4 entry.
73656         * configure.in: Substitute libc_cv_cc_fma4.
73657         * math/Makefile (dbl-only-routines): Add sincostab.
73658         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73659         Use __sincostab not sincos.
73660         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73661         name is a macro.
73662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73666         using __copysign.
73667         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73668         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73669         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73670         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73671         and __inv.
73672         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73673         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73674         __copysign.
73675         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73676         define aliases when function name is a macro.
73677         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73678         sysdeps/ieee754/dbl-64/sincos.tbl.
73679         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73680         fma4-enabled routines.
73681         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73682         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73683         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73684         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73685         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73686         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73687         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73688         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73689         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73690         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73691         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73692         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73693         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73694         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73695         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73696         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73697         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73698         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73699         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73700         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73701         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73702         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73703         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73704         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73705         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73706         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73707         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73708         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73709         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73710         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73712         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73713         rename.
73714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73715         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73717         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73718         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73719         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73720         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73721         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73723 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73725         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73727 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73729         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73731         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73732         prediction.
73733         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73735         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73736         Remove unused variable magic_bits.
73737         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73739         * string/strnlen.c: Define and use STRNLEN macro.
73740         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73741         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73742         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73743         * wcsmbs/wcslen.c: Define and use WCSLEN.
73744         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73745         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73746         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73747         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73748         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73749         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73750         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73752 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73755         strnlen-sse2-no-bsf.
73756         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73757         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73758         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73759         Add strnlen support.
73760         (USE_AS_STRNLEN): New macro.
73761         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73762         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73763         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73764         * sysdeps/x86_64/wcslen.S: New file.
73766 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73768         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73769         XMM-moves are used for copying on small sizes.
73771 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73773         * wcsmbs/Makefile (strop-tests): Add wcschr.
73774         * wcsmbs/test-wcschr.c: New file.
73775         * string/test-strchr.c: Update.
73776         Add wcschr support.
73777         (WIDE): New macro.
73779 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73781         * wcsmbs/Makefile (strop-tests): Add wcslen.
73782         * wcsmbs/test-wcslen.c: New file.
73783         * string/test-strlen.c: Update.
73784         Add wcslen support.
73785         (WIDE): New macro.
73787 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73789         * po/it.po: Update from translation team.
73791 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73793         * sysdeps/x86_64/wcscmp.S: Update.
73794         Fix wrong comparison semantics.
73795         wcscmp shall use signed comparison not unsigned.
73796         Don't use substraction to avoid overflow bug.
73797         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73798         * wcsmbc/wcscmp.c: Likewise.
73799         * string/test-strcmp.c: Likewise.
73800         Add new tests to check cases with negative values.
73802 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73804         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73805         * sysdeps/x86_64/dla.h: ...here.  New file.
73806         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73807         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73808         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73809         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73810         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73816 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73819         __ynl_finite aliases.
73821 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73825         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73826         define DLA_FMA.
73827         [DLA_FMA] (EMULV): Use DLA_FMA.
73828         [DLA_FMA] (MUL12): Use EMULV.
73829         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73830         that are not needed.
73831         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73832         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73833         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73834         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73836         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73837         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73839 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73841         * math/s_nan.c: Undef __nan.
73842         * math/s_nanf.c: Undef __nanf.
73843         * math/s_nanl.c: Undef __nanl.
73844         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73845         "math_private.h".
73847 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73849         * math/s_catan.c: Add branch predictions.
73850         * math/s_catanf.c: Likewise.
73851         * math/s_catanh.c: Likewise.
73852         * math/s_catanhf.c: Likewise.
73853         * math/s_catanhl.c: Likewise.
73854         * math/s_catanl.c: Likewise.
73855         * math/s_cexp.c: Likewise.
73856         * math/s_cexpf.c: Likewise.
73857         * math/s_cexpl.c: Likewise.
73858         * math/s_clog.c: Likewise.
73859         * math/s_clog10.c: Likewise.
73860         * math/s_clog10f.c: Likewise.
73861         * math/s_clog10l.c: Likewise.
73862         * math/s_clogf.c: Likewise.
73863         * math/s_clogl.c: Likewise.
73864         * math/s_csqrt.c: Likewise.
73865         * math/s_csqrtf.c: Likewise.
73866         * math/s_csqrtl.c: Likewise.
73867         * math/s_ctanf.c: Likewise.
73868         * math/s_ctanh.c: Likewise.
73869         * math/s_ctanhf.c: Likewise.
73870         * math/s_ctanhl.c: Likewise.
73871         * math/s_ctanl.c: Likewise.
73873         * math/math_private.h: Define __nan, __nanf, __nanl.
73874         * math/s_cacosh.c: Include <math_private.h>.
73875         * math/s_cacoshl.c: Likewise.
73876         * math/s_casinh.c: Likewise.
73877         * math/s_casinhf.c: Likewise.
73878         * math/s_casinhl.c: Likewise.
73879         * math/s_ccos.c: Rely entire on ccosh.
73880         * math/s_ccosf.c: Rely entire on ccoshf.
73881         * math/s_ccosl.c: Rely entirely on ccoshl.
73882         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73883         Remove tests for FE_INVALID.
73884         * math/s_ccoshf.c: Likewise.
73885         * math/s_ccoshl.c: Likewise.
73886         * math/s_csin.c: Likewise.
73887         * math/s_csinf.c: Likewise.
73888         * math/s_csinh.c Likewise.
73889         * math/s_csinhf.c: Likewise.
73890         * math/s_csinhl.c: Likewise.
73891         * math/s_csinl.c: Likewise.
73892         * math/s_ctan.c: Likewise.
73893         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73894         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73895         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73897 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73900         compilation problems.
73902         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73903         __builtin_expect.
73905 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73907         * sysdeps/i386/configure.in: Test for -mfma4 option.
73908         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73909         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73910         COMMON_CPUID_INDEX_80000001.
73911         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73912         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73913         use it if FMA3 is not supported.
73914         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73916         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73917         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73919 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73921         [BZ #12892]
73922         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73923         it would create a cycle with a link time dependency.
73925 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73927         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73928         instruction.
73929         * string/Makefile (strop-tests): Add rawmemchr.
73930         * string/test-rawmemchr.c: New file.
73932         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73933         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73934         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73935         when compiling str{,n}casecmp and when AVX is available.  Hook up
73936         new optimized code in initializers.
73938 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73940         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73941         __feraiseexcept instead of feraiseexcept.
73943 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73945         * math/math_private.h: Define defaults for libc_fetestexcept and
73946         libc_feupdateenv.
73947         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73948         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73949         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73950         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73951         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73952         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73953         libc_fetestexcept and libc_feupdateenv.
73955         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73956         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73957         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73958         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73959         libc_feholdexcept_setround.
73961         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73962         Add s_nearbyint-c and s_nearbyintf-c.
73963         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73964         nearbyintf inlines.
73965         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73966         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73967         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73968         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73970         * math/math_private.h: Define defaults for libc_fegetround,
73971         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73972         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73973         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73974         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73975         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73976         standard functions.
73977         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73978         Remove comments and hacks for old compiler versions.
73979         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73980         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73981         libc_feholdexceptl.
73983 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73985         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73986         (__feraiseexcept_renamed): Add __NTH.
73987         (feraiseexcept): Add __NTH.  Rename local variables to fix
73988         namespace violations.
73990 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73992         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73994         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73996         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73997         recently added interfaces.
73998         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74000         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74001         about macro parameter expansion.
74003         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74004         __NO_MATH_INLINES is defined.  Cleanups.
74006         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74007         and __floorf is target has SSE4.1.
74008         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74009         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74010         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74011         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74013         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74014         name.
74015         (floorf): Likewise.
74017         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74019 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74021         * misc/sys/cdefs.h: Fix last change.
74023         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74024         database lookup.
74026 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74028         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74030         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74031         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74032         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74033         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74035         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74036         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74037         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74038         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74039         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74040         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74041         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74042         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74043         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74044         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74045         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74046         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74047         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74048         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74049         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74050         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74051         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74053         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74054         ceil, ceilf, floor, floorf.
74056         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74057         Perform IRELATIVE relocations last.
74059         * elf/do-rel.h: Add another parameter nrelative, replacing the
74060         local variable with the same name.  Change name of the function
74061         to end in Rel or Rela (uppercase).
74062         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74063         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74064         elf_dynamic_do_##reloc function.
74066 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74068         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74069         is sufficient, at least on modern CPUs.
74071         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74073         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74074         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74076         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74077         __expl_finite.
74078         * math/bits/math-finite.h: Add entries for exp.
74079         * math/e_expl.c: Add __*_finite alias.
74080         * sysdeps/i386/fpu/e_exp.S: Likewise.
74081         * sysdeps/i386/fpu/e_expf.S: Likewise.
74082         * sysdeps/i386/fpu/e_expl.c: Likewise.
74083         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74084         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74085         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74086         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74087         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74088         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74089         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74091         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74092         is sufficient, at least on modern CPUs.
74094         * ctype/ctype-info.c (__ctype_init): Define.
74095         * include/ctype.h (__ctype_init): Declare.
74096         (__ctype_b_loc): The variable is always initialized.
74097         (__ctype_toupper_loc): Likewise.
74098         (__ctype_tolower_loc): Likewise.
74099         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74100         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74102 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74104         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74106         * configure.in: Also look in $cxxmachine/include for C++ system
74107         headers.
74109 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74111         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74112         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74113         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74114         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74115         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74116         (USE_AS_WMEMCMP): New macro.
74117         Fixing indents.
74118         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74119         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74120         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74121         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74123         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74124         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74125         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74126         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74127         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74128         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74129         (USE_AS_WMEMCMP): New macro.
74130         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74131         * sysdeps/string/test-memcmp.c: Update.
74132         Fix simple_wmemcmp.
74133         Add new tests.
74134         * wcsmbs/wmemcmp.c: Update.
74135         (WMEMCMP): New macro.
74136         Fix overflow bug.
74138 2011-10-12  Andreas Jaeger  <aj@suse.de>
74140         [BZ #13268]
74141         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74143 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74145         * libio/iofwide.c (do_length): Avoid warning.
74147         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74149 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74151         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74153         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74154         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74155         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74156         * sysdeps/i386/i686/fpu/e_log.S: New file.
74157         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74158         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74160         * ctype/ctype.h: Add support for inlined isXXX functions when
74161         compiling C++ code.
74163 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74165         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74167         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74169 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74171         [BZ #13291]
74172         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74174 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74176         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74177         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74178         feraiseexcept.
74180         * sysdeps/x86_64/memrchr.S: Check for zero size.
74182         * string/stratcliff.c: Add memrchr tests.
74184 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74187         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74188         rawmemchr-sse2 rawmemchr-sse2-bsf.
74189         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74190         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74191         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74192         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74193         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74194         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74195         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74196         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74197         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74198         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74199         * string/memrchr.c (MEMRCHR): New macro.
74201 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74203         Add integration with gcc's -ffinite-math-only and optimize wrapper
74204         functions in libm.
74205         * Versions.def: Define GLIBC_2.15 version for libm.
74206         * math/Makefile (headers): Add bits/math-finite.h.
74207         * math/bits/math-finite.h: New file.
74208         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74209         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74210         * math/e_acoshl.c: Add __*_finite alias.
74211         * math/e_acosl.c: Likewise.
74212         * math/e_asinl.c: Likewise.
74213         * math/e_atan2l.c: Likewise.
74214         * math/e_atanhl.c: Likewise.
74215         * math/e_coshl.c: Likewise.
74216         * math/e_exp10.c: Likewise.
74217         * math/e_exp10f.c: Likewise.
74218         * math/e_exp10l.c: Likewise.
74219         * math/e_exp2l.c: Likewise.
74220         * math/e_fmodl.c: Likewise.
74221         * math/e_gammal_r.c: Likewise.
74222         * math/e_hypotl.c: Likewise.
74223         * math/e_j0l.c: Likewise.
74224         * math/e_j1l.c: Likewise.
74225         * math/e_jnl.c: Likewise.
74226         * math/e_lgammal_r.c: Likewise.
74227         * math/e_log10l.c: Likewise.
74228         * math/e_log2l.c: Likewise.
74229         * math/e_logl.c: Likewise.
74230         * math/e_powl.c: Likewise.
74231         * math/e_sinhl.c: Likewise.
74232         * math/e_sqrtl.c: Likewise.
74233         * math/e_scalb.c: Completely rewritten and optimized.
74234         * math/e_scalbf.c: Likewise.
74235         * math/e_scalbl.c: Likewise.
74236         * math/w_acos.c: Likewise.
74237         * math/w_acosf.c: Likewise.
74238         * math/w_acosl.c: Likewise.
74239         * math/w_acosh.c: Likewise.
74240         * math/w_acoshf.c: Likewise.
74241         * math/w_acoshl.c: Likewise.
74242         * math/w_asin.c: Likewise.
74243         * math/w_asinf.c: Likewise.
74244         * math/w_asinl.c: Likewise.
74245         * math/w_atan2.c: Likewise.
74246         * math/w_atan2f.c: Likewise.
74247         * math/w_atan2l.c: Likewise.
74248         * math/w_atanh.c: Likewise.
74249         * math/w_atanhf.c: Likewise.
74250         * math/w_atanhl.c: Likewise.
74251         * math/w_exp10.c: Likewise.
74252         * math/w_exp10f.c: Likewise.
74253         * math/w_exp10l.c: Likewise.
74254         * math/w_fmod.c: Likewise.
74255         * math/w_fmodf.c: Likewise.
74256         * math/w_fmodl.c: Likewise.
74257         * math/w_j0.c: Likewise.
74258         * math/w_j0f.c: Likewise.
74259         * math/w_j0l.c: Likewise.
74260         * math/w_j1.c: Likewise.
74261         * math/w_j1f.c: Likewise.
74262         * math/w_j1l.c: Likewise.
74263         * math/w_jn.c: Likewise.
74264         * math/w_jnf.c: Likewise.
74265         * math/w_log.c: Likewise.
74266         * math/w_logf.c: Likewise.
74267         * math/w_logl.c: Likewise.
74268         * math/w_log10.c: Likewise.
74269         * math/w_log10f.c: Likewise.
74270         * math/w_log10l.c: Likewise.
74271         * math/w_log2.c: Likewise.
74272         * math/w_log2f.c: Likewise.
74273         * math/w_log2l.c: Likewise.
74274         * math/w_pow.c: Likewise.
74275         * math/w_powf.c: Likewise.
74276         * math/w_powl.c: Likewise.
74277         * math/w_remainder.c: Likewise.
74278         * math/w_remainderf.c: Likewise.
74279         * math/w_remainderl.c: Likewise.
74280         * math/w_scalb.c: Likewise.
74281         * math/w_scalbf.c: Likewise.
74282         * math/w_scalbl.c: Likewise.
74283         * math/w_sqrt.c: Likewise.
74284         * math/w_sqrtf.c: Likewise.
74285         * math/w_sqrtl.c: Likewise.
74286         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74287         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74288         used.
74289         * math/math_private.h: Declare __kernel_standard_f.
74290         * math/w_cosh.c: Remove cruft and optimize a bit.
74291         * math/w_coshf.c: Likewise.
74292         * math/w_coshl.c: Likewise.
74293         * math/w_exp2.c: Likewise.
74294         * math/w_exp2f.c: Likewise.
74295         * math/w_exp2l.c: Likewise.
74296         * math/w_hypot.c: Likewise.
74297         * math/w_hypotf.c: Likewise.
74298         * math/w_hypotl.c: Likewise.
74299         * math/w_lgamma.c: Likewise.
74300         * math/w_lgamma_r.c: Likewise.
74301         * math/w_lgammaf.c: Likewise.
74302         * math/w_lgammaf_r.c: Likewise.
74303         * math/w_lgammal.c: Likewise.
74304         * math/w_lgammal_r.c: Likewise.
74305         * math/w_sinh.c: Likewise.
74306         * math/w_sinhf.c: Likewise.
74307         * math/w_sinhl.c: Likewise.
74308         * math/w_tgamma.c: Likewise.
74309         * math/w_tgammaf.c: Likewise.
74310         * math/w_tgammal.c: Likewise.
74311         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74312         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74313         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74314         Minor optimizations.  Pretty printing.  Remove cruft.
74315         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74316         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74317         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74318         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74319         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74320         * sysdeps/i386/fpu/e_asin.S: Likewise.
74321         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74322         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74323         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74324         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74325         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74326         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74327         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74328         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74329         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74330         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74331         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74332         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74333         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74334         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74335         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74336         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74337         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74338         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74339         * sysdeps/i386/fpu/e_log.S: Likewise.
74340         * sysdeps/i386/fpu/e_log10.S: Likewise.
74341         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74342         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74343         * sysdeps/i386/fpu/e_log2.S: Likewise.
74344         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74345         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74346         * sysdeps/i386/fpu/e_logf.S: Likewise.
74347         * sysdeps/i386/fpu/e_logl.S: Likewise.
74348         * sysdeps/i386/fpu/e_pow.S: Likewise.
74349         * sysdeps/i386/fpu/e_powf.S: Likewise.
74350         * sysdeps/i386/fpu/e_powl.S: Likewise.
74351         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74352         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74353         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74354         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74355         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74356         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74357         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74358         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74359         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74360         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74361         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74363         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74364         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74365         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74366         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74367         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74368         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74369         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74370         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74371         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74373         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74374         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74376         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74377         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74378         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74379         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74380         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74381         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74382         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74383         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74384         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74385         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74386         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74387         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74388         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74389         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74390         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74391         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74392         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74393         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74394         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74395         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74396         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74397         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74398         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74399         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74400         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74401         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74402         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74403         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74404         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74405         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74406         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74407         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74408         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74409         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74410         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74415         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74416         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74417         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74418         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74419         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74420         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74421         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74422         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74423         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74424         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74425         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74426         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74427         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74428         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74429         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74430         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74431         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74432         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74433         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74434         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74435         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74436         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74437         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74438         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74439         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74440         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74441         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74442         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74443         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74444         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74445         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74446         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74447         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74448         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74449         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74450         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74451         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74452         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74453         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74454         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74455         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74456         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74457         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74458         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74459         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74460         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74461         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74462         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74463         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74464         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74465         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74466         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74467         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74468         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74469         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74470         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74471         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74472         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74473         (__isnanf): Likewise.
74474         (__isinf_ns): Likewise.
74475         (__isinf_nsf): Likewise.
74476         (__finite): Likewise.
74477         (__finitef): Likewise.
74478         (__ieee754_sqrt): Define as macro.
74479         (__ieee754_sqrtf): Define as macro.
74480         (__ieee754_sqrtl): Define as macro.
74481         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74482         inlined copy.
74483         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74484         __FINITE_MATH_ONLY__ consistent.
74485         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74487 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74489         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74490         of rawmemchr.
74492         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74494 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74496         * po/ja.po: Update from translation team.
74498 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74500         * locale/programs/locarchive.c (prepare_address_space): New function.
74501         (create_archive, enlarge_archive, open_archive): Use it.
74503         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74504         inside [SHARED], where it is used.
74506         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74508         * nss/getent.c (netgroup_keys): Remove unused variable.
74509         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74511 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74513         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74514         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74516         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74517         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74518         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74519         * math/Makefile (libm-calls): Add s_isinf_ns.
74520         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74521         * math/multc3.c: Likewise.
74522         * math/s_casin.c: Likewise.
74523         * math/s_casinf.c: Likewise.
74524         * math/s_casinl.c: Likewise.
74525         * math/s_ccos.c: Likewise.
74526         * math/s_ccosf.c: Likewise.
74527         * math/s_ccosl.c: Likewise.
74528         * math/s_ctan.c: Likewise.
74529         * math/s_ctanf.c: Likewise.
74530         * math/s_ctanh.c: Likewise.
74531         * math/s_ctanhf.c: Likewise.
74532         * math/s_ctanhl.c: Likewise.
74533         * math/s_ctanl.c: Likewise.
74534         * math/w_fmod.c: Likewise.
74535         * math/w_fmodf.c: Likewise.
74536         * math/w_fmodl.c: Likewise.
74537         * math/w_remainder.c: Likewise.
74538         * math/w_remainderf.c: Likewise.
74539         * math/w_remainderl.c: Likewise.
74540         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74541         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74542         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74543         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74544         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74545         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74546         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74547         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74549         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74550         of the number.
74551         * stdio-common/printf_fphex.c: Likewise.
74552         * stdio-common/printf_size.c: Likewise.
74554         * math/e_exp10.c: Include math_private.h using <...> not "...".
74555         * math/e_exp10f.c: Likewise.
74556         * math/e_exp10l.c: Likewise.
74557         * math/e_exp2l.c: Likewise.
74558         * math/e_j0l.c: Likewise.
74559         * math/e_j1l.c: Likewise.
74560         * math/e_jnl.c: Likewise.
74561         * math/e_lgammal_r.c: Likewise.
74562         * math/e_rem_pio2l.c: Likewise.
74563         * math/e_scalb.c: Likewise.
74564         * math/e_scalbf.c: Likewise.
74565         * math/e_scalbl.c: Likewise.
74566         * math/k_cosl.c: Likewise.
74567         * math/k_sinl.c: Likewise.
74568         * math/k_tanl.c: Likewise.
74569         * math/s_cacoshf.c: Likewise.
74570         * math/s_catan.c: Likewise.
74571         * math/s_catanf.c: Likewise.
74572         * math/s_catanh.c: Likewise.
74573         * math/s_catanhf.c: Likewise.
74574         * math/s_catanhl.c: Likewise.
74575         * math/s_catanl.c: Likewise.
74576         * math/s_ccosh.c: Likewise.
74577         * math/s_ccoshf.c: Likewise.
74578         * math/s_ccoshl.c: Likewise.
74579         * math/s_cexp.c: Likewise.
74580         * math/s_cexpf.c: Likewise.
74581         * math/s_cexpl.c: Likewise.
74582         * math/s_clog.c: Likewise.
74583         * math/s_clog10.c: Likewise.
74584         * math/s_clog10f.c: Likewise.
74585         * math/s_clog10l.c: Likewise.
74586         * math/s_clogf.c: Likewise.
74587         * math/s_clogl.c: Likewise.
74588         * math/s_csin.c: Likewise.
74589         * math/s_csinf.c: Likewise.
74590         * math/s_csinh.c: Likewise.
74591         * math/s_csinhf.c: Likewise.
74592         * math/s_csinhl.c: Likewise.
74593         * math/s_csinl.c: Likewise.
74594         * math/s_csqrt.c: Likewise.
74595         * math/s_csqrtf.c: Likewise.
74596         * math/s_csqrtl.c: Likewise.
74597         * math/s_ctan.c: Likewise.
74598         * math/s_ctanf.c: Likewise.
74599         * math/s_ctanh.c: Likewise.
74600         * math/s_ctanhf.c: Likewise.
74601         * math/s_ctanhl.c: Likewise.
74602         * math/s_ctanl.c: Likewise.
74603         * math/s_ldexp.c: Likewise.
74604         * math/s_ldexpf.c: Likewise.
74605         * math/s_ldexpl.c: Likewise.
74606         * math/s_significand.c: Likewise.
74607         * math/s_significandf.c: Likewise.
74608         * math/s_significandl.c: Likewise.
74609         * math/w_acos.c: Likewise.
74610         * math/w_acosf.c: Likewise.
74611         * math/w_acosh.c: Likewise.
74612         * math/w_acoshf.c: Likewise.
74613         * math/w_acoshl.c: Likewise.
74614         * math/w_acosl.c: Likewise.
74615         * math/w_asin.c: Likewise.
74616         * math/w_asinf.c: Likewise.
74617         * math/w_asinl.c: Likewise.
74618         * math/w_atan2.c: Likewise.
74619         * math/w_atan2f.c: Likewise.
74620         * math/w_atan2l.c: Likewise.
74621         * math/w_atanh.c: Likewise.
74622         * math/w_atanhf.c: Likewise.
74623         * math/w_atanhl.c: Likewise.
74624         * math/w_cosh.c: Likewise.
74625         * math/w_coshf.c: Likewise.
74626         * math/w_coshl.c: Likewise.
74627         * math/w_dremf.c: Likewise.
74628         * math/w_exp10.c: Likewise.
74629         * math/w_exp10f.c: Likewise.
74630         * math/w_exp10l.c: Likewise.
74631         * math/w_exp2.c: Likewise.
74632         * math/w_exp2f.c: Likewise.
74633         * math/w_fmod.c: Likewise.
74634         * math/w_fmodf.c: Likewise.
74635         * math/w_fmodl.c: Likewise.
74636         * math/w_hypot.c: Likewise.
74637         * math/w_hypotf.c: Likewise.
74638         * math/w_hypotl.c: Likewise.
74639         * math/w_j0.c: Likewise.
74640         * math/w_j0f.c: Likewise.
74641         * math/w_j0l.c: Likewise.
74642         * math/w_j1.c: Likewise.
74643         * math/w_j1f.c: Likewise.
74644         * math/w_j1l.c: Likewise.
74645         * math/w_jn.c: Likewise.
74646         * math/w_jnf.c: Likewise.
74647         * math/w_jnl.c: Likewise.
74648         * math/w_lgamma.c: Likewise.
74649         * math/w_lgamma_r.c: Likewise.
74650         * math/w_lgammaf.c: Likewise.
74651         * math/w_lgammaf_r.c: Likewise.
74652         * math/w_lgammal.c: Likewise.
74653         * math/w_lgammal_r.c: Likewise.
74654         * math/w_log.c: Likewise.
74655         * math/w_log10.c: Likewise.
74656         * math/w_log10f.c: Likewise.
74657         * math/w_log10l.c: Likewise.
74658         * math/w_log2.c: Likewise.
74659         * math/w_log2f.c: Likewise.
74660         * math/w_log2l.c: Likewise.
74661         * math/w_logf.c: Likewise.
74662         * math/w_logl.c: Likewise.
74663         * math/w_pow.c: Likewise.
74664         * math/w_powf.c: Likewise.
74665         * math/w_powl.c: Likewise.
74666         * math/w_remainder.c: Likewise.
74667         * math/w_remainderf.c: Likewise.
74668         * math/w_remainderl.c: Likewise.
74669         * math/w_scalb.c: Likewise.
74670         * math/w_scalbf.c: Likewise.
74671         * math/w_scalbl.c: Likewise.
74672         * math/w_sinh.c: Likewise.
74673         * math/w_sinhf.c: Likewise.
74674         * math/w_sinhl.c: Likewise.
74675         * math/w_sqrt.c: Likewise.
74676         * math/w_sqrtf.c: Likewise.
74677         * math/w_sqrtl.c: Likewise.
74678         * math/w_tgamma.c: Likewise.
74679         * math/w_tgammaf.c: Likewise.
74680         * math/w_tgammal.c: Likewise.
74682         * po/ja.po: Update from translation team.
74684 2011-09-29  Andreas Jaeger  <aj@suse.de>
74686         [BZ #13179]
74687         * sunrpc/netname.c (netname2host): Fix logic.
74689         [BZ #6779]
74690         [BZ #6783]
74691         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74692         correctly.
74693         * math/w_remainder.c (__remainder): Likewise.
74694         * math/w_remainderf.c (__remainderf): Likewise.
74695         * math/libm-test.inc (remainder_test): Add test cases.
74697 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74699         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74700         sdiv_qrnnd.
74702 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74704         * string/test-memcmp.c: Avoid unncessary #defines.
74705         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74707 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74709         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74710         Use new sse2 version for core i3 - i7 as it's faster
74711         than sse42 version.
74712         (bit_Prefer_PMINUB_for_stringop): New.
74713         * sysdeps/x86_64/rawmemchr.S: Update.
74714         Replace with faster SSE2 version.
74715         * sysdeps/x86_64/memrchr.S: New file.
74716         * sysdeps/x86_64/memchr.S: Update.
74717         Replace with faster SSE2 version.
74719 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74721         * elf/dl-load.c (lose): Add cast to avoid warning.
74723 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74725         * po/ca.po: Update from translation team.
74727         * inet/getnetgrent_r.c: Hook up nscd.
74728         * nscd/Makefile (routines): Add nscd_netgroup.
74729         (nscd-modules): Add netgroupcache.
74730         (CFLAGS-netgroupcache.c): Define.
74731         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74732         (cache_search): Add const to second parameter.
74733         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74734         INNETGR.
74735         (dbs): Add netgrdb entry.
74736         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74737         (verify_persistent_db): Handle netgrdb.
74738         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74739         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74740         GETFDNETGR.
74741         (netgroup_response_header): Define.
74742         (innetgroup_response_header): Define.
74743         (datahead): Add netgroup_response_header and innetgroup_response_header
74744         elements.
74745         * nscd/nscd.conf: Add entries for netgroup cache.
74746         * nscd/nscd.h (dbtype): Add netgrdb.
74747         (_PATH_NSCD_NETGROUP_DB): Define.
74748         (netgroup_iov_disabled): Declare.
74749         (xmalloc, xcalloc, xrealloc): Move declarations here.
74750         (cache_search): Adjust prototype.
74751         Add netgroup-related prototypes.
74752         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74753         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74754         (__nscd_innetgr): Declare.
74755         * nscd/selinux.c (perms): Use access_vector_t as element type and
74756         add netgroup-related initializers.
74757         * nscd/netgroupcache.c: New file.
74758         * nscd/nscd_netgroup.c: New file.
74759         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74760         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74761         For four parameters use innetgr.
74762         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74763         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74764         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74765         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74767         * nscd/connections.c (register_traced_file): Don't register file
74768         for disabled databases.
74770 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74772         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74774         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74775         from tree and freeing node.
74777 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74779         * nss/nsswitch.c (__nss_database_lookup): Handle
74780         nss_parse_service_list out of memory case.
74782 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74784         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74785         out of memory case.
74787 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74789         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74790         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74791         pass it down.
74792         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74793         elf_machine_rela, elf_machine_lazy_rel.
74794         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74795         (ELF_DYNAMIC_DO_REL): Likewise.
74796         (ELF_DYNAMIC_DO_RELA): Likewise.
74797         (ELF_DYNAMIC_RELOCATE): Likewise.
74798         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74799         to ELF_DYNAMIC_DO_REL.
74800         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74801         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74802         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74803         elf_machine_rela.
74804         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74805         skip_ifunc, don't call ifunc function if non-zero.
74806         (elf_machine_rela): Likewise.
74807         (elf_machine_lazy_rel): Likewise.
74808         (elf_machine_lazy_rela): Likewise.
74809         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74810         (elf_machine_lazy_rel): Likewise.
74811         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74812         Likewise.
74813         (elf_machine_lazy_rel): Likewise.
74814         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74815         Likewise.
74816         (elf_machine_lazy_rel): Likewise.
74817         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74818         (elf_machine_lazy_rel): Likewise.
74819         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74820         (elf_machine_lazy_rel): Likewise.
74821         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74822         (elf_machine_lazy_rel): Likewise.
74823         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74824         (elf_machine_lazy_rel): Likewise.
74825         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74826         (elf_machine_lazy_rel): Likewise.
74827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74828         (elf_machine_lazy_rel): Likewise.
74830 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74832         * nss/nss_files/files-init.c (_nss_files_init): Use static
74833         initialization for all the *_traced_file variables.
74835 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74837         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74839 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74841         [BZ #13226]
74842         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74844 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74846         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74847         Reread the line before reparsing it.
74849 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74851         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74853 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74854             Maxim Kuvyrkov  <maxim@codesourcery.com>
74855             Joseph Myers  <joseph@codesourcery.com>
74857         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74858         if needed for __stack_chk_guard.
74860 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74862         * sysdeps/posix/spawni.c (script_execute): Always define it.
74863         It will be optimized away if unused.
74864         (maybe_script_execute): New function.
74865         (__spawni): Call it.
74867         * Makerules: Don't include tls.make.
74868         (config-tls): Always set to thread.
74869         * tls.make.c: File removed.
74871 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74873         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74874         * config.make.in (CPPFLAGS-config): New substituted variable.
74876 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74878         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74880         [BZ #13192]
74881         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74882         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74884 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74886         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74887         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74888         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74889         (CALL_FAIL): Likewise.
74890         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74891         (CALL_FAIL): Macro removed.
74892         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74894 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74896         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74897         for __FINITE_MATH_ONLY__ == 1.
74899 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74901         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74902         __ieee754_sqrt instead of sqrt.
74903         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74904         __ieee754_sqrtf instead of sqrtf.
74905         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74906         __floorf instead of floorf.
74907         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74908         __floorf, __truncf instead of floorf, truncf.
74910 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74912         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74914         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74915         __extern_always_inline.
74916         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74917         32-bit.
74919 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74921         * elf/rtld.c (dl_main): Also relocate in dependency order when
74922         doing symbol dependency testing.
74924 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74927         Always define `refsym'.
74929 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74931         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74932         (__FD_ELT): Renamed from __FDELT.
74933         * misc/bits/select2.h (__FD_ELT): Likewise.
74934         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74935         __FD_MASK instead of __FDELT, __FDMASK.
74936         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74937         Likewise.
74938         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74939         Likewise.
74941         * elf/Makefile (gen-ldd): Fix pattern.
74943         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74944         (init_tls): Likewise.
74946 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74948         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74950 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74952         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74953         `struct cmsghdr *' instead of `void *'.
74954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74955         Likewise.
74957 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74959         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74960         if non-absolute.
74961         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74962         ldd_rewrite_script.
74964 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74966         * configure.in: Remove --with-tls option.
74967         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74968         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74969         out in case it is missing.
74970         * sysdeps/ia64/elf/configure.in: Likewise.
74971         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74972         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74973         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74974         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74975         * sysdeps/sh/elf/configure.in: Likewise.
74976         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74977         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74978         * sysdeps/x86_64/elf/configure.in: Likewise.
74979         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74980         * sysdeps/mach/hurd/tls.h: Likewise.
74982         [BZ #13067]
74983         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74985         [BZ #13090]
74986         * configure.in: Fix use of AC_INIT.
74988         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74990 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74992         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74993         __set_errno.
74994         * malloc/hooks.c: Likewise.
74996         [BZ #11929]
74997         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74998         variables statically.
74999         (narenas): Initialize.
75000         (list_lock): Initialize.
75001         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75002         initializtion of main_arena and list_lock.  Small cleanups.
75003         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75004         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75005         Add initializers to main_arena and mp_.
75006         (malloc_state): Remove pagesize member.  Change all users to use
75007         GLRO(dl_pagesize).
75009         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75010         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75011         is always initialized.
75013         * malloc/malloc.c: Removed unused configurations and dead code.
75014         * malloc/arena.c: Likewise.
75015         * malloc/hooks.c: Likewise.
75016         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75018         * include/tls.h: Removed.  USE___THREAD must always be defined.
75019         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75020         * elf/dl-libc.c: Likewise.
75021         * elf/dl-tsd.c: Likewise.
75022         * include/errno.h: Likewise.
75023         * include/netdb.h: Likewise.
75024         * include/resolv.h: Likewise.
75025         * inet/herrno-loc.c: Likewise.
75026         * inet/herrno.c: Likewise.
75027         * malloc/arena.c: Likewise.
75028         * malloc/hooks.c: Likewise.
75029         * malloc/malloc.c: Likewise.
75030         * resolv/res-state.c: Likewise.
75031         * resolv/res_libc.c: Likewise.
75032         * sysdeps/i386/dl-machine.h: Likewise.
75033         * sysdeps/ia64/dl-machine.h: Likewise.
75034         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75035         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75036         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75037         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75038         * sysdeps/sh/dl-machine.h: Likewise.
75039         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75040         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75041         * sysdeps/unix/i386/sysdep.S: Likewise.
75042         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75043         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75048         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75049         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75052         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75053         * sysdeps/x86_64/dl-machine.h: Likewise.
75054         * tls.make.c: Likewise.
75056         * configure.in: Remove --with-__thread option.  Make tests for
75057         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75058         tls_model attribute fail if no support is available.  Remove
75059         USE_IN_LIBIO.
75060         * Makeconfig: Adjust for dropped configure option.  All features are
75061         now mandatory.
75062         * Makerules: Likewise.
75063         * Versions.def: Likewise.
75064         * argp/argp-fmtstream.c: Likewise.
75065         * argp/argp-fmtstream.h: Likewise.
75066         * argp/argp-help.c: Likewise.
75067         * assert/assert.c: Likewise.
75068         * config.h.in: Likewise.
75069         * config.make.in: Likewise.
75070         * configure: Likewise.
75071         * configure.in: Likewise.
75072         * csu/Versions: Likewise.
75073         * csu/init.c: Likewise.
75074         * elf/tst-audit2.c: Likewise.
75075         * elf/tst-tls10.c: Likewise.
75076         * elf/tst-tls10.h: Likewise.
75077         * elf/tst-tls11.c: Likewise.
75078         * elf/tst-tls12.c: Likewise.
75079         * elf/tst-tls14.c: Likewise.
75080         * elf/tst-tlsmod11.c: Likewise.
75081         * elf/tst-tlsmod12.c: Likewise.
75082         * elf/tst-tlsmod13.c: Likewise.
75083         * elf/tst-tlsmod13a.c: Likewise.
75084         * elf/tst-tlsmod14a.c: Likewise.
75085         * elf/tst-tlsmod15b.c: Likewise.
75086         * elf/tst-tlsmod16a.c: Likewise.
75087         * elf/tst-tlsmod16b.c: Likewise.
75088         * elf/tst-tlsmod7.c: Likewise.
75089         * elf/tst-tlsmod8.c: Likewise.
75090         * elf/tst-tlsmod9.c: Likewise.
75091         * gmon/gmon.c: Likewise.
75092         * grp/fgetgrent_r.c: Likewise.
75093         * grp/putgrent.c: Likewise.
75094         * hurd/fopenport.c: Likewise.
75095         * include/libc-symbols.h: Likewise.
75096         * include/tls.h: Likewise.
75097         * intl/gettextP.h: Likewise.
75098         * intl/loadinfo.h: Likewise.
75099         * locale/global-locale.c: Likewise.
75100         * locale/localeinfo.h: Likewise.
75101         * mach/devstream.c: Likewise.
75102         * malloc/arena.c: Likewise.
75103         * malloc/set-freeres.c: Likewise.
75104         * misc/err.c: Likewise.
75105         * misc/getttyent.c: Likewise.
75106         * misc/mntent_r.c: Likewise.
75107         * posix/getopt.c: Likewise.
75108         * posix/wordexp.c: Likewise.
75109         * pwd/fgetpwent_r.c: Likewise.
75110         * resolv/Versions: Likewise.
75111         * resolv/res_hconf.c: Likewise.
75112         * shadow/fgetspent_r.c: Likewise.
75113         * shadow/putspent.c: Likewise.
75114         * stdio-common/printf_fphex.c: Likewise.
75115         * stdio-common/tmpfile.c: Likewise.
75116         * stdlib/abort.c: Likewise.
75117         * stdlib/fmtmsg.c: Likewise.
75118         * sunrpc/auth_unix.c: Likewise.
75119         * sunrpc/clnt_perr.c: Likewise.
75120         * sunrpc/clnt_tcp.c: Likewise.
75121         * sunrpc/clnt_udp.c: Likewise.
75122         * sunrpc/clnt_unix.c: Likewise.
75123         * sunrpc/openchild.c: Likewise.
75124         * sunrpc/svc_simple.c: Likewise.
75125         * sunrpc/svc_tcp.c: Likewise.
75126         * sunrpc/svc_udp.c: Likewise.
75127         * sunrpc/svc_unix.c: Likewise.
75128         * sunrpc/xdr.c: Likewise.
75129         * sunrpc/xdr_array.c: Likewise.
75130         * sunrpc/xdr_rec.c: Likewise.
75131         * sunrpc/xdr_ref.c: Likewise.
75132         * sunrpc/xdr_stdio.c: Likewise.
75134 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75136         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75138 2011-07-03  Andreas Jaeger  <aj@suse.de>
75140         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75141         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75142         regenerate with gen-libm-tests.pl.
75144 2010-05-12  Petr Baudis  <pasky@suse.cz>
75146         [BZ #11589]
75147         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75148         around j0() zero points by switching to j1().
75149         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75152         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75154 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75156         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75157         instead of 0.
75158         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75159         instead of 0.
75160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75161         Patch in part by Pavel Roskin <proski@gnu.org>.
75163         [BZ #13138]
75164         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75165         realloc.
75166         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75167         Free memory block if necessary.
75169         [BZ #12847]
75170         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75171         be NULL.  Don't lock in this case.
75173 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75175         * elf/elf.h (ELFOSABI_GNU): New macro.
75176         (ELFOSABI_LINUX): Define to that.
75178 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75180         * string/strncat.c (strncat): Undef the symbol in case it has been
75181         defined in bits/string.h.
75183 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75185         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75187         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75188         link map.
75190 2011-08-17  Andreas Jaeger  <aj@suse.de>
75192         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75194 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75195             Ian Lance Taylor  <iant@google.com>
75197         * math/libm-test.inc (lround_test): New testcase.
75198         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75200 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75202         * Makefile: Remove support for automatic cvs check-ins.
75203         * Makerules: Likewise.
75204         * config.make.in: Likewise.
75205         * configure.in: Likewise.
75206         * intl/Makefile: Likewise.
75207         * locale/Makefile: Likewise.
75208         * po/Makefile: Likewise.
75209         * posix/Makefile: Likewise.
75210         * sysdeps/gnu/Makefile: Likewise.
75211         * sysdeps/mach/hurd/Makefile: Likewise.
75212         * sysdeps/sparc/sparc32/Makefile: Likewise.
75214         [BZ #13118]
75215         * posix/Makefile (bug-regex32-ENV): Define.
75216         Patch by John Stanley <jpsinthemix@verizon.net>.
75218         * misc/Makefile (headers): Add bits/select2.h.
75219         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75220         * misc/bits/select2.h: New file.
75221         * include/bits/select2.h: New file.
75222         * debug/Makefile (routines): Add fdelt_chk.
75223         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75224         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75225         FD_ISSET.
75226         * debug/fdelt_chk.c: New file.
75228         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75229         * wcsmbs/test-wmemcmp.c: Likewise.
75230         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75231         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75233 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75235         * string/Makefile (strop-tests): Add memcmp.
75236         * string/test-wmemcmp.c: New file.
75237         * string/test-memcmp.c: Add wmemcmp support.
75239 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75241         [BZ #13153]
75242         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75243         2011-07-19 change.
75245         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75246         garbage value in a __mach_port_mod_refs call in the cases of the
75247         task-self and thread-self ports.
75249 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75251         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75253 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75255         * elf/dl-load.c (lose): Check for non-null L.
75257 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75259         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75261         * elf/dl-libc.c (dlerror_run): Pass back error code from
75262         dl_catch_error.
75264         [BZ #13123]
75265         * elf/dl-load.c (lose): Free l_origin if it is valid.
75267         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75268         names.
75269         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75270         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75271         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75272         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75273         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75274         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75276 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75278         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75279         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75280         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75281         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75282         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75283         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75284         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75285         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75286         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75287         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75289 2011-08-15  Alan Modra  <amodra@gmail.com>
75291         [BZ #13092]
75292         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75293         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75294         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75295         ppc_mcount to static-only-routines.
75296         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75297         __mcount_internal.
75298         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75299         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75301 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75303         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75304         for finite and infinity parameters.
75306 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75308         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75309         and add nop instructions for throughput optimization.
75310         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75312 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75314         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75315         aligned copy for power7 with vector-scalar instructions.
75316         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75318 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75320         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75321         AVX check.
75323 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75325         [BZ #13144]
75326         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75327         last change.
75329 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75331         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75332         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75333         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75334         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75335         clock_gettime.
75337 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75339         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75340         Forgot to demangle the pointer.
75342         * sysdeps/i386/sysdep.h: Define atom_text_section.
75343         * sysdeps/x86_64/sysdep.h: Likewise.
75344         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75345         section with atom_text_section.
75346         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75347         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75348         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75349         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75350         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75352         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75353         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75354         already be defined.  Change to take two parameters and don't assign
75355         result to variable.  Adjust all users.
75356         Define INTERNAL_GETTIME if not already defined.
75357         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75358         call.
75359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75360         HAVE_CLOCK_GETTIME_VSYSCALL.
75361         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75364         gettimeofday vsyscall, just use time.
75366 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75369         <errno.h>.
75371 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75373         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75374         syscall on x86-64.
75375         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75376         syscall.
75377         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75378         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75379         syscall if possible.
75381 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75383         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75384         e_ident.  Don't pass to find_mapsXX.
75385         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75387 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75390         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75391         * sysdeps/x86_64/multiarch/strchr.S: Update.
75392         Check bit_slow_BSF bit.
75393         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75394         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75395         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75397 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75399         [BZ #13134]
75400         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75401         before glibc 2.15.
75402         (tryshell): Define.
75403         (__spawni): Change last parameter to be flag.  Test
75404         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75405         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75406         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75407         * posix/spawni.c: Likewise.
75408         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75409         * posix/spawnp.c: Likewise.  Change normal version to use
75410         SPAWN_XFLAGS_USE_PATH.
75411         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75412         SPAWN_XFLAGS_TRY_SHELL.
75414         [BZ #13150]
75415         * posix/glob.h: Remove gcc 1.x support.
75417         [BZ #13068]
75418         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75420 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75422         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75423         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75424         strrchr-sse2-bsf
75425         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75426         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75427         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75428         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75429         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75430         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75432 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75434         * sysdeps/x86_64/wcscmp.S: New file.
75436         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75437         wcscmp-c wcscmp-sse2
75438         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75439         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75440         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75441         * wcsmbs/wcscmp.c: Allow renaming.
75443 2011-09-05  David S. Miller  <davem@davemloft.net>
75445         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75446         stack slot, rather than the struct return pointer slot.
75447         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75448         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75450         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75452 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75454         * po/ja.po: Update from translation team.
75456         [BZ #13144]
75457         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75458         kernel in 64-bit binaries.
75460 2011-09-01  David S. Miller  <davem@davemloft.net>
75462         * elf/elf.h (HWCAP_SPARC_*): Move to..
75463         * sysdeps/sparc/sysdep.h: this new file and add new values.
75464         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75465         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75466         _DL_HWCAP_COUNT to 24.
75467         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75468         entries.
75469         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75470         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75471         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75472         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75473         instead of magic constants.
75474         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75476 2011-08-31  David S. Miller  <davem@davemloft.net>
75478         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75479         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75480         Reimplement to do errno handling inline.
75481         (SYSCALL_ERROR_HANDLER): New macro.
75482         (__SYSCALL_STRING): Do not do errno handling in asm.
75483         (__CLONE_SYSCALL_STRING): Delete.
75484         (__INTERNAL_SYSCALL_STRING): Delete.
75485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75486         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75487         (PSEUDO): Reimplement to do errno handling inline.
75488         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75489         (SYSCALL_ERROR_HANDLER): New macro.
75490         (__SYSCALL_STRING): Do not do errno handling in asm.
75491         (__CLONE_SYSCALL_STRING): Delete.
75492         (__INTERNAL_SYSCALL_STRING): Delete.
75493         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75494         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75495         i386.
75496         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75497         (inline_syscall*): Add 'err' argument.
75498         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75499         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75500         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75501         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75503         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75504         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75506 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75508         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75510 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75512         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75513         directive.
75515 2011-08-24  David S. Miller  <davem@davemloft.net>
75517         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75519 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75521         * elf/Makefile: Add rules to build and run unload8 test.
75522         * elf/unload8.c: New file.
75523         * elf/unload8mod1.c: New file.
75524         * elf/unload8mod1x.c: New file.
75525         * elf/unload8mod2.c: New file.
75526         * elf/unload8mod3.c: New file.
75528         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75529         it wasn't used.
75531 2011-08-23  David S. Miller  <davem@davemloft.net>
75533         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75534         subtract stack bias.
75535         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75536         %sp not %fp in calculations.
75537         (_JMPBUF_UNWINDS_ADJ): Likewise.
75539         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75540         (aio_suspend): Call it to force an exception region around the
75541         AIO_MISC_WAIT() invocation.
75543 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75545         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75546         backslash.
75548 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75550         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75551         protection macro.
75552         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75553         and <dl-machine.h>.
75554         (Elf64_FuncDesc): Remove.
75556 2011-08-22  David S. Miller  <davem@davemloft.net>
75558         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75559         sigaltstack check, add missing cfi directives.
75560         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75561         missing cfi directives, and sigaltstack handling.
75563 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75565         [BZ #11724]
75566         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75567         object is seen twice.
75568         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75570         * elf/Makefile (distribute): Add tst-initorder2.c.
75571         (tests): Add tst-initorder2.
75572         (modules-names): Add tst-initorder2a tst-initorder2b
75573         tst-initorder2c tst-initorder2d.  Add rules to build them.
75574         ($(objpfx)tst-initorder2.out): New rule.
75575         * elf/tst-initorder2.c: New file.
75576         * elf/tst-initorder2.exp: New file.
75578 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75580         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75582         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75583         dependencies back to end of function.
75585         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75586         $(elfobjdir)/ld.so.
75588 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75591         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75592         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75593         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75594         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75595         of __vdso_gettimeofday.
75596         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75597         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75598         attribute_hidden.
75599         (_libc_vdso_platform_setup): Remove initialization of
75600         __vdso_gettimeofday and __vdso_time.
75602 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75604         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75605         and fgetc_unlocked.
75606         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75607         getc_unlocked.
75609         * elf/dl-open.c (add_to_global): Report additions to the global scope
75610         for LD_DEBUG=scopes.
75611         (dl_open_worker): Also print scope of newly loaded dependencies.
75612         (_dl_show_scope): Indicate if there is no scope.
75614         [BZ #13114]
75615         * stdio-common/Makefile (tests): Add bug24.
75616         * stdio-common/bug24.c: New file.
75618 2011-08-19  Andreas Jaeger  <aj@suse.de>
75620         [BZ #13114]
75621         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75622         non-existant file when using close-on-exec mode.
75624 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75626         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75627         the very first instruction.
75629         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75630         the CFI state in the end.
75631         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75632         inclusion of dl-trampoline.h.
75633         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75635 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75637         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75638         expectations for long double.
75640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75641         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75643 2011-08-14  David S. Miller  <davem@davemloft.net>
75645         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75646         artificual limit depends upon the system page size.
75648 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75650         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75651         * resolv/Makefile: Define CFLAGS-libresolv.
75653 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75655         * nss/makedb.c (compute_tables): Make variables used in nested
75656         function static.
75658 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75660         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75661         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75662         if buffer was too small.
75664         * elf/pldd.c (main): Attach to all threads in the process.
75665         Rewrite /proc handling to use *at functions.
75667 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75669         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75670         specifies first scope to show.
75671         (dl_open_worker): Update callers.  Move printing scope of new
75672         object to before the relocation.
75673         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75674         * sysdeps/generic/ldsodefs.h: Update declaration.
75676         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75677         string for the scope number.
75679 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75681         * nscd/servicescache.c (cache_addserv): Make sure written is always
75682         initialized.
75684 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75686         * sysdeps/i386/i486/bits/atomic.h
75687         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75688         statement expression, so as to suppress "set but not used" warning.
75689         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75691         * string/strncat.c (STRNCAT): Use prototype definition.
75693         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75694         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75695         -Iprograms here.
75696         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75697         (localedef-modules): Add localedef.
75698         (locale-modules): Add locale.
75700         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75701         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75702         to avoid a warning.
75704 2011-08-14  David S. Miller  <davem@davemloft.net>
75706         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75707         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75709 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75711         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75712         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75713         * elf/rtld.c (dl_main): Set l_name of vDSO.
75714         Call _dl_show_scope when DL_DEBUG_SCOPES.
75715         (process_dl_debug): Recognize scopes flag and also set it for all.
75716         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75717         Declare _dl_show_scope.
75719         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75720         (do_dlopen): Pass caller_dlopen to dl_open.
75721         (__libc_dlopen_mode): Initialize caller_dlopen.
75723         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75724         of libc.  Make tolower call locale-independent.  Optimize a bit by
75725         using isdigit instead of isalnum.
75726         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75728 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75730         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75731         was a dependency or dynamically loaded.
75733 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75735         * intl/l10nflist.c: Allow architecture-specific pop function.
75736         * sysdeps/x86_64/l10nflist.c: New file.
75738         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75739         classification.
75741 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75743         * include/dirent.h: Add libc_hidden_proto for scandirat and
75744         scandirat64.  Don't declare __scandirat64.
75745         * dirent/scandirat.c: Add libc_hidden_def.
75746         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75747         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75749 2011-08-10  David S. Miller  <davem@davemloft.net>
75751         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75752         enum.
75753         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75754         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75755         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75757 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75759         * Versions.def [libc]: Add GLIBC_2.15.
75760         * dirent/Makefile (routines): Add scandirat and scandirat64.
75761         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75762         GLIBC_2.15.
75763         * dirent/dirent.h: Declare scandirat and scandirat64.
75764         * dirent/scandirat.c: New file.
75765         * dirent/scandirat64.c: New file.
75766         * sysdeps/wordsize-64/scandirat.c: New file.
75767         * sysdeps/wordsize-64/scandirat64.c: New file.
75768         * dirent/opendir.c: Define opendirat.
75769         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75770         using scandirat.
75771         * dirent/scandir64.c: Adjust for scandir.c change.
75772         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75773         __scandirat64, and __scandir_cancel_handler.
75774         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75775         additional parameter and use openat instead of open (outside of ld.so).
75776         Add new __opendir as wrapper around __opendirat.
75777         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75778         here without requiring old scandirat implementation.
75780 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75782         * dirent/scandir.c (cancel_handler): Renamed to
75783         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75784         defined.  Adjust users.
75785         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75786         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75788 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75790         * string/test-string.h (IMPL): Use __STRING to expand name and then
75791         stringify it.
75793         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75794         of cleanups.
75796 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75798         * string/Makefile: Update.
75799         (strop-tests): Append strncat.
75800         * string/test-wcscmp.c: New file.
75801         New comprehensive test for wcscmp.
75802         * string/test-strcmp.c: Update.
75803         (WIDE): New define.
75805 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75807         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75808         line.
75810 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75813         encoding to ACE if AI_IDN.
75815 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75817         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75818         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75820 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75822         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75823         Fix overflow bug in strncat.
75824         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75826         * string/test-strncat.c: Update.
75827         Add new tests for checking overflow bugs.
75829 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75832         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75833         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75834         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75835         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75836         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75837         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75838         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75839         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75841         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75842         (USE_AS_STRCAT): Define.
75843         Add strcat and strncat support.
75844         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75846 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75848         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75849         __n bigger than INT_MAX+1.
75850         (__strncmp_g): Likewise.
75852 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75854         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75855         * libio/stido.h: Likewise.
75857         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75858         (AF_NFC): Define.
75859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75860         (AF_NFC): Define.
75862         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75863         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75864         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75865         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75866         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75868         [BZ #13021]
75869         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75870         installed.
75872         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75873         typo.
75874         (_dl_x86_64_save_sse): Likewise.
75876 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75879         OSXSAVE.
75880         (_dl_x86_64_save_sse): Likewise.
75882         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75884         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75886 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75888         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75889         change.
75890         (_dl_x86_64_save_sse): Use correct AVX check.
75892 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75894         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75895         bug in strncpy/strncat.
75896         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75898 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75900         * string/tester.c (test_strcat): Add tests for different alignments
75901         of source and destination.
75902         (test_strncat): Likewise.
75904 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75906         [BZ #12852]
75907         * posix/glob.c (glob): Check passed in values before using them in
75908         expressions to avoid some overflows.
75909         (glob_in_dir): Likewise.
75911         [BZ #13007]
75912         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75913         check for AVX enablement so that we don't crash with old kernels and
75914         new hardware.
75915         * elf/tst-audit4.c: Add same checks here.
75916         * elf/tst-audit6.c: Likewise.
75918         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75920 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75922         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75924 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75926         * po/cs.po: Update from translation team.
75927         * po/bg.po: Likewise.
75929 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75931         * misc/sys/cdefs.h: Add support for const attribute.
75932         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75933         to gnu_dev_{major,minor,makedev} functions.
75935 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75937         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75939 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75941         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75942         strlen results.
75944 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75947         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75948         register in order to avoid conflicts with the soft frame pointer
75949         being held in r11 when necessary.
75950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75951         (INTERNAL_VSYSCALL_NCS): Likewise.
75953 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75955         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75956         * elf/dl-fini.c (_dl_fini): Adjust caller.
75957         * elf/dl-close.c (_dl_close_worker): Likewise.
75958         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75960 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75962         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75963         "aux_cache->nlibs < 0".
75965         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75966         in the reload-count case.
75968 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75971         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75972         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75973         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75974         * sysdeps/x86_64/multiarch/strcat.S: New file.
75975         * sysdeps/x86_64/multiarch/strncat.S: New file.
75976         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75977         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75978         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75979         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75980         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75981         (USE_AS_STRCAT): Define.
75982         Add strcat and strncat support.
75983         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75984         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75985         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75986         * string/strncat.c: Update.
75987         (USE_AS_STRNCAT): Define.
75988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75989         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75990         and i7.
75991         * sysdeps/x86_64/multiarch/init-arch.h
75992         (bit_Prefer_PMINUB_for_stringop): New.
75993         (index_Prefer_PMINUB_for_stringop): Likewise.
75994         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75995         bit_Prefer_PMINUB_for_stringop.
75997 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75999         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76000         buffer64.
76001         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76002         of casting of buffer.
76003         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76004         buffer32 and buffer64.
76005         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76006         writes instead of casting of buffer.
76007         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76008         buffer32.
76009         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76010         casting of buffer.
76012 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76014         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76016 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76018         * nscd/nscd.c (termination_handler): Don't do anything for a database
76019         if it has not yet been initialized.
76021 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76023         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76025 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76027         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76029 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76031         * po/nl.po: Update from translation team.
76032         * po/sv.po: Likewise.
76034 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76036         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76037         now disallowed by GCC.
76039         * configure.in (use-default-link): Default to yes if a test -shared
76040         link meets our qualifications.
76041         * configure: Regenerated.
76043         * config.make.in (output-format): New variable.
76044         * configure.in: Check for ld --print-output-format support.
76045         * configure: Regenerated.
76046         * Makerules ($(common-objpfx)format.lds)
76047         [$(output-format) != unknown]: Just use $(output-format),
76048         instead of the linker-script munging.
76050 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76052         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76053         of $(common-objpfx)shlib.lds.
76054         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76056         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76057         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76059         * configure.in (-z relro check): Adjust test code to add a large
76060         writable data section after it.
76061         * configure: Regenerated.
76063 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76065         * configure.in (-z relro check): Fix test code to make the variable
76066         truly const.
76067         * configure: Regenerated.
76069 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76071         * nscd/nscd.h (struct traced_file): Define.
76072         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76073         elements.  Add traced_files.
76074         (inotify_fd): Declare.
76075         (register_traced_file): Declare.
76076         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76077         (inotify_fd): Export.
76078         (resolv_conf_descr): Remove.
76079         (nscd_init): Move inotify descriptor creation to main.
76080         Don't register files for notification here.
76081         (register_traced_file): New function.
76082         (invalidate_cache): Don't use reset_res to determine whether to call
76083         res_init, go through the list of registered files.
76084         (main_loop_poll): The inotify descriptors are now stored in the
76085         structures for the traced files.
76086         (main_loop_epoll): Likewise.
76087         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76088         to __nss_disable_nscd.
76089         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76090         for a database anymore.  Check the records for all the registered
76091         files instead.
76092         * nss/Makefile (libnss_files-routines): Add files-init.
76093         (libnss_db-routines): Add db-init.
76094         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76095         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76096         * nss/nss_db/db-init.c: New file.
76097         * nss/nss_files/files-init.c: New file.
76098         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76099         __nss_lookup_function.
76100         (__nss_lookup_function): Call nss_load_library.
76101         (nss_load_all_libraries): New function.
76102         (__nss_disable_nscd): Take parameter with callback function for files
76103         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76104         used for the cached services.
76105         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76106         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76107         options for features to all the files in nscd.
76109         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76111 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76113         * csu/elf-init.c (__libc_csu_init): Comment typo.
76115 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76117         * po/pl.po: Update from translation team.
76118         * po/ja.po: Likewise.
76119         * po/ru.po: Likewise.
76120         * po/ko.po: Likewise.
76121         * po/fr.po: Likewise.
76123 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76125         * configure.in (.ctors/.dtors header and trailer check):
76126         Use an empirical test on a built program.
76127         * configure: Regenerated.
76129         * configure.in (-z relro check): Use an empirical test on a built DSO.
76130         Detect, but do not require, on ia64.
76131         * configure: Regenerated.
76133         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76134         Update tests that use readelf to use $READELF instead.
76135         * configure: Regenerated.
76137 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76139         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76140         if the result is not used.
76142 2011-07-05  Andreas Jaeger  <aj@suse.de>
76144         [BZ#9696]
76145         * stdlib/tst-strtod.c: Add testcase.
76147 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76149         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76150         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76151         The latter has a higher limit.  Take additional parameter to pass to
76152         the new function.
76153         (__pathconf): Pass file to __statfs_link_max.
76154         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76155         __statfs_link_max.
76156         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76157         __statfs_link_max.
76159         [BZ #12868]
76160         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76161         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76162         Handle Lustre.
76163         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76164         (__statfs_filesize_max): Likewise.
76165         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76167 2011-07-05  Andreas Jaeger  <aj@suse.de>
76169         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76171 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76173         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76174         `status' variable.
76175         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76176         Likewise.
76178 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76180         * Makefile (strop-tests): Add strncat.
76181         * string/test-strncat.c: New file.
76183 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76185         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76187 2011-06-21  Andreas Jaeger  <aj@suse.de>
76189         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76190         Copy rule from iconvdata/Makefile.
76192 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76194         [BZ #12922]
76195         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76196         but no long options are defined, just return 'W'.
76198 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76200         [BZ #9696]
76201         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76203 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76205         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76206         netgroups to read.
76207         (innetgr): Likewise.
76209 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76211         * config.make.in (install_root): Default to $(DESTDIR).
76213 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76215         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76217 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76219         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76221         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76222         containing directory rather than embedding absolute directory names.
76224         * scripts/check-local-headers.sh: Rewritten using awk.
76225         Match by word, not by line.  Print error messages for matches.
76226         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76228         * Makerules [shlib-lds-flags empty]:
76229         ($(common-objpfx)libc_pic.opts): New target.
76230         ($(common-objpfx)libc_pic.os.clean): New target.
76231         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76233         * config.make.in (OBJCOPY): New variable.
76234         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76235         * configure: Regenerated.
76237         * config.make.in (use-default-link): New variable.
76238         * configure.in (use_default_link): Grok --with-default-link to set it.
76239         * configure: Regenerated.
76240         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76241         (shlib-lds, shlib-lds-flags): Define to empty.
76243         * Makerules (shlib-lds): New variable.
76244         (shlib-lds-flags): New variable.
76245         (build-shlib, build-moduile, build-module-asneeded): Use it.
76246         ($(common-objpfx)libc.so): Use $(shlib-lds).
76247         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76248         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76250         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76251         DT_FLAGS/DT_FLAGS_1 with zero flags.
76253         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76254         linker script munging.
76256 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76258         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76259         as 128-bit value.
76260         * crypt/sha512.c (sha512_process_block): Perform total addition using
76261         128-bit if possible.
76262         (__sha512_finish_ctx): Likewise.
76263         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76264         as 64-bit value.
76265         * crypt/sha256.c (SWAP64): Define.
76266         (sha256_process_block): Perform total addition using 64-bit if
76267         possible.
76268         (__sha256_finish_ctx): Likewise.
76270 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76272         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76273         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76274         * nscd/hstcache.c (cache_addhst): Likewise.
76275         * nscd/grpcache.c (cache_addgr): Likewise.
76276         * nscd/aicache.c (addhstaiX): Likewise.
76277         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76279 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76281         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76282         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76283         * nscd/hstcache.c (cache_addhst): Likewise.
76284         * nscd/grpcache.c (cache_addgr): Likewise.
76285         * nscd/aicache.c (addhstaiX): Likewise.
76287 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76289         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76290         domain only when needed.
76292 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76295         is always restored.
76297 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76299         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76300         are re-adding the entry.
76301         * nscd/servicescache.c (cache_addserv): Likewise.
76303 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76305         * sysdeps/generic/dl-irel.h: fix protection against multiple
76306         inclusions.
76307         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76309 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76311         [BZ #12935]
76312         * malloc/memusage.sh: Fix quoting in message.
76313         * debug/xtrace.sh: Likewise.
76315         * configure.in: Remove support for --experimental-malloc option, make
76316         it the default.
76317         * config.make.in: Likewise.
76318         * malloc/Makefile: Likewise.
76320 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76322         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76323         two-byte characters.
76325 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76327         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76328         AC_CACHE_CHECK invocation.
76329         * configure: Regenerated.
76331         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76333 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76335         [BZ #12350]
76336         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76337         bit from old_res_options.
76339         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76341         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76342         value type for setfct.
76344 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76347         __gettimeofday instead of gettimeofday.
76349 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76351         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76353 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76355         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76357         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76358         info.
76360 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76363         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76364         strcpy-sse2-unaligned strncpy-sse2-unaligned
76365         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76366         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76367         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76368         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76369         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76370         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76371         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76372         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76373         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76374         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76375         (STRCPY): Support SSE2 and SSSE3 versions.
76377 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76379         [BZ #12874]
76380         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76381         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76382         kernels which artificially limit size of requests.
76384 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76387         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76388         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76389         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76390         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76391         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76392         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76393         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76394         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76395         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76396         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76397         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76398         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76399         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76400         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76402         Enable unaligned load optimization for Intel Core i3, i5 and i7
76403         processors.
76404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76405         Define.
76406         (index_Fast_Unaligned_Load): Define.
76407         (HAS_FAST_UNALIGNED_LOAD): Define.
76409 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76411         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76413 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76415         [BZ #12907]
76416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76417         until it is clear that the information is realy needed.
76418         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76420 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76424 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76426         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76427         /sys/devices/system/cpu/online if it is usable.
76429         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76430         reading the information from the /proc filesystem to once a second.
76432 2011-06-21  Andreas Jaeger  <aj@suse.de>
76434         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76435         NULL after inclusion of kernel headers.
76437 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76439         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76440         calls to internal_setent.
76442         [BZ #12885]
76443         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76444         addresses using gethostbyname4_r ignore IPv4 addresses.
76446         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76447         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76449         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76451 2011-06-20  David S. Miller  <davem@davemloft.net>
76453         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76454         inclusions.
76455         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76457         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76458         (elf_irel): Use it.
76459         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76460         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76461         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76462         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76463         * sysdeps/x86_64/dl-irel.h: Likewise.
76465         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76466         * elf/dl-sym.c: Likewise.
76468 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76470         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76471         need to dereference resplen2.
76473 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76475         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76477 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76479         * Makeconfig: Define vardbdir and inst_vardbdir.
76480         * nss/Makefile: Add rules to install db-Makefile.
76482         * nss/nss_db/db-XXX.c: Cleanup.
76484         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76485         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76486         GLIBC_PRIVATE.
76487         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76488         * nss/makedb.c: Implement -g option to specify that value strings
76489         are generated and should not be added to table iterated over for
76490         get*ent calls.
76491         * nss/nss_db/db-initgroups.c: New file.
76493         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76494         interface.
76496         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76497         (internal_getgrouplist): Adjust to name change.
76498         Update use_initgroups_entry if this is not the first call.
76499         * nss/databases.def: Add initgroups entry.
76501         * nss/makedb.c (compute_tables): Check result of multiple hash table
76502         sizes to minimize maximum chain length.
76504 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76506         * Versions.def: Add entry for libnss_db.
76507         * shlib-versions: Likewise.
76508         * nss/Makefile: Add rules to build libnss_db.
76509         * nss/Versions: Add libnss_db information.  Organize libnss_files
76510         entries better.
76511         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76512         makedb progra.  Some minor improvements to generate smaller files.
76513         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76514         here from...
76515         * nss/makedb.c: ...here.
76516         Improve database format to be smaller and require less memory at
76517         runtime.
76518         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76519         db anymore.
76520         * nss/nss_db/db-netgrp.c: Likewise.
76521         * nss/nss_db/db-open.c: Likewise.
76522         * nss/nss_files/flies-XXX.x: Adjust comments.
76523         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76524         * nss/nss_files/files-grp.c: Likewise.
76525         * nss/nss_files/files-hosts.c: Likewise.
76526         * nss/nss_files/files-network.c: Likewise.
76527         * nss/nss_files/files-proto.c: Likewise.
76528         * nss/nss_files/files-pwd.c: Likewise.
76529         * nss/nss_files/files-rpc.c: Likewise.
76530         * nss/nss_files/files-service.c: Likewise.
76531         * nss/nss_files/files-sgrp.c: Likewise.
76532         * nss/nss_files/files-spwd.c: Likewise.
76533         * nss/nss_db/db-alias.c: Removed.
76534         * nss/nss_db/dummy-db.h: Removed.
76536 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76538         * nss/makedb.c: Rewritten to not use database library.
76539         * nss/Makefile: Update to build new makedb program.
76541 2011-06-14  Andreas Jaeger  <aj@suse.de>
76543         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76544         memset declaration.
76546 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76549         tmpbuf.
76551 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76553         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76554         * elf/Makefile ($(objpfx)ld.so): Likewise.
76556         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76557         Don't list ld.so twice in dependencies.
76559         * posix/bug-regex31.c: Include <stdlib.h>.
76561         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76563         * nis/nss_compat/compat-spwd.c
76564         (getspent_next_nss_netgr): Remove unused variable.
76565         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76567         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76568         nonmembers" output to use the right array.
76570         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76572         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76574         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76575         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76576         * catgets/gencat.c (read_input_file): Likewise.
76577         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76579         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76580         variable definition inside #if's controlling its use.
76582         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76584         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76586         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76588         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76589         unreachable code.
76591         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76593         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76594         * configure: Regenerated.
76596         * Makerules: Revert last change.
76597         * elf/Makefile: Likewise.
76599 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76601         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76602         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76603         (reloc-link): Likewise.
76605 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76607         * elf/Makefile: Add rules to build pldd.
76608         * elf/pldd.c: New file.
76609         * elf/pldd-xx.c: New file.
76611 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76613         * version.h: Update for 2.15 development version.
76615 2011-06-07  David S. Miller  <davem@davemloft.net>
76617         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76618         ifuncs.
76619         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76620         elf_machine_lazy_rel): Likewise.
76621         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76622         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76623         elf_machine_lazy_rel): Likewise.
76624         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76625         dl_hwcap via passed in argument.
76626         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76627         Likewise.
76629 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76631         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76633 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76635         [BZ #12849]
76636         * manual/fdl-1.1.texi: New file, verbatim from:
76637         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76638         * manual/lgpl-2.1.texi: New file, verbatim from:
76639         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76640         * manual/Makefile (licenses): New variable, list those new file names.
76641         (texis): Use it.
76642         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76644         * manual/fdl.texi: File removed.
76645         * manual/lesser.texi: File removed.
76646         * manual/libc.texinfo (Copying, Documentation License):
76647         Use new @include file names, put @appendix directive before @include.
76649 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76651         [BZ #12841]
76652         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76653         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76654         (mq_open): Add __NTH.
76656 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76659         Assume Intel Core i3/i5/i7 processor if AVX is available.
76661 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76664         typo.
76666 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76668         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76669         memory.  Use alloca_account.  Fix memory leak when retrying.
76671 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76673         * version.h (RELEASE): Bump for 2.14 release.
76674         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76676         * config.make.in (RANLIB): Remove entry.
76678 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76680         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76681         (libc.pot): Work around missing support for .ksh extension in xgettext.
76683         [BZ #12684]
76684         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76685         if both request failed.
76686         (send_dg): In case of server errors clear resplen or *resplen2.
76688         [BZ #12454]
76689         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76690         when there are multiple maps.
76691         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76692         (_dl_fini): Remove test here.
76694         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76696 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76698         [BZ #12350]
76699         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76700         bit from old_res_options.
76701         (gaih_inet): Likewise.
76703         [BZ #11099]
76704         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76705         as signed.
76707         * resolv/res_init.c (res_setoptions): Make the code more compact.
76709         [BZ #11558]
76710         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76711         set RES_USEVC.
76713         [BZ #11634]
76714         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76716         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76718         [BZ #11781]
76719         * malloc/malloc.h: Declare malloc hook variables as volatile.
76721         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76722         in last patch.
76724         [BZ #11799]
76725         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76726         raise in the comment.
76727         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76728         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76729         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76731 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76733         [BZ #12811]
76734         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76735         grow the buffers more if it already has to be sufficient.
76736         (build_wcs_upper_buffer): Likewise.
76737         * posix/regexec.c (check_matching): Likewise.
76738         (clean_state_log_if_needed): Likewise.
76739         (extend_buffers): Don't enlarge buffers beyond size of the input
76740         buffer.
76741         Patches mostly by Emil Wojak <emil@wojak.eu>.
76742         * posix/bug-regex32.c: New file.
76743         * posix/Makefile (tests): Add bug-regex32.
76745         * locale/findlocale.c (_nl_find_locale): Return right away if
76746         _nl_explode_name failed.
76747         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76749         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76751         * debug/xtrace.sh: Unify messages.
76752         * malloc/memusage.sh: Likewise.
76754         [BZ #12813]
76755         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76756         time symbol from vDSO.  Substitute with vsyscall if not available.
76757         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76758         __vdso_time.
76760         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76761         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76762         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76763         Add sendmmsg and internal_sendmmsg.
76764         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76765         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76766         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76768         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76769         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76770         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76772 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76774         [BZ #12813]
76775         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76776         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76777         available.
76778         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76779         __vdso_getcpu.
76781         [BZ #12814]
76782         * iconvdata/Makefile (tests): Add bug-iconv9.
76783         * iconvdata/bug-iconv9.c: New file.
76785 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76787         [BZ #12814]
76788         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76790 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76792         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76793         (struct user_regs_struct): Change intcs field back to cs.
76795 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76797         * po/ja.po: Update from translation team.
76799 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76801         [BZ #12795]
76802         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76803         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76805 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76807         * stdlib/longlong.h: Update from GCC.
76809 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76811         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76812         parameter name.
76813         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76814         Add parameter name.
76815         (__sysconf): Pass it down.
76817 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76819         [BZ #12671]
76820         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76821         some situations.
76822         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76823         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76824         add in in __libc_use_alloca calls.  Adjust callers.
76825         (glob): Use malloc in some situations.
76827         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76828         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76829         pltexit.
76831 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76833         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76834         and CLOCK_BOOTTIME_ALARM.
76836         [BZ #12782]
76837         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76838         is returned.
76840         * string/_strerror.c (__strerror_r): Print negative errors as signed
76841         numbers.
76843         [BZ #12777]
76844         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76845         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76846         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76848         * configure.in: Fix typo in redirection and correct removal of test
76849         files in two cases.
76851         [BZ #12788]
76852         * locale/setlocale.c (new_composite_name): Fix test to check for
76853         identical name of all categories.
76855         [BZ #12792]
76856         * libio/filedoalloc.c (local_isatty): New function.
76857         (_IO_file_doallocate): Use local_isatty.
76858         * stdio-common/perror.c (perror): In case a new stream is used
76859         forward the stream error.
76860         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76861         error flag.
76863 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76865         [BZ #11884]
76866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76867         alloca.
76868         * include/alloca.h (extend_alloca_account): Define.
76870         [BZ #11857]
76871         * posix/regex.h: Fix comments with documentation of user-accessible
76872         fields after compilation and describe correct free'ing of pattern
76873         after re_compile_pattern.
76874         Patch by Reuben Thomas <rrt@sc3d.org>.
76876 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76878         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76879         and -mno-altivec to prevent the compiler from using Altivec and/or
76880         VSX instructions when the corresponding registers are not available.
76882 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76884         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76886 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76888         * libio/freopen.c (freopen): Use __dup2, not dup2.
76889         * libio/freopen64.c (freopen64): Likewise.
76891 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76893         [BZ #12775]
76894         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76895         * math/Makefile (tests): Add test-powl.
76896         (CFLAGS-test-powl.c): Define.
76897         * math/test-powl.c: New file.
76899 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76901         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76903 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76905         [BZ #11837]
76906         * iconvdata/gb18030.c: Update to GB18020-2005.
76908 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76910         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76911         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76912         Patch by Aharon Robbins <arnold@skeeve.com>.
76914         [BZ #11892]
76915         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76916         on the stack.
76918         [BZ #11895]
76919         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76920         through underflows.
76922         [BZ #12766]
76923         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76924         point to strings before performing equality test for error_one_per_line
76925         mode.
76927         [BZ #11697]
76928         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76930         [BZ #11820]
76931         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76932         (struct user_fpregs_struct): Avoid __uint*_t types.
76934         [BZ #6420]
76935         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76936         symbol info.  Use it instead of calling _dl_addr locally.
76937         (lock_and_info): New function.
76938         (tr_freehook): Call lock_and_info and pass symbol info as additional
76939         parameter to tr_where.
76940         (tr_mallochook): Likewise.
76941         (tr_reallochook): Likewise.
76942         (tr_memalignhook): Likewise.
76944         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76945         used and couldn't be at all thread-safe.
76947 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76949         * libio/freopen.c (freopen): Don't close old file descriptor
76950         before the new one is opened.  Instead dup the new file descriptor
76951         to the old one after the new stream is created.
76952         * libio/freopen64.c (freopen64): Likewise.
76953         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76954         * libio/fileops.c (_IO_new_file_close_it): Handle new
76955         _IO_FLAGS2_NOCLOSE flag.
76956         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76957         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76958         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76959         _IO_FLAGS2_NOCLOSE flag.
76960         * include/unistd.h: Add hidden_proto for dup3.
76961         Define __have_dup3.
76962         * io/dup3.c: Define hidden symbol.
76963         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76965         [BZ #7101]
76966         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76967         when an incomplete long option is used.
76968         * posix/tst-getopt_long1.c: New file.
76969         * posix/Makefile (tests): Add tst-getopt_long1.
76971         [BZ #10138]
76972         * scripts/config.guess: Update from autoconf-2.68.
76973         * scripts/config.sub: Likewise.
76975         [BZ #10157]
76976         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76977         tests into ...
76978         (has_cpuclock): ...this.  New function.
76979         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76980         macro here based on has_cpuclock code.
76982         [BZ #10149]
76983         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76984         First byte (not low byte) is now always NUL.
76985         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76987         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76988         Use non-cancelable interfaces.
76990         [BZ #9809]
76991         * locale/iso-639.def: Add entry for Sorani.
76993         [BZ #11901]
76994         * include/stdlib.h: Move include protection to the right place.
76995         Define abort_msg_s.  Declare __abort_msg with it.
76996         * stdlib/abort.c (__abort_msg): Adjust type.
76997         * assert/assert.c (__assert_fail_base): New function.  Majority
76998         of code from __assert_fail.  Allocate memory for __abort_msg with
76999         mmap.
77000         (__assert_fail): Now call __assert_fail_base.
77001         * assert/assert-perr.c: Remove bulk of implementation.  Use
77002         __assert_fail_base.
77003         * include/assert.hL Declare __assert_fail_base.
77004         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77005         mmap.
77006         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77008 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77010         [BZ #11952]
77011         [BZ #12453]
77012         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77013         until all modules are registered in the DTV.
77014         * elf/Makefile: Add rules to build and run tst-tls19.
77015         * elf/tst-tls19.c: New file.
77016         * elf/tst-tls19mod1.c: New file.
77017         * elf/tst-tls19mod2.c: New file.
77018         * elf/tst-tls19mod3.c: New file.
77019         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77021         [BZ #12083]
77022         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77023         correctly.
77025         [BZ #12601]
77026         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77027         two-byte sequence errors.
77028         * iconvdata/Makefile (tests): Add bug-iconv8.
77029         * iconvdata/bug-iconv8.c: New file.
77031         [BZ #12626]
77032         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77033         buf2 definition.
77035         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77037         [BZ #12432]
77038         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77039         (dummy_getcfa): New function.
77040         (init): Get _Unwind_GetCFA address, use dummy if not found.
77041         (backtrace_helper): In recursion check, also check whether CFA changes.
77042         (__backtrace): Completely initialize arg.
77044         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77045         storing incomplete byte sequence in state object.  Avoid testing for
77046         guaranteed too small input if we know there is enough data available.
77048 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77050         * Makeconfig (+link-pie): Indent.
77051         * Rules (binaries-pie): Define if $(have-fpie) and
77052         $(build-shared).
77053         (binaries-shared): Also filter out $(binaries-pie).
77054         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77055         * nscd/Makefile (others-pie): Add nscd.
77056         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77057         ($(objpfx)nscd): Remove command override.
77058         * login/Makefile (others-pie): Add pt_chown.
77059         ($(objpfx)pt_chown): Remove command override.
77060         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77061         remove command overrides.
77063 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77065         * libio/tst_putwc.c: Fix error messages.
77067         [BZ #12724]
77068         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77069         currently writing and seek to current position when not.
77070         * libio/Makefile (tests): Add bug-fclose1.
77071         * libio/bug-fclose1.c: New file.
77073 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77075         [BZ #12511]
77076         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77077         don't set DF_1_NODELETE here.
77078         (do_lookup_x): When entering new entry test for copy relocation
77079         and if necessary set DF_1_NODELETE flag.
77080         * elf/tst-unique4.cc: New file.
77081         * elf/tst-unique4.h: New file.
77082         * elf/tst-unique4lib.cc: New file.
77083         * elf/Makefile: Add rules to build and run tst-unique4.
77084         Patch by Piotr Bury <pbury@goahead.com>.
77086 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77088         [BZ #12052]
77089         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77091         [BZ #12625]
77092         * misc/mntent_r.c (addmntent): Flush the stream after the output
77094         [BZ #12393]
77095         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77096         (is_trusted_path_normalize): Skip initial colon.  Append slash
77097         to empty buffer.  Duplicate is_trusted_path code but allow
77098         constructed patch to be prefix.
77099         (is_dst): Allow $ORIGIN followed by /.
77100         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77101         Correct testing of result of is_trusted_path_normalize
77102         (decompose_rpath): Fix warning.
77104 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77106         [BZ #11257]
77107         * grp/initgroups.c (internal_getgrouplist): When we found the service
77108         list through the initgroups entry in nsswitch.conf do not always
77109         continue on a successful lookup.  Don't always use the
77110         __nss_group_database value if it is set.
77111         * nss/nsswitch.conf (initgroups): Change action for successful db
77112         lookup to continue for compatibility.
77114 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77116         [BZ #11532]
77117         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77118         and CP774 modules.
77119         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77120         and CP774 modules.
77121         * iconvdata/tst-tables.sh: Likewise.
77122         * iconvdata/cp770.c: New file.
77123         * iconvdata/cp771.c: New file.
77124         * iconvdata/cp772.c: New file.
77125         * iconvdata/cp773.c: New file.
77126         * iconvdata/cp774.c: New file.
77127         * iconvdata/testdata/CP770: New file.
77128         * iconvdata/testdata/CP770..UTF8: New file.
77129         * iconvdata/testdata/CP771: New file.
77130         * iconvdata/testdata/CP771..UTF8: New file.
77131         * iconvdata/testdata/CP772: New file.
77132         * iconvdata/testdata/CP772..UTF8: New file.
77133         * iconvdata/testdata/CP773: New file.
77134         * iconvdata/testdata/CP773..UTF8: New file.
77135         * iconvdata/testdata/CP774: New file.
77136         * iconvdata/testdata/CP774..UTF8: New file.
77138         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77139         END CHARMAP line.
77140         * iconvdata/gen-8bit-gap.sh: Likewise.
77141         * iconvdata/gen-8bit.sh: Likewise.
77143         * locale/iso-639.def: Add ary entry.
77145         [BZ #11258]
77146         * locale/C-translit.h.in: Add U20A1 transliteration.
77148         [BZ #12178]
77149         * locale/iso-639.def: Add wae entry.
77150         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77152         [BZ #12545]
77153         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77154         for n.
77156         [BZ #12711]
77157         * locale/C-translit.h.in: Add entry for U20B9.
77158         Patch by pravin.d.s@gmail.com.
77160 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77162         [BZ #12713]
77163         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77164         ENAMETOOLONG use generic getcwd.
77165         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77166         in rtld.  Use *stat64.
77167         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77168         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77169         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77170         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77171         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77172         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77173         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77174         __fstatat64 macros.
77175         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77176         * dirent/rewinddir.c: Add libc_hidden_def.
77177         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77178         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77180         * include/dirent.h (__alloc_dir): Add flags parameter.
77181         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77182         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77183         __alloc_dir.
77184         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77185         from fdopendir if O_CLOEXEC is already set.
77187 2011-03-15  Alan Modra  <amodra@gmail.com>
77189         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77190         l_tls_firstbyte_offset non-zero.  Save padding offset in
77191         l_tls_firstbyte_offset for later use.
77192         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77193         freeing static tls block.
77195 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77197         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77198         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77199         being defined by the kernel headers.
77201 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77203         [BZ #12734]
77204         * resolv/resolv.h: Define RES_NOTLDQUERY.
77205         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77206         no-tld-query and set RES_NOTLDQUERY.
77207         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77208         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77209         modern BIND to search name as TLD unless forbidden.
77211 2011-05-07  Petr Baudis  <pasky@suse.cz>
77212             Ulrich Drepper  <drepper@gmail.com>
77214         [BZ #12393]
77215         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77216         (is_trusted_path): ...to here.
77217         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77218         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77219         using is_trusted_path_normalize() in setuid scripts.
77221 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77223         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77224         __BEGIN/__END_DECLS.
77226 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77228         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77229         NSS_STATUS_NOTFOUND if no record was found.
77231 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77233         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77234         (headers-not-in-tirpc): Remove rpc/netdb.h
77235         * resolv/netdb.h: Revert last change.
77237 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77239         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77240         circular dependency between libgcc.a and libc.a.
77242 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77244         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77245         * nis/Makefile: Don't install rpcsvc/*.
77246         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77247         instead of <rpc/types.h>.
77248         (MAXHOSTNAMELEN): Define.
77250 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77252         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77254 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77256         [BZ #12714]
77257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77258         gethostbyname4_r when IPv6 results are possible.
77260 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77262         [BZ #12723]
77263         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77264         _PC_PIPE_BUF handling.
77266 2011-04-30  Bruno Haible  <bruno@clisp.org>
77268         [BZ #12717]
77269         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77270         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77271         to 'int'.
77272         * inet/getnameinfo.c (getnameinfo): Likewise.
77274 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77276         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77277         to groups setting in database lookup.
77278         * nss/nsswitch.conf: Add initgroups entry.
77280 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77282         [BZ #12685]
77283         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77284         mode string.
77285         Patch by Eric Blake <eblake@redhat.com>.
77287 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77289         * sunrpc/Makefile (need-export-routines): Add svc_run.
77290         (routines): Remove svc_run.
77291         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77292         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77293         * sunrpc/svc_run.c (svc_run): Likewise.
77294         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77296 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77298         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77299         problem in reallocation in last patch.
77301 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77303         * sunrpc/Makefile: Move inclusion of Rules.
77305 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77307         * nss/nss_files/files-initgroups.c: New file.
77308         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77309         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77310         _nss_files_initgroups_dyn.
77312 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77314         * elf/elf.h (R_ARM_IRELATIVE): Define.
77316 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77318         * po/ru.po: Update from translation team.
77320 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77322         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77323         dependencies.
77325 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77327         [BZ #12653]
77328         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77329         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77330         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77331         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77334 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77336         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77337         differing bytes.
77338         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77342 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77344         [BZ #12420]
77345         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77346         storing it.
77347         * stdlib/bug-getcontext.c: New file.
77348         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77350 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77352         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77353         instructions into .machine "z9-109".
77354         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77355         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77357 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77359         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77360         between environment variables and auxiliary vector.
77362 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77364         * Makefile: Add rules to build linkobj/libc.so.
77365         * include/libc-symbols.h: Define libc_hidden_nolink.
77366         * include/rpc/auth.h: Mark functions which are to be hidden.
77367         * include/rpc/auth_des.h: Likewise.
77368         * include/rpc/auth_unix.h: Likewise.
77369         * include/rpc/clnt.h: Likewise.
77370         * include/rpc/des_crypt.h: Likewise.
77371         * include/rpc/key_prot.h: Likewise.
77372         * include/rpc/pmap_clnt.h: Likewise.
77373         * include/rpc/pmap_prot.h: Likewise.
77374         * include/rpc/pmap_rmt.h: Likewise.
77375         * include/rpc/rpc_msg.h: Likewise.
77376         * include/rpc/svc.h: Likewise.
77377         * include/rpc/svc_auth.h: Likewise.
77378         * include/rpc/xdr.h: Likewise.
77379         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77380         * nss/Makefile: Likewise.
77381         * sunrpc/Makefile: Don't install headers.  Build library with normal
77382         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77383         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77384         for the compat linking library.  Remove use of INTDEF/INTUSE.
77385         * sunrpc/auth_none.c: Likewise.
77386         * sunrpc/auth_unix.c: Likewise.
77387         * sunrpc/authdes_prot.c: Likewise.
77388         * sunrpc/authuxprot.c: Likewise.
77389         * sunrpc/clnt_gen.c: Likewise.
77390         * sunrpc/clnt_perr.c: Likewise.
77391         * sunrpc/clnt_raw.c: Likewise.
77392         * sunrpc/clnt_simp.c: Likewise.
77393         * sunrpc/clnt_tcp.c: Likewise.
77394         * sunrpc/clnt_udp.c: Likewise.
77395         * sunrpc/clnt_unix.c: Likewise.
77396         * sunrpc/des_crypt.c: Likewise.
77397         * sunrpc/des_soft.c: Likewise.
77398         * sunrpc/get_myaddr.c: Likewise.
77399         * sunrpc/key_call.c: Likewise.
77400         * sunrpc/key_prot.c: Likewise.
77401         * sunrpc/netname.c: Likewise.
77402         * sunrpc/pm_getmaps.c: Likewise.
77403         * sunrpc/pm_getport.c: Likewise.
77404         * sunrpc/pmap_clnt.c: Likewise.
77405         * sunrpc/pmap_prot.c: Likewise.
77406         * sunrpc/pmap_prot2.c: Likewise.
77407         * sunrpc/pmap_rmt.c: Likewise.
77408         * sunrpc/publickey.c: Likewise.
77409         * sunrpc/rpc_cmsg.c: Likewise.
77410         * sunrpc/rpc_common.c: Likewise.
77411         * sunrpc/rpc_dtable.c: Likewise.
77412         * sunrpc/rpc_prot.c: Likewise.
77413         * sunrpc/rpc_thread.c: Likewise.
77414         * sunrpc/rtime.c: Likewise.
77415         * sunrpc/svc.c: Likewise.
77416         * sunrpc/svc_auth.c: Likewise.
77417         * sunrpc/svc_authux.c: Likewise.
77418         * sunrpc/svc_raw.c: Likewise.
77419         * sunrpc/svc_run.c: Likewise.
77420         * sunrpc/svc_simple.c: Likewise.
77421         * sunrpc/svc_tcp.c: Likewise.
77422         * sunrpc/svc_udp.c: Likewise.
77423         * sunrpc/svc_unix.c: Likewise.
77424         * sunrpc/svcauth_des.c: Likewise.
77425         * sunrpc/xcrypt.c: Likewise.
77426         * sunrpc/xdr.c: Likewise.
77427         * sunrpc/xdr_array.c: Likewise.
77428         * sunrpc/xdr_float.c: Likewise.
77429         * sunrpc/xdr_intXX_t.c: Likewise.
77430         * sunrpc/xdr_mem.c: Likewise.
77431         * sunrpc/xdr_rec.c: Likewise.
77432         * sunrpc/xdr_ref.c: Likewise.
77433         * sunrpc/xdr_sizeof.c: Likewise.
77434         * sunrpc/xdr_stdio.c: Likewise.
77436 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77438         [BZ #12650]
77439         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77440         * sysdeps/ia64/dl-tls.h: Likewise.
77441         * sysdeps/powerpc/dl-tls.h: Likewise.
77442         * sysdeps/s390/dl-tls.h: Likewise.
77443         * sysdeps/sh/dl-tls.h: Likewise.
77444         * sysdeps/sparc/dl-tls.h: Likewise.
77445         * sysdeps/x86_64/dl-tls.h: Likewise.
77446         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77448 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77450         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77451         rpath element also skip the following colon.
77452         (expand_dynamic_string_token): Add is_path parameter and pass
77453         down to DL_DST_REQUIRED and _dl_dst_substitute.
77454         (decompose_rpath): Call expand_dynamic_string_token with
77455         non-zero is_path.  Ignore empty rpaths.
77456         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77457         with zero is_path.
77459 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77462         Make cancelable.
77464 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77466         [BZ #12655]
77467         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77468         Patch by Filipe David Manana <fdmanana@apache.org>.
77470 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77473         Maintain aligned stack.
77474         (CHECK_RSP): Remove unused macro.
77476 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77478         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77479         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77481 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77483         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77485         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77487 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77489         [BZ #12518]
77490         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77491         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77492         * sysdeps/x86_64/memmove.c: New file.
77493         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77494         (memcpy): Renamed to ...
77495         (__new_memcpy): This.
77496         (memcpy): Provide GLIBC_2_14 memcpy.
77497         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77498         (memcpy): Provide GLIBC_2_2_5 memcpy.
77500 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77502         [BZ #12631]
77503         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77505 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77507         * misc/syncfs.c: New file.
77508         * misc/Makefile (routines): Add syncfs.
77509         * posix/unistd.h: Declare syncfs.
77510         * sysdeps/unix/syscalls.list: Add syncfs.
77512 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77514         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77515         open_by_handle_at.
77516         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77517         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77518         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77519         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77521         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77522         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77524 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77526         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77527         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77528         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77530         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77532         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77534         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77535         sync_file_range.c with -fexceptions.
77536         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77537         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77538         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77539         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77540         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77541         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77542         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77543         sync_file_range as cancellation point
77544         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77545         now a wrapper around __call_sync_file_range with cancellation handling.
77546         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77547         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77548         function name to __call_sync_file_range.
77549         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77550         Add call_sync_file_range.
77552 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77555         bits/timex.h.
77557 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77559         * iconv/iconv.h: Fix typo in comment.
77560         * io/fcntl.h: Likewise.
77561         * libio/stdio.h: Likewise.
77562         * posix/spawn.h: Likewise.
77563         * posix/unistd.h: Likewise.
77564         * stdlib/stdlib.h: Likewise.
77565         * time/time.h: Likewise.
77566         * wcsmbs/wchar.h: Likewise.
77568         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77569         open_by_handle): Add.
77570         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77571         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77572         Augment a few comments.
77573         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77574         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77575         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77577         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77578         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77579         open_by_handle.
77581         * io/fcntl.h (AT_EMPTY_PATH): Define.
77583 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77585         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77586         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77587         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77588         to...
77589         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77590         * Versions.def: Add GLIBC_2.14.
77591         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77592         Export.
77594 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77596         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77597         round counter.
77598         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77600 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77602         [BZ #12597]
77603         * string/test-strncmp.c (do_page_test): New function.
77604         (check2): Likewise.
77605         (test_main): Call check2.
77606         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77608 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77610         [BZ #12587]
77611         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77612         Handle cache information in CPU leaf 4.
77613         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77615 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77617         [BZ #12583]
77618         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77619         character representation.
77620         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77622 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77624         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77625         END(__isnan) to END(__isnanf) to match function entry point/label
77626         EALIGN(__isnanf,...).
77628 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77630         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77632 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77634         [BZ #12510]
77635         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77636         copy from the symbol referenced in the relocation to initialize the
77637         used variable.
77638         Patch by Piotr Bury <pbury@goahead.com>.
77639         * elf/Makefile: Add rules to build and tst-unique3.
77640         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77641         * elf/tst-unique3.cc: New file.
77642         * elf/tst-unique3.h: New file.
77643         * elf/tst-unique3lib.cc: New file.
77644         * elf/tst-unique3lib2.cc: New file.
77646         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77648 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77650         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77651         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77652         to _start.
77654 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77656         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77657         to-be-loaded object along a path to loader is ld.so.
77659 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77660             Ulrich Drepper  <drepper@gmail.com>
77662         * sysdeps/x86_64/memset.S: After aligning destination, code
77663         branches to different locations depending on the value of
77664         misalignment, when multiarch is enabled. Fix this.
77666 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77668         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77669         Set _x86_64_preferred_memory_instruction for AMD processsors.
77670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77671         Set bit_Prefer_SSE_for_memop for AMD processors.
77673 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77675         * libio/fmemopen.c (fmemopen): Optimize a bit.
77677 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77679         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77681 2011-03-03  Roland McGrath  <roland@redhat.com>
77683         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77685 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77687         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77688         __bzero_ultra1 instead of __memset_ultra1.
77690 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77691             Ulrich Drepper  <drepper@gmail.com>
77693         [BZ #12509]
77694         * include/link.h (struct link_map): Add l_orig_initfini.
77695         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77696         returning unsuccessfully.
77697         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77698         close of a file loaded at startup, restore the original l_initfini
77699         list.
77700         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77701         list, store the pointer.
77702         * elf/Makefile ($(objpfx)noload-mem): New rule.
77703         (noload-ENV): Define.
77704         (tests): Add $(objpfx)noload-mem.
77705         * elf/noload.c: Include <memcheck.h>.
77706         (main): Call mtrace.  Close all opened handles.
77708 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77710         [BZ #12454]
77711         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77712         dependencies are missing.
77714 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77716         Fix __if_freereq crash: Unlike the generic version which uses free,
77717         Hurd needs munmap.
77718         * sysdeps/mach/hurd/ifreq.h: New file.
77720 2011-01-27  Petr Baudis  <pasky@suse.cz>
77721             Ulrich Drepper  <drepper@gmail.com>
77723         [BZ 12445]#
77724         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77725         to extend_alloca().
77726         * stdio-common/bug23.c: New file.
77727         * stdio-common/Makefile (tests): Add bug23.
77729 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77730             Ulrich Drepper  <drepper@gmail.com>
77732         [BZ #12489]
77733         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77734         before performing relro protection.  At old place add assertion
77735         to make sure nothing changed.
77737 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77738             Glauber de Oliveira Costa  <glommer@gmail.com>
77740         * elf/elf.h: Add new ARM TLS relocs.
77742 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77745         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77746         cast from r3.
77747         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77748         'tests' variable.
77749         * sysdeps/wordsize-64/tst-writev.c: New file.
77751 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77753         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77754         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77755         insns in _dl_start to prevent a TOC reference before relocs are
77756         resolved.
77758 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77760         [BZ #12469]
77761         * Makeconfig: Remove RANLIB definition.
77762         * Makerules: Don't use RANLIB.
77763         * aclocal.m4: Remove ranlib test.
77764         * configure.in: No need to check for ranlib.
77765         * elf/rtld-Rules: Don't use RANLIB.
77767 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77769         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77770         protection macro.
77771         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77772         inclusion protection macro.
77774         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77775         SIGRTMIN and SIGRTMAX and print information in that case only when
77776         SIGRTMIN is defined.
77778 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77780         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77781         arginfo fn returning -1.
77783         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77784         and thousands string is zero terminated.
77786 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77789         sysdeps/unix/sysv/linux/bits/socket.h.
77791 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77793         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77794         (__CPU_COUNT): Remove old macros.
77795         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77796         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77797         (__CPU_ALLOC, __CPU_FREE): Add macros.
77798         (__sched_cpualloc, __sched_cpufree): Add declarations.
77800 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77802         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77803         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77804         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77805         (readdhstai): Return value of addhstaiX call.
77806         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77807         (addgrbyX): Return value returned by cache_addgr.
77808         (readdgrbyname): Return value returned by addgrbyX.
77809         (readdgrbygid): Likewise.
77810         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77811         (addpwbyX): Return value returned by cache_addpw.
77812         (readdpwbyname): Return value returned by addhstbyX.
77813         (readdpwbyuid): Likewise.
77814         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77815         (addservbyX): Return value returned by cache_addserv.
77816         (readdservbyname): Return value returned by addservbyX:
77817         (readdservbyport): Likewise.
77818         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77819         (addhstbyX): Return value returned by cache_addhst.
77820         (readdhstbyname): Return value returned by addhstbyX.
77821         (readdhstbyaddr): Likewise.
77822         (readdhstbynamev6): Likewise.
77823         (readdhstbyaddrv6): Likewise.
77824         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77825         (readdinitgroups): Return value returned by addinitgroupsX.
77826         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77827         (prune_cache): Keep track of timeout value of re-added entries.
77828         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77829         * nscd/nscd.h: Adjust prototypes of readd* functions.
77831 2011-02-04  Roland McGrath  <roland@redhat.com>
77833         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77834         (nis_stats): Likewise.
77835         * nis/nis_modify.c (nis_modify): Likewise.
77836         * nis/nis_remove.c (nis_remove): Likewise.
77837         * nis/nis_add.c (nis_add): Likewise.
77839         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77841         * posix/fnmatch_loop.c: Add some consts.
77843         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77845 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77847         [BZ #12460]
77848         * config.make.in (config-cflags-novzeroupper): Define.
77849         * configure.in: Substitute libc_cv_cc_novzeroupper.
77850         * elf/Makefile (AVX-CFLAGS): Define.
77851         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77852         (CFLAGS-tst-auditmod4a.c): Likewise.
77853         (CFLAGS-tst-auditmod4b.c): Likewise.
77854         (CFLAGS-tst-auditmod6b.c): Likewise.
77855         (CFLAGS-tst-auditmod6c.c): Likewise.
77856         (CFLAGS-tst-auditmod7b.c): Likewise.
77857         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77859 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77861         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77862         function to the callback.
77863         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77865 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77867         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77868         of errno.
77870 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77872         [BZ #11724]
77873         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77874         of constructors.
77875         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77876         of destructors.
77877         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77879         [BZ #11724]
77880         * elf/Makefile: Add rules to build and run new test.
77881         * elf/tst-initorder.c: New file.
77882         * elf/tst-initorder.exp: New file.
77883         * elf/tst-initordera1.c: New file.
77884         * elf/tst-initordera2.c: New file.
77885         * elf/tst-initordera3.c: New file.
77886         * elf/tst-initordera4.c: New file.
77887         * elf/tst-initorderb1.c: New file.
77888         * elf/tst-initorderb2.c: New file.
77889         * elf/tst-order-a1.c: New file.
77890         * elf/tst-order-a2.c: New file.
77891         * elf/tst-order-a3.c: New file.
77892         * elf/tst-order-a4.c: New file.
77893         * elf/tst-order-b1.c: New file.
77894         * elf/tst-order-b2.c: New file.
77895         * elf/tst-order-main.c: New file.
77896         New test case by George Gensure <werkt0@gmail.com>.
77898 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77901         decoding ACE if AI_CANONIDN.
77903 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77905         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77907 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77909         * version.h (RELEASE): Bump for 2.13 release.
77910         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77912         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77914         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77915         MADV_NOHUGEPAGE.
77916         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77917         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77919         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77920         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77921         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77923         * posix/getconf.c: Update copyright year.
77924         * catgets/gencat.c: Likewise.
77925         * csu/version.c: Likewise.
77926         * debug/catchsegv.sh: Likewise.
77927         * debug/xtrace.sh: Likewise.
77928         * elf/ldconfig.c: Likewise.
77929         * elf/ldd.bash.in: Likewise.
77930         * elf/sprof.c (print_version): Likewise.
77931         * iconv/iconv_prog.c: Likewise.
77932         * iconv/iconvconfig.c: Likewise.
77933         * locale/programs/locale.c: Likewise.
77934         * locale/programs/localedef.c: Likewise.
77935         * malloc/memusage.sh: Likewise.
77936         * malloc/mtrace.pl: Likewise.
77937         * nscd/nscd.c (print_version): Likewise.
77938         * nss/getent.c: Likewise.
77940         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77941         PF_CAIF, and PF_ALG.
77942         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77944 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77946         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77947         (modules-names): Use them.
77948         (ifunc-test-modules, ifunc-pie-tests): Define.
77949         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77950         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77951         (test-extras): Likewise.
77952         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77953         $(compile-command.c).
77954         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77955         (all-built-dso): Define.
77956         (check-textrel.out, check-execstack.out): Depend on it.
77958         * configure.in: Don't override --enable-multi-arch.
77960 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77962         [BZ #6812]
77963         * nscd/hstcache.c (tryagain): Define.
77964         (cache_addhst): Return tryagain not notfound for temporary errors.
77965         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77966         failed.
77968 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77970         [BZ #10563]
77971         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77972         to make the syscall.
77973         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77975         [BZ #12378]
77976         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77977         and fall back to matching as normal character if the string ends before
77978         the matching ']' is found.  This is what POSIX requires.
77979         * posix/testfnm.c: Adjust test result.
77980         * posix/globtest.sh: Adjust test result.  Add new test.
77981         * posix/tst-fnmatch.input: Likewise.
77982         * posix/tst-fnmatch2.c: Add new test.
77984 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77986         * elf/Makefile (check-execstack): Revert last change.  Depend on
77987         check-execstack.h.
77988         (check-execstack.h): New target.
77989         (generated): Add check-execstack.h.
77990         * elf/check-execstack.c: Include "check-execstack.h".
77991         (main): Revert last change.
77992         (handle_file): Return zero if GNU_STACK is absent and
77993         DEFAULT_STACK_PERMS doesn't include PF_X.
77995 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77997         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77998         in child fails because the descriptor is already closed.
77999         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78000         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78001         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78003         [BZ #12397]
78004         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78005         syscall.
78007         [BZ #10484]
78008         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78009         temporary buffer used to handle multi lookups locally.
78010         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78012 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78014         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78015         loader is ld.so.
78017 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78019         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78020         alignment for SSE2.
78022 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78024         [BZ #12394]
78025         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78026         characters.  When rounding increased number of integer digits recompute
78027         number of groups.
78028         * stdio-common/tst-grouping.c: New file.
78029         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78031 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78033         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78034         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78036         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78037         void.
78038         * bits/select.h: Likewise.
78040 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78042         * po/ja.po: Update from translation team.
78044 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78046         [BZ #11155]
78047         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78048         implementation just like for lxstat, fxstatat, et al.
78050 2010-12-27  Jim Meyering  <meyering@redhat.com>
78052         [BZ #12348]
78053         * posix/regexec.c (build_trtable): Return failure indication upon
78054         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78056 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78058         [BZ #12201]
78059         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78060         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78061         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78062         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78064         [BZ #12207]
78065         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78067         [BZ #12204]
78068         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78069         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78071 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78073         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78074         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78075         script has SORT_BY_INIT_PRIORITY.
78076         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78077         NO_CTORS_DTORS_SECTIONS is defined.
78078         * elf/soinit.c: Likewise.
78079         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78080         NO_CTORS_DTORS_SECTIONS is defined.
78081         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78082         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78083         * sysdeps/sh/init-first.c: Likewise.
78084         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78086 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78088         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78089         always use the slow path.
78091 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78093         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78094         similar rule which adds the sysdep directories to the header search in
78095         order to pick up the correct platform stackinfo.h.
78096         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78097         perform test if it is, otherwise return successfully without testing.
78098         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78099         DEFAULT_STACK_PERMS define in stackinfo.h.
78100         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78101         defined in stackinfo.h.
78102         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78103         DEFAULT_STACK_PERMS defined in stackinfo.h.
78104         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78105         * sysdeps/ia64/stackinfo.h: Likewise.
78106         * sysdeps/s390/stackinfo.h: Likewise.
78107         * sysdeps/sh/stackinfo.h: Likewise.
78108         * sysdeps/sparc/stackinfo.h: Likewise.
78109         * sysdeps/x86_64/stackinfo.h: Likewise.
78110         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78111         PF_X for powerpc64.  Retain PF_X for powerpc32.
78113 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78115         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78116         accurately.
78117         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78118         GETDENTS_64BIT_ALIGNED.
78120 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78122         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78124 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78126         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78127         _GNU_SOURCE.
78129         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78130         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78131         Remove __restrict.
78132         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78133         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78135 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78137         [BZ #11655]
78138         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78139         are initialized.
78141 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78143         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78145 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78147         * po/it.po: Update from translation team.
78149 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78152         unused codes.
78154 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78156         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78158 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78160         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78161         specially.
78162         (gaih_getanswer_slice): Likewise.
78164 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78168 2010-05-31  Petr Baudis  <pasky@suse.cz>
78170         [BZ #11149]
78171         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78172         silently even in the chroot mode.
78174 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78176         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78177         last patch a bit.  Pretty printing
78179 2010-05-31  Petr Baudis <pasky@suse.cz>
78181         [BZ #10085]
78182         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78183         initialization of skip_initgroups_dyn.
78185 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78187         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78188         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78190 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78192         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78194 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78196         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78197         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78198         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78199         ($(objpfx)tst-fnmatch-mem): New rule.
78200         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78201         * posix/tst-fnmatch.c (main): Call mtrace.
78203 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78206         Support Intel processor model 6 and model 0x2c.
78208 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78211           signed comparison.
78213 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78215         [BZ #12205]
78216         * string/test-strncasecmp.c (check_result): New function.
78217         (do_one_test): Use it.
78218         (check1): New function.
78219         (test_main): Use it.
78220         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78221         Support strcasecmp and strncasecmp.
78223 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78225         [BZ #12194]
78226         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78227         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78229 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78231         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78232         IFUNC support.
78233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78234         memset-x86-64.
78235         * sysdeps/x86_64/multiarch/bzero.S: New file.
78236         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78237         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78238         * sysdeps/x86_64/multiarch/memset.S: New file.
78239         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78241         Set bit_Prefer_SSE_for_memop for Intel processors.
78242         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78243         Define.
78244         (index_Prefer_SSE_for_memop): Define.
78245         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78247 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78249         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78250         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78252 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78254         [BZ #12191]
78255         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78256         (__x86_64_raw_data_cache_size_half): Likewise.
78257         (__x86_64_raw_shared_cache_size): Likewise.
78258         (__x86_64_raw_shared_cache_size_half): Likewise.
78260         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78261         (__x86_64_raw_data_cache_size_half): Likewise.
78262         (__x86_64_raw_shared_cache_size): Likewise.
78263         (__x86_64_raw_shared_cache_size_half): Likewise.
78264         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78265         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78266         and __x86_64_raw_shared_cache_size_half.  Round
78267         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78268         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78269         to multiple of 256 bytes.
78271 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78273         [BZ #12167]
78274         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78275         of inacessible symlinks.  Verify result of symlink before returning it.
78276         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78277         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78279 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78281         * math/math.h (isinf): Fix typo in comment.
78283 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78285         * po/da.po: Update from translation team.
78287 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78289         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78290         is added to the list.
78292 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78293             Ulrich Drepper  <drepper@gmail.com>
78295         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78296         the global list here.  Move code to...
78297         (_dl_add_to_namespace_list): ...here.  New function.
78298         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78299         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78300         * elf/dl-load.c (lose): Don't remove the element from the list.
78301         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78302         (_dl_map_object): Likewise.
78304 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78306         [BZ #12159]
78307         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78308         into all bytes of SSE register.
78309         Patch by Richard Li <richardpku@gmail.com>.
78311 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78313         [BZ #12140]
78314         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78315         perturbing.
78317 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78319         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78320         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78321         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78322         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78324         submachine.
78325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78327 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78329         * include/dlfcn.h (__RTLD_SECURE): Define.
78330         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78331         mode & __RTLD_SECURE instead.
78332         (open_path): Rename preloaded parameter to secure.
78333         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78334         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78335         * elf/dl-deps.c (openaux): Likewise.
78336         * elf/rtld.c (struct map_args): Remove is_preloaded.
78337         (map_doit): Don't use it.
78338         (dl_main): Likewise.
78339         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78340         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78342 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78344         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78345         (sysd-rules-targets): Remove duplicates.
78346         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78347         rtld-%.$o dependency.
78349 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78351         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78352         _dl_map_object do it.
78354 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78356         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78357         fast fma builtins, define the macros in the C99 standard.
78358         (FP_FAST_FMAF): Likewise.
78359         (FP_FAST_FMAL): Likewise.
78360         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78362         * bits/mathdef.h: Update copyright year.
78363         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78365 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78367         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78368         builtins, define the macros in the C99 standard.
78369         (FP_FAST_FMAF): Likewise.
78370         (FP_FAST_FMAL): Likewise.
78371         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78372         multiply/add.
78373         (FP_FAST_FMAF): Likewise.
78375 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78377         [BZ #3268]
78378         * math/libm-test.inc (fma_test): Some new testcases.
78379         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78381         y and infinite z.  Do multiplication by C already in long double.
78382         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78384         y and infinite z.  Do bitwise or of inexact bit into u.d.
78385         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78386         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78387         * sysdeps/i386/fpu/s_fma.S: Removed.
78388         * sysdeps/i386/fpu/s_fmal.S: Removed.
78390 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78392         [BZ #3268]
78393         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78395         computation is not scheduled after fetestexcept.  Fix value
78396         of minimum denormal long double.
78398 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78400         [BZ #3268]
78401         * math/libm-test.inc (fma_test): Add some more tests.
78402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78403         correctly.
78405 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78407         * scripts/data/localplt-s390-linux-gnu.data: New file.
78408         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78410 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78412         [BZ #3268]
78413         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78414         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78415         instead of dbl-64.
78416         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78417         inlines.
78418         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78420         if one of x and y is very large and the other is subnormal.
78421         * sysdeps/s390/fpu/s_fmaf.c: New file.
78422         * sysdeps/s390/fpu/s_fma.c: New file.
78423         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78424         * sysdeps/powerpc/fpu/s_fma.S: New file.
78425         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78426         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78427         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78429 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78431         [BZ #3268]
78432         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78433         fma tests.
78434         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78435         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78436         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78437         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78438         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78439         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78440         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78442 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78444         [BZ #12078]
78445         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78446         * posix/bug-regex31.input: Add test case.
78448 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78450         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78451         * posix/bug-regex31.input: New file.
78453         [BZ #12078]
78454         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78455         (parse_sub_exp): Fix last change, use postorder.
78457         * posix/bug-regex31.c: New file.
78458         * posix/Makefile: Add rules to build and run bug-regex31.
78460         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78462         [BZ #12078]
78463         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78465         [BZ #12108]
78466         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78467         to have entries in sys_siglist.
78469         [BZ #12093]
78470         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78471         be NULL.
78473 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78475         [BZ #3268]
78476         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78477         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78478         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78479         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78480         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78481         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78482         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78483         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78484         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78485         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78486         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78487         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78488         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78489         * math/ftestexcept.c (fetestexcept): Likewise.
78490         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78491         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78492         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78493         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78494         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78495         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78496         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78498 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78500         [BZ #12107]
78501         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78502         newline.
78504 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78506         * string/bug-strstr1.c: New file.
78507         * string/Makefile: Add rules to build and run bug-strstr1.
78509 2010-10-05  Eric Blake  <eblake@redhat.com>
78511         [BZ #12092]
78512         * string/str-two-way.h (two_way_long_needle): Always clear memory
78513         when skipping input due to the shift table.
78515 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78517         [BZ #12005]
78518         * malloc/mcheck.c: Handle large requests.
78520         [BZ #12077]
78521         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78522         for strncmp and strncasecmp.
78523         * string/stratcliff.c: Add tests for strcmp and strncmp.
78524         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78526 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78528         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78529         __set_fpscr.
78531 2010-09-30  Andreas Jaeger  <aj@suse.de>
78533         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78534         (CGROUP_SUPER_MAGIC): Define.
78535         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78536         Handle btrfs and cgroup file systems.
78537         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78538         Likewise.
78540 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78542         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78543         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78545 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78547         [BZ #12067]
78548         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78549         trying to locate the ELF header.
78551 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78553         [BZ #11611]
78554         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78555         Mask out sign-bit copies when constructing f_fsid.
78557 2010-09-24  Petr Baudis <pasky@suse.cz>
78559         * debug/stack_chk_fail_local.c: Add missing licence exception.
78560         * debug/warning-nop.c: Likewise.
78562 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78564         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78565         implementing getdents64 using getdents syscall, set d_type if
78566         __ASSUME_GETDENTS32_D_TYPE.
78568 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78570         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78571         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78573 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78575         [BZ #12037]
78576         * posix/unistd.h: Undo change of feature selection for ftruncate from
78577         2010-01-11.
78579 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78581         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78582         detection.
78584 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78586         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78587         fanotify_mark.
78588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78590 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78592         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78593         variables after CHECK_SP call.
78594         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78596 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78597             Ulrich Drepper  <drepper@redhat.com>
78599         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78600         re-relocationg ld.so.
78601         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78602         _dl_init_paths call.
78603         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78604         here anymore.
78606 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78608         * resolv/res_init.c (__res_vinit): Count the default server we added.
78610 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78611             Ulrich Drepper  <drepper@redhat.com>
78613         [BZ #11968]
78614         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78615         (____longjmp_chk): Use %ebx for saving value across system call.
78616         Add unwind info.
78618 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78620         * manual/Makefile: Don't mix pattern rules with normal rules.
78622 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78624         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78625         operation.
78626         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78627         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78628         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78629         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78630         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78631         Likewise.
78633 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78635         [BZ #11979]
78636         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78637         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78639 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78641         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78642         * sysdeps/x86_64/addmul_1.S: Likewise.
78643         * sysdeps/x86_64/lshift.S: Likewise.
78644         * sysdeps/x86_64/mul_1.S: Likewise.
78645         * sysdeps/x86_64/rshift.S: Likewise.
78646         * sysdeps/x86_64/sub_n.S: Likewise.
78647         * sysdeps/x86_64/submul_1.S: Likewise.
78649 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78651         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78652         Define __sched_param instead of SCHED_* and sched_param when
78653         <bits/sched.h> is included with __need_schedparam defined.
78654         * bits/sched.h [__need_schedparam]
78655         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78656         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78657         (__defined_schedparam): Define to 1.
78658         (__sched_param): New structure, identical to sched_param.
78659         (__need_schedparam): Undefine.
78661 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78663         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78664         (epoll_create1): Declare.
78666         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78668 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78670         [BZ #7066]
78671         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78672         shifting retval into place.
78674 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78676         * nis/rpcsvc/nis.h: Update copyright notice.
78677         * nis/rpcsvc/nis.x: Likewise.
78678         * nis/rpcsvc/nis_callback.h: Likewise.
78679         * nis/rpcsvc/nis_callback.x: Likewise.
78680         * nis/rpcsvc/nis_object.x: Likewise.
78681         * nis/rpcsvc/nis_tags.h: Likewise.
78682         * nis/rpcsvc/yp.h: Likewise.
78683         * nis/rpcsvc/yp.x: Likewise.
78684         * nis/rpcsvc/ypupd.h: Likewise.
78685         * nis/yp_xdr.c: Likewise.
78686         * nis/ypupdate_xdr.c: Likewise.
78688         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78689         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78690         (pmap_getport): Use __libc_rpc_getport.
78691         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78692         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78693         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78695 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78698         fanotify_mark.
78700 2010-08-27  Roland McGrath  <roland@redhat.com>
78702         * sysdeps/i386/i686/multiarch/Makefile
78703         (CFLAGS-varshift.c): New variable.
78705 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78707         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78708         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78710         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78712         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78714 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78716         * sysdeps/x86_64/strlen.S: Unroll the loop.
78717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78718         strlen-sse2 strlen-sse2-bsf.
78719         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78720         __strlen_no_bsf if bit_Slow_BSF is set.
78721         (__strlen_sse42): Removed.
78722         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78723         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78725 2010-08-25  Roland McGrath  <roland@redhat.com>
78727         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78728         * sysdeps/x86_64/multiarch/varshift.c: New file.
78729         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78730         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78731         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78732         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78734 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78736         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78737         strlen-sse2 strlen-sse2-bsf.
78738         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78739         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78740         (__strlen_sse2): Removed.
78741         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78742         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78744         bit_Slow_BSF for Atom.
78745         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78746         (index_Slow_BSF): Define.
78747         (HAS_SLOW_BSF): Define.
78749 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78751         [BZ #10851]
78752         * resolv/res_init.c (__res_vinit): When no server address at all
78753         is given default to loopback.
78755 2010-08-24  Roland McGrath  <roland@redhat.com>
78757         * configure.in: Remove config-name.h generation.
78758         * configure: Regenerated.
78759         * config-name.in: File removed.
78760         * scripts/config-uname.sh: New file.
78761         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78762         ($(objdir)config-name.h): New target.
78764         * sunrpc/rpc_parse.h: Avoid nested comment.
78766 2010-08-24  Richard Henderson  <rth@redhat.com>
78767             Ulrich Drepper  <drepper@redhat.com>
78768             H.J. Lu  <hongjiu.lu@intel.com>
78770         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78772         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78773         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78774         _mm_alignr_epi8 with _mm_loadu_si128.
78775         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78776         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78777         (__m128i_shift_right): Removed.
78778         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78779         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78780         * sysdeps/x86_64/multiarch/varshift.h: New file.
78781         * sysdeps/x86_64/multiarch/varshift.S: New file.
78783 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78785         * configure.in: Move assembler checks to before sysdep dir checking.
78787 2010-08-20  Petr Baudis  <pasky@suse.cz>
78789         * LICENSES: Sync the sunrpc license.
78791 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78793         * sunrpc/auth_des.c: Update copyright notice once again.
78794         * sunrpc/auth_none.c: Likewise.
78795         * sunrpc/auth_unix.c: Likewise.
78796         * sunrpc/authdes_prot.c: Likewise.
78797         * sunrpc/authuxprot.c: Likewise.
78798         * sunrpc/bindrsvprt.c: Likewise.
78799         * sunrpc/clnt_gen.c: Likewise.
78800         * sunrpc/clnt_perr.c: Likewise.
78801         * sunrpc/clnt_raw.c: Likewise.
78802         * sunrpc/clnt_simp.c: Likewise.
78803         * sunrpc/clnt_tcp.c: Likewise.
78804         * sunrpc/clnt_udp.c: Likewise.
78805         * sunrpc/clnt_unix.c: Likewise.
78806         * sunrpc/des_crypt.c: Likewise.
78807         * sunrpc/des_soft.c: Likewise.
78808         * sunrpc/get_myaddr.c: Likewise.
78809         * sunrpc/getrpcport.c: Likewise.
78810         * sunrpc/key_call.c: Likewise.
78811         * sunrpc/key_prot.c: Likewise.
78812         * sunrpc/openchild.c: Likewise.
78813         * sunrpc/pm_getmaps.c: Likewise.
78814         * sunrpc/pm_getport.c: Likewise.
78815         * sunrpc/pmap_clnt.c: Likewise.
78816         * sunrpc/pmap_prot.c: Likewise.
78817         * sunrpc/pmap_prot2.c: Likewise.
78818         * sunrpc/pmap_rmt.c: Likewise.
78819         * sunrpc/rpc/auth.h: Likewise.
78820         * sunrpc/rpc/auth_unix.h: Likewise.
78821         * sunrpc/rpc/clnt.h: Likewise.
78822         * sunrpc/rpc/des_crypt.h: Likewise.
78823         * sunrpc/rpc/key_prot.h: Likewise.
78824         * sunrpc/rpc/netdb.h: Likewise.
78825         * sunrpc/rpc/pmap_clnt.h: Likewise.
78826         * sunrpc/rpc/pmap_prot.h: Likewise.
78827         * sunrpc/rpc/pmap_rmt.h: Likewise.
78828         * sunrpc/rpc/rpc.h: Likewise.
78829         * sunrpc/rpc/rpc_des.h: Likewise.
78830         * sunrpc/rpc/rpc_msg.h: Likewise.
78831         * sunrpc/rpc/svc.h: Likewise.
78832         * sunrpc/rpc/svc_auth.h: Likewise.
78833         * sunrpc/rpc/types.h: Likewise.
78834         * sunrpc/rpc/xdr.h: Likewise.
78835         * sunrpc/rpc_clntout.c: Likewise.
78836         * sunrpc/rpc_cmsg.c: Likewise.
78837         * sunrpc/rpc_common.c: Likewise.
78838         * sunrpc/rpc_cout.c: Likewise.
78839         * sunrpc/rpc_dtable.c: Likewise.
78840         * sunrpc/rpc_hout.c: Likewise.
78841         * sunrpc/rpc_main.c: Likewise.
78842         * sunrpc/rpc_parse.c: Likewise.
78843         * sunrpc/rpc_parse.h: Likewise.
78844         * sunrpc/rpc_prot.c: Likewise.
78845         * sunrpc/rpc_sample.c: Likewise.
78846         * sunrpc/rpc_scan.c: Likewise.
78847         * sunrpc/rpc_scan.h: Likewise.
78848         * sunrpc/rpc_svcout.c: Likewise.
78849         * sunrpc/rpc_tblout.c: Likewise.
78850         * sunrpc/rpc_util.c: Likewise.
78851         * sunrpc/rpc_util.h: Likewise.
78852         * sunrpc/rpcinfo.c: Likewise.
78853         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78854         * sunrpc/rpcsvc/key_prot.x: Likewise.
78855         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78856         * sunrpc/rpcsvc/mount.x: Likewise.
78857         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78858         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78859         * sunrpc/rpcsvc/rex.x: Likewise.
78860         * sunrpc/rpcsvc/rstat.x: Likewise.
78861         * sunrpc/rpcsvc/rusers.x: Likewise.
78862         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78863         * sunrpc/rpcsvc/spray.x: Likewise.
78864         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78865         * sunrpc/rtime.c: Likewise.
78866         * sunrpc/svc.c: Likewise.
78867         * sunrpc/svc_auth.c: Likewise.
78868         * sunrpc/svc_authux.c: Likewise.
78869         * sunrpc/svc_raw.c: Likewise.
78870         * sunrpc/svc_run.c: Likewise.
78871         * sunrpc/svc_simple.c: Likewise.
78872         * sunrpc/svc_tcp.c: Likewise.
78873         * sunrpc/svc_udp.c: Likewise.
78874         * sunrpc/svc_unix.c: Likewise.
78875         * sunrpc/svcauth_des.c: Likewise.
78876         * sunrpc/xcrypt.c: Likewise.
78877         * sunrpc/xdr.c: Likewise.
78878         * sunrpc/xdr_array.c: Likewise.
78879         * sunrpc/xdr_float.c: Likewise.
78880         * sunrpc/xdr_mem.c: Likewise.
78881         * sunrpc/xdr_rec.c: Likewise.
78882         * sunrpc/xdr_ref.c: Likewise.
78883         * sunrpc/xdr_sizeof.c: Likewise.
78884         * sunrpc/xdr_stdio.c: Likewise.
78886         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78887         handling.
78889 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78891         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78893 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78895         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78896         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78897         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78898         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78899         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78900         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78901         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78902         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78903         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78904         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78905         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78906         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78907         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78908         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78910 2010-07-26  Anton Blanchard  <anton@samba.org>
78912         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78913         * malloc/arena.c (heap_trim): Likewise.
78915 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78917         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78918         here.  Not...
78919         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78920         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78922 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78924         * sysdeps/i386/elf/Makefile: New file.
78926 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78928         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78929         from fanotify_init.
78930         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78931         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78933 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78935         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78936         of strncasecmp_l.
78937         * sysdeps/multiarch/strcmp.S: Likewise.
78939 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78941         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78942         strncase_l-nonascii.
78943         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78944         Add strncase_l-ssse3.
78945         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78946         * sysdeps/x86_64/strcmp.S: Likewise.
78947         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78948         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78949         * sysdeps/x86_64/strncase.S: New file.
78950         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78951         * sysdeps/x86_64/strncase_l.S: New file.
78952         * string/Makefile (strop-tests): Add strncasecmp.
78953         * string/test-strncasecmp.c: New file.
78955         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78956         warning.
78958         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78959         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78961 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78963         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78965 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78967         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78968         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78969         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78971 2010-05-01  Alan Modra  <amodra@gmail.com>
78973         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78974         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78975         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78976         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78977         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78978         tidying.  Don't tail-call __sigjmp_save for static lib.
78979         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78980         save location.
78981         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78982         (CALL_MCOUNT): Add eh info, and nop after bl.
78983         (TAIL_CALL_SYSCALL_ERROR): New macro.
78984         (PSEUDO_RET): Use it.
78985         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78986         Correct save location of integer regs and cr.
78987         (_dl_profile_resolve): Correct cr save location.  Delete nops
78988         after bl when SHARED.  Reduce cfi size a little by better
78989         placement of cfi directives.
78990         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78991         make a stack frame.  Instead use parm save area as a temp.
78992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78993         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78995         Don't make a stack frame for parent, use parm save area.
78996         Increase child stack frame to 112 bytes.  Don't save unused reg,
78997         and adjust reg usage.  Set up cfi on error recovery and
78998         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79000         (__makecontext): Add dummy nop after jump to exit.
79001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79002         Use correct parm save area and cr save, reduce stack frame.
79003         Correct cfi for possible PSEUDO_RET frame setup.
79004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79005         Branch to local label emitted by PSEUDO_RET rather than
79006         __syscall_error.
79008 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79010         [BZ #11904]
79011         * locale/programs/locale.c (print_assignment): New function.
79012         (show_locale_vars): Use it.
79014 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79016         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79017         field.
79018         (struct statfs64): Likewise.
79019         (_STATFS_F_FLAGS): Define.
79020         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79021         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79022         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79023         (ST_VALID): Define locally.
79024         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79025         __statvfs_getflags, use the provided value.
79026         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79027         __ASSUME_STATFS_F_FLAGS.
79029         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79031         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79032         Add sys/fanotify.h.
79033         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79034         fanotify_mask for GLIBC_2.13.
79035         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79036         fanotify_init and fanotify_mark.
79037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79038         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79040         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79041         Add prlimit.
79042         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79043         prlimit64 for GLIBC_2.13.
79044         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79045         prlimit64.
79046         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79047         syscall.
79048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79049         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79050         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79051         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79052         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79053         add prlimit alias.
79054         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79056         [BZ #11903]
79057         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79058         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79060         * nss/Makefile: Add rules to build and run tst-nss-test1.
79061         * shlib-versions: Add entry for libnss_test1.
79062         * nss/nss_test1.c: New file.
79063         * nss/tst-nss-test1.c: New file.
79065         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79066         (__nss_configure_lookup): Set appropriate entry in
79067         __nss_configure_lookup to true.
79068         * nss/nsswitch.h: Define enum with indeces of databases in
79069         databases and __nss_database_custom arrays.  Declare
79070         __nss_database_custom.
79071         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79072         to avoid using nscd when custom rules are installed.
79073         * nss/getXXbyYY_r.c: Likewise.
79074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79076         * nss/nss_files/files-parse.c: Whitespace fixes.
79078 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79080         [BZ #11883]
79081         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79082         * posix/fnmatch_loop.c: Likewise.
79084 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79086         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79087         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79088         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79089         * Versions.def [GLIBC_2.13]: Add.
79091 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79093         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79094         Also fail if tpwd after pwuid call is NULL.
79096 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79098         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79099         when converting to ms.
79101 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79103         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79104         EOPNOTSUPP errors with ENOTTY.
79105         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79106         EOPNOTSUPP errors with ENOTTY.
79108 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79110         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79111         Add strcasecmp_l-ssse3.
79112         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79113         strcasecmp.
79114         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79115         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79116         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79118 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79120         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79122         * string/Makefile (strop-tests): Add strcasecmp.
79123         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79124         strcasecmp_l-nonascii.
79125         (gen-as-const-headers): Add locale-defines.sym.
79126         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79127         * sysdeps/x86_64/strcasecmp.S: New file.
79128         * sysdeps/x86_64/strcasecmp_l.S: New file.
79129         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79130         * sysdeps/x86_64/locale-defines.sym: New file.
79131         * string/test-strcasecmp.c: New file.
79133         * string/test-strcasestr.c: Test both ends of the range of characters.
79134         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79136 2010-07-29  Roland McGrath  <roland@redhat.com>
79138         [BZ #11856]
79139         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79141 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79143         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79144         for ld.so.
79146 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79148         * manual/memory.texi (Malloc Tunable Parameters): Document
79149         M_PERTURB.
79151 2010-07-26  Roland McGrath  <roland@redhat.com>
79153         [BZ #11840]
79154         * configure.in (-fgnu89-inline check): Set and substitute
79155         gnu89_inline, not libc_cv_gnu89_inline.
79156         * configure: Regenerated.
79157         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79159 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79161         * string/test-strnlen.c: New file.
79162         * string/Makefile (strop-tests): Add strnlen.
79163         * string/tester.c (test_strnlen): Add a few more test cases.
79164         * string/tst-strlen.c: Better error reporting.
79166         * sysdeps/x86_64/strnlen.S: New file.
79168 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79170         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79171         lower-latency instructions.
79173 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79175         * string/test-strcasestr.c: New file.
79176         * string/test-strstr.c: New file.
79177         * string/Makefile (strop-tests): Add strstr and strcasestr.
79178         * string/str-two-way.h: Don't undefine MAX.
79179         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79181 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79184         strcasestr-nonascii.
79185         (CFLAGS-strcasestr-nonascii.c): Define.
79186         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79187         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79188         Remove unused attribute.
79190 2010-07-20  Roland McGrath  <roland@redhat.com>
79192         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79193         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79194         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79195         like LD_HWCAP_MASK can disable hwcaps.
79197 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79199         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79201 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79203         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79204         call in strcasestr.
79205         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79206         __strcasestr_sse42_nonascii.
79207         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79208         strcasestr-nonascii.c.
79209         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79211 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79213         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79214         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79215         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79216         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79218 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79220         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79221         fcntl.
79223 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79225         [BZ #11577]
79226         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79227         dl_signal_cerror.
79229 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79231         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79232         _PC_PIPE_BUF using F_GETPIPE_SZ.
79234 2010-07-05  Roland McGrath  <roland@redhat.com>
79236         * manual/arith.texi (Rounding Functions): Fix rint description
79237         implicit in round description.
79239 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79241         * elf/Makefile: Fix linking for a few tests to make recent linker
79242         happy.
79244 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79246         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79247         $(common-objpfx)libc_nonshared.a.
79249 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79251         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79252         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79253         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79254         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79255         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79256         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79257         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79258         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79273         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79274         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79275         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79276         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79277         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79278         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79279         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79280         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79281         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79282         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79283         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79284         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79300 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79302         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79303         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79304         * string/memmove.c (memmove): Renamed to ...
79305         (MEMMOVE): ...this.  Default to memmove.
79306         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79307         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79308         (END_CHK): Define.
79309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79310         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79311         mempcpy-ssse3-back memmove-ssse3-back.
79312         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79314         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79315         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79316         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79317         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79318         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79319         * sysdeps/x86_64/multiarch/memmove.c: New file.
79320         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79321         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79322         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79323         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79325         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79326         Define.
79327         (index_Fast_Copy_Backward): Define.
79328         (HAS_ARCH_FEATURE): Define.
79329         (HAS_FAST_REP_STRING): Define.
79330         (HAS_FAST_COPY_BACKWARD): Define.
79332 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79334         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79335         Restore proper fallback handling.
79337 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79339         [BZ #11701]
79340         * posix/group_member.c (__group_member): Correct checking loop.
79342         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79343         OOM in getpwuid_r correctly.  Return error number when the caller
79344         should return, otherwise -1.
79345         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79346         call returning > 0 value.
79347         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79349 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79351         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79352         libc_nonshared.a from targets in modules-names.
79354 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79356         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79357         requires it.
79359 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79361         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79362         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79363         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79364         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79366 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79368         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79370 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79372         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79373         and F_GETPIPE_SZ.
79374         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79377         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79378         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79379         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79381 2010-06-14  Roland McGrath  <roland@redhat.com>
79383         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79385 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79387         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79388         __REDIRECT followed by __THROW.
79389         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79390         * posix/getopt.h (getopt): Likewise.
79392 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79394         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79395         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79396         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79397         in AT_FLAGS.
79398         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79399         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79401 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79403         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79405 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79407         [BZ #11640]
79408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79409         Properly check family and model.
79411 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79413         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79415 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79417         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79419 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79421         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79422         symbol reference.
79424 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79426         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79427         symbol reference.
79429 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79431         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79432         and internal_recvmmsg.
79433         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79434         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79435         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79436         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79438         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79439         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79440         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79442 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79444         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79446 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79448         POWER7 optimizations.
79449         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79450         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79452 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79454         * version.h: Update for 2.13 development version.
79456 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79458         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79459         exceptions.  Return 0.
79461 2010-05-07  Roland McGrath  <roland@redhat.com>
79463         * elf/ldconfig.c (main): Add a const.
79465 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79467         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79468         (args_options): Add no-idn option.
79469         (ahosts_keys_int): Add idn_flags to ai_flags.
79470         (parse_option): Handle 'i' option to clear idn_flags.
79472         * malloc/malloc.c (_int_free): Possible race in the most recently
79473         added check.  Only act on the data if no current modification
79474         happened.
79476 See ChangeLog.17 for earlier changes.