Fix libm fesetenv namespace (bug 17748).
[glibc.git] / ChangeLog
bloba17679b4153dec69a4a141f3853caa0d512b6ff2
1 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17748]
4         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19         libm_hidden_def.
20         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22         Likewise.
23         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
31         __fesetenv instead of fesetenv.
32         (libc_feresetround_noex_ctx): Likewise.
33         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
36         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41         (__feupdateenv): Likewise.
42         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
47 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
49         [BZ #17806]
50         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
51         addresses have been freed.
53 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
55         * resolv/res_init.c (__res_vinit): Improve comments about nserv
56         and nservall.
58 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
60         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
61         Clean up check_pf allocation pattern. addresses
63 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
66         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
67         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
68         * nptl/pthread_exit.c (__pthread_exit): Likewise.
69         * nptl/pthread_join.c (pthread_join): Likewise.
70         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
71         * sysdeps/posix/waitid.c (__waitid): Likewise.
72         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
73         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
74         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
75         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
76         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
77         Likewise.
78         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
79         (__libc_pread64): Likewise.
80         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
81         (__libc_pwrite): Likewise.
82         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
83         (__libc_pwrite64): Likewsie.
84         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
85         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
86         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
87         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
88         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
89         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
90         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
91         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
92         Likewise.
93         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
94         (__libc_pread64): Likewise.
95         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
96         Likewise.
97         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
98         (__libc_pwrite64): Likewise.
99         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
100         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
101         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
102         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
103         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
104         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
105         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
106         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
107         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
108         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
109         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
110         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
111         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
112         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
113         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
114         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
115         Likewise.
117 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
119         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
120         (CFLAGS-test-double.c): Likewise.
121         (CFLAGS-test-ldouble.c): Likewise.
122         (CPPFLAGS-test-ifloat.c): Likewise.
123         (CPPFLAGS-test-idouble.c): Likewise.
124         (CPPFLAGS-test-ildoubl.c): Likewise.
125         (CFLAGS-test-test-fenv.c): Remove variable.
126         (CFLAGS-test-misc.c): Likewise.
128 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
130         [BZ #17797]
131         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
132         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
133         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
134         CLOCKS_PER_SEC == 1000000.
135         * time/clocktest.c (main): Replace %ld with %jd and cast to
136         intmax_t.
138 2015-01-05  Roland McGrath  <roland@hack.frob.com>
140         * sysdeps/generic/unwind-resume.h: New file.
141         * sysdeps/gnu/unwind-resume.c: Include it.
142         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
143         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
144         argument list.
145         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
146         global rather than static.
147         (_Unwind_Resume): Update user.
148         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
149         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
150         rather than static.  Add __attribute__ ((cold)).
151         (_Unwind_Resume, __gcc_personality_v0): Update callers.
152         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
153         * sysdeps/arm/arm-unwind-resume.S: New file.
154         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
155         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
156         * sysdeps/arm/Makefile [$(subdir) = csu]
157         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
158         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
159         Add rt-arm-unwind-resume.
160         [$(subdir) = nptl]
161         (libpthread-sysdep_routines, libpthread-shared-only-routines):
162         Add pt-arm-unwind-resume.
163         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
164         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
166 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
168         [BZ #17748]
169         * include/fenv.h (__feholdexcept): Declare.  Use
170         libm_hidden_proto.
171         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
172         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
173         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
174         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
175         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
176         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
177         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
178         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
179         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
180         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
181         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
182         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
183         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
184         (feholdexcept): Likewise.
185         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
186         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
187         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
188         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
189         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
190         __feholdexcept instead of feholdexcept.
191         (default_libc_feholdexcept_setround): Likewise.
193 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
195         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
196         to avoid using stl/str to align destination.
198 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
200         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
202 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
204         [BZ #17796]
205         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
206         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
207         Define as weak alias not strong alias.
209 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
211         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
212         bltzal with addiupc.
213         (RTLD_START): Ditto.
215 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
217         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
218         for __vdso_* functions in declarations.
219         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
220         definitions.
221         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
222         INTERNAL_VSYSCALL): Use struct return types to check for error.
224         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
225         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
226         function with cast from llround().
227         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
228         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
229         Define.
231 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
233         [BZ #17793]
234         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
235         Define as weak alias not strong alias.
237         [BZ #17635]
238         * ctype/ctype-c99.c: New file.  isblank implementation moved from
239         ...
240         * ctype/ctype-extn.c: ... here.
241         (__isblank_l): Move to ...
242         * ctype/ctype-c99_l.c: ... here.  New file.
243         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
244         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
245         Remove variable.
246         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
247         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
248         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
249         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
250         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
252         [BZ #17777]
253         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
254         (posix_fadvise64): Define as weak alias not strong alias.
255         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
256         (posix_fallocate64): Likewise.
257         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
258         Remove variable.
259         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
260         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
261         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
262         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
263         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
265 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
267         [BZ #16191]
268         * NEWS: Mention bug fix.
269         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
270         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
271         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
272         (HOST_STACK_END_ADDR): Likewise.
274 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
276         [BZ #17748]
277         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
278         * math/fegetround.c (fegetround): Rename to __fegetround and
279         define as weak alias of __fegetround.  Use libm_hidden_weak.
280         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
281         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
282         * sysdeps/arm/fegetround.c (fegetround): Likewise.
283         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
284         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
285         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
286         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
287         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
288         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
289         Undefine after rather than before function definition; use
290         parentheses around function name in definition.
291         (__fegetround): Also undefine macro after function definition.
292         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
293         __fegetround and define as weak alias of __fegetround.  Use
294         libm_hidden_weak.  Do not undefine as macro.
295         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
296         Likewise.
297         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
298         __fegetround and define as weak alias of __fegetround.  Use
299         libm_hidden_weak.
300         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
301         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
302         * sysdeps/tile/math_private.h (__fegetround): New inline function.
303         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
304         __fegetround and define as weak alias of __fegetround.  Use
305         libm_hidden_weak.
306         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
307         __fegetround instead of fegetround.
309         [BZ #17782]
310         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
311         Condition macro definition on [__USE_MISC].
313         [BZ #17781]
314         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
315         (struct sigaction): Change type of sa_flags field to int.
317         [BZ #17780]
318         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
319         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
320         __glibc_reserved0.
322         * nptl/version.c (banner): Use single year in copyright notice.
324         * NEWS: Update copyright dates.
325         * catgets/gencat.c (print_version): Likewise.
326         * csu/version.c (banner): Likewise.
327         * debug/catchsegv.sh: Likewise.
328         * debug/pcprofiledump.c (print_version): Likewise.
329         * debug/xtrace.sh (do_version): Likewise.
330         * elf/ldconfig.c (print_version): Likewise.
331         * elf/ldd.bash.in: Likewise.
332         * elf/pldd.c (print_version): Likewise.
333         * elf/sotruss.sh: Likewise.
334         * elf/sprof.c (print_version): Likewise.
335         * iconv/iconv_prog.c (print_version): Likewise.
336         * iconv/iconvconfig.c (print_version): Likewise.
337         * locale/programs/locale.c (print_version): Likewise.
338         * locale/programs/localedef.c (print_version): Likewise.
339         * login/programs/pt_chown.c (print_version): Likewise.
340         * malloc/memusage.sh (do_version): Likewise.
341         * malloc/memusagestat.c (print_version): Likewise.
342         * malloc/mtrace.pl: Likewise.
343         * manual/libc.texinfo: Likewise.
344         * nptl/version.c (banner): Likewise.
345         * nscd/nscd.c (print_version): Likewise.
346         * nss/getent.c (print_version): Likewise.
347         * nss/makedb.c (print_version): Likewise.
348         * posix/getconf.c (main): Likewise.
349         * scripts/test-installation.pl: Likewise.
350         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
352 2015-01-02  Will Newton  <will.newton@linaro.org>
354         * sysdeps/arm/armv7/configure: Removed.
355         * sysdeps/arm/armv7/configure.ac: Likewise.
357 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
359         * All files with FSF copyright notices: Update copyright dates
360         using scripts/update-copyrights.
361         * intl/plural.c: Regenerated.
362         * locale/programs/charmap-kw.h: Likewise.
363         * locale/programs/locfile-kw.h: Likewise.
365 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
367         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
369 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
371         [BZ #17748]
372         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
373         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
374         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
375         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
376         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
377         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
378         define as weak alias of __fegetenv.  Use libm_hidden_weak.
379         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
380         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
381         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
382         define as weak alias of __fegetenv.  Use libm_hidden_weak.
383         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
384         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
385         define as weak alias of __fegetenv.  Use libm_hidden_weak.
386         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
387         libm_hidden_def.
388         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
389         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
390         Likewise.
391         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
392         define as weak alias of __fegetenv.  Use libm_hidden_weak.
393         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
394         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
395         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
396         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
397         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
398         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
399         __fegetenv instead of fegetenv.
400         (libc_feholdsetround_noex_ctx): Likewise.
402 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
404         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
405         (Elf_MIPS_ABIFlags_v0): New structure.
406         (EF_MIPS_FP64): Define.
407         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
408         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
409         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
410         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
411         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
412         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
413         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
414         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
415         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
416         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
417         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
418         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
419         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
420         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
421         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
422         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
423         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
424         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
425         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
426         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
427         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
428         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
429         field.
430         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
431         EF_MIPS_FP64.
432         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
433         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
434         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
435         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
436         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
437         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
438         * sysdeps/mips/tst-abi-interlink.c: Likewise.
439         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
440         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
441         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
442         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
443         record the current FP ABI extension.
444         (mips-mode-switch): Define to show if kernel headers support mode
445         switching.
446         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
447         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
448         supported SYSV ABI version to 3.
449         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
450         feature.
452 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
453             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
455         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
456         path.
457         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
459 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
461         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
462         __fegetround and redefine to call __fegetround.  Remove condition
463         on [!__NO_MATH_INLINES].
464         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
465         function.
466         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
467         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
468         Remove macro.
469         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
470         instead of <fenv_libc.h>.
471         (__llrintl): Call fegetround instead of __fegetround.
472         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
473         instead of <fenv_libc.h>.
474         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
475         (__lrintl): Call fegetround instead of __fegetround.
476         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
477         instead of <fenv_libc.h>.
478         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
479         (__rintl): Call fegetround instead of __fegetround.
481 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
483         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
484         arrays.
486 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
488         [BZ #17775]
489         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
490         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
491         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
493 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
495         * sysdeps/i386/tls-macros.h: Include <features.h>.
496         (TLS_LE): Use non-PIC version for GCC >= 5.0.
497         (TLS_IE): Likewise.
498         (TLS_LD): Likewise.
499         (TLS_GD): Likewise.
500         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
501         define for GCC >= 5.0.
503 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
505         * math/test-fenv.c (test_single_exception, set_single_exc,
506         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
507         feexcp_mask_test, feenable_test, fe_single_test): Add
508         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
509         case where they are not used.
510         * math/libm-test.inc: Likewise.
511         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
512         unused in the absence of FP rounding/exception support.
513         * stdio-common/tst-printf-round.c: Likewise.
514         * stdlib/tst-strtod-round.c: Likewise.
515         * stdlib/tst-strtod-underflow.c: Likewise.
517 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
519         [BZ #17723]
520         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
521         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
522         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
523         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
524         libm_hidden_weak.
525         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
526         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
527         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
528         libm_hidden_def.
529         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
530         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
531         libm_hidden_weak.
532         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
533         Likewise.
534         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
535         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
536         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
537         libm_hidden_weak.
538         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
539         libm_hidden_def.
540         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
541         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
542         (__feraiseexcept): Likewise.
543         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
544         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
545         libm_hidden_weak.
546         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
547         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
548         libm_hidden_def.
549         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
550         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
551         Use libm_hidden_def.
552         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
553         libm_hidden_def.
554         (feraiseexcept): Define as weak not strong alias.  Use
555         libm_hidden_weak.
556         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
557         New inline function.  Factored out of ...
558         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
559         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
560         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
561         feraiseexcept.
562         * math/w_acos.c (__acos): Likewise.
563         * math/w_asin.c (__asin): Likewise.
564         * math/w_ilogb.c (__ilogb): Likewise.
565         * math/w_j0.c (y0): Likewise.
566         * math/w_j1.c (y1): Likewise.
567         * math/w_jn.c (yn): Likewise.
568         * math/w_log.c (__log): Likewise.
569         * math/w_log10.c (__log10): Likewise.
570         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
571         * sysdeps/aarch64/fpu/math_private.h
572         (libc_feupdateenv_test_aarch64): Likewise.
573         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
574         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
575         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
576         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
577         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
578         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
579         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
580         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
581         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
582         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
584 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
586         [BZ #17732]
587         * io/test-utime.c (main): Replace %ld with %jd and cast to
588         intmax_t.
589         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
590         * nptl/tst-mutex5.c: Include <stdint.h>.
591         (do_test): Replace %ld with %jd and cast to intmax_t.
592         * posix/tst-regex.c (run_test): Likewise.
593         (run_test_backwards): Likewise.
594         * rt/tst-clock.c: Include <stdint.h>.
595         (clock_test): Replace %ld with %jd and cast to intmax_t.
596         * rt/tst-cpuclock1.c: Include <stdint.h>.
597         (do_test): Replace %lu with %ju and cast to uintmax_t.
598         * rt/tst-cpuclock2.c: Include <stdint.h>.
599         (do_test): Replace %lu with %ju and cast to uintmax_t.
600         * rt/tst-mqueue1.c: Include <stdint.h>.
601         (check_attrs): Replace %ld with %jd and cast to intmax_t.
602         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
603         intmax_t.
604         * rt/tst-mqueue4.c (do_test): Likewise.
605         * rt/tst-timer4.c: Include <stdint.h>.
606         (check_ts): Replace %ld with %jd and cast to intmax_t.
607         (do_test): Likewise.
608         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
609         and cast to intmax_t.
610         * sysdeps/pthread/tst-timer.c (main): Likewise.
611         * time/clocktest.c (main): Likewise.
612         * time/tst-posixtz.c (do_test): Likewise.
613         * timezone/tst-timezone.c (main): Likewise.
615 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
616             H.J. Lu  <hongjiu.lu@intel.com>
618         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
619         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
620         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
621         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
622         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
623         version if bit_Fast_Unaligned_Load is set.
624         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
625         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
626         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
627         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
628         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
629         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
631         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
632         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
633         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
634         to 4.
635         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
636         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
637         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
638         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
640 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
642         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
643         instead of #if to avoid a Wundef warning.
644         * stdlib/tst-limits.c (do_test): Likewise.
646         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
647         parallel other exception macros.
648         (fegetenv): Convert from macro to extern inline so that it applies
649         retroactively to inline functions already seen by the compiler.
650         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
652         * posix/Makefile (before-compile): Use $(objpfx) for
653         posix-conf-vars-def.h.
655 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
657         * posix/getconf.c (main): Use size_t for type of I.
658         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
659         NSPEC.
661         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
662         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
663         * posix/posix-envs.def: Likewise.
664         * sysdeps/posix/sysconf.c: Likewise.
665         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
666         (specs): Remove array.
667         * scripts/gen-posix-conf-vars.awk: Support generation of specs
668         array.
670         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
671         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
672         (__sysconf): Use CONF_IS_* macros.
674         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
675         ($(objpfx)posix-conf-vars-def.h): New target.
676         * posix/posix-conf-vars.list: New file.
677         * posix/posix-conf-vars.h: New file.
678         * posix/confstr.c: Include posix-conf-vars.h.
679         (confstr): Use CONF_IS_* macros.
680         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
681         CONF_IS_* macros.
682         * scripts/gen-posix-conf-vars.awk: New file.
684 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
686         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
687         fegetround): Add no-op macros to avoid linknamespace issues.
689         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
690         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
692         * sysdeps/unix/sysv/linux/tile/sysdep.h
693         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
694         assembly-specific section to avoid a redefinition warning.
696         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
697         long before casting to pointer to avoid a cast warning.
699 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
701         * sysdeps/tile/tilegx/Implies: New file.
703 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
705         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
707 2014-12-23  Florian Weimer  <fweimer@redhat.com>
709         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
711 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
714         not define.
715         * sysdeps/unix/sysv/linux/utimes.c: Do not include
716         <kernel-features.h>.
717         (__utimes) [__NR_utimes]: Make code unconditional.
718         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
719         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
720         (__ASSUME_UTIMES): Do not undefine.
721         * sysdeps/unix/sysv/linux/tile/kernel-features.h
722         (__ASSUME_UTIMES): Likewise.
723         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
724         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
725         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
726         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
728 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
730         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
732 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
734         [BZ #17747]
735         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
736         alias to weak alias for j0l, y0l.
737         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
738         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
740         [BZ #17746]
741         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
742         conversion.
744 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
746         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
747         to zero if not already defined.
749 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
751         [BZ #17724]
752         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
753         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
754         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
755         (char *) casts added.
756         * sysdeps/ieee754/k_standardf.c: New file.
757         * sysdeps/ieee754/k_standardl.c: Likewise.
758         * math/Makefile (libm-support): Remove k_standard.
759         (libm-calls): Add k_standard.
761 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
763         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
764         Optimize to avoid an unnecessary FPCR read.
766 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
768         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
769         Optimize to reduce FPCR/FPSR accesses.
771 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
773         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
774         Call libc_fetestexcept_aarch64.
776 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
778         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
779         Call libc_fesetround_aarch64.
781 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
783         [BZ #17733]
784         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
785         (__bind): Do not define as weak alias.
786         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
787         define.
788         (__getsockname): Do not define as weak alias.
790 2014-12-22  Will Newton  <will.newton@linaro.org>
792         * manual/install.texi: Document that we require bison 2.7
793         or above.
794         * INSTALL: Regenerate.
795         * configure.ac: Use AC_CHECK_PROG_VER instead of
796         AC_PATH_PROG when checking for bison and check for
797         version 2.7 or above.
798         * configure: Regenerate.
800 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
802         [BZ #17745]
803         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
804         * sysdeps/tile/ffsll.c (ffsll): To here.
806         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
808 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
810         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
811         if not defined.
812         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
813         definition.
814         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
815         hidden ___tls_get_addr.
816         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
817         hidden __tls_get_addr.
818         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
819         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
820         Likewise.
822 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
824         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
825         _dl_init call.
827 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
829         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
830         from "call _dl_init@PLT".
831         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
833 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
835         * manual/search.texi: (Array Sort Function): Clarify stable sorting
836         guarantees.
838 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
840         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
842 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
844         [BZ #17744]
845         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
846         strnlen.
848 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
850         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
851         of multu on MIPSr6.
852         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
853         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
854         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
855         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
856         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
858 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
860         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
861         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
862         (PTR_SUBU): Use subu for mips32r6/mips64r6.
863         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
864         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
865         mips32r6/mips64r6.
866         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
868 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
870         * string/strncat.c (STRNCAT): Simplify implementation.
872 2014-12-19  David S. Miller  <davem@davemloft.net>
874         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
875         access the quad as both a long double and as a series of 4 words.
877         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
878         link_map->l_info array access.
880 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
882         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
884         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
885         * math/atest-exp2.c (TIMEOUT): Likewise.
886         * math/atest-sincos.c (TIMEOUT): Likewise.
888 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
890         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
891         -Wno-error with -fno-builtin-lround.
893 2014-12-19  Torvald Riegel  <triegel@redhat.com>
895         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
896         Contains futex constants and functions moved over from ...
897         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
898         <lowlevellock-futex.h>.
899         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
900         (lll_timedwait_tid): Add comments and parentheses around macro
901         arguments.
903 2014-12-19  Torvald Riegel  <triegel@redhat.com>
905         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
906         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
907         (__lll_private_flag): Remove.
908         (lll_futex_wait): Likewise.
909         (lll_futex_timed_wait): Likewise.
910         (lll_futex_wake): Likewise.
911         (lll_futex_requeue): Likewise.
912         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
913         (__lll_timedwait_tid): Spell out argument names.
914         (lll_timedwait_tid): Add comments and parentheses around macro
915         arguments.
916         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
917         LLL_SHARED and LLL_PRIVATE usable from assembly code.
919 2014-12-19  Torvald Riegel  <triegel@redhat.com>
921         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
922         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
923         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
924         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
925         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
926         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
927         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
928         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
929         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
930         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
931         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
932         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
934         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
935         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
936         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
937         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
938         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
939         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
941 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
943         * sysdeps/x86_64/x32/Makefile: New file.
945 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
947         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
948         1L with (mp_limb_t) 1.
950 2014-12-17  Roland McGrath  <roland@hack.frob.com>
952         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
953         * nptl/libc_pthread_init.c: ... here.
954         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
955         * nptl/register-atfork.c: ... here.
957         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
958         Use pthread_sigmask rather than INTERNAL_SYSCALL.
959         Use assert_perror to check its return value.
960         (__gai_create_helper_thread): Likewise.
962         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
964         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
966 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
968         [BZ #17725]
969         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
970         __profil_counter.
971         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
972         Likewise.
973         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
974         Likewise.
975         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
976         Likewise.
977         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
978         (profil_counter): Likewise.
979         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
980         (profil_counter): Likewise.
981         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
982         Likewise.
983         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
984         Likewise.
985         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
986         (profil_counter): Likewise.
987         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
988         Likewise.
989         [!__profil_counter] (profil_counter): Define as weak alias of
990         __profil_counter.
991         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
992         (profil_counter): Rename to __profil_counter.
993         [!__profil_counter] (profil_counter): Define as weak alias of
994         __profil_counter.
995         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
996         (profil_counter): Rename to __profil_counter.
997         [!__profil_counter] (profil_counter): Define as weak alias of
998         __profil_counter.
999         * sysdeps/posix/profil.c: Update comment referring to
1000         profil_counter.
1001         (__profil): Use __profil_counter instead of profil_counter.
1002         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1003         __profil_counter.  Use __profil_counter_ushort and
1004         __profil_counter_uint in definitions.
1005         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1006         instead of profil_counter_uint and profil_counter_ushort.
1008         [BZ #17722]
1009         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1010         define as weak alias of __inet_makeaddr.
1011         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1012         as weak alias of __inet_addr.
1013         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1014         as weak alias of __inet_pton.  Use libc_hidden_weak.
1015         * include/arpa/inet.h (__inet_pton): Declare.  Use
1016         libc_hidden_proto.
1017         (inet_makeaddr): Don't use libc_hidden_proto.
1018         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1019         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1020         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1021         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1022         Remove variable.
1023         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1024         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1026 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1028         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1030 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1032         * stdio-common/bug-vfprintf-nargs.c (do_test):
1033         Cast value to intptr_t to avoid format warning
1034         for usage with PRIdPTR printing macro.
1036 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1038         * libio/tst-widetext.c (do_test):
1039         Use format type %td instead of %Zd for ptrdiff_t
1040         in order to avoid format warning.
1042 2014-12-17  Andreas Schwab  <schwab@suse.de>
1044         * nscd/mem.c (gc): Add size_t cast to match printf format.
1046 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1048         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1049         (init): Apply PTR_MANGLE to pointers before storing them.
1050         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1051         before using them.
1053 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1055         [BZ #17719]
1056         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1057         define as weak alias of __memrchr.
1058         (__memrchr): Do not define as strong alias of memrchr.
1059         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1060         Remove variable.
1061         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1062         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1063         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1065         [BZ #17717]
1066         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1067         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1068         (if_indextoname): Rename to __if_indextoname and define as weak
1069         alias of __if_indextoname.  Use libc_hidden_weak.
1070         (if_freenameindex): Rename to __if_freenameindex and define as
1071         weak alias of __if_freenameindex.
1072         (if_nameindex): Rename to __if_nameindex and define as weak alias
1073         of __if_nameindex.
1074         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1075         __if_nametoindex and define as weak alias of __if_nametoindex.
1076         Use libc_hidden_weak.
1077         (if_freenameindex): Rename to __if_freenameindex and define as
1078         weak alias of __if_freenameindex.
1079         (if_nameindex): Rename to __if_nameindex and define as weak alias
1080         of __if_nameindex.
1081         (if_indextoname): Rename to __if_indextoname and define as weak
1082         alias of __if_indextoname.  Use libc_hidden_weak.
1083         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1084         __if_nametoindex and define as weak alias of __if_nametoindex.
1085         Use libc_hidden_weak.
1086         (if_freenameindex): Rename to __if_freenameindex and define as
1087         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1088         (if_nameindex_netlink): Use __if_freenameindex instead of
1089         if_freenameindex.
1090         (if_nameindex): Rename to __if_nameindex and define as weak alias
1091         of __if_nameindex.  Use libc_hidden_weak.
1092         (if_indextoname): Rename to __if_indextoname and define as weak
1093         alias of __if_indextoname.  Use libc_hidden_weak.
1094         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1095         libc_hidden_proto.
1096         [!_ISOMAC] (__if_freenameindex): Likewise.
1097         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1098         if_nametoindex.
1099         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1100         variable.
1101         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1102         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1103         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1104         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1105         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1106         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1107         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1109         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1110         Remove variable.
1111         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1112         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1114 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1116         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1117         subscript above bounds'
1119         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1120         bounds.
1122 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1124         * libio/tst-fopenloc.c: Use test-skeleton.c.
1126         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1127         (entry): Rename to ITEM.
1128         (do_test, comp): Adjust.
1130         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1132 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1134         * string/tester.c: Include <libc-internal.h>.
1135         (test_memset): Ignore -Wmemset-transposed-args.
1137 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1139         * misc/tst-mntent2.c (do_test): Fix warning.
1141 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1143         * elf/tst-unique4lib.cc(a): Mark as used.
1145 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1147         [BZ #17630]
1148         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1149         names.
1151 2014-12-16  Allan McRae  <allan@archlinux.org>
1153         * stdio-common/Makefile (tests): Re-add bug26.
1155 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1157         [BZ #17657]
1158         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1159         static array.
1161 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1163         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1164         (__lll_lock_wait): Likewise.
1165         (__lll_timedlock_wait): Likewise.
1166         (__lll_timedwait_tid): Likewise.
1167         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1168         (__lll_robust_timedlock_wait): Likewise.
1169         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1170         (lll_cond_trylock): Likewise.
1171         (__lll_lock): Likewise.
1172         (__lll_robust_lock): Likewise.
1173         (__lll_cond_lock): Likewise.
1174         (lll_robust_cond_lock): Likewise.
1175         (__lll_timedlock): Likewise.
1176         (__lll_robust_timedlock): Likewise.
1177         (__lll_unlock): Likewise.
1178         (__lll_robust_unlock): Likewise.
1179         (lll_wait_tid): Likewise.
1180         (lll_timedwait_tid): Likewise.
1182 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1184         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1186 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1188         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1190 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1192         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1193         * stdio-common/tst-sprintf.c: Likewise.
1195 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1197         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1199 2014-12-15  Jeff Law  <law@redhat.com>
1201         [BZ #16617]
1202         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1203         on the heap.  (CVE-2012-3406)
1204         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1205         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1206         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1208 2014-12-15  Will Newton  <will.newton@linaro.org>
1210         * manual/install.texi: Bump required version of texinfo
1211         to 4.7 from 4.5.
1212         * INSTALL: Regenerated.
1213         * configure.ac: Check for makeinfo version 4.7 and above.
1214         * configure: Regenerated.
1216 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1218         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1219         PREFIX, string constant to insert between directory and name.
1220         * sysdeps/posix/shm_open.c: Update caller.
1221         * sysdeps/posix/shm_unlink.c: Likewise.
1222         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1223         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1224         (SEM_SHM_PREFIX): New macro.
1225         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1226         [$(have-thread-library) = no].
1227         * nptl/Makefile (libpthread-routines): Add shm-directory.
1228         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1229         * sysdeps/nptl/shm-directory.h: New file.
1230         * sysdeps/posix/shm-directory.c
1231         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1232         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1233         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1234         INTERNAL_SYSCALL.
1235         (__where_is_shmfs): Function removed.
1236         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1237         Variables removed.
1238         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1239         Use SHM_GET_NAME.
1240         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1242         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1243         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1244         unconditional for use inside libpthread.
1245         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1247 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1249         * nptl/pthread_getaffinity.c: New file.
1250         * nptl/pthread_setaffinity.c: New file.
1251         * nptl/pthread_getname.c: New file.
1252         * nptl/pthread_setname.c: New file.
1254         * nptl/pthread_create.c (START_THREAD_DEFN)
1255         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1257 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1258             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1260         * resolv/res_send.c (send_vc): Disable warning resplen may
1261         be used uninitialized.
1263 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1265         * nptl/tst-mutex6.c
1266         (ATTR_NULL): New define checks ATTR against NULL.
1267         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1268         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1270 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1272         [BZ #17581]
1273         * malloc/hooks.c
1274         (mem2mem_check): Revert my previous change.
1275         (malloc_check_get_size): Revert my previous change.
1276         (mem2chunk_check): Revert my previous change.
1278 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1280         * sysdeps/posix/shm-directory.c: New file.
1281         * sysdeps/posix/shm-directory.h: New file.
1282         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1283         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1284         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1285         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1286         Transmute EPERM to EACCES.
1287         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1288         from ...
1289         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1290         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1292 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1294         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1295         pointer and cast to uintptr_t.
1296         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1297         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1298         Add cast to avoid warning.
1299         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1301 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1303         * nptl/semaphore.h: Move to ...
1304         * sysdeps/pthread/semaphore.h: ... here.
1305         * Makefile (installed-headers): Change nptl/semaphore.h to
1306         sysdeps/pthread/semaphore.h.
1308 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1310         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1311         generated error format strings.
1313         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1314         -Wformat-extra-args warnings for scanf formats.
1315         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1316         test of zero-length format (duh).
1317         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1318         corner-case scanf format test.
1319         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1320         generated fprintf format string.
1321         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1322         corner-case sprintf format tests.
1323         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1324         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1325         -Wformat-extra-args warnings throughout.
1326         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1327         (CFLAGS-scanf4.c): Likewise.
1328         (CFLAGS-scanf7.c): Likewise.
1329         (CFLAGS-tst-sprintf.c): Likewise.
1330         (CFLAGS-tst-printf.c): Likewise.
1331         (CFLAGS-tst-printfsz.c): Likewise.
1333 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1335         * include/cpio.h: New file.
1336         * include/fmtmsg.h: Likewise.
1338         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1339         corresponding format argument to size_t.
1340         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1341         arguments.
1342         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1343         corresponding format argument to size_t.
1344         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1345         arguments.
1346         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1347         corresponding format argument to size_t.
1348         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1349         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1350         (CFLAGS-tst-mbswcs2.c): Likewise.
1351         (CFLAGS-tst-mbswcs3.c): Likewise.
1352         (CFLAGS-tst-mbswcs4.c): Likewise.
1353         (CFLAGS-tst-mbswcs5.c): Likewise.
1354         (CFLAGS-tst-trans.c): Likewise
1356 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1358         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1359         rather than assuming they won't contain any '%'s.
1361 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1363         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1364         inhibit_loop_to_libcall to avoid recursive calls.
1365         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1366         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1368 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1370         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1371         prototype.
1373 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1375         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1376         integer value instead of boolean.
1378 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1380         * malloc/malloc.c: Fix powerof2 check.
1382 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1384         * locale/programs/locfile.h (maybe_swap_uint32):
1385         Remove inline and add unused attribute.
1387 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1389         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1390         Truncating assembler expression to a .long expression.
1392 2014-12-11  Andreas Schwab  <schwab@suse.de>
1394         * elf/rtld.c (struct map_args): Constify str member.
1395         (do_preload): Constify fname argument.
1397 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1399         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1400         constants definition.
1402 2014-12-11  Andreas Schwab  <schwab@suse.de>
1404         [BZ #16657]
1405         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1406         FORCE_ELISION instead of DO_ELISION.
1407         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1408         Remove.
1409         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1410         Likewise.
1412         * iconvdata/gconv-modules: Remove duplicate entry.
1414 2014-12-11  Will Newton  <will.newton@linaro.org>
1416         Merge gettext 0.19.3 into intl/.
1418         This involves a number of cosmetic changes to comments
1419         and ANSI function definitions and prototypes throughout
1420         all the files. The gettext copyright header is used but
1421         with the date ranges taken from the glibc copy.
1423         * NEWS: Add gettext merge to 2.21.
1424         * intl/bindtextdom.c: Switch to gettext copyright.
1425         Use ANSI definitions and prototypes.
1426         Use gl_* locking primitives rather than __libc_* ones.
1427         Use __builtin_expect rather than __glibc_likely/unlikely.
1428         * intl/dcgettext.c: Switch to gettext copyright.
1429         Use ANSI definitions and prototypes.
1430         * intl/dcigettext.c: Switch to gettext copyright.
1431         Use ANSI definitions and prototypes.
1432         (INTDIV0_RAISES_SIGFPE): New define.
1433         Use gl_* locking primitives rather than __libc_* ones.
1434         Include eval-plural.h instead of plural-eval.c.
1435         Use __builtin_expect rather than __glibc_likely/unlikely.
1436         * intl/dcngettext.c: Switch to gettext copyright.
1437         Use ANSI definitions and prototypes.
1438         * intl/dgettext.c: Likewise.
1439         * intl/dngettext.c: Likewise.
1440         * intl/plural-eval.c: Renamed to...
1441         * intl/eval-plural.h: ...this.
1442         * intl/explodename.c: Switch to gettext copyright.
1443         Use ANSI definitions and prototypes.
1444         (_nl_explode_name): Use strchr instead of __rawmemchr.
1445         * intl/finddomain.c: Switch to gettext copyright.
1446         Use ANSI definitions and prototypes.
1447         Use gl_* locking primitives rather than __libc_* ones.
1448         (_nl_find_domain): Use malloc rather than alloca for
1449         allocation of temporary locale name.
1450         * intl/gettext.c: Switch to gettext copyright.
1451         Use ANSI definitions and prototypes.
1452         * intl/gettextP.h: Switch to gettext copyright.
1453         Use ANSI definitions and prototypes.
1454         Use gl_* locking primitives rather than __libc_* ones.
1455         * intl/gmo.h: Switch to gettext copyright.
1456         (struct sysdep_string): Move struct segment_pair outside of
1457         struct definition.
1458         * intl/hash-string.c: Use ANSI definitions and prototypes.
1459         * intl/hash-string.h: Switch to gettext copyright.
1460         Use ANSI definitions and prototypes.
1461         * intl/l10nflist.c: Switch to gettext copyright.
1462         Use ANSI definitions and prototypes.
1463         (_nl_normalize_codeset): Avoid integer overflow.
1464         * intl/loadinfo.h: Switch to gettext copyright.
1465         Use ANSI definitions and prototypes.
1466         (LIBINTL_DLL_EXPORTED): New define.
1467         (PATH_SEPARATOR): New define.
1468         * intl/loadmsgcat.c: Switch to gettext copyright.
1469         * intl/localealias.c: Switch to gettext copyright.
1470         Use ANSI definitions and prototypes.
1471         (_nl_expand_alias): Use PATH_SEPARATOR.
1472         * intl/ngettext.c: Switch to gettext copyright.
1473         Use ANSI definitions and prototypes.
1474         * intl/plural-exp.c: Likewise.
1475         * intl/plural-exp.h: Switch to gettext copyright.
1476         Use ANSI definitions and prototypes.
1477         (struct expression): Move definition of enum operator outside
1478         of struct definition.
1479         * intl/plural.c: Regenerate.
1480         * intl/plural.y: Switch to gettext copyright.
1481         Use ANSI definitions and prototypes.
1482         Port to bison 3.0.
1483         * intl/textdomain.c: Switch to gettext copyright.
1484         Use ANSI definitions and prototypes.
1485         Use gl_* locking primitives rather than __libc_* ones.
1487 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1489         * debug/warning-nop.c: Add used atrribute.
1491 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1493         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1495         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1496         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1497         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1499 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1500             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1502         [BZ #17634]
1503         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1504         Undefine after defining function.  Define as weak alias of
1505         __wcschr.  Use libc_hidden_weak.
1506         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1507         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1508         (libc_hidden_def): Also define __GI___wcschr alias.
1509         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1510         __wcschr and define as weak alias of __wcschr.
1511         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1512         __wcschr.
1513         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1514         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1515         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1516         libc_hidden_weak.  Do not use libc_hidden_def.
1517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1518         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1519         __GI___wcschr alias.
1520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1521         [IS_IN (libc)] (wcschr): Define as macro expanding to
1522         __redirect_wcschr.
1523         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1524         [IS_IN (libc)] (__wcschr_power6): Likewise.
1525         [IS_IN (libc)] (__wcschr_power7): Likewise.
1526         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1527         instead of wcschr.
1528         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1529         __libc_wcschr.
1530         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1531         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1532         __wcschr and define as weak alias of __wcschr.  Use
1533         libc_hidden_builtin_def.
1534         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1535         as weak alias of __wcschr.  Use libc_hidden_weak.
1536         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1537         wcschr.
1538         * time/era.c (_nl_init_era_entries): Likewise.
1539         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1540         variable.
1541         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1542         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1544 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1546         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1547         format for long int variable.
1549 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1551         [BZ #10672]
1552         * manual/search.texi: (Array Sort Function): Remove claim how to make
1553         qsort stable.
1555 2014-12-10  Andreas Schwab  <schwab@suse.de>
1557         [BZ #12847]
1558         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1559         user-controlled locks.
1561 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1563         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1564         register.
1566 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1568         * configure.ac (--disable-werror): New configure option.
1569         (enable_werror): New AC_SUBST.
1570         * configure: Regenerated.
1571         * config.make.in (enable-werror): New variable.
1572         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1573         -Wno-error=undef.
1574         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1575         * manual/install.texi (Configuring and compiling): Document
1576         --disable-werror.
1577         * INSTALL: Regenerated.
1578         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1579         (CFLAGS-tst-chk2.c): Likewise.
1580         (CFLAGS-tst-chk3.c): Likewise.
1581         (CFLAGS-tst-chk4.cc): Likewise.
1582         (CFLAGS-tst-chk5.cc): Likewise.
1583         (CFLAGS-tst-chk6.cc): Likewise.
1584         (CFLAGS-tst-lfschk1.c): Likewise.
1585         (CFLAGS-tst-lfschk2.c): Likewise.
1586         (CFLAGS-tst-lfschk3.c): Likewise.
1587         (CFLAGS-tst-lfschk4.cc): Likewise.
1588         (CFLAGS-tst-lfschk5.cc): Likewise.
1589         (CFLAGS-tst-lfschk6.cc): Likewise.
1591         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1592         (main): Disable -Wdeprecated-declarations around calls to
1593         register_printf_function.
1595         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1596         (do_test): Disable -Wdiv-by-zero around some calls to
1597         fwrite_unlocked and fread_unlocked.
1599         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1600         (DIAG_POP_NEEDS_COMMENT): Likewise.
1601         (_DIAG_STR1): Likewise.
1602         (_DIAG_STR): Likewise.
1603         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1604         * stdio-common/bug21.c: Include <libc-internal.h>.
1605         (do_test): Disable -Wformat around call to sscanf.
1606         * stdio-common/scanf14.c: Include <libc-internal.h>.
1607         (main): Disable -Wformat around some calls to scanf functions.
1609 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1611         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1613 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1615         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1616         stack variable alignment.
1618 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1620         [BZ #17682]
1621         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1622         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1623         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1624         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1625         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1626         __getrlimit instead of getrlimit.
1627         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1628         __gettimeofday instead of gettimeofday.
1629         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1630         Likewise.
1631         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1632         Likewise.
1633         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1634         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1635         Remove variable.
1636         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1637         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1639 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1641         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1642         for wide-character tests.
1644 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1646         * io/openat64.c: #include <libc-internal.h>
1647         (__openat64): Prototypify.  Use ignore_value on MODE.
1648         * io/openat.c: Likewise.
1649         * misc/reboot.c: #include <libc-internal.h>
1650         (reboot): Prototypify.  Use ignore_value on HOWTO.
1651         * misc/ptrace.c: #include <libc-internal.h>
1652         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1654 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1656         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1657         XPG4, UNIX98 and XOPEN2K.
1658         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1659         Remove variable.
1660         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1662 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1664         * libio/fileops.c: Use ISO C style for function definitions.
1665         * libio/iofopen.c: Likewise.
1666         * libio/wfileops.c: Likewise.
1668         [BZ #17653]
1669         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1670         offset on EOF.
1671         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1672         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1673         (fgets_func): Function pointer to fgets and fgetws.
1674         (do_ftell_test): Add test to verify ftell value after read
1675         EOF.
1676         (do_test): Set fgets_func.
1678         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1679         O_TRUNC flag for w and w+ modes.
1680         (do_rewind_test): Likewise.
1681         (do_ftell_test): Likewise.
1682         (do_write_test): Likewise.
1684         [BZ #17647]
1685         * libio/fileops.c (do_ftell): Seek only when there are
1686         unflushed writes.
1687         * libio/wfileops.c (do_ftell_wide): Likewise.
1688         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1689         test case.
1690         (do_one_test): Call it.
1692 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1694         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1695         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1696         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1697         Remove variable.
1698         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1699         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1700         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1702 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1704         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1705         Remove variable.
1706         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1708         [BZ #17668]
1709         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1710         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1711         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1712         __freeifaddrs.  Use libc_hidden_weak.
1713         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1714         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1715         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1716         __freeifaddrs.  Use libc_hidden_weak.
1717         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1718         __getifaddrs and define as weak alias of __getifaddrs.  Use
1719         libc_hidden_weak.
1720         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1721         __freeifaddrs.  Use libc_hidden_weak.
1722         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1723         Remove variable.
1724         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1725         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1727 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1729         [BZ #17601]
1730         * sysdeps/mips/start.S (__start): Use indirect jump to call
1731         __libc_start_main.
1733 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1735         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1737         * nptl/tst-mutex1.c: Include <stdbool.h>.
1738         [!ATTR] (ATTR_NULL): New macro.
1739         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1740         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1741         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1743         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1744         to char *.
1746         [BZ #17665]
1747         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1748         Change conditional to [__USE_MISC].
1750         [BZ #17664]
1751         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1752         fgets_unlocked.
1753         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1754         __fgets_unlocked.
1755         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1756         fgets_unlocked.
1757         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1758         Remove variable.
1759         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1760         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1761         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1762         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1763         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1764         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1765         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1766         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1767         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1769         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1771 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1773         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1774         Remove strpbrk objects.
1775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1776         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1777         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1778         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1779         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1780         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1782         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1783         Remove strcspn objects.
1784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1785         (__libc_ifunc_impl_list): Remove strcspn implementation.
1786         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1787         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1788         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1789         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1791         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1792         Remove strspn objetcs.
1793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1794         (__libc_ifunc_impl_list): Remove strspn implementation.
1795         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1796         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1797         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1798         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1800 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1802         [BZ #17581]
1803         * malloc/hooks.c
1804         (mem2mem_check): Add a terminator to the chain of checking blocks.
1805         (malloc_check_get_size): Use it here.
1806         (mem2chunk_check): Ditto.
1808 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1810         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1811         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1813 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1815         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1817         * nptl/nptl-init.c: Include libc-internal.h.
1818         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1820         * elf/ldconfig.c (search_dir): Expand comment.
1822 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1824         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1825         variable.
1826         (linknamespace-symlist-stdlibs-tests): Likewise.
1827         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1828         instead of $(objpfx)symlist-stdlibs.
1829         (linknamespace-libs-isoc): New variable.
1830         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1831         (linknamespace-libs-ISO): New variable.
1832         (linknamespace-libs-ISO99): Likewise.
1833         (linknamespace-libs-ISO11): Likewise.
1834         (linknamespace-libs-XPG3): Likewise.
1835         (linknamespace-libs-XPG4): Likewise.
1836         (linknamespace-libs-POSIX): Likewise.
1837         (linknamespace-libs-UNIX98): Likewise.
1838         (linknamespace-libs-XOPEN2K): Likewise.
1839         (linknamespace-libs-POSIX2008): Likewise.
1840         (linknamespace-libs-XOPEN2K8): Likewise.
1841         ($(objpfx)symlist-stdlibs): Replace by
1842         $(linknamespace-symlist-stdlibs-tests).  Use
1843         $(linknamespace-libs-$*) as set of libraries.
1844         ($(linknamespace-header-tests)): Update dependencies.  Use
1845         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1846         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1847         * conform/linknamespace.pl: Remove comment about considering
1848         definitions of symbols from irrelevant libraries.
1850 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1852         [BZ #13862]
1853         * elf/dl-tls.c: Include <atomic.h>.
1854         (oom): Remove #ifdef SHARED/#endif.
1855         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1856         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1857         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1858         big enough.
1859         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1860         * nptl/Makefile (tests): Add tst-stack4.
1861         (modules-names): Add tst-stack4mod.
1862         ($(objpfx)tst-stack4): New.
1863         (tst-stack4mod.sos): Likewise.
1864         ($(objpfx)tst-stack4.out): Likewise.
1865         ($(tst-stack4mod.sos)): Likewise.
1866         (clean): Likewise.
1867         * nptl/tst-stack4.c: New file.
1868         * nptl/tst-stack4mod.c: Likewise.
1870 2014-11-27  J. Brown  <jb999@gmx.de>
1872         * sysdeps/x86/bits/string.h: Add recent CPUs.
1874 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1876         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1877         sigblock.
1879         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1880         feof.
1882         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1883         variable.
1885 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1887         * nscd/connections.c: Include libc-internal.h because of macro
1888         usage ignore_value.
1890 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1892         * string/bits/string3.h (__warn_memset_zero_len): Don't
1893         declare for gcc newer than 5.0.
1894         (memset): Don't test for zero-length __LEN for gcc newer than
1895         5.0.
1897 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1899         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1900         size_t for %zu format.
1902         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1903         difference, not %ju.
1905 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1907         * include/libc-internal.h (ignore_value): New macro.
1908         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1909         with ignore_value.
1911         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1912         definition.
1914         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1915         pthread_cleanup_push to void *.
1917         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1918         Undefine.
1920         [BZ #16619]
1921         [BZ #16740]
1922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1923         instead of 1L << 52.
1925         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1926         * libio/bug-rewind2.c (do_test): Likewise.
1928         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1929         * debug/test-strcpy_chk-ifunc.c: Likewise.
1930         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1931         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1932         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1933         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1934         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1935         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1936         * Rules [$(multi-arch) = no] (tests): Do not filter out
1937         $(tests-ifunc).
1938         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1939         * debug/Makefile (tests-ifunc): Remove variable.
1940         (tests): Do not add $(tests-ifunc).
1941         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1942         (tests): Do not add $(tests-ifunc).
1943         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1944         [TEST_IFUNC]: Remove conditionals.
1945         * string/test-string.h (TEST_IFUNC): Remove macro.
1946         [TEST_IFUNC]: Remove conditionals.
1948         * string/test-strchr.c [!WIDE] (L): New macro.
1949         [WIDE] (L): Likewise.
1950         (check1): Use CHAR instead of char.  Use L on string and character
1951         constants.
1953 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1955         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1956         tests.
1957         * sysdeps/powerpc/bits/atomic.h
1958         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1959         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1960         (atomic_exchange_and_add_acq): Likewise.
1961         (atomic_exchange_and_add_rel): Likewise.
1962         * sysdeps/powerpc/powerpc32/bits/atomic.h
1963         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1964         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1965         * sysdeps/powerpc/powerpc64/bits/atomic.h
1966         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1967         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1969 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1971         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1972         Change synchronization of __sched_fifo_min_prio and
1973         __sched_fifo_max_prio.
1974         * nptl/pthread_mutexattr_getprioceiling.c
1975         (pthread_mutexattr_getprioceiling): Likewise.
1976         * nptl/pthread_mutexattr_setprioceiling.c
1977         (pthread_mutexattr_setprioceiling): Likewise.
1978         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1979         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1980         Likewise.
1982 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1984         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1985         void.
1987 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1989         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1990         third argument const.
1992 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1994         fnmatch: work around GCC compiler warning bug with uninit var
1995         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1996         This works around a bug with x86-64 GCC 4.9.2 and earlier
1997         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1998         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1999         used uninitialized in this function [-Wmaybe-uninitialized]".
2001 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2003         * posix/bug-regex31.c (main): Return RES not 0.
2005 2014-11-25  Anton Blanchard <anton@samba.org>
2007         * sysdeps/powerpc/bits/atomic.h
2008         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2010 2014-11-24  Sterling Augustine  <saugustine@google.com>
2012         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2014 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2016         [BZ #17608]
2017         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2019 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2021         [BZ #17633]
2022         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2023         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2024         variable.
2025         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2026         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2028 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2030         * string/strncpy.c (strncpy): Improve performance by using memset.
2032 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2034         * string/strcpy.c (strcpy):
2035         Improve performance by using strlen and memcpy.
2037 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2039         * string/strcoll_l.c (get_next_seq): __always_inline.
2040         * string/strcoll_l.c (do_compare): __always_inline.
2042 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2044         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2045         defined.
2046         * include/mqueue.h: Likewise.
2047         * include/stdlib.h: Likewise.
2049         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2050         (get_null_defines): Adjust.
2051         * sunrpc/Makefile: Adjust comment.
2052         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2053         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2054         (CFLAGS-interp.c): Likewise.
2055         (CFLAGS-ldconfig.c): Likewise.
2056         (CPPFLAGS-.os): Likewise.
2057         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2058         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2059         * extra-modules.mk (extra-modules.mk): Likewise.
2060         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2061         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2062         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2063         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2064         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2065         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2066         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2067         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2068         * iconvdata/Makefile (CPPFLAGS): Likewise.
2069         (cpp-srcs-left): Add libof for all iconvdata routines.
2070         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2071         * include/assert.h: Likewise.
2072         * include/ctype.h: Likewise.
2073         * include/errno.h: Likewise.
2074         * include/libc-symbols.h: Likewise.
2075         * include/math.h: Likewise.
2076         * include/netdb.h: Likewise.
2077         * include/resolv.h: Likewise.
2078         * include/stdio.h: Likewise.
2079         * include/stdlib.h: Likewise.
2080         * include/string.h: Likewise.
2081         * include/sys/stat.h: Likewise.
2082         * include/wctype.h: Likewise.
2083         * intl/l10nflist.c: Likewise.
2084         * libidn/idn-stub.c: Likewise.
2085         * libio/libioP.h: Likewise.
2086         * nptl/libc_multiple_threads.c: Likewise.
2087         * nptl/pthreadP.h: Likewise.
2088         * posix/regex_internal.h: Likewise.
2089         * resolv/res_hconf.c: Likewise.
2090         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2091         * sysdeps/arm/memmove.S: Likewise.
2092         * sysdeps/arm/sysdep.h: Likewise.
2093         * sysdeps/generic/_itoa.h: Likewise.
2094         * sysdeps/generic/symbol-hacks.h: Likewise.
2095         * sysdeps/gnu/errlist.awk: Likewise.
2096         * sysdeps/gnu/errlist.c: Likewise.
2097         * sysdeps/i386/i586/memcpy.S: Likewise.
2098         * sysdeps/i386/i586/memset.S: Likewise.
2099         * sysdeps/i386/i686/memcpy.S: Likewise.
2100         * sysdeps/i386/i686/memmove.S: Likewise.
2101         * sysdeps/i386/i686/mempcpy.S: Likewise.
2102         * sysdeps/i386/i686/memset.S: Likewise.
2103         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2104         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2105         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2106         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2107         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2108         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2109         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2110         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2111         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2112         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2113         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2114         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2115         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2116         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2117         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2118         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2119         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2120         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2121         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2122         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2123         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2124         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2125         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2126         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2127         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2128         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2129         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2130         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2131         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2132         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2133         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2135         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2136         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2137         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2138         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2139         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2140         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2141         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2142         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2143         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2144         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2145         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2146         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2147         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2148         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2149         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2150         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2151         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2152         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2153         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2154         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2155         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2156         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2157         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2158         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2159         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2160         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2161         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2162         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2163         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2164         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2165         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2166         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2167         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2168         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2169         * sysdeps/posix/closedir.c: Likewise.
2170         * sysdeps/posix/opendir.c: Likewise.
2171         * sysdeps/posix/readdir.c: Likewise.
2172         * sysdeps/posix/rewinddir.c: Likewise.
2173         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2174         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2175         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2176         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2177         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2178         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2180         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2181         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2184         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2185         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2186         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2187         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2188         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2189         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2190         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2191         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2193         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2195         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2196         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2197         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2201         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2206         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2208         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2209         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2210         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2211         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2212         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2213         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2214         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2215         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2217         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2218         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2219         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2220         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2221         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2222         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2223         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2224         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2227         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2228         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2229         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2230         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2231         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2232         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2233         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2234         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2235         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2236         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2237         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2238         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2239         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2240         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2241         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2242         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2243         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2244         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2245         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2246         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2247         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2248         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2249         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2250         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2251         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2252         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2253         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2254         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2255         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2256         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2257         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2258         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2259         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2260         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2261         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2263         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2264         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2265         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2269         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2271         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2272         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2273         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2274         * sysdeps/unix/alpha/sysdep.S: Likewise.
2275         * sysdeps/unix/alpha/sysdep.h: Likewise.
2276         * sysdeps/unix/make-syscalls.sh: Likewise.
2277         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2279         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2280         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2281         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2282         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2283         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2284         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2285         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2286         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2287         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2288         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2289         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2290         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2291         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2292         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2293         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2294         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2295         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2296         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2297         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2298         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2299         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2300         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2301         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2302         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2303         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2306         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2307         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2311         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2315         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2316         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2317         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2318         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2319         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2320         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2321         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2327         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2328         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2329         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2330         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2332         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2333         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2335         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2336         * sysdeps/x86_64/memcpy.S: Likewise.
2337         * sysdeps/x86_64/memmove.c: Likewise.
2338         * sysdeps/x86_64/memset.S: Likewise.
2339         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2340         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2341         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2342         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2343         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2344         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2346         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2347         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2348         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2349         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2350         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2351         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2354         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2355         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2356         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2357         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2358         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2359         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2360         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2361         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2362         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2363         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2364         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2365         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2366         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2367         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2368         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2369         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2370         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2371         * sysdeps/x86_64/strcmp.S: Likewise.
2373         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2375         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2376         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2377         * elf/rtld-Rules: Likewise.
2378         * elf/setup-vdso.h: Likewise.
2379         * include/assert.h: Likewise.
2380         * include/bits/stdlib-float.h: Likewise.
2381         * include/errno.h: Likewise.
2382         * include/sys/stat.h: Likewise.
2383         * include/unistd.h: Likewise.
2384         * sysdeps/aarch64/setjmp.S: Likewise.
2385         * sysdeps/alpha/setjmp.S: Likewise.
2386         * sysdeps/arm/__longjmp.S: Likewise.
2387         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2388         * sysdeps/arm/setjmp.S: Likewise.
2389         * sysdeps/arm/sysdep.h: Likewise.
2390         * sysdeps/generic/_itoa.h: Likewise.
2391         * sysdeps/generic/dl-sysdep.h: Likewise.
2392         * sysdeps/generic/ldsodefs.h: Likewise.
2393         * sysdeps/i386/dl-tls.h: Likewise.
2394         * sysdeps/i386/setjmp.S: Likewise.
2395         * sysdeps/m68k/setjmp.c: Likewise.
2396         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2397         * sysdeps/mach/hurd/opendir.c: Likewise.
2398         * sysdeps/posix/getcwd.c: Likewise.
2399         * sysdeps/posix/opendir.c: Likewise.
2400         * sysdeps/posix/profil.c: Likewise.
2401         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2402         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2403         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2404         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2405         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2407         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2408         * sysdeps/s390/dl-tls.h: Likewise.
2409         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2410         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2411         * sysdeps/sh/sh3/setjmp.S: Likewise.
2412         * sysdeps/sh/sh4/setjmp.S: Likewise.
2413         * sysdeps/unix/alpha/sysdep.h: Likewise.
2414         * sysdeps/unix/arm/sysdep.S: Likewise.
2415         * sysdeps/unix/i386/sysdep.S: Likewise.
2416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2417         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2418         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2420         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2421         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2422         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2423         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2424         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2425         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2426         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2427         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2428         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2431         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2434         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2435         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2436         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2439         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2440         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2441         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2443         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2444         * sysdeps/x86_64/setjmp.S: Likewise.
2446         * include/math.h: Use IS_IN instead of IS_IN_libm.
2447         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2448         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2450         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2451         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2453         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2457         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2459         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2460         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2461         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2464         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2465         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2467         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2468         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2469         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2470         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2471         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2472         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2474         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2475         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2476         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2477         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2478         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2479         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2481         Likewise.
2482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2483         Likewise.
2484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2485         Likewise.
2486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2487         Likewise.
2488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2489         Likewise.
2490         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2491         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2492         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2493         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2494         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2495         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2501         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2502         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2503         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2504         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2505         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2506         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2508         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2509         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2510         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2511         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2512         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2514         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2516         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2518         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2519         * nptl/pthreadP.h: Likewise.
2520         * nptl_db/structs.def: Likewise.
2521         * sysdeps/arm/sysdep.h: Likewise.
2522         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2523         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2524         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2525         * sysdeps/unix/alpha/sysdep.h: Likewise.
2526         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2527         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2528         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2529         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2530         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2531         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2533         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2534         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2535         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2536         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2537         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2538         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2539         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2542         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2544         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2547         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2548         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2549         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2550         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2551         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2553         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2554         * nptl/pthreadP.h: Likewise.
2555         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2556         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2557         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2558         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2559         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2560         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2561         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2562         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2563         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2564         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2565         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2566         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2568         Likewise.
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2570         Likewise.
2571         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2573         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2576         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2577         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2578         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2580         * dlfcn/dladdr.c: Use IS_IN.
2581         * dlfcn/dladdr1.c: Likewise.
2582         * dlfcn/dlclose.c: Likewise.
2583         * dlfcn/dlerror.c: Likewise.
2584         * dlfcn/dlinfo.c: Likewise.
2585         * dlfcn/dlmopen.c: Likewise.
2586         * dlfcn/dlopen.c: Likewise.
2587         * dlfcn/dlsym.c: Likewise.
2588         * dlfcn/dlvsym.c: Likewise.
2590         * include/ifaddrs.h: Use IS_IN.
2591         * inet/check_pf.c: Likewise.
2592         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2593         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2595         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2596         IS_IN_ldconfig.
2597         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2598         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2600         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2601         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2602         IS_IN (libc).
2604         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2606         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2607         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2608         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2609         * include/libc-symbols.h (IS_IN_LIB): New macro.
2610         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2611         * include/netdb.h: Likewise.
2612         * include/stap-probe.h: Remove all uses of IN_LIB.
2614         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2615         instead of IN_MODULE.
2616         * include/libc-symbols.h (IN_MODULE): Define using
2617         MODULE_NAME.
2618         (PASTE_NAME, PASTE_NAME1): New macros.
2619         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2620         of IN_LIB.
2621         (STAP_PROBE_ASM): Likewise.
2623 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2625         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2626         __mach_init in dlopened libc.
2628 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2630         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2631         * sysdeps/arm/preconfigure: Regenerate.
2633 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2635         * nptl/pthread_create.c (__pthread_create_2_1): Set
2636         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2637         when copying values from IATTR into PD.
2639 2014-11-21  Will Newton  <will.newton@linaro.org>
2640             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2642         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2643         Refactor inline-asm.  Also add comment.
2645         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2646         ElfW macro instead of hardcoded Elf64 types.
2647         (la_aarch64_gnu_pltenter): Likewise.
2648         * sysdeps/aarch64/dl-machine.h
2649         (elf_machine_runtime_setup): Use ElfW(Addr).
2651         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2652         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2653         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2654         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2655         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2656         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2657         (R_AARCH64_TLS_DTPMOD): This.
2658         (R_AARCH64_TLS_DTPREL64): Rename to ...
2659         (R_AARCH64_TLS_DTPREL): This.
2660         (R_AARCH64_TLS_TPREL64): Rename to ...
2661         (R_AARCH64_TLS_TPREL): This.
2662         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2663         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2664         R_AARCH64_TLS_TPREL64.
2665         (elf_machine_rela): Likewise.
2667 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2669         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2670         by setting it to 0.  64b atomics are not supported currently.
2672 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2674         [BZ #16469]
2675         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2676         search domain names.
2678 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2680         [BZ #16469]
2681         * NEWS: Update.
2682         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2683         trailing dot.
2684         * posix/tst-getaddrinfo5.c: New.
2685         * posix/Makefile (tests): Add it.
2687 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2689         [BZ #14498]
2690         * NEWS: Fixed.
2691         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2692         after parsing line but before break_if_match.
2693         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2694         if there is a protocol mismatch.
2696 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2698         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2699         because the potential race is on the user-supplied stream.
2701 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2703         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2704         string literal if not passed a buffer.
2705         * manual/job.texi (ctermid): Update reasoning, note deviation
2706         from posix, suggest mtasurace when not passed a buffer, for
2707         future non-preliminary safety notes.
2709 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2711         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2712         of not passing it a buffer.
2713         Reported by Peng Haitao.
2715 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2717         * manual/Makefile ($(objpfx)stamp-summary): Require
2718         check-safety.sh to pass.
2719         * manual/check-safety.sh: Wish for verification that every
2720         @deftypefn and @deftypefun is followed by a @safety remark.
2722 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2724         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2726         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2727         PTHREAD_CANCEL_ASYNCHRONOUS.
2728         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2729         send SIGCANCEL.
2731         * nptl/default-sched.h: New file.
2732         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2733         * nptl/pthread_create.c: Include it.
2734         (__pthread_create_2_1): Use collect_default_sched instead of making
2735         Linux syscalls here directly.
2737 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2739         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2740         __pthread_once): Use C11 atomics.
2742 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2744         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2746 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2748         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2749         atomic_thread_fence_acquire, atomic_thread_fence_release,
2750         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2751         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2752         atomic_compare_exchange_weak_relaxed,
2753         atomic_compare_exchange_weak_acquire,
2754         atomic_compare_exchange_weak_release,
2755         atomic_exchange_acquire, atomic_exchange_release,
2756         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2757         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2758         atomic_fetch_and_acquire,
2759         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2761 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2763         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2764         USE_ATOMIC_COMPILER_BUILTINS): Define.
2765         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2766         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2767         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2768         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2769         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2770         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2771         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2772         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2773         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2774         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2775         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2776         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2777         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2778         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2779         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2780         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2781         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2782         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2783         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2784         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2785         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2786         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2787         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2788         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2789         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2790         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2791         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2792         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2793         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2794         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2795         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2796         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2797         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2799         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2800         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2801         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2802         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2803         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2804         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2806 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2808         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2809         the sched_priority value here.  It was already checked when the user
2810         called pthread_attr_setschedparam.
2812         * nptl/tst-bad-schedattr.c: New file.
2813         * nptl/Makefile (tests): Add it.
2815 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2816             Florian Weimer  <fweimer@redhat.com>
2817             Joseph Myers  <joseph@codesourcery.com>
2818             Adam Conrad  <adconrad@0c3.net>
2819             Andreas Schwab  <schwab@suse.de>
2820             Brooks  <bmoses@google.com>
2822         [BZ #17625]
2823         * wordexp-test.c (__dso_handle): Add prototype.
2824         (__register_atfork): Likewise.
2825         (__app_register_atfork): New function.
2826         (registered_forks): New global.
2827         (register_fork): New function.
2828         (test_case): Add 3 new tests for WRDE_CMDSUB.
2829         (main): Call __app_register_atfork.
2830         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2831         fork count is non-zero fail the test.
2832         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2833         is set.
2834         (parse_dollars): Remove check for WRDE_NOCMD.
2835         (parse_dquote): Likewise.
2837 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2839         * Makeconfig (built-modules): List non-library modules to be
2840         built.
2841         (module-cppflags): Include libc-modules.h for
2842         everything except shlib-versions.v.i.
2843         (CPPFLAGS): Use it.
2844         (before-compile): Add libc-modules.h.
2845         ($(common-objpfx)libc-modules.h,
2846         $(common-objpfx)libc-modules.stmp): New targets.
2847         (common-generated): Add libc-modules.h and libc-modules.stmp.
2848         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2849         * include/libc-symbols.h: Don't include libc-modules.h.
2850         * include/libc-modules.h: Remove file.
2851         * scripts/gen-libc-modules.awk: New script to generate
2852         libc-modules.h.
2853         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2854         Depend on libc-modules.stmp.
2856         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2858         * Makeconfig (in-module): Get value of libof set for the
2859         translation unit.
2860         (CPPFLAGS): Use $(in-module).
2861         * Makerules: Don't suffix routine names for nonlib.
2862         * include/libc-modules.h: New file.
2863         * include/libc-symbols.h: Include libc-modules.h
2864         (IS_IN): New macro to replace IS_IN_* macros.
2865         * elf/Makefile: Set libof-* for each routine.
2866         * elf/rtld-Rules: Likewise.
2867         * extra-modules.mk: Likewise.
2868         * iconv/Makefile: Likewise.
2869         * iconvdata/Makefile: Likewise.
2870         * locale/Makefile: Likewise.
2871         * malloc/Makefile: Likewise.
2872         * nss/Makefile: Likewise.
2873         * sysdeps/gnu/Makefile: Likewise.
2874         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2875         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2876         * sysdeps/s390/s390-64/Makefile: Likewise.
2877         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2878         CPPFLAGS for nscd instead of nonlib.
2880 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2882         * nptl/createthread.c: New file.
2884         * nptl/createthread.c: Moved ...
2885         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2887         * nptl/createthread.c: Add proper top-line comment.
2888         (do_clone): Folded into ...
2889         (create_thread): ... here.  Take new arguments STOPPED_START and
2890         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2891         increment __nptl_threads, do event-reporting logic, do
2892         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2893         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2894         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2895         just send SIGCANCEL.
2896         * nptl/pthread_create.c: Forward-declare create_thread before
2897         including createthread.c.
2898         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2899         declaration, and new macro START_THREAD_SELF to replace argument.
2900         Remove return statement.
2901         (report_thread_creation): New function.
2902         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2903         synchronization logic, and __nptl_nthreads increment here, around
2904         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2905         PD->parent_cancelhandling here, before create_thread.  When
2906         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2907         __deallocate_stack, and ENOMEM translation here.
2909 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2911         [BZ #17616]
2912         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2913         (mptwo): Rename to __mptwo.
2914         (__inv): Use __mptwo instead of mptwo.
2915         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2916         (mptwo): Rename to __mptwo.
2917         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2918         of mpone and __mptwo instead of mptwo.
2919         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2920         instead of mpone.
2921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2922         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2923         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2924         of mpone and __mptwo instead of mptwo.
2925         (__mpranred): Use __mpone instead of mpone.
2926         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2927         variable.
2928         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2929         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2930         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2931         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2932         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2933         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2934         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2935         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2936         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2937         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2938         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2939         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2940         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2941         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2942         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2943         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2944         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2945         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2946         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2948 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2950         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2951         replace BSD Handler xref with BSD Signal Handling.
2953 2014-11-17  Richard Henderson  <rth@redhat.com>
2955         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2956         (_FP_PACK_RAW_2): Remove.
2957         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2958         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2959         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2960         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2961         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2962         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2963         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2964         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2965         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2966         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2967         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2968         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2969         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2970         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2971         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2972         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2974 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2976         * signal/signal.h [__USE_MISC]
2977         (struct sigvec): Remove type.
2978         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2979         (sigvec): Remove declaration.
2980         * sysdeps/posix/sigvec.c: Moved ...
2981         * signal/sigvec.c: ... here, replacing old file.
2982         (struct sigvec): New type, copied from old signal.h definition.
2983         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2984         (__sigvec): Convert definition to prototype.
2985         (sigvec): Replace weak_alias with compat_symbol.
2986         * signal/Versions (libc: GLIBC_2.21): New version set.
2987         * include/signal.h: Remove __sigvec declaration.
2988         * sysdeps/unix/bsd/sigvec.c: Remove file.
2989         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2990         * manual/signal.texi (BSD Handler): Remove subsection.
2991         Move siginterrupt up to ...
2992         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2993         (Blocking in BSD): Fold subsection into its parent.
2994         * NEWS: Mention sigvec removal.
2996 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2998         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2999         (DLA_FMS): Make definition conditional only on [__FMA4__].
3000         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3001         definition.
3003         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3004         Make definition conditional only on [PROF].
3005         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3006         definition.
3007         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3008         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3010         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3011         !__GNUC__].
3012         * include/signal.h (__sigpause): Move declaration above call to
3013         libc_hidden_proto.
3014         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3015         variable.
3016         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3017         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3019 2014-11-14  David S. Miller  <davem@davemloft.net>
3021         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3022         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3024 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3026         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3027         * configure: Regenerated.
3028         * manual/install.texi (Tools for Compilation): Document a
3029         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3030         compiler verified to work.
3031         * INSTALL: Regenerated.
3033         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3034         redeclare with asm name.
3035         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3036         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3037         including <string.h>.
3038         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3039         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3040         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3041         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3042         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3044         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3046 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3048         * stdlib/strtol.c (__strtol): Use prototype definition.
3050         [BZ #17594]
3051         * stdlib/strtol.c (SYM__): New macro.
3052         (SYM__1): Likewise.
3053         (__strtol): Likewise.
3054         (strtol): Rename to __strtol and define as weak alias of
3055         __strtol.  Use libc_hidden_weak.
3057 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3059         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3060         Use numbered labels in inline assembly.
3062 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3064         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3065         Add setjmp LIBC_PROBE.
3066         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3067         Likewise.
3068         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3069         Add longjmp, longjmp_target LIBC_PROBE.
3070         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3071         Likewise.
3073 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3075         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3076         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3077         to get rid of unused variable warning.
3079 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3081         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3082         Check for unwind_backtrace ==  NULL only in SHARED case.
3083         (__backchain_backtrace): Compile only in SHARED case.
3084         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3085         Likewise.
3086         (__backchain_backtrace): Declare as static.
3088 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3090         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3091         (__libc_multiple_threads_ptr): Variable moved ...
3092         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3094 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3096         * conform/GlibcConform.pm: New file.
3097         * conform/conformtest.pl: Use GlibcConform module.
3098         * conform/linknamespace.pl: New file.
3099         * conform/list-header-symbols.pl: Likewise.
3100         * conform/Makefile (linknamespace-symlists-base): New variable.
3101         (linknamespace-symlists-tests): Likewise.
3102         (linknamespace-header-base): Likewise.
3103         (linknamespace-header-tests): Likewise.
3104         (tests-special): Add new tests.
3105         ($(linknamespace-symlists-tests)): New rule.
3106         (linknamespace-libs): New variable.
3107         ($(objpfx)symlist-stdlibs): New rule.
3108         ($(linknamespace-header-tests)): Likewise.
3109         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3110         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3111         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3112         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3113         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3114         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3115         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3116         (test-xfail-ISO/math.h/linknamespace): Likewise.
3117         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3118         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3119         (test-xfail-ISO/time.h/linknamespace): Likewise.
3120         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3121         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3122         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3123         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3124         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3125         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3126         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3127         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3128         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3129         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3130         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3131         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3132         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3133         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3134         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3135         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3136         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3137         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3138         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3139         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3140         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3141         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3142         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3143         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3144         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3145         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3146         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3147         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3148         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3149         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3150         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3151         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3152         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3153         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3154         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3155         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3156         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3157         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3158         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3159         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3160         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3161         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3162         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3163         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3164         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3165         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3166         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3167         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3168         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3169         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3170         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3171         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3172         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3173         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3174         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3175         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3176         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3177         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3178         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3179         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3180         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3181         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3182         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3183         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3184         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3185         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3186         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3187         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3188         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3189         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3190         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3191         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3192         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3193         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3194         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3195         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3196         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3197         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3198         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3199         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3200         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3201         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3202         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3203         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3204         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3205         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3206         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3207         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3208         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3209         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3210         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3211         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3212         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3213         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3214         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3215         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3216         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3217         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3218         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3219         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3220         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3221         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3222         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3223         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3224         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3225         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3226         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3227         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3228         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3229         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3230         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3231         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3232         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3233         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3234         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3235         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3236         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3237         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3238         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3239         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3240         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3241         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3242         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3243         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3244         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3245         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3246         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3247         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3248         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3249         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3250         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3251         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3252         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3253         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3254         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3255         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3256         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3257         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3258         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3259         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3260         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3261         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3262         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3263         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3264         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3265         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3266         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3267         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3268         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3269         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3271         [BZ #17589]
3272         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3273         of fgets_unlocked.
3275         [BZ #17585]
3276         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3277         (memmem): Rename to __memmem and define as weak alias of
3278         __memmem.  Use libc_hidden_weak.
3279         (__memmem): Use libc_hidden_def.
3280         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3281         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3282         memmem.
3284         [BZ #17582]
3285         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3286         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3287         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3288         and define as weak alias of __fgets_unlocked.  Use
3289         libc_hidden_weak.
3290         (__fgets_unlocked): Use libc_hidden_def.
3291         * include/stdio.h (__fgets_unlocked): Declare.  Use
3292         libc_hidden_proto.
3293         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3294         __fgets_unlocked instead of fgets_unlocked.
3295         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3296         (GET_NPROCS_CONF_PARSER): Likewise.
3297         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3298         (GET_NPROCS_CONF_PARSER): Likewise.
3300         [BZ #17574]
3301         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3302         weak alias of __wmemset.  Use libc_hidden_weak.
3303         (__wmemset): Use libc_hidden_def.
3304         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3305         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3306         of wmemset.
3308         [BZ #17573]
3309         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3310         with asm name __mempcpy.
3311         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3313         [BZ #17572]
3314         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3315         and define as weak alias of __rawmemchr.
3316         (__rawmemchr): Do not define as strong alias of rawmemchr.
3318         [BZ #17571]
3319         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3320         alias of __qsort_r.
3321         (qsort): Call __qsort_r instead of qsort_r.
3322         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3323         (__qsort_r): Declare.  Call libc_hidden_proto.
3324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3325         instead of qsort_r.
3326         * nscd/gai.c (__qsort_r): Define to qsort_r.
3327         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3328         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3329         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3331         [BZ #17570]
3332         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3333         define as weak alias of __malloc_info.
3335         [BZ #17584]
3336         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3337         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3338         (__rewinddir): Use libc_hidden_def.
3339         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3340         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3341         (__rewinddir): Use libc_hidden_def.
3342         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3343         weak alias of __rewinddir.  Don't use libc_hidden_def.
3344         (__rewinddir): Use libc_hidden_def.
3345         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3346         (__rewinddir): Use libc_hidden_proto.
3347         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3348         rewinddir.
3349         (__getcwd): Use __rewinddir instead of rewinddir.
3351         [BZ #17583]
3352         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3353         alias of __fileno.  Use libc_hidden_weak.
3354         (__fileno): Use libc_hidden_def.
3355         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3356         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3357         alias of __ftello.
3358         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3359         __ftello.
3360         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3361         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3362         libc_hidden_def.
3363         (fread_unlocked): Don't use libc_hidden_ver.
3364         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3365         and define as weak alias of __fread_unlocked.  Don't use
3366         libc_hidden_def.
3367         (__fread_unlocked): Use libc_hidden_def.
3368         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3369         (ftello): Don't use libc_hidden_proto.
3370         (__ftello): Declare.  Use libc_hidden_proto.
3371         (fread_unlocked): Don't use libc_hidden_proto.
3372         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3373         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3374         and __ftello instead of fileno, fread_unlocked and ftello.
3376 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3378         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3379         GOT12.
3380         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3381         Likewise.
3382         (_dl_start_user): Likewise.
3383         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3385 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3386             Siddhesh Poyarekar  <siddhesh@redhat.com>
3388         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3389         Move argv and envp down instead of moving argc up.
3390         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3392 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3394         [BZ #17506]
3395         * test-skeleton.c (main): Return successful if one of
3396         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3397         * string/tst-strcoll-overflow.c: Define expected status.
3399 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3401         [BZ #17475]
3402         * locale/iso-639.def: Define Bhili and Tulu language codes.
3404 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3406         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3408 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3410         [BZ #17555]
3411         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3413 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3415         * configure.ac: Updated check of minimal required version to
3416         2.22.
3417         * manual/install.texi (Tools for Compilation): Updated version
3418         number.
3419         * configure: Regenerated.
3420         * INSTALL: Likewise.
3422 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3424         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3425         __tls_get_addr.
3427 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3429         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3430         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3431         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3432         libc_hidden_weak.
3433         (waitpid): Define as alias of __waitpid.
3434         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3435         __waitpid.
3436         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3437         libc_hidden_weak.
3438         (waitpid): Define as alias of __waitpid.
3439         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3440         __libc_waitpid alias.
3441         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3442         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3443         Likewise.
3444         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3445         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3446         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3447         alias.
3448         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3449         __waitpid.
3450         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3451         libc_hidden_weak.
3452         (waitpid): Define as alias of __waitpid.
3454 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3456         * manual/llio.texi: Add comment that write safety has been
3457         fixed in Linux.
3459         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3460         (localplt-build-dso): Add elf/ld.so.
3461         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3462         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3463         and free for ld.so.
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3465         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3467         Likewise.
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3469         Likewise.
3470         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3471         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3472         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3473         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3474         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3475         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3476         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3477         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3478         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3480         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3482 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3484         [BZ #14132]
3485         * include/libc-symbols.h (INTUSE): Remove macro.
3486         (INTDEF): Likewise.
3487         (INTVARDEF): Likewise.
3488         (_INTVARDEF): Likewise.
3489         (INTDEF2): Likewise.
3490         (INTVARDEF2): Likewise.
3491         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3492         rtld_hidden_def instead of INTVARDEF.
3493         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3494         (_dl_starting_up_internal): Remove declaration.
3495         (_dl_starting_up): Use rtld_hidden_proto.
3496         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3497         declaration.
3498         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3499         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3500         _dl_starting_up.
3501         * elf/dl-writev.h (_dl_writev): Likewise.
3502         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3503         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3504         _dl_starting_up_internal.
3506 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3508         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3509         test-skeleton.c.
3511 2014-11-05  Will Newton  <will.newton@linaro.org>
3513         * benchtests/Makefile: (bench-malloc): Add malloc thread
3514         scalability benchmark.
3515         * benchtests/bench-malloc-threads.c: New file.
3517 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3519         * sysdeps/aarch64/strchrnul.S: New file.
3521 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3523         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3524         definition.
3525         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3526         Likwise.
3527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3528         Likewise.
3529         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3530         Likewise.
3531         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3532         Likewise.
3533         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3534         Likewise.
3536 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3538         * catgets/test-gencat.c: Use test-skeleton.c.
3539         * catgets/tst-catgets.c: Likewise.
3540         * csu/tst-empty.c: Likewise.
3541         * elf/tst-audit2.c: Likewise.
3542         * elf/tst-global1.c: Likewise.
3543         * elf/tst-pathopt.c: Likewise.
3544         * elf/tst-piemod1.c: Likewise.
3545         * elf/tst-tls10.c: Likewise.
3546         * elf/tst-tls11.c: Likewise.
3547         * elf/tst-tls12.c: Likewise.
3548         * gnulib/tst-gcc.c: Likewise.
3549         * iconvdata/tst-e2big.c: Likewise.
3550         * iconvdata/tst-loading.c: Likewise.
3551         * iconv/tst-iconv1.c: Likewise.
3552         * iconv/tst-iconv2.c: Likewise.
3553         * inet/test-inet6_opt.c: Likewise.
3554         * inet/tst-gethnm.c: Likewise.
3555         * inet/tst-network.c: Likewise.
3556         * inet/tst-ntoa.c: Likewise.
3557         * intl/tst-codeset.c: Likewise.
3558         * intl/tst-gettext2.c: Likewise.
3559         * intl/tst-gettext3.c: Likewise.
3560         * intl/tst-ngettext.c: Likewise.
3561         * intl/tst-translit.c: Likewise.
3562         * io/test-stat.c: Likewise.
3563         * libio/test-fmemopen.c: Likewise.
3564         * libio/tst-freopen.c: Likewise.
3565         * libio/tst-sscanf.c: Likewise.
3566         * libio/tst-ungetwc1.c: Likewise.
3567         * libio/tst-ungetwc2.c: Likewise.
3568         * libio/tst-widetext.c: Likewise.
3569         * localedata/tst-ctype.c: Likewise.
3570         * localedata/tst-digits.c: Likewise.
3571         * localedata/tst-leaks.c: Likewise.
3572         * localedata/tst-mbswcs1.c: Likewise.
3573         * localedata/tst-mbswcs2.c: Likewise.
3574         * localedata/tst-mbswcs3.c: Likewise.
3575         * localedata/tst-mbswcs4.c: Likewise.
3576         * localedata/tst-mbswcs5.c: Likewise.
3577         * localedata/tst-setlocale.c: Likewise.
3578         * localedata/tst-trans.c: Likewise.
3579         * localedata/tst-wctype.c: Likewise.
3580         * localedata/tst-xlocale1.c: Likewise.
3581         * login/tst-grantpt.c: Likewise.
3582         * malloc/tst-calloc.c: Likewise.
3583         * malloc/tst-malloc.c: Likewise.
3584         * malloc/tst-mallocstate.c: Likewise.
3585         * malloc/tst-mcheck.c: Likewise.
3586         * malloc/tst-mtrace.c: Likewise.
3587         * malloc/tst-obstack.c: Likewise.
3588         * math/atest-exp2.c: Likewise.
3589         * math/atest-exp.c: Likewise.
3590         * math/atest-sincos.c: Likewise.
3591         * math/test-matherr.c: Likewise.
3592         * math/test-misc.c: Likewise.
3593         * math/test-powl.c: Likewise.
3594         * math/tst-definitions.c: Likewise.
3595         * misc/tst-dirname.c: Likewise.
3596         * misc/tst-efgcvt.c: Likewise.
3597         * misc/tst-fdset.c: Likewise.
3598         * misc/tst-hsearch.c: Likewise.
3599         * misc/tst-mntent2.c: Likewise.
3600         * nptl/tst-sem7.c: Likewise.
3601         * nptl/tst-sem8.c: Likewise.
3602         * nptl/tst-sem9.c: Likewise.
3603         * nss/test-netdb.c: Likewise.
3604         * posix/tst-fnmatch.c: Likewise.
3605         * posix/tst-getlogin.c: Likewise.
3606         * posix/tst-gnuglob.c: Likewise.
3607         * posix/tst-mmap.c: Likewise.
3608         * pwd/tst-getpw.c: Likewise.
3609         * resolv/tst-inet_ntop.c: Likewise.
3610         * rt/tst-timer.c: Likewise.
3611         * stdio-common/test-fseek.c: Likewise.
3612         * stdio-common/test-popen.c: Likewise.
3613         * stdio-common/test-vfprintf.c: Likewise.
3614         * stdio-common/tst-cookie.c: Likewise.
3615         * stdio-common/tst-fileno.c: Likewise.
3616         * stdio-common/tst-gets.c: Likewise.
3617         * stdio-common/tst-obprintf.c: Likewise.
3618         * stdio-common/tst-perror.c: Likewise.
3619         * stdio-common/tst-sprintf2.c: Likewise.
3620         * stdio-common/tst-sprintf3.c: Likewise.
3621         * stdio-common/tst-sprintf.c: Likewise.
3622         * stdio-common/tst-swprintf.c: Likewise.
3623         * stdio-common/tst-tmpnam.c: Likewise.
3624         * stdio-common/tst-unbputc.c: Likewise.
3625         * stdio-common/tst-wc-printf.c: Likewise.
3626         * stdlib/tst-environ.c: Likewise.
3627         * stdlib/tst-fmtmsg.c: Likewise.
3628         * stdlib/tst-limits.c: Likewise.
3629         * stdlib/tst-rand48-2.c: Likewise.
3630         * stdlib/tst-rand48.c: Likewise.
3631         * stdlib/tst-random2.c: Likewise.
3632         * stdlib/tst-random.c: Likewise.
3633         * stdlib/tst-strtol.c: Likewise.
3634         * stdlib/tst-strtoll.c: Likewise.
3635         * stdlib/tst-tls-atexit.c: Likewise.
3636         * stdlib/tst-xpg-basename.c: Likewise.
3637         * string/test-ffs.c: Likewise.
3638         * string/tst-bswap.c: Likewise.
3639         * string/tst-inlcall.c: Likewise.
3640         * string/tst-strtok.c: Likewise.
3641         * string/tst-strxfrm.c: Likewise.
3642         * sysdeps/x86_64/tst-audit10.c: Likewise.
3643         * sysdeps/x86_64/tst-audit3.c: Likewise.
3644         * sysdeps/x86_64/tst-audit4.c: Likewise.
3645         * sysdeps/x86_64/tst-audit5.c: Likewise.
3646         * time/tst-ftime_l.c: Likewise.
3647         * time/tst-getdate.c: Likewise.
3648         * time/tst-mktime3.c: Likewise.
3649         * time/tst-mktime.c: Likewise.
3650         * time/tst-posixtz.c: Likewise.
3651         * time/tst-strptime2.c: Likewise.
3652         * time/tst-strptime3.c: Likewise.
3653         * wcsmbs/tst-btowc.c: Likewise.
3654         * wcsmbs/tst-mbrtowc.c: Likewise.
3655         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3656         * wcsmbs/tst-wchar-h.c: Likewise.
3657         * wcsmbs/tst-wcpncpy.c: Likewise.
3658         * wcsmbs/tst-wcrtomb.c: Likewise.
3659         * wcsmbs/tst-wcsnlen.c: Likewise.
3660         * wcsmbs/tst-wcstof.c: Likewise.
3662 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3664         [BZ #14132]
3665         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3666         INTDEF.
3667         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3668         declaration.
3669         (_dl_mcount): Use rtld_hidden_proto.
3670         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3671         _dl_mcount.
3672         * elf/rtld.c (_rtld_global_ro): Likewise.
3674         [BZ #14132]
3675         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3676         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3677         of _dl_init_internal.
3678         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3679         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3680         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3681         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3682         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3683         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3684         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3685         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3686         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3687         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3688         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3689         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3690         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3691         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3692         * sysdeps/tile/dl-start.S (_start): Likewise.
3693         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3694         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3696         [BZ #14132]
3697         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3698         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3699         (rtld_progname): Make macro definition unconditional.
3700         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3701         INTDEF.
3702         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3703         (dl_main): Likewise.
3704         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3705         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3706         instead of _dl_argv_internal.
3707         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3708         __GI__dl_argv instead of INTUSE(_dl_argv).
3709         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3710         __GI__dl_argv instead of _dl_argv_internal.
3712         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3713         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3714         macro.
3715         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3716         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3717         New macro.
3718         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3719         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3720         macro.
3721         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3722         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3724 2014-11-04  Andreas Schwab  <schwab@suse.de>
3726         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3728 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3730         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3731         mtvsrd instruction in binary form.
3733 2014-11-03  Andreas Schwab  <schwab@suse.de>
3735         [BZ #17522]
3736         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3737         for less than MB_LEN_MAX use a local buffer of that size.
3738         * libio/tst-fputws.c: New file.
3739         * libio/Makefile (tests): Add tst-fputws.
3741 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3743         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3744         the size of the fpu_fr.fpu_dregs[] array.
3746 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3748         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3749         (__nanosleep): Do not define as alias.
3750         (nanosleep): Define as alias of __nanosleep.
3751         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3752         __libc_nanosleep name.
3754 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3756         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3757         install.texi in comment.
3759 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3761         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3762         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3763         ... add here and use lwsync or sync ...
3764         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3765         ... and add here using lwsync.
3767 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3769         * elf/dl-machine-reject-phdr.h: New file.
3770         * elf/dl-load.c: #include that.
3771         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3772         if that returned true.
3774 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3776         [BZ #17496]
3777         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3778         gen-as-const-headers chunk.  Add a big scare comment after the last
3779         safe place to touch before-compile.
3781 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3783         * manual/install.texi (Tools for Compilation): Update autoconf
3784         version requirements.
3785         * INSTALL: Regenerated.
3787         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3788         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3789         (__libc_pselect): Likewise.
3791         [BZ #14138]
3792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3797 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3799         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3800         correct barrier instruction.
3801         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3802         Likewise.
3803         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3804         Likewise.
3806 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3808         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3809         after defining inlines.  Instead, just use parens to defeat macro
3810         expansion of __isctype in its declaration.
3812 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3814         * include/sys/uio.h (__libc_readv): Remove declaration.
3815         (__libc_writev): Likewise.
3816         * misc/readv.c (__libc_readv): Rename to __readv.
3817         (__readv): Do not define as alias.
3818         (readv): Define as alias of __readv.
3819         * misc/writev.c (__libc_writev): Rename to __writev.
3820         (__writev): Do not define as alias.
3821         (writev): Define as alias of __writev.
3822         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3823         (__readv): Do not define as alias.
3824         (readv): Define unconditionally as alias of __readv.
3825         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3826         (__writev): Do not define as alias.
3827         (writev): Define unconditionally as alias of __writev.
3828         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3829         name.
3830         (writev): Do not define __libc_writev name.
3832 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3834         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3835         (convert_charseq): New function, broken out of ...
3836         (use_from_charmap): ... here.  Call it.
3837         (use_to_charmap): Use convert_charseq and free instead of duplicating
3838         its code with a variable-length stack struct.
3840 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3842         * include/fcntl.h (__libc_creat): Remove declaration.
3843         * io/creat.c (__libc_creat): Rename to creat.
3844         (creat): Do not define as alias.
3845         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3846         of creat instead of __libc_creat.
3847         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3848         to creat.
3849         (creat): Do not define as alias.
3850         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3851         __libc_creat.
3852         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3853         __libc_creat name.
3854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3855         Likewise.
3857 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3859         * manual/llio.texi: Add comments discussing why write() may be
3860         considered MT-unsafe on Linux.
3862 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3864         * dl-load.c (local_strdup): Remove.
3865         (expand_dynamic_string_token): Use __strdup.
3866         (decompose_rpath): Likewise.
3867         (_dl_map_object): Likewise.
3869 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3871         [BZ #14132]
3872         * sysdeps/generic/unwind-dw2-fde.c
3873         (__register_frame_info_bases_internal): Do not declare.
3874         (__register_frame_info_table_bases_internal): Likewise.
3875         (__deregister_frame_info_bases_internal): Likewise.
3876         (__register_frame_info_bases): Declare and use hidden_proto before
3877         definition.  Use hidden_def instead of INTDEF.
3878         (__register_frame_info_table_bases): Likewise.
3879         (__deregister_frame_info_bases): Likewise.
3880         (__register_frame_info): Do not use INTUSE.
3881         (__register_frame): Likewise.
3882         (__register_frame_info_table): Likewise.
3883         (__register_frame_table): Likewise.
3884         (__deregister_frame_info): Likewise.
3885         (__deregister_frame): Likewise.
3887 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3889         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3890         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3891         not undefine.
3892         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3893         Likewise.
3894         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3895         Likewise.
3897 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3899         [BZ #14138]
3900         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3901         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3902         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3903         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3904         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3905         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3906         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3907         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3908         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3909         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3910         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3911         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3912         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3913         syscall.
3914         (setfsuid): Likewise.
3915         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3916         (setfsuid): Likewise.
3917         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3918         (setfsuid): Likewise.
3919         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3920         Likewise.
3921         (setfsuid): Likewise.
3922         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3923         (setfsuid): Likewise.
3924         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3925         Likewise.
3926         (setfsuid): Likewise.
3928 2014-10-27  Andreas Schwab  <schwab@suse.de>
3930         [BZ #17501]
3931         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3932         check for Slow_SSE4_2 feature bit.
3933         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3934         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3935         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3936         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3938 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3940         * configure.ac: Validate compiler version with a empirical test of
3941         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3942         $CC -v output.
3943         * configure: Regenerated.
3945         * inet/htons.c (htons): Prototypify.
3946         * inet/htonl.c (htonl): Likewise.
3948 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3950         * string/strncat.c (strncat): Improve performance by using strlen.
3952 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3954         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3956 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3958         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3959         Call libc_fetestexcept_aarch64.
3961 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3963         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3964         Call libc_feholdexcept_aarch64.
3966 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3968         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3969         Call get_rounding_mode.
3971 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3973         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3974         Simplify logic.
3976 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3978         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3979         Simplify logic.
3981 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3983         [BZ #14138]
3984         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3985         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3986         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3987         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3988         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3989         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3990         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3991         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3992         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3993         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3994         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3995         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3996         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3997         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3998         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3999         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4000         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4001         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4002         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4003         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4004         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4005         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4006         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4007         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4008         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4009         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4010         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4011         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4012         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4013         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4014         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4015         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4016         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4017         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4018         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4019         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4020         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4022         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4023         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4024         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4025         syscall.
4026         (geteuid): Likewise.
4027         (getgid): Likewise.
4028         (getuid): Likewise.
4029         (getresgid): Likewise.
4030         (getresuid): Likewise.
4031         (getgroups): Likewise.
4032         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4033         (geteuid): Likewise.
4034         (getgid): Likewise.
4035         (getuid): Likewise.
4036         (getresgid): Likewise.
4037         (getresuid): Likewise.
4038         (getgroups): Likewise.
4039         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4040         (geteuid): Likewise.
4041         (getgid): Likewise.
4042         (getuid): Likewise.
4043         (getresgid): Likewise.
4044         (getresuid): Likewise.
4045         (getgroups): Likewise.
4046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4047         Likewise.
4048         (geteuid): Likewise.
4049         (getgid): Likewise.
4050         (getuid): Likewise.
4051         (getresgid): Likewise.
4052         (getresuid): Likewise.
4053         (getgroups): Likewise.
4054         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4055         (geteuid): Likewise.
4056         (getgid): Likewise.
4057         (getuid): Likewise.
4058         (getresgid): Likewise.
4059         (getresuid): Likewise.
4060         (getgroups): Likewise.
4061         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4062         Likewise.
4063         (geteuid): Likewise.
4064         (getgid): Likewise.
4065         (getuid): Likewise.
4066         (getgroups): Likewise.
4068         [BZ #14138]
4069         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4070         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4071         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4072         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4073         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4074         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4075         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4076         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4077         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4078         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4079         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4080         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4081         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4082         __chown.
4083         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4084         (lchown): Likewise.
4085         (fchown): Likewise.
4086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4087         Likewise.
4088         (lchown): Likewise.
4089         (fchown): Likewise.
4090         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4091         (lchown): Likewise.
4092         (fchown): Likewise.
4093         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4094         Likewise.
4095         (lchown): Likewise.
4096         (fchown): Likewise.
4098 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4100         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4101         Simplify logic.
4103 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4105         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4106         Cleanup logic.
4108 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4110         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4111         Remove unused include.
4113 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4115         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4116         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4117         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4118         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4120 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4121             Helge Deller <deller@gmx.de>
4123         [BZ #17508]
4124         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4125         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4126         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4128 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4130         [BZ #14132]
4131         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4132         Remove macro definition.
4133         (__ashrdi3_v_glibc20): Likewise.
4134         (__lshrdi3_v_glibc20): Likewise.
4135         (__cmpdi2_v_glibc20): Likewise.
4136         (__ucmpdi2_v_glibc20): Likewise.
4137         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4138         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4139         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4140         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4141         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4142         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4144 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4146         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4147         old GNU extension [0] syntax.
4148         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4149         alloca rather than an array member with variable length.
4150         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4151         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4152         (parse_opt): ... here.  Likewise use alloca there.
4153         Validate the -i argument before checking for rootness.
4154         (send_shutdown): New function, broken out of ...
4155         (parse_opt): ... here.
4157 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4159         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4160         macro to get at the _rt_local_ro field.
4161         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4162         ([PIC] case) or _dl_hwcap ([!PIC] case).
4163         * sysdeps/arm/setjmp.S: Likewise.
4165         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4166         * sysdeps/arm/configure.ac: New check to define it.
4167         * sysdeps/arm/configure: Regenerated.
4168         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4169         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4170         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4171         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4172         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4173         Use move/movt pair instead of a load.
4174         (LDST_GLOBAL): Macro removed.
4175         (LDR_GLOBAL): New macro replaces it.
4176         (LDR_HIDDEN): New macro.
4177         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4178         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4180         * setjmp/tst-setjmp-static.c: New file.
4181         * setjmp/Makefile (tests): Add it.
4182         (tests-static): New variable.
4184 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4186         [BZ #17485]
4187         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4189 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4191         [BZ #14132]
4192         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4194 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4196         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4198 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4200         * io/fts.c (dirent_not_directory): New function.
4201         (fts_build): Call it.
4203 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4205         * nptl/version.c (__nptl_main): Use normal __write rather than
4206         INTERNAL_SYSCALL.
4207         (banner): Update copyright years.
4209         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4210         gettimeofday.
4211         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4212         * nptl/pthread_cond_timedwait.c: Likewise.
4213         * nptl/pthread_mutex_timedlock.c: Likewise.
4214         * nptl/sem_timedwait.c: Likewise.
4216         * sysdeps/nptl/bits/libc-lock.h
4217         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4218         (__libc_lock_init_recursive): Return void, not 0.
4219         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4220         (__libc_rwlock_init): Likewise.
4221         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4223 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4225         [BZ #15215]
4226         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4227         (__pthread_once_slow): ... here.
4228         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4229         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4231 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4233         [BZ #15215]
4234         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4235         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4236         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4237         * nptl/pthread_once.c (__pthread_once): Likewise.
4238         Update comments.
4240 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4242         [BZ #14138]
4243         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4244         name.
4245         (writev): Use __libc_writev as strong name.
4246         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4247         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4249 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4251         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4253         * sysdeps/i386/nptl/tls.h
4254         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4255         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4256         New macros.
4257         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4258         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4259         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4260         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4261         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4262         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4264         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4265         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4266         on [__NR_futex].
4267         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4268         broken out of ...
4269         (__pthread_mutex_init): ... here.  Call it.
4270         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4271         Conditionalize PI cases on [__NR_futex].
4272         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4273         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4274         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4276         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4277         conditional on [SIGSETXID].
4278         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4279         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4280         is defined.  Likewise for SIGSETXID.
4281         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4282         Conditionalize definitions on [SIGSETXID].
4283         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4284         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4285         unblocking on [SIGCANCEL].
4287         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4288         [__NR_set_robust_list].
4290 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4292         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4293         (do_compare): Likewise.
4295 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4297         [BZ #15884]
4298         * string/strcoll_l.c: Don't include stdio.h.
4299         (coll_seq): Remove members idxarr and rulearr.
4300         (get_next_seq_cached): Remove function.
4301         (get_next_seq): Likewise.
4302         (get_next_seq_nocache): Rename to get_next_seq.
4303         (do_compare): Remove function.
4304         (do_compare_nocache): Rename to do_compare.
4305         (STRCOLL): Remove weight and rules cache.
4307 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4309         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4310         * sysdeps/arm/sfp-machine.h: ... to here.
4311         * sysdeps/arm/Implies: Remove arm/soft-fp.
4313 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4315         * conform/data/sys/utsname.h-data (*_t): Allow.
4316         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4317         [POSIX] (WEXITED): Do not expect constant.
4318         [POSIX] (WSTOPPED): Likewise.
4319         [POSIX] (WNOHANG): Likewise.
4320         [POSIX] (WNOWAIT): Likewise.
4321         [POSIX] (siginfo_t): Do not expect type or elements.
4322         [POSIX] (pid_t): Do not expect type.
4323         [POSIX] (signal.h): Do not allow header.
4324         [POSIX] (sys/resource.h): Likewise.
4325         [POSIX] (si_*): Do not allow pattern.
4326         [POSIX] (W*): Likewise.
4327         [POSIX] (P_*): Likewise.
4328         [POSIX] (BUS_*): Likewise.
4329         [POSIX] (CLD_*): Likewise.
4330         [POSIX] (FPE_*): Likewise.
4331         [POSIX] (ILL_*): Likewise.
4332         [POSIX] (POLL_*): Likewise.
4333         [POSIX] (SEGV_*): Likewise.
4334         [POSIX] (SI_*): Likewise.
4335         [POSIX] (TRAP_*): Likewise.
4336         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4337         variable.
4339 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4341         [BZ #12926]
4342         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4343         infinite loop when __recvmsg returns 0.
4345 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4347         * CANCEL-FCT-WAIVE: Remove file.
4348         * CANCEL-FILE-WAIVE: Likewise.
4350         [BZ #14132]
4351         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4352         instead of INTVARDEF.
4353         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4354         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4355         rtld_hidden_data_def instead of INTVARDEF.
4356         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4357         * elf/dl-deps.c (expand_dst): Likewise.
4358         * elf/dl-load.c (_dl_dst_count): Likewise.
4359         (_dl_dst_substitute): Likewise.
4360         (decompose_rpath): Likewise.
4361         (_dl_init_paths): Likewise.
4362         (open_path): Likewise.
4363         (_dl_map_object): Likewise.
4364         * elf/rtld.c (dl_main): Likewise.
4365         (process_dl_audit): Likewise.
4366         (process_envvars): Likewise.
4367         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4368         Remove declaration.
4369         (__libc_enable_secure): Use rtld_hidden_proto.
4371 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4373         * elf/dl-load.c
4374         (add_path): New function broken out of _dl_rtld_di_serinfo.
4375         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4377 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4379         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4380         parentheses around macro arguments.
4381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4386         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4388         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4392         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4393         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4394         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4395         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4396         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4397         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4410         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4411         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4412         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4414         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4415         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4416         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4417         Likewise.
4418         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4421         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4422         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4425         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4426         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4427         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4429         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4430         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4431         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4439         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4440         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4441         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4442         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4443         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4444         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4445         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4446         (_FP_FRAC_SRS_1): Likewise.
4447         (_FP_FRAC_CLZ_1): Likewise.
4448         (_FP_MUL_MEAT_1_imm): Likewise.
4449         (_FP_MUL_MEAT_1_wide): Likewise.
4450         (_FP_MUL_MEAT_1_hard): Likewise.
4451         (_FP_SQRT_MEAT_1): Likewise.
4452         (_FP_FRAC_ASSEMBLE_1): Likewise.
4453         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4454         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4455         (__FP_CLZ_2): Likewise.
4456         (_FP_MUL_MEAT_2_wide): Likewise.
4457         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4458         (_FP_MUL_MEAT_2_gmp): Likewise.
4459         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4460         (_FP_SQRT_MEAT_2): Likewise.
4461         (_FP_FRAC_ASSEMBLE_2): Likewise.
4462         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4463         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4464         (_FP_FRAC_CLZ_4): Likewise.
4465         (_FP_MUL_MEAT_4_wide): Likewise.
4466         (_FP_MUL_MEAT_4_gmp): Likewise.
4467         (_FP_SQRT_MEAT_4): Likewise.
4468         (_FP_FRAC_ASSEMBLE_4): Likewise.
4469         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4470         * soft-fp/op-common.h (_FP_CMP): Likewise.
4471         (_FP_CMP_EQ): Likewise.
4472         (_FP_CMP_UNORD): Likewise.
4473         (_FP_TO_INT): Likewise.
4474         (_FP_FROM_INT): Likewise.
4475         [!__FP_CLZ] (__FP_CLZ): Likewise.
4476         (_FP_DIV_HELP_imm): Likewise.
4477         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4478         Likewise.
4479         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4483         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4484         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4486         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4487         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4488         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4490         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4491         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4492         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4493         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4494         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4495         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4502         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4506         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4508         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4509         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4510         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4511         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4512         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4513         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4514         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4515         (FP_UNPACK_RAW_SP): Likewise.
4516         (FP_PACK_RAW_S): Likewise.
4517         (FP_PACK_RAW_SP): Likewise.
4518         (FP_UNPACK_S): Likewise.
4519         (FP_UNPACK_SP): Likewise.
4520         (FP_UNPACK_SEMIRAW_S): Likewise.
4521         (FP_UNPACK_SEMIRAW_SP): Likewise.
4522         (FP_PACK_S): Likewise.
4523         (FP_PACK_SP): Likewise.
4524         (FP_PACK_SEMIRAW_S): Likewise.
4525         (FP_PACK_SEMIRAW_SP): Likewise.
4526         (_FP_SQRT_MEAT_S): Likewise.
4527         (FP_CMP_S): Likewise.
4528         (FP_CMP_EQ_S): Likewise.
4529         (FP_CMP_UNORD_S): Likewise.
4530         (FP_TO_INT_S): Likewise.
4531         (FP_FROM_INT_S): Likewise.
4533         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4535         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4536         (FP_EX_INVALID_IMZ): Likewise.
4537         (FP_EX_INVALID_IMZ_FMA): Likewise.
4538         (FP_EX_INVALID_ISI): Likewise.
4539         (FP_EX_INVALID_ZDZ): Likewise.
4540         (FP_EX_INVALID_IDI): Likewise.
4541         (FP_EX_INVALID_SQRT): Likewise.
4542         (FP_EX_INVALID_CVI): Likewise.
4543         (FP_EX_INVALID_VC): Likewise.
4544         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4545         "invalid" exceptions.
4546         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4547         (_FP_ADD_INTERNAL): Likewise.
4548         (_FP_MUL): Likewise.
4549         (_FP_FMA): Likewise.
4550         (_FP_DIV): Likewise.
4551         (_FP_CMP_CHECK_NAN): Likewise.
4552         (_FP_SQRT): Likewise.
4553         (_FP_TO_INT): Likewise.
4554         (FP_EXTEND): Likewise.
4556 2014-10-09  Allan McRae  <allan@archlinux.org>
4558         * po/fr.po: Update French translation from translation project.
4560 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4562         [BZ #14132]
4563         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4564         of INTDEF.
4565         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4566         (__cxa_atexit): Use libc_hidden_proto.
4567         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4569         [BZ #14132]
4570         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4571         declaration.
4572         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4573         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4574         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4575         [!_ISOMAC] (__iswctype_internal): Likewise.
4576         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4577         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4578         alias.
4579         (fcntl): Remove __fcntl_internal alias.
4580         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4581         __connect_internal alias.
4582         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4583         Likewise.
4585         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4586         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4587         FP_DENORM_ZERO.
4588         (_FP_CHECK_FLUSH_ZERO): New macro.
4589         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4590         (_FP_CMP): Likewise.
4591         (_FP_CMP_EQ): Likewise.
4592         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4593         FP_DENORM_ZERO.
4594         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4595         (FP_TRUNC): Likewise.
4597         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4598         treated as invalid conversion, not as normal exponent.
4600         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4601         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4602         (_FP_CMP_EQ): Likewise.
4603         (_FP_CMP_UNORD): Likewise.
4604         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4605         (FP_CMP_EQ_D): Likewise.
4606         (FP_CMP_UNORD_D): Likewise.
4607         * soft-fp/extended.h (FP_CMP_E): Likewise.
4608         (FP_CMP_EQ_E): Likewise.
4609         (FP_CMP_UNORD_E): Likewise.
4610         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4611         (FP_CMP_EQ_Q): Likewise.
4612         (FP_CMP_UNORD_Q): Likewise.
4613         * soft-fp/single.h (FP_CMP_S): Likewise.
4614         (FP_CMP_EQ_S): Likewise.
4615         (FP_CMP_UNORD_S): Likewise.
4616         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4617         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4618         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4619         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4620         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4621         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4622         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4623         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4624         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4625         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4626         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4627         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4628         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4629         to FP_CMP_Q.
4630         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4631         FP_CMP_Q.
4632         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4633         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4634         FP_CMP_EQ_Q.
4635         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4636         FP_CMP_Q.
4637         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4638         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4639         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4640         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4641         FP_CMP_EQ_Q.
4642         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4643         FP_CMP_Q.
4644         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4645         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4646         FP_CMP_EQ_Q.
4647         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4648         FP_CMP_Q.
4649         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4650         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4651         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4652         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4653         FP_CMP_EQ_Q.
4655         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4656         a subnormal result, set the underflow exception if trapping on
4657         underflow is enabled.
4658         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4659         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4660         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4661         redefine to 0.
4662         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4663         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4664         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4665         * soft-fp/extendxftf2.c (__extendxftf2): Use
4666         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4668         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4669         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4670         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4671         FP_HANDLE_EXCEPTIONS.
4672         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4673         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4674         FP_HANDLE_EXCEPTIONS.
4675         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4676         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4677         FP_HANDLE_EXCEPTIONS.
4678         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4679         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4680         FP_HANDLE_EXCEPTIONS.
4682 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4684         [BZ #14132]
4685         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4686         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4687         use INTUSE.
4688         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4689         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4690         Remove alias.
4691         (__adjtimex): Define using libc_hidden_ver.
4692         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4693         Remove declaration.
4694         (ntp_gettime): Call __adjtimex directly.
4695         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4696         Remove declaration.
4697         (ntp_gettimex): Call __adjtimex directly.
4698         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4699         __adjtimex_internal alias.
4701 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4703         [BZ #17460]
4704         * nscd/nscd.c (more_help): Rewrite list of tables collection
4705         using xstrdup and asprintf.
4707         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4709 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4710             Roland McGrath  <roland@hack.frob.com>
4712         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4713         (do_lookup_unique): ... local function 'enter' here; update callers.
4715 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4717         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4718         compat_symbol calls on [SHARED].
4719         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4720         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4721         Remove.
4722         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4723         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4724         (oldsetrlimit): Remove.
4725         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4727         (lchown): New syscall entry.
4728         (oldsetrlimit): Remove.
4729         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4730         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4731         (oldsetrlimit): Remove.
4732         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4734         [BZ #14138]
4735         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4736         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4737         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4738         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4739         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4740         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4741         (fchown): Likewise.
4742         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4743         (fchown): Likewise.
4744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4745         Likewise.
4747 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4750         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4751         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4752         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4753         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4754         Likewise.
4755         (__old_sem_post): Likewise.
4757 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4759         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4760         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4761         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4762         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4763         Use INLINE_VSYSCALL macro.
4764         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4765         __vdso_clock_gettime.
4766         * sysdeps/unix/sysv/linux/tile/init-first.c
4767         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4768         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4769         __vdso_clock_gettime.
4771         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4772         to set up frame more cleanly.
4774         * sysdeps/tile/memcmp.c: New file.
4776         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4778         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4779         * sysdeps/tile/tilegx/strcasestr.c: New file.
4780         * sysdeps/tile/tilegx/strnlen.c: New file.
4781         * sysdeps/tile/tilegx/strstr.c: New file.
4783         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4785 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4787         * nptl/tst-setuid3.c: Write errors to stdout.
4789 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4791         * elf/dl-deps.c
4792         (preload): New functions broken out of _dl_map_object_deps.
4793         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4795 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4797         [BZ #14138]
4798         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4799         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4801 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4803         * sysdeps/mips/strcmp.S: New.
4805 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4807         [BZ #14138]
4808         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4809         (linkat): Likewise.
4810         (mkdirat): Likewise.
4811         (readlinkat): Likewise.
4812         (renameat): Likewise.
4813         (symlinkat): Likewise.
4814         (unlinkat): Likewise.
4815         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4816         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4817         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4818         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4819         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4820         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4821         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4823 2014-09-30  Will Newton  <will.newton@linaro.org>
4825         * math/math.h: Define long double math functions if
4826         _LIBC_TEST is defined.
4827         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4829         * localedata/Makefile: Move assignment to tests-special
4830         into an ifdef testing run-built-tests.
4831         * timezone/Makefile: Likewise.
4833 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4835         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4836         with $(BASH) not $(SHELL).
4838 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4839             Matthew LeGendre  <legendre1@llnl.gov>
4841         [BZ #17411]
4842         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4843         l_reloc_result.
4845 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4847         * stdio-common/printf_fp.c
4848         (hack_digit): New function, broken out of ...
4849         (__printf_fp): ... local function here.  Update call sites.
4850         hack_digit now takes an additional parameter that is a pointer
4851         to a struct of the referenced locals.  Those locals moved inside
4852         the struct and references updated.
4854 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4856         * aclocal.m4: Require autoconf 2.69.
4857         * configure: Regenerated.
4858         * sysdeps/aarch64/configure: Likewise.
4859         * sysdeps/alpha/configure: Likewise.
4860         * sysdeps/arm/armv7/configure: Likewise.
4861         * sysdeps/arm/configure: Likewise.
4862         * sysdeps/ia64/configure: Likewise.
4863         * sysdeps/mach/configure: Likewise.
4864         * sysdeps/mips/configure: Likewise.
4865         * sysdeps/s390/configure: Likewise.
4866         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4869         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4870         file.
4871         * sysdeps/ia64/configure.ac: Likewise.
4873 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4876         specify symbol version for ld.so.  Do not include entry for
4877         libpthread.
4878         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4879         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4880         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4882         [BZ #14171]
4883         * Makeconfig [$(build-shared) = yes]
4884         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4885         makefiles.
4886         [$(build-shared) = yes && $(soversions.mk-done) = t]
4887         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4888         [$(build-shared) = yes && $(soversions.mk-done) = t]
4889         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4890         to Makerules.
4891         [$(build-shared) = yes && $(soversions.mk-done) = t]
4892         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4893         here.
4894         [$(build-shared) = yes && $(soversions.mk-done) = t]
4895         (common-generated): Don't append gnu/lib-names.h and
4896         gnu/lib-names.stmp here.
4897         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4898         (lib-names-h-abi): New variable.
4899         [$(build-shared) = yes && $(soversions.mk-done) = t]
4900         (lib-names-stmp-abi): Likewise.
4901         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4902         abi-variants] (before-compile): Append
4903         $(common-objpfx)$(lib-names-h-abi).
4904         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4905         abi-variants] (common-generated): Append gnu/lib-names.h.
4906         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4907         abi-variants] (install-others-nosubdir): Depend on
4908         $(inst_includedir)/$(lib-names-h-abi).
4909         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4910         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4911         [$(build-shared) = yes && $(soversions.mk-done) = t]
4912         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4913         [$(build-shared) = yes && $(soversions.mk-done) = t]
4914         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4915         [$(build-shared) = yes && $(soversions.mk-done) = t]
4916         (common-generated): Append $(lib-names-h-abi) and
4917         $(lib-names-stmp-abi).
4918         * scripts/lib-names.awk: Do not handle multi being set.
4919         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4920         Remove variable.
4921         (abi-lp64_be-ld-soname): Likewise.
4922         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4923         Likewise.
4924         (abi-hard-ld-soname): Likewise.
4925         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4926         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4927         Remove variable.
4928         (abi-o32_hard-ld-soname): Likewise.
4929         (abi-o32_soft_2008-ld-soname): Likewise.
4930         (abi-o32_hard_2008-ld-soname): Likewise.
4931         (abi-n32_soft-ld-soname): Likewise.
4932         (abi-n32_hard-ld-soname): Likewise.
4933         (abi-n32_soft_2008-ld-soname): Likewise.
4934         (abi-n32_hard_2008-ld-soname): Likewise.
4935         (abi-n64_soft-ld-soname): Likewise.
4936         (abi-n64_hard-ld-soname): Likewise.
4937         (abi-n64_soft_2008-ld-soname): Likewise.
4938         (abi-n64_hard_2008-ld-soname): Likewise.
4939         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4940         Likewise.
4941         (abi-64-v2-ld-soname): Likewise.
4942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4943         ld.so entries.
4944         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4945         variable.
4946         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4947         entry.
4948         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4949         variable.
4950         (abi-64-ld-soname): Likewise.
4951         (abi-x32-ld-soname): Likewise.
4952         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4953         entry.
4954         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4956 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4958         [BZ #14138]
4959         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4960         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4961         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4962         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4963         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4964         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4965         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4966         syscall entry for GLIBC_2.2 symbol version.
4967         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4968         Likewise.
4969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4970         (setrlimit): Likewise.
4971         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4972         Likewise.
4974 2014-09-23  Will Newton  <will.newton@linaro.org>
4976         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4977         _LINUX_ARM_SYSDEP_H include guard too.
4978         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4979         define.
4981 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4983         * sysdeps/unix/sysv/linux/eventfd.c:
4984         Make first argument unsigned.
4985         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4986         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4988 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4990         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4991         * socket/sys/socket.h: Likewise
4992         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4994 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4996         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4998 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5000         * time/tst-ftime.c: New test.
5001         * time/Makefile (tests): Add tst-ftime.
5003 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5005         * soft-fp/extended.h: Fix comment formatting.
5006         * soft-fp/op-1.h: Likewise.
5007         * soft-fp/op-2.h: Likewise.
5008         * soft-fp/op-4.h: Likewise.
5009         * soft-fp/op-8.h: Likewise.
5010         * soft-fp/op-common.h: Likewise.
5011         * soft-fp/soft-fp.h: Likewise.
5013         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5015 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5017         [BZ #6652]
5018         * Makeconfig (soversions-default-setname): Remove variable.
5019         ($(common-objpfx)soversions.i): Don't pass default_setname to
5020         soversions.awk.
5021         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5022         oldest_abi to abi-versions.awk.
5023         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5024         * config.make.in (oldest-abi): Remove variable.
5025         * configure.ac (--enable-oldest-abi): Remove configure option.
5026         * configure: Regenerated.
5027         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5028         text.
5029         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5030         * scripts/soversions.awk: Do not handle default_setname variable.
5031         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5032         variable.
5033         * sysdeps/mach/hurd/configure: Regenerated.
5034         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5035         variable.
5036         * sysdeps/unix/sysv/linux/configure: Regenerated.
5038 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5040         * elf/Makefile (CFLAGS-interp.c): Remove.
5041         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5042         path string.
5043         * elf/interp.c: Include generated runtime-linker.h
5045         * Makerules (lib%.so): Don't include $(+interp) in
5046         prerequisites.
5047         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5048         * dlfcn/eval.c: Remove file.
5050         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5051         macros.
5053         [BZ #17266]
5054         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5055         4.2 and newer.
5057         [BZ #17370]
5058         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5060 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5061             Jakub Jelinek  <jakub@redhat.com>
5063         [BZ #17266]
5064         * libio/stdio.h: Check definition of __fortify_function
5065         instead of __extern_always_inline to include bits/stdio2.h.
5066         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5067         check if __extern_always_inline is defined.
5068         [__USE_MISC || __USE_XOPEN]: Likewise.
5069         [__USE_ISOC99] Likewise.
5070         * misc/sys/cdefs.h (__fortify_function): Define only if
5071         __extern_always_inline is defined.
5072         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5073         __extern_always_inline and __extern_inline only for g++-4.3
5074         and newer or a compatible gcc.
5076 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5078         [BZ #17371]
5079         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5080         last change to handle zero prefix length.
5082 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5084         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5085         _SC_REGEX_VERSION.
5087         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5088         _POSIX_RAW_SOCKETS.
5090 2014-09-13  Allan McRae  <allan@archlinux.org>
5092         * po/ru.po: Update Russian translation from translation project.
5094 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5096         * locale/programs/locale.c (show_locale_vars): Inline local function
5097         into its sole call site.  Clean up some style nits.
5098         (print_item): New function, broken out of ...
5099         (show_info): ... local function here.  Clean up style nits.
5101         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5102         out of ...
5103         (set_class_defaults): ... local function set_default here.
5104         Define set_default as a macro locally to pass constant parameters.
5105         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5106         rather than a shared local.
5108         * stdlib/rpmatch.c (try): New function, broken out of ...
5109         (rpmatch): ... local function here.  Also, prototypify definition.
5111 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5113         * scripts/soversions.awk: Do not handle configuration names.
5114         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5115         vendor and os variables to soversions.awk.
5116         * configure.ac: Do not modify gnu-* host_os.
5117         * configure: Regenerated
5118         * shlib-versions: Remove first column with configuration names.
5119         * nptl/shlib-versions: Likewise.
5120         * nptl_db/shlib-versions: Likewise.
5121         * sysdeps/hppa/shlib-versions: Likewise.
5122         * sysdeps/m68k/shlib-versions: Likewise.
5123         * sysdeps/mach/hurd/shlib-versions: Likewise.
5124         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5125         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5126         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5127         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5128         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5129         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5130         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5131         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5133         Likewise.
5134         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5135         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5136         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5137         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5138         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5139         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5140         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5141         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5144         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5146         Regenerated.
5147         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5149         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5151         * shlib-versions: Remove OS-specific entries.  Moved to files in
5152         sysdeps.
5153         * sysdeps/mach/hurd/shlib-versions: New file.
5154         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5156         * nptl/shlib-versions: Remove architecture-specific entries.
5157         Moved to files in sysdeps.
5158         * shlib-versions: Likewise.
5159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5160         file.
5161         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5162         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5163         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5164         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5166         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5167         (UDP_NO_CHECK6_RX): Likewise.
5169 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5171         * sysdeps/posix/sysconf.c (__sysconf): Spell
5172         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5174 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5176         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5177         loading.
5178         * iconv/Versions (__gconv_transliterate): Export for use from
5179         gconv modules.
5180         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5181         (struct __gconv_trans_data, __gconv_trans_fct,
5182         __gconv_trans_context_fct, __gconv_trans_query_fct,
5183         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5184         definitions.
5185         (struct __gconv_step_data): Remove __trans member.
5186         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5187         longer hidden.  Remove unused trans_data argument.
5188         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5189         (__gconv_translit_find): Remove declaration.
5190         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5191         prototype.
5192         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5193         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5194         trans_data argument.  Add hidden definition.
5195         (__gconv_translit_find): Remove.
5196         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5197         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5198         * iconv/skeleton.c: Remove transliteration initialization.
5199         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5200         __gconv_step_data initialization.
5201         * libio/iofwide.c (__libio_translit_): Remove.
5202         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5203         * wcsmbs/btowc.c (__btowc): Likewise.
5204         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5205         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5206         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5207         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5208         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5209         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5210         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5211         * wcsmbs/wctob.c (wctob): Likewise.
5213 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5215         [BZ #16194]
5216         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5217         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5218         register usage.
5219         * sysdeps/x86/Makefile: Adjust.
5221 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5222             Roland McGrath  <roland@hack.frob.com>
5224         * locale/weight.h: Add include guard.
5225         (findidx): Make static rather than auto; take new parameters
5226         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5227         * locale/weightwc.h: Likewise.
5228         * posix/fnmatch_loop.c
5229         (FCT): Change type of EXTRA from int32_t to wint_t.
5230         Don't include either header inside the function.
5231         Call FINDIDX rather than findidx, and pass new arguments.
5232         #undef FINDIDX at the end of the file.
5233         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5234         FINDIDX before including fnmatch_loop.c for the non-wide version.
5235         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5236         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5237         for the wide version.
5238         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5239         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5240         Pass new arguments to findidx.
5241         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5242         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5243         Don't #include it inside the function.  Pass new arguments to findidx.
5244         * posix/regex_internal.h
5245         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5246         (re_string_elem_size_at): Don't #include it inside the function.
5247         Pass new arguments to findidx.
5248         * string/strcoll_l.c: #include WEIGHT_H at top level.
5249         (get_next_seq): Don't #include it inside the function.
5250         Pass new arguments to findidx.
5251         (get_next_seq_nocache): Likewise.
5252         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5253         (STRXFRM): Don't #include it inside the function.
5254         Pass new arguments to findidx.
5256 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5258         [BZ #17344]
5259         * malloc/malloc.c (unlink): Turn asserts into a call to
5260         malloc_printerr.
5262 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5264         [BZ #17370]
5265         * libio/wfileops (do_ftell_wide): Free OUT.
5267 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5269         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5271 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5273         [BZ #17363]
5274         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5275         group if the current group is empty.
5277 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5279         * benchtests/bench-memset.c (test_main): Add more test from size
5280         from 32 to 512 bytes.
5281         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5282         Add POWER8 memset object.
5283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5284         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5285         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5286         implementation.
5287         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5288         Likewise.
5289         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5290         multiarch POWER8 memset optimization.
5291         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5292         POWER8 memset optimization.
5294         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5295         Remove bzero multiarch objects.
5296         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5297         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5298         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5299         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5300         Remove define.
5301         [__bzero]: Redefine to specific name.
5302         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5303         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5304         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5305         define.
5306         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5307         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5309 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5311         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5312         warnings into errors.
5314         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5315         __cxa_thread_atexit_impl prototype.
5317 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5319         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5320         Fix capitalization of error message.
5322 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5324         * sysdeps/mips/preconfigure: Modify ABI tests.
5326 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5328         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5330 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5331             Carlos O'Donell  <carlos@systemhalted.org>
5333         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5334         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5335         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5336         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5337         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5338         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5339         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5340         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5341         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5342         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5343         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5344         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5345         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5346         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5347         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5348         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5349         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5350         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5351         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5352         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5353         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5354         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5355         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5356         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5357         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5358         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5359         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5360         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5361         Deconditionalize the code that was previously under [RESET_PID].
5362         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5363         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5364         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5365         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5366         include sysdep.h.
5368 2014-09-08  Allan McRae  <allan@archlinux.org>
5370         * version.h (RELEASE): Set to "development".
5371         (VERSION): Set to "2.20.90"
5373 2014-09-07  Allan McRae  <allan@archlinux.org
5375         * version.h (RELEASE): Set to "stable".
5376         (VERSION): Set to "2.20"
5377         * include/features.h (__GLIBC_MINOR__): Set to 20.
5379         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5380         Liebler.
5382         * po/ko.po: Update Korean translation from translation project.
5384 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5386         [BZ #17354]
5387         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5388         macro for handling signed relocations.
5390 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5392         [BZ #17325]
5393         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5394         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5395         assert.
5396         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5397         * iconvdata/ibm935.c (BODY): Likewise.
5398         * iconvdata/ibm937.c (BODY): Likewise.
5399         * iconvdata/ibm939.c (BODY): Likewise.
5400         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5401         assert.
5402         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5403         script.
5404         * iconvdata/run-iconv-test.sh: New test loop for checking for
5405         decoder crashers.
5407 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5409         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5410         libm_hidden_ver.
5412 2014-09-01  Allan McRae  <allan@archlinux.org>
5414         * po/eo.po: Update Esperanto translation from translation project.
5416         * po/ca.po: Update Catalan translation from translation project.
5418 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5420         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5421         __proc_dostop call.
5423 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5425         [BZ #17319]
5426         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5427         to call set_thread_area instead of hand written asm.
5428         (__NR_set_thread_area): Removed define.
5429         (TLS_FLAG_WRITABLE): Likewise.
5430         (__ASSUME_SET_THREAD_AREA): Remove check.
5431         (TLS_EBX_ARG): Remove define.
5432         (TLS_LOAD_EBX): Likewise.
5434 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5436         Simplify atomicity of socket creation in bind.
5438         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5439         looking up the name after linking the file.
5441 2014-08-27  Allan McRae  <allan@archlinux.org>
5443         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5445 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5447         [BZ #17187]
5448         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5449         trans_compare, open_translit, __gconv_translit_find):
5450         Remove module loading code.
5452 2014-08-26  Allan McRae  <allan@archlinux.org>
5454         * po/vi.po: Update Vietnamese translation from translation project.
5456         * po/uk.po: Update Ukrainian translation from translation project.
5458         * po/fr.po: Update French translation from translation project.
5460         * po/ru.po: Update Russian translation from translation project.
5462         * po/pl.po: Update Polish translation from translation project.
5464         * po/cs.po: Update Czech translation from translation project.
5466         * po/de.po: Update German translation from translation project.
5468         * po/bg.po: Update Bulgarian translation from translation project.
5470         * po/sv.po: Update Sweedish translation from translation project.
5472         * po/nl.po: Update Dutch translation from translation project.
5474         * po/es.po: Update Spanish translation from translation project.
5476 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5478         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5480         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5481         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5482         (CPPFLAGS-iconvconfig): Likewise.
5483         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5485         * include/libc-symbols.h: Remove unnecessary check for
5486         NOT_IN_libc.
5487         * nptl/pthreadP.h: Likewise.
5488         * sysdeps/aarch64/setjmp.S: Likewise.
5489         * sysdeps/alpha/setjmp.S: Likewise.
5490         * sysdeps/arm/sysdep.h: Likewise.
5491         * sysdeps/i386/setjmp.S: Likewise.
5492         * sysdeps/m68k/setjmp.c: Likewise.
5493         * sysdeps/posix/getcwd.c: Likewise.
5494         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5495         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5496         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5497         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5498         * sysdeps/sh/sh3/setjmp.S: Likewise.
5499         * sysdeps/sh/sh4/setjmp.S: Likewise.
5500         * sysdeps/unix/alpha/sysdep.h: Likewise.
5501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5502         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5503         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5504         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5509         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5512         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5514         * sysdeps/x86_64/setjmp.S: Likewise.
5516 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5518         [BZ #17263]
5519         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5520         <stdint.h>.
5521         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5522         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5524 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5526         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5528         [BZ #17262]
5529         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5530         and __x86_64__ when disabling x87 inline functions.
5532 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5534         [BZ #17259]
5535         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5536         asm statement with __cpuid_count.
5538 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5540         * configure.ac: Change __ehdr_start code to dereference the struct.
5541         Run readelf on the output to look for relocations.
5542         * configure: Regenerated.
5544 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5546         [BZ #17261]
5547         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5548         value to 0.
5549         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5551 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5553         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5555 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5557         [BZ #16892]
5558         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5559         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5561 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5563         * malloc/malloc.c: Fix typo in comment.
5565 2014-08-09  Allan McRae  <allan@archlinux.org>
5567         * Regenerate libc.po.
5569 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5571         * intl/tst-gettext2.sh: Check every lang file for creation.
5573 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5575         * sysdeps/aarch64/fpu/math_private.h
5576         (libc_feholdsetround_noex_aarch64_ctx): New function.
5578 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5580         * sysdeps/arm/armv6/strcpy.S (strcpy):
5581         Fix performance issue in misaligned cases.
5583 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5585         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5586         Move definition from termios.h.
5587         (struct termio): Likewise.
5588         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5589         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5590         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5591         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5592         Likewise.
5593         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5594         Move definition to ioctl-types.h
5595         (struct termio): Likewise.
5596         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5597         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5598         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5599         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5600         Likewise.
5602 2014-08-05  Richard Henderson  <rth@redhat.com>
5604         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5605         exceptions.
5606         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5607         Add fraiseexcpt.
5608         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5609         Use __feraiseexcept.
5610         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5611         Protect libm symbols with IS_IN_libm.
5613         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5615 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5617         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5619 2014-08-04  Will Newton  <will.newton@linaro.org>
5621         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5622         file.
5624 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5626         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5627         variants for each function.
5629 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5631         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5632         appended ...
5633         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5634         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5635         appended ...
5636         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5637         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5638         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5639         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5640         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5641         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5642         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5643         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5644         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5645         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5646         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5647         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5648         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5649         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5650         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5651         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5652         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5653         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5654         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5655         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5656         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5657         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5658         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5659         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5660         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5661         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5662         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5663         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5664         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5665         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5666         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5667         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5668         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5669         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5670         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5671         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5672         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5673         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5674         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5675         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5676         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5677         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5678         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5679         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5680         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5681         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5682         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5683         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5684         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5685         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5686         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5687         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5688         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5689         Update #include.
5690         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5691         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5693 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5695         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5696         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5697         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5698         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5699         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5700         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5702 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5704         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5705         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5706         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5707         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5709 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5711         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5712         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5713         (__libc_vfork): Define function under this name.
5714         (__vfork): Define as an alias.
5715         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5716         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5718 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5720         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5721         that was previously under [RESET_PID].
5722         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5724 2014-08-04  Andreas Schwab  <schwab@suse.de>
5726         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5728 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5730         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5731         (main): Likewise.
5733 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5735         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5737 2014-08-01  Richard Henderon  <rth@redhat.com>
5739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5740         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5741         typo in exact zero test.
5742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5743         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5746 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5748         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5749         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5750         * sysdeps/arm/sysdep.h: ... here.
5751         [!__ASSEMBLER__]: Include <stdint.h>.
5753 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5755         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5756         (HAVE_WCTYPE_H): Likewise.
5757         (HAVE_ISWCTYPE): Likewise.
5758         (ENABLE_NLS): Likewise.
5759         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5760         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5762         * posix/regex_internal.c: Check if DEBUG is defined and is
5763         set.
5765         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5766         (HAVE_MBSRTOWCS): Likewise.
5767         * posix/fnmatch.c: Include string.h unconditionally.
5769 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5771         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5772         reversal.
5774 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5776         * sysdeps/generic/safe-fatal.h: New file.
5777         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5778         * nptl/forward.c: Include it.
5779         (__pthread_unwind): Use __safe_fatal as default action, rather
5780         than a bogus use of INTERNAL_SYSCALL that could never work.
5782         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5783         * configure.ac (libc_cv_builtin_trap): New test.
5784         * configure: Regenerated.
5785         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5786         (ABORT_INSTRUCTION): Define using __builtin_trap.
5788         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5789         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5790         * sysdeps/nptl/nptl-signals.h: New file.
5791         * nptl/pthreadP.h: Include <nptl-signals.h>.
5793 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5795         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5796         (ONE_DIRECTION): Define.
5797         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5798         (ONE_DIRECTION): Define.
5799         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5800         (ONE_DIRECTION): Define.
5802 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5804         * sysdeps/s390/Makefile: Delete file.
5805         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5806         * sysdeps/s390/__longjmp.c: Delete file.
5807         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5808         Remove fields __flags and __reserved.
5809         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5810         and add versioning.
5811         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5812         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5813         * sysdeps/s390/rtld-setjmp.S: Likewise.
5814         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5815         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5816         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5817         * sysdeps/s390/s390-32/setjmp.S: ... here.
5818         Add versioning.
5819         (__sigsetjmp): Remove setting __flags field.
5820         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5821         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5822         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5823         * sysdeps/s390/s390-64/setjmp.S: ... here.
5824         Add versioning.
5825         (__sigsetjmp): Remove setting __flags field.
5826         * sysdeps/s390/setjmp.S: Delete file.
5827         * sysdeps/s390/sigjmp.c: Likewise.
5828         * sysdeps/s390/v1-longjmp.c: Likewise.
5829         * sysdeps/s390/v1-setjmp.h: Likewise.
5830         * sysdeps/s390/v1-sigjmp.c: Likewise.
5831         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5832         Remove v1-longjmp_chk.
5833         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5834         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5835         Include debug/longjmp_chk.c and add versioning.
5836         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5837         Include nptl/pt-longjmp.c and add versioning.
5838         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5839         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5840         Include __longjmp.c.
5841         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5842         Move to ...
5843         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5844         (__getcontext): Remove setting __flags field.
5845         Add versioning.
5846         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5847         Don't restore upper high grps.
5848         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5849         Likewise.
5850         (__swapcontext): Remove setting uc_flags field.
5851         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5852         Delete file.
5853         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5854         Include __longjmp.c.
5855         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5856         Move to ...
5857         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5858         (__getcontext): Remove setting __flags field.
5859         Add versioning.
5860         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5861         (__swapcontext): Remove setting uc_flags field.
5862         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5863         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5864         Remove fields uc_high_gprs and __reserved.
5865         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5866         New file with reverted content.
5867         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5868         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5869         Regenerated.
5870         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5871         Regenerated.
5873 2014-07-31  Andreas Schwab  <schwab@suse.de>
5875         * config.h.in (HAVE_IFUNC): Define to 0.
5876         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5877         definedness.
5879 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5882         memmove-avx-unaligned, memcpy-avx-unaligned and
5883         mempcpy-avx-unaligned.
5884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5885         Add tests for AVX memcpy functions.
5886         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5887         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5888         memcpy_chk.
5889         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5890         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5891         memmove_chk.
5892         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5893         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5894         mempcpy_chk.
5895         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5896         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5897         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5899 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5901         [BZ #17213]
5902         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5903         powerpc64le.
5905 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5907         [BZ #16839]
5908         * manual/llio.texi: Add section about open file description locks.
5909         * manual/examples/ofdlocks.c: Example of open file description
5910         lock usage.
5911         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5912         F_OFD_SETLK, and F_OFD_SETLKW.
5914 2014-07-23  Allan McRae  <allan@archlinux.org>
5916         * po/es.po: Update Spanish translation from translation project.
5918 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5920         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5922 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5924         [BZ #17078]
5925         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5926         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5927         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5929 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5931         [BZ #17088]
5932         * math/fesetenv.c (__fesetenv)
5933         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5934         * math/feupdateenv.c (__feupdateenv)
5935         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5937         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5938         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5939         (__ASSUME_SOCKETCALL): Do not define.
5941         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5942         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5943         (__ASSUME_SOCKETCALL): Do not define.
5944         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5945         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5946         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5947         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5948         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5949         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5950         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5951         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5953         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5954         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5955         (__ASSUME_SOCKETCALL): Do not define.
5956         (__ASSUME_IPC64): Define unconditionally.
5957         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5958         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5959         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5960         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5961         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5962         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5963         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5964         Likewise.
5966         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5967         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5968         (__ASSUME_SOCKETCALL): Do not define.
5969         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5970         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5971         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5972         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5973         (__ASSUME_REQUEUE_PI): Define unconditionally.
5974         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5975         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5976         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5977         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5978         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5979         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5981         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5982         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5983         (__ASSUME_SOCKETCALL): Do not define.
5984         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5985         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5986         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5987         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5988         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5989         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5991         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5992         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5993         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5994         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5995         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5996         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5997         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5998         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5999         (__ASSUME_GETCPU_SYSCALL): Likewise.
6001         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6002         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6003         cases for individual architectures.
6004         * sysdeps/gnu/configure: Regenerated.
6005         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6006         LIBC_SLIBDIR_RTLDDIR.
6007         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6008         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6009         LIBC_SLIBDIR_RTLDDIR.
6010         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6012         LIBC_SLIBDIR_RTLDDIR.
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6014         Regenerated.
6015         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6016         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6017         file.
6018         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6019         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6020         file.
6021         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6022         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6023         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6024         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6026         * sysdeps/aarch64/shlib-versions: Move to ...
6027         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6028         * sysdeps/alpha/shlib-versions: Move to ...
6029         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6030         * sysdeps/arm/shlib-versions: Move to ...
6031         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6032         * sysdeps/hppa/shlib-versions: Move all contents except for
6033         libgcc_s entry to ...
6034         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6035         entry from ...
6036         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6037         * sysdeps/ia64/shlib-versions: Move to ...
6038         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6039         entry from ...
6040         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6041         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6042         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6043         * sysdeps/microblaze/shlib-versions: Move to ...
6044         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6045         * sysdeps/mips/shlib-versions: Move to ...
6046         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6047         entry from ...
6048         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6049         * sysdeps/tile/shlib-versions: Move to ...
6050         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6051         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6052         from ...
6053         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6054         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6055         entry from ...
6056         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6058 2014-07-17  Will Newton  <will.newton@linaro.org>
6060         * sysdeps/arm/bits/atomic.h
6061         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6062         (__arch_compare_and_exchange_bool_16_int): Likewise.
6063         (__arch_compare_and_exchange_bool_64_int): Likewise.
6065         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6066         into an #else block.
6068 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6070         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6071         just Linux configurations.  Test empirically that the compiler sets
6072         __ARM_EABI__, rather than using the tuple to decide.
6073         * sysdeps/arm/preconfigure: Regenerated.
6074         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6075         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6076         contents appended ...
6077         * sysdeps/arm/configure.ac: ... here.
6078         * sysdeps/arm/configure: Regenerated.
6080 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6082         * nptl/pthread_kill.c: New file.
6083         * nptl/pthread_sigmask.c: New file.
6084         * nptl/pthread_sigqueue.c: New file.
6086         * sysdeps/nptl/lowlevellock.h: New file.
6087         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6088         * sysdeps/nptl/lowlevellock-futex.h: New file.
6090         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6091         Remove dead declarations.
6093 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6095         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6096         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6097         config-cflags-avx2.
6098         * sysdeps/x86_64/configure.ac: Likewise.
6099         * sysdeps/i386/configure: Regenerated.
6100         * sysdeps/x86_64/configure: Likewise.
6101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6102         memset-avx2 only if config-cflags-avx2 is yes.
6103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6104         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6105         defined.
6106         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6107         only if HAVE_AVX2_SUPPORT is defined.
6108         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6110 2014-07-14  Alan Modra  <amodra@gmail.com>
6112         [BZ #17153]
6113         * elf/elf.h (DT_PPC64_NUM): Correct value.
6114         * NEWS: Add to fixed bug list.
6116 2014-07-13  Jim Meyering  <meyering@fb.com>
6118         [BZ 17150]
6119         regex: don't deref NULL upon heap allocation failure
6120         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6121         failure in one more place.
6122         To trigger the segfault, configure grep -with-included-regex,
6123         build it, and run these commands:
6124         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6126 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6128         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6130 2014-07-11  Richard Henderson  <rth@redhat.com>
6132         * sysdeps/aarch64/libm-test-ulps: Update.
6134 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6136         [BZ #17135]
6137         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6138         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6139         (__nptl_setxid): Initialize error member.  Call
6140         __nptl_setxid_error.
6141         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6142         * nptl/descr.h (struct xid_command): Add error member.
6143         * nptl/tst-setuid3.c: New file.
6144         * nptl/Makefile (tests): Add it.
6146 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6148         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6149         New define.
6150         (__lll_trylock): Use __lll_base_trylock.
6151         (__lll_cond_trylock): Likewise.
6153 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6155         * nptl/pthread_create.c (start_thread): Use atomic_or and
6156         lll_futex_wake directly rather than lll_robust_dead.
6157         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6158         (lll_robust_dead): Macro removed.
6159         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6160         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6161         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6162         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6163         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6164         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6165         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6166         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6167         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6168         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6169         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6170         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6171         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6172         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6173         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6175         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6176         Use atomic_compare_and_exchange_val_acq directly rather than
6177         lll_robust_trylock.
6178         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6179         (__lll_robust_trylock, lll_robust_trylock): Removed.
6180         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6181         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6182         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6183         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6184         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6185         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6186         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6187         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6188         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6189         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6190         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6191         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6192         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6193         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6195 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6197         * manual/locale.texi (Locale Names): New section documenting
6198         locale name syntax.  Adjust menu and node chaining accordingly.
6199         (Choosing Locale): Reference Locale Names, Locale Categories.
6200         Mention setting LC_ALL=C.  Reflect that name syntax is now
6201         documented.
6202         (Locale Categories): New section title.  Reference Locale Names.
6203         LC_ALL is an environment variable, but not a category.
6204         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6205         description, now in Locale Name.  Reference that section.  Locale
6206         name syntax is now documented.
6208 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6210         [BZ #17137]
6211         * locale/findlocale.c (name_present, valid_locale_name): New
6212         functions.
6213         (_nl_find_locale): Use the loc_name variable to store name
6214         candidates.  Call name_present and valid_locale_name to check and
6215         validate locale names.  Return an error if the locale is invalid.
6217 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6219         * locale/setlocale.c (setlocale): Use strdup for allocating
6220         composite name copy.
6222 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6224         Sync up with gnulib.
6225         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6226         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6227         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6228         and _GL_ARG_NONNULL.
6229         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6230         [!_LIBC]: Include code for Windows and Cygwin.
6231         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6232         Include prototype for int strerror_r.
6233         [!_LIBC] (is_open): New function.
6234         (flush_stdout): New function.
6235         (print_errno_message): Use it.
6236         (error): Likewise.
6237         (error_at_line): Likewise.
6238         (error_tail) Add function attribute macros.  Use
6239         __builtin_expect.
6241         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6243         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6245         * io/ftw.c: Include sys/param.h unconditionally.
6247         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6249         [BZ #17125]
6250         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6251         libc_freeres_ptr.
6252         (freecache): New function to free CACHE on exit.
6254         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6255         initialization.
6257 2014-07-09  David S. Miller  <davem@davemloft.net>
6259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6261         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6262         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6263         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6264         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6265         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6266         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6267         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6268         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6269         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6270         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6271         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6272         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6273         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6275 2014-07-09  Andreas Schwab  <schwab@suse.de>
6277         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6278         output.
6279         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6280         (do_test): Likewise.
6282         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6284 2014-07-09  Will Newton  <will.newton@linaro.org>
6286         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6287         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6288         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6289         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6290         * sysdeps/hppa/start.S (_start): Likewise.
6292 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6294         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6296         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6297         defined.
6299 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6301         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6302         after checking that it is non-NULL.
6304         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6306 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6308         * sysdeps/powerpc/memmove.c: Remove file.
6309         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6310         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6311         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6312         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6314         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6315         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6316         string memmove instead of removed powerpc one.
6318         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6319         [weak_alias]: Fix compiler warning due trailing data.
6320         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6321         [weak_alias]: Likewise.
6322         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6323         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6326         (__libc_ifunc_impl_list): Add memmove functions.
6328 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6330         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6331         Remove code.
6332         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6333         Likewise
6334         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6335         Likewise
6336         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6337         Likewise
6338         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6339         Likewise
6340         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6341         Likewise
6342         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6343         Likewise
6344         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6345         Likewise
6346         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6347         Likewise
6348         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6349         Likewise
6350         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6351         Likewise
6352         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6353         Likewise
6354         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6355         Likewise
6356         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6357         Likewise
6358         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6359         Likewise
6360         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6361         Likewise
6362         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6363         Likewise
6365 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6367         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6368         to avoid alignment traps in non-cacheable memory.
6369         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6372         multiarch objects.
6373         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6374         file: multiarch power7 memmove.
6375         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6376         multiarch default memmove.
6377         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6378         multiarch memove for powerpc32/power4.
6380         * string/bcopy.c: Use full path to include memmove.c.
6381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6382         multiarch objects.
6383         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6384         bcopy for powerpc64.
6385         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6386         bcopy for powerpc64.
6387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6388         and memmove implementations.
6389         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6390         optimized multiarch memmove for POWER7/powerpc64.
6391         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6392         default multiarch memmove for powerpc64.
6393         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6394         multiarch for powerpc64.
6395         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6396         for POWER7/powerpc64.
6397         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6398         memmove for POWER7/powerpc64.
6400         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6401         glibc default one.
6403         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6404         __ELF_NATIVE_CLASS equal to 64.
6406 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6408         * sysdeps/nptl/lowlevellock.h: File removed.
6410         * NEWS: NPTL is no longer an add-on!
6411         * nptl/internaltypes.h: Moved ...
6412         * sysdeps/nptl/internaltypes.h: ... here.
6413         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6414         * sysdeps/nptl/fork.c: Likewise.
6415         * sysdeps/nptl/gai_misc.h: Likewise.
6416         * sysdeps/nptl/librt-cancellation.c: Likewise.
6417         * sysdeps/nptl/jmp-unwind.c: Likewise.
6418         * sysdeps/nptl/setxid.h: Likewise.
6419         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6420         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6421         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6422         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6423         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6424         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6425         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6426         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6427         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6428         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6429         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6430         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6431         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6432         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6433         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6434         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6435         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6436         * nptl/Makeconfig: Moved ...
6437         * sysdeps/nptl/Makeconfig: ... here.
6438         * nptl/configure: File removed.
6439         * nptl/ANNOUNCE: File removed.
6440         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6441         * sysdeps/unix/sysv/linux/configure: Regenerated.
6443         * nptl/Makefile (routines): Add libc_pthread_init,
6444         libc_multiple_threads, register-atfork and unregister-atfork.
6445         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6446         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6447         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6448         pthread-pi-defines.sym, structsem.sym.
6449         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6450         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6451         [$(subdir) = nptl] (tests): Add tst-setgetname.
6452         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6453         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6454         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6455         [!LIBC_SIGACTION]: Remove aliases.
6456         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6457         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6458         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6459         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6460         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6461         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6462         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6463         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6464         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6465         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6466         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6467         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6468         __libc_allocate_rtsig_private.
6469         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6470         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6471         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6472         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6473         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6474         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6475         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6476         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6477         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6478         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6479         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6480         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6481         * nptl/internaltypes.h: ... here.
6482         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6483         * sysdeps/nptl/jmp-unwind.c: ... here.
6484         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6485         * nptl/libc-lowlevellock.c: ... here.
6486         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6487         * nptl/libc_multiple_threads.c: ... here.
6488         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6489         * nptl/libc_pthread_init.c: ... here.
6490         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6491         * nptl/lowlevelbarrier.sym: ... here.
6492         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6493         * nptl/lowlevelcond.sym: ... here.
6494         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6495         * nptl/lowlevellock.c: ... here.
6496         * nptl/lowlevellock.h: Moved ...
6497         * sysdeps/nptl/lowlevellock.h: ... here.
6498         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6499         * nptl/lowlevelrobustlock.c: ... here.
6500         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6501         * nptl/lowlevelrobustlock.sym: ... here.
6502         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6503         * nptl/lowlevelrwlock.sym: ... here.
6504         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6505         * nptl/pt-fork.c: ... here.
6506         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6507         * nptl/pthread-pi-defines.sym: ... here.
6508         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6509         * nptl/pthread_attr_getaffinity.c: ... here.
6510         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6511         * nptl/pthread_attr_setaffinity.c: ... here.
6512         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6513         * nptl/pthread_mutex_cond_lock.c: ... here.
6514         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6515         Update #include.
6516         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6517         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6518         * nptl/pthread_once.c: ... here, replacing old file.
6519         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6520         * nptl/pthread_yield.c: ... here.
6521         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6522         * nptl/register-atfork.c: ... here.
6523         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6524         * nptl/sem_post.c: ... here.
6525         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6526         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6527         * nptl/sem_timedwait.c: ... here.
6528         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6529         * nptl/sem_trywait.c: ... here.
6530         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6531         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6532         * nptl/sem_wait.c: ... here.
6533         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6534         * nptl/structsem.sym: ... here.
6535         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6536         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6537         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6538         * nptl/unregister-atfork.c: ... here.
6539         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6540         * nptl/unwindbuf.sym: ... here.
6541         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6542         * sysdeps/nptl/fork.c: ... here.
6543         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6544         * sysdeps/nptl/fork.h: ... here.
6545         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6546         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6547         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6548         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6549         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6550         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6551         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6552         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6553         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6554         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6555         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6556         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6557         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6558         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6559         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6560         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6561         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6562         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6563         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6564         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6565         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6566         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6567         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6568         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6569         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6570         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6571         * sysdeps/unix/sysv/linux/raise.c: ... here.
6572         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6573         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6574         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6575         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6576         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6577         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6578         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6579         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6580         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6581         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6582         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6583         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6584         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6585         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6586         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6588 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6590         * sysdeps/generic/memcopy.h: Add comment for
6591         MEMCPY_OK_FOR_FWD_MEMMOVE.
6593 2014-07-04  Will Newton  <will.newton@linaro.org>
6595         * string/memchr.c: Merge from gnulib.
6596         [_LIBC]: Remove conditionals.
6597         (__ptr_t): Remove define.
6598         (LONG_MAX_32_BITS): Likewise.
6599         (LONG_MAX): Likewise.
6600         (MEMCHR): Use ANSI prototype and optimize algorithm.
6602         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6604 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6606         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6607         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6609         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6610         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6611         in a bare environment with no <stdlib.h> installed.
6612         * sysdeps/nptl/configure: Regenerated.
6614         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6616         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6617         AC_EGREP_CPP for kernel header checks, so they only succeed if
6618         including <linux/version.h> actually works right.
6619         * sysdeps/unix/sysv/linux/configure: Regenerated.
6621         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6622         value so it's not diagnosed as unused.
6624         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6625         thing) with "ifeq ($(subdir),rt)".
6627 2014-07-03  Richard Henderson  <rth@redhat.com>
6629         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6630         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6631         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6633         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6634         (math_force_eval): New.
6636         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6637         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6639         * sysdeps/alpha/fpu/s_round.c: Remove file.
6640         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6642         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6643         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6644         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6645         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6646         (_dl_start, print_statistics): Likewise.
6647         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6648         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6650         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6651         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6652         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6653         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6654         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6655         (HP_SMALL_TIMING_AVAIL): Define.
6656         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6657         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6658         (HP_SMALL_TIMING_AVAIL): Define.
6659         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6660         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6662         * sysdeps/aarch64/hp-timing.h: New file.
6664         * sysdeps/generic/hp-timing.h: Remove dead comment.
6665         * sysdeps/generic/hp-timing-common.h: New file.
6666         * sysdeps/alpha/hp-timing.h: Include it.
6667         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6668         * sysdeps/i386/i686/hp-timing.h: Likewise.
6669         * sysdeps/ia64/hp-timing.h: Likewise.
6670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6671         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6672         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6673         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6674         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6675         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6676         (hp_timing_t): New.
6678         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6679         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6680         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6681         * elf/rtld.c (_dl_start_final): Likewise.
6682         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6683         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6684         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6685         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6686         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6687         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6688         (HP_TIMING_DIFF_INIT): Remove.
6689         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6690         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6691         (HP_TIMING_DIFF_INIT): Remove.
6692         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6693         * sysdeps/i386/i686/hp-timing.c: Remove file.
6694         * sysdeps/x86_64/hp-timing.c: Remove file.
6695         * sysdeps/ia64/hp-timing.c: Remove file.
6696         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6697         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6698         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6699         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6701         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6702         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6703         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6704         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6705         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6706         (HP_TIMING_ACCUM): Remove.
6707         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6708         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6709         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6711         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6712         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6713         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6714         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6715         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6716         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6717         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6718         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6720         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6722 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6724         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6726 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6728         Sync up with gettext.
6729         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6730         [_MSC_VER]: Include malloc.h
6731         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6732         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6733         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6734         TEMP_FAILURE_RETRY.  Cast return of alloca.
6735         [!_LIBC] Call gl_rwlock_init.
6736         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6738 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6740         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6741         before checking its value.
6743 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6745         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6747         * debug/memcpy_chk.c: Don't include pagecopy.h.
6748         * debug/mempcpy_chk.c: Likewise.
6749         * string/memcpy.c: Likewise.
6750         * string/memmove.c: Likewise.
6751         * sysdeps/powerpc/memmove.c: Likewise.
6752         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6753         definition of PAGE_COPY_FWD_MAYBE here...
6754         * sysdeps/generic/pagecopy.h: ... from here.
6755         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6757 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6758             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6760         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6762         optimizations.
6763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6764         (__libc_ifunc_impl_list): Likewise.
6765         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6766         multiarch strcat for PPC64.
6767         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6768         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6770 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6772         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6774 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6776         * intl/loadmsgcat.c: Remove declaration of
6777         get_sysdep_segment_value.
6778         (get_sysdep_segment_value): Use ISO C style.
6779         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6780         semicolon.  Fix typo and formatting in comment.
6781         (_nl_unload_domain): Use ISO C style.
6783         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6785 2014-07-02  Will Newton  <will.newton@linaro.org>
6787         * malloc/obstack.c: Merge from gnulib master.
6788         [HAVE_CONFIG_H]: Remove conditional code.
6789         [!_LIBC]: Include config.h.
6790         [!ELIDE_CODE]: Don't include inttypes.h, include
6791         stdint.h unconditionally.
6792         (print_and_abort): Mark as _Noreturn.
6793         (_obstack_allocated_p): Mark as __attribute_pure__.
6794         (obstack_free): Rename to __obstack_free.
6795         [!__attribute__]: Remove conditional code.
6796         * malloc/obstack.h: Merge from gnulib master.
6797         [__cplusplus]: Move conditional down.
6798         [!__attribute_pure__]: Define __attribute_pure__ here
6799         if it is not already defined.
6800         (_obstack_memory_used): Mark as __attribute_pure__.
6801         [!__obstack_free]: Define as obstack_free.
6802         [__GNUC__]: Remove check for ancient NeXT gcc.
6804 2014-07-02  Will Newton  <will.newton@linaro.org>
6805             Paul Eggert  <eggert@cs.ucla.edu>
6807         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6809 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6811         * resolv/gethnamaddr.c: Add comment warning that the file is
6812         not maintained.
6814 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6816         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6817         entries.
6819         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6820         entry for aio_cancel and aio_cancel64.
6821         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6822         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6823         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6824         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6825         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6826         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6827         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6828         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6829         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6830         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6831         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6832         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6833         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6835 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6837         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6838         * nptl/pthread_mutex_lock.c: Likewise.
6839         * nptl/pthread_mutex_timedlock.c: Likewise.
6840         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6842 2014-07-01  Richard henderson  <rth@redhat.com>
6844         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6845         (__isnan, __isnanl): Remove.
6846         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6848         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6850 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6852         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6854 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6856         * resolv/nss_dns/dns-host.c (getanswer_r)
6857         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6859 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6862         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6863         undefine.
6864         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6865         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6867 2014-07-01  Roland McGrath <roland@hack.frob.com>
6869         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6870         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6872         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6873         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6875         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6876         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6877         ... here.
6878         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6879         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6881         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6882         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6883         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6884         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6886         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6887         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6888         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6889         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6890         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6891         Moved ...
6892         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6893         ... here.
6894         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6895         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6896         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6897         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6898         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6899         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6900         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6901         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6902         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6903         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6904         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6905         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6906         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6907         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6908         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6909         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6910         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6911         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6912         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6913         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6914         ... here.
6915         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6916         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6917         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6918         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6919         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6920         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6921         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6922         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6924 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6926         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6927         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6928         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6929         Add sysdep.
6931 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6935 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6937         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6938         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6940         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6942         * sysdeps/arm/libm-test-ulps: Regenerated.
6944 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6945             Roland McGrath <roland@hack.frob.com>
6947         * test-skeleton.c (signal_handler): Kill the whole process group
6948         before killing the child individually.
6949         (main): Report any failure on `setpgid'.
6951 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6953         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6954         from _TLS_H to _ARM_NPTL_TLS_H.
6955         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6956         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6958 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6960         [BZ #16539]
6961         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6962         (__expm1l): Return argument unchanged when small but not
6963         subnormal.
6965         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6966         include macro name.
6967         (_FP_UNPACK_RAW_1_P): Likewise.
6968         (_FP_PACK_RAW_1): Likewise.
6969         (_FP_PACK_RAW_1_P): Likewise.
6970         (_FP_MUL_MEAT_1_wide): Likewise.
6971         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6972         (_FP_MUL_MEAT_1_hard): Likewise.
6973         (_FP_DIV_MEAT_1_imm): Likewise.
6974         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6975         (_FP_DIV_MEAT_1_udiv): Likewise.
6976         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6977         (_FP_UNPACK_RAW_2): Likewise.
6978         (_FP_UNPACK_RAW_2_P): Likewise.
6979         (_FP_PACK_RAW_2): Likewise.
6980         (_FP_PACK_RAW_2_P): Likewise.
6981         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6982         (_FP_MUL_MEAT_2_wide): Likewise.
6983         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6984         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6985         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6986         (_FP_MUL_MEAT_2_gmp): Likewise.
6987         (_FP_DIV_MEAT_2_udiv): Likewise.
6988         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6989         (_FP_FRAC_SRL_4): Likewise.
6990         (_FP_FRAC_SRST_4): Likewise.
6991         (_FP_FRAC_SRS_4): Likewise.
6992         (_FP_UNPACK_RAW_4): Likewise.
6993         (_FP_UNPACK_RAW_4_P): Likewise.
6994         (_FP_PACK_RAW_4): Likewise.
6995         (_FP_PACK_RAW_4_P): Likewise.
6996         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6997         (_FP_MUL_MEAT_4_wide): Likewise.
6998         (_FP_MUL_MEAT_4_gmp): Likewise.
6999         (umul_ppppmnnn): Likewise.
7000         (_FP_DIV_MEAT_4_udiv): Likewise.
7001         (__FP_FRAC_ADD_4): Likewise.
7002         (__FP_FRAC_SUB_3): Likewise.
7003         (__FP_FRAC_SUB_4): Likewise.
7004         (__FP_FRAC_DEC_3): Likewise.
7005         (__FP_FRAC_DEC_4): Likewise.
7006         (__FP_FRAC_ADDI_4): Likewise.
7007         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7008         (_FP_FRAC_SRL_8): Likewise.
7009         (_FP_FRAC_SRS_8): Likewise.
7011         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7012         include macro name.
7013         (FP_UNPACK_RAW_EP): Likewise.
7014         (FP_PACK_RAW_E): Likewise.
7015         (FP_PACK_RAW_EP): Likewise.
7016         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7017         (_FP_ISSIGNAN): Likewise.
7018         (_FP_ADD_INTERNAL): Likewise.
7019         (_FP_FMA): Likewise.
7020         (_FP_CMP): Likewise.
7021         (_FP_SQRT): Likewise.
7022         (_FP_TO_INT): Likewise.
7023         (_FP_FROM_INT): Likewise.
7024         (FP_EXTEND): Likewise.
7025         (_FP_DIV_MEAT_N_loop): Likewise.
7027 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7029         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7030         throughout.
7032 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #17097]
7035         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7036         result with correct sign in case of exponents that produce
7037         overflow except for X very close to 1.
7039 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7041         mktime: merge #if/#ifdef usage from glibc
7042         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7043         as that works with both Glibc's and Gnulib's style.
7044         See thread starting at Siddhesh Poyarekar's bug report at:
7045         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7047 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7049         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7050         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7051         * sysdeps/tile/tilegx/memmove.c: Remove file.
7053 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7055         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7056         abi-name definition.
7057         * scripts/soversions.awk: Do not handle or generate ABI lines.
7058         * shlib-versions: Remove ABI entries.
7059         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7060         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7062 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7065         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7066         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7067         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7069         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7071         Moved ...
7072         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7073         ... here.
7074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7075         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7077         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7079         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7081         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7083         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7085         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7087         Moved ...
7088         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7089         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7092         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7094         Moved ...
7095         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7097         Moved ...
7098         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7100         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7102         Moved ...
7103         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7104         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7105         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7107         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7109         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7111         Moved ...
7112         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7114         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7115         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7116         Moved ...
7117         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7118         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7119         Moved ...
7120         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7122         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7124         Moved ...
7125         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7126         ... here.
7127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7128         Identical file removed.
7129         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7130         Moved ...
7131         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7132         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7133         Identical file removed.
7134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7135         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7137         Moved ...
7138         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7140         Identical file removed.
7141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7142         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7144         Identical file removed.
7145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7146         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7147         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7148         Identical file removed.
7149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7150         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7152         Identical file removed.
7153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7154         Moved ...
7155         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7157         Identical file removed.
7158         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7159         Moved ...
7160         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7161         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7162         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7163         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7164         Identical file removed.
7165         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7166         Moved ...
7167         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7168         ... here.
7169         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7170         Identical file removed.
7171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7172         Moved ...
7173         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7174         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7175         Identical file removed.
7176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7177         Moved ...
7178         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7179         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7180         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7181         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7182         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7184         Moved ...
7185         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7186         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7187         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7189         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7190         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7191         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7192         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7193         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7195 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7197         [BZ #17092]
7198         * nscd/nscd.c (monitor_child): Return exit status of child
7199         instead of return value from wait syscall.
7201 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7203         * configure.ac (libc_commonpagesize): Remove variable.
7204         (libc_relro_required): Likewise.
7205         (libc_cv_z_relro): Remove configure test.
7206         * configure: Regenerated.
7207         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7208         variable.
7209         (libc_relro_required): Likewise.
7210         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7211         (libc_relro_required): Likewise.
7212         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7213         (libc_relro_required): Likewise.
7214         * sysdeps/arm/preconfigure: Regenerated.
7215         * sysdeps/ia64/preconfigure: Remove file.
7216         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7217         variable.
7218         (libc_relro_required): Likewise.
7220         [BZ #16561]
7221         [BZ #16562]
7222         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7223         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7224         recompute overflowing results in original rounding mode.
7225         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7226         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7227         recompute overflowing results in original rounding mode.
7228         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7229         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7230         recompute overflowing results in original rounding mode.
7231         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7232         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7233         recompute overflowing results in original rounding mode.
7234         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7235         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7236         recompute overflowing results in original rounding mode.
7237         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7238         (libc_feholdsetround_ctx): New macro.
7239         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7240         * sysdeps/i386/fpu/libm-test-ulps: Update.
7241         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7243 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7245         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7246         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7247         corresponding .cpsetup call.
7249 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7251         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7252         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7253         * sysdeps/arm/Makefile [$(subdir) = csu]
7254         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7255         (static-only-routines): Add aeabi_read_tp here.
7256         (shared-only-routines): Add libc-aeabi_read_tp here.
7257         (CFLAGS-libc-start.c): Add -fexceptions here.
7258         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7259         (sysdep_routines, static-only-routines, shared-only-routines):
7260         Don't add to these here.
7261         (CFLAGS-libc-start.c): Likewise.
7263         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7264         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7265         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7266         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7267         * sysdeps/arm/Makefile [$(subdir) = rt]
7268         (librt-sysdep_routines, librt-shared-only-routines):
7269         Append rt-aeabi_unwind_cpp_pr1 here.
7270         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7271         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7272         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7273         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7274         Append nptl-aeabi_unwind_cpp_pr1 here.
7275         (tests): Filter out tst-cleanupx4 here.
7276         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7277         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7278         Don't do those here.
7280 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7282         * scripts/list-sources.sh: Do not handle ports specially.
7284 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7286         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7287         * sysdeps/arm/feupdateenv.c: Likewise.
7289         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7291 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7293         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7294         trailing whitespace removed.
7295         * scripts/config.guess: Update to version 2014-03-23.
7296         * scripts/config.sub: Update to version 2014-05-01
7297         * scripts/install-sh: Update to version 2013-12-25.23.
7298         * scripts/move-if-change: Update from gnulib.
7300 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7302         * debug/memmove_chk.c: Remove pagecopy.h include.
7304 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7306         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7307         identical to gnulib mktime.
7309 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7311         * configure.ac: Do not test for machine being rs6000.  Do not test
7312         for powerpc*-*soft.
7313         * configure: Regenerated.
7315         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7316         test.
7317         * configure: Regenerated.
7318         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7319         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7320         Remove configure test.
7321         * sysdeps/arm/configure: Regenerated.
7322         * sysdeps/nptl/configure.ac: Do not check
7323         libc_cv_asm_cfi_directives.
7324         * sysdeps/nptl/configure: Regenerated.
7325         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7326         * sysdeps/x86_64/nptl/configure: Remove generated file.
7327         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7328         unconditional.
7329         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7331 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7333         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7334         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7335         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7336         it is defined.
7338         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7339         instead of whether it is defined.
7340         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7341         * sysdeps/hppa/dl-machine.h: Likewise.
7342         * sysdeps/ia64/dl-machine.h: Likewise.
7343         * sysdeps/m68k/dl-machine.h: Likewise.
7344         * sysdeps/microblaze/dl-machine.h: Likewise.
7345         * sysdeps/mips/dl-machine.: Likewise.
7346         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7347         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7348         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7349         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7350         * sysdeps/sh/dl-machine.h: Likewise.
7351         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7352         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7353         * sysdeps/tile/dl-machine.h: Likewise.
7354         * sysdeps/x86_64/dl-machine.h: Likewise.
7356         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7357         code.
7358         (verify_persistent_db): Likewise.
7360 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7363         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7365         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7367         Moved ...
7368         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7369         ... here.
7370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7371         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7373         Identical file removed.
7374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7375         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7377         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7379         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7381         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7383         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7385         Moved ...
7386         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7388         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7390         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7392         Moved ...
7393         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7395         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7397         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7399         Identical file removed.
7400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7401         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7403         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7405         Moved ...
7406         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7407         ... here.
7408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7409         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7411         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7413         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7415         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7417         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7419         Moved ...
7420         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7422         Moved ...
7423         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7425         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7427         Moved ...
7428         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7430         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7432         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7433         folded into ...
7434         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7435         * sysdeps/unix/sysv/linux/s390/Versions
7436         (libpthread: GLIBC_2.19): New version set.
7437         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7438         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7439         (librt: GLIBC_2.3.3): New version set.
7440         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7441         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7442         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7443         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7444         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7445         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7446         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7447         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7448         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7449         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7450         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7451         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7452         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7453         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7454         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7455         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7456         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7457         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7458         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7459         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7460         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7461         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7462         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7463         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7464         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7465         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7466         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7467         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7468         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7469         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7470         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7471         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7476         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7478         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7480         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7482         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7484         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7486         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7487         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7488         (__libc_vfork): Define the function under this name.
7489         [!NOT_IN_libc] (__vfork): Make this an alias.
7490         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7492         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7493         (__libc_vfork): Define the function under this name.
7494         [!NOT_IN_libc] (__vfork): Make this an alias.
7495         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7496         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7497         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7498         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7499         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7500         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7502         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7503         code that was previously under [RESET_PID].
7504         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7505         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7508         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7509         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7510         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7511         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7512         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7513         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7514         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7515         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7516         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7517         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7518         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7519         Moved ...
7520         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7521         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7522         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7523         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7524         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7525         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7526         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7527         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7528         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7529         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7530         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7531         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7532         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7533         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7534         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7535         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7536         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7537         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7538         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7539         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7540         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7541         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7542         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7543         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7544         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7545         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7546         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7547         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7548         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7550 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7552         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7553         that was previously under [RESET_PID].
7554         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7556 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7558         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7559         not undefine and redefine.
7560         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7561         [O_CLOEXEC]: Make code unconditional.
7562         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7563         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7564         <kernel-features.h>.
7565         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7566         conditional variable definition.
7567         (shm_open) [O_CLOEXEC]: Make code unconditional.
7568         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7569         code.
7571         * configure.ac (USE_REGPARMS): Don't define here.
7572         * configure: Regenerated.
7573         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7574         * sysdeps/i386/configure: Regenerated.
7576         * nptl/createthread.c: Don't include kernel-features.h.
7577         * nptl/pthread_cancel.c: Likewise.
7578         * nptl/pthread_condattr_setclock.c: Likewise.
7579         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7580         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7581         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7582         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7583         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7584         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7585         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7588         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7589         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7590         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7591         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7592         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7593         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7594         * nscd/gai.c: Likewise.
7595         * nss/nss_db/db-open.c: Likewise.
7596         * sysdeps/generic/ldsodefs.h: Likewise.
7597         * sysdeps/sh/nptl/tls.h: Likewise.
7598         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7599         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7600         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7601         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7602         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7603         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7604         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7605         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7606         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7607         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7608         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7609         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7610         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7611         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7612         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7613         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7614         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7615         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7616         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7617         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7619         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7620         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7621         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7622         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7623         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7624         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7625         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7626         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7627         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7628         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7629         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7630         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7631         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7632         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7633         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7634         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7635         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7636         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7637         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7638         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7639         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7640         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7641         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7642         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7643         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7644         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7645         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7646         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7647         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7648         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7649         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7650         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7651         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7652         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7653         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7654         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7655         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7678         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7679         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7680         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7681         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7682         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7683         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7684         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7685         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7686         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7687         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7688         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7689         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7690         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7691         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7692         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7693         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7694         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7695         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7696         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7697         * sysdeps/unix/sysv/linux/system.c: Likewise.
7698         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7699         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7700         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7701         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7702         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7703         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7704         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7706         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7707         * configure: Regenerated.
7708         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7710         * configure.ac (base_machine): Do not set specially for particular
7711         machines here.
7712         * configure: Regenerated.
7713         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7714         settings from configure.ac.
7715         * sysdeps/i386/preconfigure: New file.
7716         * sysdeps/s390/preconfigure: Likewise.
7717         * sysdeps/sh/preconfigure: Likewise.
7718         * sysdeps/sparc/preconfigure: Likewise.
7720 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7722         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7723         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7724         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7725         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7726         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7727         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7728         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7729         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7730         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7731         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7732         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7733         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7734         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7735         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7736         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7737         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7738         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7739         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7740         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7742         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7743         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7744         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7745         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7746         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7747         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7748         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7749         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7750         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7751         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7752         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7753         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7754         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7755         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7756         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7757         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7758         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7759         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7760         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7761         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7762         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7763         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7764         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7765         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7766         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7767         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7768         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7769         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7770         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7771         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7772         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7773         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7774         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7775         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7776         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7777         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7778         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7779         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7782         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7784         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7786         Moved ...
7787         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7788         ... here.
7789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7790         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7792         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7794         Moved ...
7795         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7797         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7799         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7801         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7803         Moved ...
7804         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7806         Moved ...
7807         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7809         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7811         Moved ...
7812         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7814         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7816         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7818         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7820         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7822         Moved ...
7823         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7824         ... here.
7825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7826         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7828         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7830         Moved ...
7831         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7833         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7835         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7837         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7839         Moved ...
7840         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7842         Moved ...
7843         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7845         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7847         Moved ...
7848         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7850         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7852         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7854 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7856         * timezone/checktab.awk: Update from tzcode 2014e.
7857         * timezone/private.h: Likewise.
7858         * timezone/tzfile.h: Likewise.
7859         * timezone/zdump.c: Likewise.
7860         * timezone/zic.c: Likewise.
7862         * sysdeps/unix/sysv/linux/kernel-features.h
7863         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7864         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7865         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7866         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7867         Remove conditional code.
7869 2014-06-25  Will Newton  <will.newton@linaro.org>
7871         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7872         (_dl_arm_cap_flags): Add HWCAP2 values.
7873         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7874         (_DL_HWCAP_COUNT): Increase to 37.
7875         (_DL_HWCAP_LAST): New define.
7876         (_DL_HWCAP2_LAST): New define.
7877         (_dl_procinfo): Add support for printing
7878         AT_HWCAP2 entries.
7879         (_dl_string_hwcap): Use _dl_hwcap_string.
7881 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7885 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7887         * README: Do not mention ports directory.
7889         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7890         Remove macro.
7891         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7892         <kernel-features.h>.
7893         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7894         conditional variable definition.
7895         (__futimes): Update comment.
7896         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7897         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7899         [BZ #16560]
7900         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7901         arguments close to 0.
7902         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7903         Likewise.
7904         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7905         Likewise.
7906         * math/auto-libm-test-in: Add more tests of exp10.
7907         * math/auto-libm-test-out: Regenerated.
7908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7910         * sysdeps/unix/sysv/linux/kernel-features.h
7911         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7912         * sysdeps/unix/sysv/linux/readv.c: Do not include
7913         <kernel-features.h>.
7914         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7915         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7916         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7917         unconditional.
7918         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7919         conditional code.
7920         * sysdeps/unix/sysv/linux/writev.c: Do not include
7921         <kernel-features.h>.
7922         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7923         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7924         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7925         unconditional.
7926         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7927         conditional code.
7929 2014-06-25  Will Newton  <will.newton@linaro.org>
7931         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7932         comment changes throughout the file.  Remove checks
7933         for HAVE_*_H definitions that are not required.
7934         (__gen_tempname): Call abort if an unknown kind value is
7935         passed.
7937 2014-06-25  Andreas Schwab  <schwab@suse.de>
7939         [BZ #17086]
7940         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7941         scalbln, scalblnf, scalblnl in libc.
7943 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7945         [BZ #17086]
7946         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7947         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7948         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7950 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7952         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7953         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7954         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7955         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7956         Update #include.
7957         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7958         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7959         Update #include.
7960         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7961         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7962         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7963         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7964         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7965         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7966         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7967         * sysdeps/x86/bits/semaphore.h: ... here.
7968         * sysdeps/x86/nptl/elide.h: Moved ...
7969         * sysdeps/x86/elide.h: ... here.
7970         * sysdeps/x86_64/nptl/Implies: File removed.
7971         * sysdeps/i386/nptl/Implies: File removed.
7973 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7975         [BZ #16539]
7976         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7977         return the argument for normal arguments with exponent below -64.
7978         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7979         Likewise.
7980         * math/auto-libm-test-in: Add another test of expm1.
7981         * math/auto-libm-test-out: Regenerated.
7983         [BZ #16287]
7984         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7985         calling __erfcl for arguments at least 16.
7986         * math/auto-libm-test-in: Add more tests of erf.
7987         * math/auto-libm-test-out: Regenerated.
7989         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7990         individual architectures.
7991         * sysdeps/unix/sysv/linux/configure: Regenerated.
7992         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7993         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7994         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7995         (ldd_rewrite_script): Define variable.
7996         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7998         file.
7999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8000         generated file.
8001         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8002         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8003         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8004         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8005         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8006         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8007         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8008         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8010 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8012         [BZ #17084]
8013         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8014         Rename member __data.d to __data.__elision_data.
8016 2014-06-24  Wilco  <wdijkstr@arm.com>
8018         * NEWS: Add 16918 to fixed bug list.
8020 2014-06-24  Wilco  <wdijkstr@arm.com>
8022         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8024 2014-06-24  Wilco  <wdijkstr@arm.com>
8026         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8027         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8028         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8029         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8030         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8031         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8032         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8033         Use _FPU_MASK_RM.
8035 2014-06-24  Wilco  <wdijkstr@arm.com>
8037         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8039 2014-06-24  Wilco  <wdijkstr@arm.com>
8041         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8042         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8043         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8044         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8046 2014-06-24  Wilco  <wdijkstr@arm.com>
8048         [BZ #16918]
8049         * sysdeps/arm/feupdateenv.c (feupdateenv):
8050         Rewrite to reduce FPSCR accesses and fix return value.
8052 2014-06-24  Wilco  <wdijkstr@arm.com>
8054         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8055         Optimize to avoid unnecessary FPSCR writes.
8056         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8057         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8058         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8059         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8061 2014-06-24  Wilco  <wdijkstr@arm.com>
8063         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8064         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8065         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8066         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8067         Call libc_fetestexcept_vfp.
8068         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8069         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8070         __SOFTFP__ ifdef so that they can be built for softfp.
8072 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8074         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8075         argument type signed char.
8077         * Makerules (check-abi): Dump diff of symlist if the test
8078         fails.
8080 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8082         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8083         using abort.
8085         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8086         Remove unused variable ST.
8088 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8090         [BZ #16354]
8091         [BZ #17061]
8092         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8093         small arguments before calling __expm1.
8094         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8095         small arguments before calling __expm1f.
8096         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8097         small arguments before calling __expm1l.
8098         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8099         Likewise.
8100         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8101         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8102         spurious underflow for some cosh tests.
8103         * math/auto-libm-test-out: Regenerated.
8104         * sysdeps/i386/fpu/libm-test-ulps: Update.
8106         [BZ #17050]
8107         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8108         (__ieee754_y1): Set errno if return value overflows.
8109         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8110         (__ieee754_y1f): Set errno if return value overflows.
8111         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8112         (__ieee754_y1l): Set errno if return value overflows.
8113         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8114         (__ieee754_y1l): Set errno if return value overflows.
8115         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8116         * math/auto-libm-test-out: Regenerated.
8118         * math/gen-auto-libm-tests.c: Document use of
8119         ignore-zero-inf-sign.
8120         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8121         (input_flags): Add ignore-zero-inf-sign.
8122         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8123         * math/gen-libm-test.pl (generate_testfile): Handle
8124         ignore-zero-inf-sign.
8125         * math/auto-libm-test-in: Mark some cpow tests with
8126         ignore-zero-inf-sign and some with xfail-rounding.
8127         * math/auto-libm-test-out: Regenerated.
8128         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8129         * sysdeps/i386/fpu/libm-test-ulps: Update.
8130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8132         [BZ #16315]
8133         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8134         overflowing or underflowing operations take place with sign of
8135         result.
8136         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8137         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8138         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8139         (__ieee754_pow): Recompute overflowing and underflowing results in
8140         original rounding mode.
8141         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8142         (__powl_helper): Allow negative argument X and scale negated value
8143         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8144         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8145         overflowing or underflowing operations take place with sign of
8146         result.
8147         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8148         Include <math.h>.
8149         * math/auto-libm-test-in: Add more tests of pow.
8150         * math/auto-libm-test-out: Regenerated.
8151         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8152         (pow_tonearest_test_data): Remove.
8153         (pow_test_tonearest): Likewise.
8154         (pow_towardzero_test_data): Likewise.
8155         (pow_test_towardzero): Likewise.
8156         (pow_downward_test_data): Likewise.
8157         (pow_test_downward): Likewise.
8158         (pow_upward_test_data): Likewise.
8159         (pow_test_upward): Likewise.
8160         (main): Don't call removed functions.
8161         * sysdeps/i386/fpu/libm-test-ulps: Update.
8162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8167         Moved ...
8168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8170         Moved ...
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8173         Moved ...
8174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8176         Moved ...
8177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8179         File removed.
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8181         File removed.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8183         File removed.
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8185         File removed.
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8187         File removed.
8188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8189         File removed.
8190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8191         File removed.
8192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8193         File removed.
8194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8195         File removed.
8196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8197         File removed.
8198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8199         File removed.
8200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8201         File removed.
8202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8203         Moved ...
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8206         Moved ...
8207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8208         ... here.
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8210         Moved ...
8211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8213         Moved ...
8214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8216         Moved ...
8217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8219         Moved ...
8220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8222         Moved ...
8223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8225         Moved ...
8226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8228         Moved ...
8229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8232         ... here.
8233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8234         Moved ...
8235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8237         Moved ...
8238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8239         ... here.
8240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8241         Moved ...
8242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8243         ... here.
8244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8245         Moved ...
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8247         ... here.
8248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8249         Moved ...
8250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8252         Moved ...
8253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8257         Moved ...
8258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8259         ... here.
8260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8261         Moved ...
8262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8263         ... here.
8264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8265         Moved ...
8266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8268         Moved ...
8269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8274         Moved ...
8275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8277         Moved ...
8278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8279         ... here.
8280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8281         Moved ...
8282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8284         Moved ...
8285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8287         Moved ...
8288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8290         Moved ...
8291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8295         Moved ...
8296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8298         Moved ...
8299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8301         Moved ...
8302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8303         ... here.
8304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8305         Moved ...
8306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8307         ... here.
8308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8309         Moved ...
8310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8311         ... here.
8312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8313         Moved ...
8314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8316         Moved ...
8317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8319         Moved ...
8320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8322         Moved ...
8323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8324         ... here.
8325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8326         Moved ...
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8328         ... here.
8329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8330         Moved ...
8331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8332         ... here.
8333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8334         Moved ...
8335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8337         Moved ...
8338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8340 2014-06-23  Will Newton  <will.newton@linaro.org>
8341             Wilco  <wdijkstr@arm.com>
8343         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8344         implementation.  Include get-rounding-mode.h.
8345         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8346         [!libc_feholdsetround_noex_ctx]: Define
8347         libc_feholdsetround_noex_ctx.
8348         [!libc_feholdsetround_noexf_ctx]: Define
8349         libc_feholdsetround_noexf_ctx.
8350         [!libc_feholdsetround_noexl_ctx]: Define
8351         libc_feholdsetround_noexl_ctx.
8352         (libc_feholdsetround_ctx): New function.
8353         (libc_feresetround_ctx): New function.
8354         (libc_feholdsetround_noex_ctx): New function.
8355         (libc_feresetround_noex_ctx): New function.
8357 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8359         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8360         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8361         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8362         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8363         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8364         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8366         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8367         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8368         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8369         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8370         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8371         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8373         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8374         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8375         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8376         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8377         Moved ...
8378         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8379         ... here.
8380         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8381         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8382         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8383         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8385         Moved ...
8386         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8387         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8388         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8390         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8391         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8392         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8393         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8394         Moved ...
8395         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8396         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8397         Moved ...
8398         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8399         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8400         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8401         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8402         Moved ...
8403         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8404         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8405         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8406         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8407         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8408         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8409         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8410         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8411         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8412         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8413         Moved ...
8414         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8415         ... here.
8416         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8417         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8418         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8419         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8420         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8421         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8422         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8423         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8424         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8425         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8427         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8428         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8429         Moved ...
8430         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8431         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8432         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8433         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8434         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8435         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8436         Moved ...
8437         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8438         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8439         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8440         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8441         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8443         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8444         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8445         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8446         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8447         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8448         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8449         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8450         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8451         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8452         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8453         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8454         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8455         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8456         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8457         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8458         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8459         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8460         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8461         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8462         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8463         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8464         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8465         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8466         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8467         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8468         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8469         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8470         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8472 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8474         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8475         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8476         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8477         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8478         (IPV6_PMTUDISC_INTERFACE): Likewise.
8479         (IPV6_PMTUDISC_OMIT): Likewise.
8481 2014-06-23  Andreas Schwab  <schwab@suse.de>
8483         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8484         Remove unused errout label.
8486 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8488         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8489         macro: hardware supports Vector Crypto instructions.
8491 2014-06-23  Will Newton  <will.newton@linaro.org>
8493         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8494         rather than __builtin_expect.
8496         * elf/dl-lookup.c (undefined_msg): Remove variable.
8497         (_dl_lookup_symbol_x): Replace undefined_msg with string
8498         literal.
8500         * elf/dl-lookup.c (do_lookup_unique): New function.
8501         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8502         to a separate function.
8504 2014-06-23  Andreas Schwab  <schwab@suse.de>
8506         [BZ #17079]
8507         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8508         before reading the next line.
8510 2014-06-23  Will Newton  <will.newton@linaro.org>
8512         * test-skeleton.c (signal_handler): Use printf and %m
8513         rather than perror.  Use printf rather than fprintf to
8514         stderr.  Use puts rather than fputs to stderr.
8515         (main): Likewise.
8517 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8519         * nscd/nscd.c (thread_info_t): Remove typedef.
8520         (thread_info): Remove variable.
8522 2014-06-21  Allan McRae  <allan@archlinux.org>
8524         * NEWS: Mention CVE-2014-4043.
8526 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8528         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8529         * nptl/smp.h: ... here.
8531         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8533         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8534         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8535         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8536         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8538         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8539         * nptl/stack-aliasing.h: New file.
8540         * sysdeps/i386/i686/stack-aliasing.h: New file.
8541         * sysdeps/i386/i686/nptl/Makefile: File removed.
8542         * sysdeps/x86_64/stack-aliasing.h: New file.
8543         * sysdeps/x86_64/nptl/Makefile
8544         (CFLAGS-pthread_create.c): Variable removed.
8546         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8547         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8548         old file.
8549         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8550         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8551         old file.
8553 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8556         (__ASSUME_SIGFRAME_V2): Remove macro.
8557         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8558         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8559         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8560         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8561         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8562         Declare as function.  Remove conditional macro definitions.
8563         (__default_rt_sa_restorer): Likewise.
8564         (__default_sa_restorer_v1): Remove declaration.
8565         (__default_sa_restorer_v2): Likewise.
8566         (__default_rt_sa_restorer_v1): Likewise.
8567         (__default_rt_sa_restorer_v2): Likewise.
8568         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8569         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8570         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8572 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8574         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8575         (libpthread-routines): Add sysdep.
8576         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8577         * sysdeps/unix/sysv/linux/sparc/Versions
8578         (libpthread: GLIBC_2.3.3): New version set.
8579         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8580         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8581         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8582         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8583         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8584         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8585         Moved ...
8586         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8587         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8588         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8589         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8590         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8591         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8592         * sysdeps/sparc/nptl/sem_init.c: ... here.
8593         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8594         * sysdeps/sparc/nptl/sem_post.c: ... here.
8595         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8596         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8597         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8598         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8599         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8600         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8601         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8602         (libpthread-routines): Add cpu_relax.
8603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8604         File removed.
8605         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8606         (librt: GLIBC_2.3.3): New version set.
8607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8608         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8609         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8610         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8613         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8615         Moved ...
8616         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8618         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8620         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8622         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8624         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8626         Moved ...
8627         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8628         Update #include.
8629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8630         Moved ...
8631         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8632         Update #include.
8633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8634         Moved ...
8635         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8636         Update #include.
8637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8638         Moved ...
8639         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8640         Update #include.
8641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8642         Moved ...
8643         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8644         Update #include.
8645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8646         Moved ...
8647         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8648         Update #include.
8649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8650         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8654         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8656         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8658         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8660         Moved ...
8661         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8663         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8665         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8667 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8669         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8670         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8671         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8672         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8673         * nscd/nscd.c: Likewise.
8674         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8675         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8676         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8677         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8679         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8680         <kernel-features.h>.
8681         (init_mq_netlink): Remove conditional have_sock_cloexec
8682         definitions.  Remove code conditional on have_sock_cloexec < 0.
8683         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8684         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8685         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8686         <kernel-features.h>.
8687         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8688         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8690 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8693         Add tests for memset_chk and memset.
8695         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8696         with AVX2_Usable.
8698 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8700         [BZ #16046]
8701         * elf/tst-dl-iter-static.c: New file.
8702         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8704         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8705         error.
8707 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8709         * sysdeps/unix/sysv/linux/kernel-features.h
8710         (__ASSUME_F_GETOWN_EX): Remove macro.
8711         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8712         <kernel-features.h>.
8713         (miss_F_GETOWN_EX): Remove variable or macro.
8714         (do_fcntl): Do not check miss_F_GETOWN_EX.
8715         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8718         Remove macro.
8719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8720         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8721         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8723         * sysdeps/unix/sysv/linux/kernel-features.h
8724         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8725         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8726         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8727         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8729 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8731         [BZ #17075]
8732         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8733         Fix calculation of the symbol's value.
8734         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8735         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8736         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8737         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8738         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8739         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8740         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8741         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8742         (modules-names): Add `tst-armtlsdescmod',
8743         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8744         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8745         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8746         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8747         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8748         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8749         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8750         ($(objpfx)tst-armtlsdescloc): New dependency.
8751         ($(objpfx)tst-armtlsdescextnow): Likewise.
8752         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8753         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8754         TLS scheme support.
8755         * sysdeps/arm/configure: Regenerate.
8757 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8759         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8760         (__atfct_seterrno_2): Likewise.
8761         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8762         <kernel-features.h>.
8763         (__ASSUME_ATFCTS): Do not undefine and redefine.
8764         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8765         (__have_atfcts): Remove conditional definition.
8766         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8767         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8768         unreachable if [__ASSUME_ATFCTS].
8769         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8770         not undefine and redefine.
8771         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8772         <kernel-features.h>.
8773         (faccessat) [__NR_faccessat]: Make code unconditional.
8774         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8775         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8776         <kernel-features.h>.
8777         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8778         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8779         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8780         <kernel-features.h>.
8781         (fchownat) [__NR_fchownat]: Make code unconditional.
8782         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8783         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8784         <kernel-features.h>.
8785         (futimesat) [__NR_futimesat]: Make code unconditional.
8786         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8787         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8788         <kernel-features.h>.
8789         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8790         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8791         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8792         <kernel-features.h>.
8793         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8794         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8795         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8796         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8797         <kernel-features.h>.
8798         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8799         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8800         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8801         <kernel-features.h>.
8802         (linkat) [__NR_linkat]: Make code unconditional.
8803         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8804         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8805         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8806         <kernel-features.h>.
8807         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8808         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8809         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8810         <kernel-features.h>.
8811         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8812         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8813         * sysdeps/unix/sysv/linux/openat.c: Do not include
8814         <kernel-features.h>.
8815         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8816         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8817         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8818         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8819         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8820         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8821         <kernel-features.h>.
8822         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8823         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8824         result of INLINE_SYSCALL directly, not via int variable.
8825         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8826         <kernel-features.h>.
8827         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8828         (renameat) [__NR_renameat]: Make code unconditional.
8829         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8830         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8831         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8832         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8833         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8834         (__ASSUME_ATFCTS): Do not undefine and redefine.
8835         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8836         <kernel-features.h>.
8837         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8838         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8839         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8840         <kernel-features.h>.
8841         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8842         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8843         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8844         (__ASSUME_ATFCTS): Do not undefine and redefine.
8845         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8846         <kernel-features.h>.
8847         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8848         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8849         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8850         <kernel-features.h>.
8851         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8852         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8854 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8856         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8858 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8860         [BZ #17069]
8861         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8862         constructed tree before returning error.
8863         * posix/bug-regexp36.c: Expand test case.
8865 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8867         [BZ #6803]
8868         * math/libm-test.inc (scalbln_test_date):
8869         Add errno expectations.
8870         * math/w_scalblnf.c: New File.
8871         Add wrapper which checks for setting errno to ERANGE.
8872         Add weak_alias for corresponding scalbln function.
8873         * math/w_scalbln.c: Likewise.
8874         * math/w_scalblnl.c: Likewise.
8875         * math/Makefile (libm-calls): Add w_scalbln.
8876         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8877         Remove weak_alias for corresponding scalbln function.
8878         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8879         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8880         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8881         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8882         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8883         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8884         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8885         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8886         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8887         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8888         Remove long_double_symbol for scalblnl function in libm, libc.
8889         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8890         Add wrapper which checks for setting errno to ERANGE.
8891         Add long_double_symbol for scalblnl function in libm, libc.
8892         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8893         Remove long_double_symbol for scalblnl in libm.
8894         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8895         Add wrapper which checks for setting errno to ERANGE.
8896         Add long_double_symbol for scalblnl function in libm.
8897         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8898         Do not use wrapper because of own implementation.
8900 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8902         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8903         3 bytes for __pad1 for x32.
8904         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8906 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8907             H.J. Lu  <hongjiu.lu@intel.com>
8909         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8910         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8911         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8912         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8913         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8915 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8917         [BZ #17069]
8918         * posix/regcomp.c (parse_expression): Deallocate partially
8919         constructed tree before returning error.
8920         * posix/Makefile.c (tests): Add bug-regex36.
8921         (generated): Add bug-regex36.mtrace.
8922         (tests-special): Add $(objpfx)bug-regex36-mem.out
8923         (bug-regex36-ENV): New variable.
8924         ($(objpfx)bug-regex36-mem.out): New rule.
8925         * posix/bug-regex36.c: New file.
8927 2014-06-19  Will Newton  <will.newton@linaro.org>
8929         * malloc/malloc.c (systrim): If extra is zero then return
8930         early.
8932 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8934         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8936 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8938         * sysdeps/aarch64/strchr.S: New file.
8940 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8942         [BZ #17022]
8943         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8944         from arguments -2 or below.
8945         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8946         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8948 2014-06-18  Andreas Schwab  <schwab@suse.de>
8950         [BZ #17062]
8951         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8952         of a bracket expr not to run off the end of the string.
8953         * posix/Makefile (tests): Add tst-fnmatch3.
8954         * posix/tst-fnmatch3.c: New file.
8956 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8958         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8959         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8960         [$(cross-compiling) = no]: Likewise.
8961         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8962         [$(cross-compiling) = no]: Likewise.
8964 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8966         [BZ #17031]
8967         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8968         double, adjusted for any remainder from the high double.
8969         * math/libm-test.inc (nearbyint): Add tests.
8970         (rint): Likewise.
8972 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8974         * nptl/sysdeps/powerpc/Makefile: Moved ...
8975         * sysdeps/powerpc/nptl/Makefile: ... here.
8976         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8977         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8978         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8979         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8980         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8981         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8982         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8983         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8984         * nptl/sysdeps/powerpc/tls.h: Moved ...
8985         * sysdeps/powerpc/nptl/tls.h: ... here.
8987 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8989         [BZ #16681]
8990         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8991         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8992         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8993         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8994         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8995         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8996         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8997         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8998         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9000 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9002         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9004 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9006         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9007         defined operator.
9009         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9010         $TIMEOUTFACTOR.
9012 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9014         [BZ #17058]
9015         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9016         non-executed part of the test.
9018 2014-06-16  Andreas Schwab  <schwab@suse.de>
9020         * string/bits/string2.h (strdup, strndup): Update feature guard.
9022 2014-06-14  David S. Miller  <davem@davemloft.net>
9024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9026 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9028         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9029         that was previously under [RESET_PID].
9030         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9032         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9033         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9034         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9035         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9036         (__libc_vfork): New strong alias.
9037         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9039 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9041         * sysdeps/generic/elide.h: New file.
9043 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9045         * Makefile (installed-headers): Adjust path of pthread.h header.
9047 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9049         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9050         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9051         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9052         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9054         * nptl/sysdeps/s390/Makefile: Moved ...
9055         * sysdeps/s390/nptl/Makefile: ... here.
9056         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9057         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9058         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9059         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9060         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9061         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9062         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9063         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9064         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9065         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9066         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9067         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9068         * nptl/sysdeps/s390/tls.h: Moved ...
9069         * sysdeps/s390/nptl/tls.h: ... here.
9071         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9072         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9074 2014-06-13  David S. Miller  <davem@davemloft.net>
9076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9079         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9083         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9084         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9085         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9086         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9087         Remove RESET_PID cpp guards.
9088         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9089         Remove RESET_PID cpp guards.
9090         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9092 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9094         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9095         __sp to uintptr_t.
9097 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9099         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9100         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9101         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9102         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9103         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9104         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9105         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9106         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9107         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9108         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9109         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9110         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9111         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9112         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9113         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9114         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9115         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9116         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9118         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9120         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9121         (pthread_rwlock_rdlock): Add elision.
9122         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9123         (pthread_rwlock_wrlock): Add elision.
9124         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9125         (pthread_rwlock_trywrlock): Add elision.
9126         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9127         (pthread_rwlock_tryrdlock): Add elision.
9128         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9129         (pthread_rwlock_tryrdlock): Add elision unlock.
9130         * nptl/sysdeps/pthread/pthread.h:
9131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9132         (PTHREAD_RWLOCK_INITIALIZER,
9133         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9134         Handle new elision field.
9135         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9136         * sysdeps/arm/nptl/bits/pthreadtypes.h
9137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9138         * sysdeps/sh/nptl/bits/pthreadtypes.h
9139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9140         * sysdeps/tile/nptl/bits/pthreadtypes.h
9141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9142         * sysdeps/a/nptl/bits/pthreadtypes.h
9143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9144         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9146         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9148         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9150         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9151         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9152         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9154         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9155         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9156         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9157         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9158         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9160         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9161         (elision_init): Set try_xbegin to zero when no RTM.
9162         * sysdeps/x86/nptl/bits/pthreadtypes.h
9163         (pthread_rwlock_t): Change __pad1 to __rwelision.
9164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9166 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9168         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9169         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9170         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9171         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9173 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9175         [BZ #16996]
9176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9177         that the cached result has been set before returning it.
9179 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9181         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9182         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9183         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9184         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9185         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9186         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9188         * nptl/sysdeps/sparc/Makefile: Moved ...
9189         * sysdeps/sparc/nptl/Makefile: ... here.
9190         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9191         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9192         * nptl/sysdeps/sparc/tls.h: Moved ...
9193         * sysdeps/sparc/nptl/tls.h: ... here.
9194         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9195         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9196         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9197         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9198         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9199         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9200         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9201         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9202         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9203         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9204         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9205         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9206         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9207         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9208         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9209         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9210         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9212         Update #include.
9213         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9215         Update #include.
9216         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9217         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9218         Update #include.
9219         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9220         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9221         Update #include.
9223         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9225         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9226         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9228         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9229         (struct list_links): Type removed.
9230         (struct thread_node, struct timer_node): Replace struct list_links
9231         with struct list_head.
9232         (list_unlink_ip): Likewise.
9233         * sysdeps/pthread/timer_routines.c
9234         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9235         (list_append, list_insbefore): Likewise.
9236         (list_init): Function removed.
9237         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9238         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9239         * sysdeps/pthread/Makefile: ... here, new file.
9241         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9242         * sysdeps/nptl/Implies: ... here.
9243         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9244         * nptl/sysdeps/pthread/list.h: Moved ...
9245         * include/list.h: ... here.
9246         * nptl/sysdeps/pthread/createthread.c: Moved ...
9247         * nptl/createthread.c: ... here.
9248         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9249         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9250         * nptl/pt-longjmp.c: ... here.
9251         * nptl/sysdeps/pthread/Makefile: Moved ...
9252         * sysdeps/nptl/Makefile: ... here.
9253         * nptl/sysdeps/pthread/Subdirs: Moved ...
9254         * sysdeps/nptl/Subdirs: ... here.
9255         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9256         * sysdeps/nptl/aio_misc.h: ... here.
9257         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9258         * sysdeps/nptl/bits/libc-lock.h: ... here.
9259         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9260         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9261         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9262         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9263         * nptl/sysdeps/pthread/configure: Moved ...
9264         * sysdeps/nptl/configure: ... here.
9265         * nptl/sysdeps/pthread/configure.ac: Moved ...
9266         * sysdeps/nptl/configure.ac: ... here.
9267         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9268         * sysdeps/nptl/gai_misc.h: ... here.
9269         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9270         * sysdeps/nptl/librt-cancellation.c: ... here.
9271         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9272         * sysdeps/nptl/malloc-machine.h: ... here.
9273         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9274         * sysdeps/nptl/pthread-functions.h: ... here.
9275         * nptl/sysdeps/pthread/pthread.h: Moved ...
9276         * sysdeps/nptl/pthread.h: ... here.
9277         * nptl/sysdeps/pthread/setxid.h: Moved ...
9278         * sysdeps/nptl/setxid.h: ... here.
9279         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9280         * sysdeps/nptl/sigfillset.c: ... here.
9281         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9282         * sysdeps/nptl/tcb-offsets.h: ... here.
9283         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9284         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9285         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9286         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9287         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9288         * sysdeps/pthread/allocalim.h: ... here.
9289         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9290         * sysdeps/pthread/bits/sigthread.h: ... here.
9291         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9292         * sysdeps/pthread/flockfile.c: ... here.
9293         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9294         * sysdeps/pthread/ftrylockfile.c: ... here.
9295         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9296         * sysdeps/pthread/funlockfile.c: ... here.
9297         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9298         * sysdeps/pthread/posix-timer.h: ... here.
9299         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9300         * sysdeps/pthread/timer_create.c: ... here.
9301         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9302         * sysdeps/pthread/timer_delete.c: ... here.
9303         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9304         * sysdeps/pthread/timer_getoverr.c: ... here.
9305         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9306         * sysdeps/pthread/timer_gettime.c: ... here.
9307         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9308         * sysdeps/pthread/timer_routines.c: ... here.
9309         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9310         * sysdeps/pthread/timer_settime.c: ... here.
9311         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9312         * sysdeps/pthread/tst-timer.c: ... here.
9313         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9314         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9316         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9317         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9319         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9320         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9321         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9322         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9323         Update #include target.
9324         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9325         * sysdeps/i386/i686/nptl/Makefile: ... here.
9326         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9327         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9328         Update #include target.
9329         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9330         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9331         * nptl/sysdeps/i386/Makefile: Moved ...
9332         * sysdeps/i386/nptl/Makefile: ... here.
9333         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9334         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9335         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9336         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9337         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9338         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9339         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9340         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9341         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9342         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9343         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9344         * nptl/sysdeps/i386/tls.h: Moved ...
9345         * sysdeps/i386/nptl/tls.h: ... here.
9347         * sysdeps/sh/Makefile [$(subdir) = csu]
9348         (gen-as-const-headers): Add tcb-offsets.sym.
9349         * nptl/sysdeps/sh/Makefile: File removed.
9350         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9351         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9352         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9353         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9354         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9355         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9356         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9357         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9358         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9359         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9360         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9361         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9362         * nptl/sysdeps/sh/tls.h: Moved ...
9363         * sysdeps/sh/nptl/tls.h: ... here.
9364         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9365         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9366         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9367         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9368         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9369         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9370         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9371         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9372         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9373         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9375         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9377         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9378         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9379         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9380         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9381         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9383         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9385         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9386         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9387         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9388         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9389         Moved ...
9390         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9391         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9392         Moved ...
9393         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9394         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9395         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9396         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9397         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9398         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9399         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9400         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9401         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9402         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9403         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9404         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9405         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9406         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9407         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9408         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9409         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9410         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9411         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9413 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9415         * posix/spawn_faction_addopen.c: Include string.h.
9417 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9419         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9420         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9421         * nptl/sysdeps/x86_64/Makefile: Moved ...
9422         * sysdeps/x86_64/nptl/Makefile: ... here.
9423         * nptl/sysdeps/x86_64/configure: Moved ...
9424         * sysdeps/x86_64/nptl/configure: ... here.
9425         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9426         * sysdeps/x86_64/nptl/configure.ac: ... here.
9427         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9428         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9429         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9430         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9431         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9432         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9433         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9434         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9435         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9436         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9437         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9438         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9439         * nptl/sysdeps/x86_64/tls.h: Moved ...
9440         * sysdeps/x86_64/nptl/tls.h: ... here.
9441         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9442         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9443         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9444         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9446         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9448 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9452 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9454         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9455         type.
9456         [POSIX] (off_t): Likewise.
9457         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9458         [POSIX] (S_ISBLK): Require macro.
9459         [POSIX] (S_ISCHR): Likewise.
9460         [POSIX] (S_ISDIR): Likewise.
9461         [POSIX] (S_ISFIFO): Likewise.
9462         [POSIX] (S_ISREG): Likewise.
9463         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9464         optional-macro.
9465         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9466         type.
9467         [POSIX] (time_t): Likewise.
9468         [POSIX] (timer_t): Likewise.
9470 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9472         [BZ #17048]
9473         * posix/spawn_int.h (struct __spawn_action): Make the path string
9474         non-const to support deallocation.
9475         * posix/spawn_faction_addopen.c
9476         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9477         * posix/spawn_faction_destroy.c
9478         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9479         path in all spawn_do_open actions.
9480         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9481         posix_spawn_file_actions_addopen.
9483 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9485         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9486         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9487         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9488         conditional code always true.
9489         (__libc_vfork): New alias.
9491 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9493         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9494         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9496         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9498         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9499         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9501         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9502         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9504         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9505         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9507 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9509         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9510         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9511         multiarch strcmp for PPC64.
9512         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9513         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9515         multiarch optimizations.
9516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9517         (__libc_ifunc_impl_list): Likewise.
9519 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9521         * benchtests/scripts/validate_benchout.py: New script.
9522         * benchtests/Makefile (bench-func): Call it.
9523         * benchtests/scripts/benchout.schema.json: New file.
9525 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9527         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9528         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9529         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9530         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9531         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9532         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9533         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9534         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9535         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9536         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9537         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9538         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9539         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9540         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9541         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9542         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9544         Moved ...
9545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9546         ... here.
9547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9548         Moved ...
9549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9551         Moved ...
9552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9553         ... here.
9554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9555         Moved ...
9556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9557         ... here.
9558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9559         Moved ...
9560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9562         Moved ...
9563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9564         ... here.
9565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9566         Moved ...
9567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9568         ... here.
9569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9570         Moved ...
9571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9573         Moved ...
9574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9575         ... here.
9576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9577         Moved ...
9578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9579         ... here.
9580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9581         Moved ...
9582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9583         ... here.
9584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9585         Moved ...
9586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9588         Moved ...
9589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9590         ... here.
9591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9592         Moved ...
9593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9594         ... here.
9595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9596         Moved ...
9597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9598         ... here.
9599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9600         Moved ...
9601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9603         Moved ...
9604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9605         ... here.
9606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9607         Moved ...
9608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9609         ... here.
9610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9611         Moved ...
9612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9614         Moved ...
9615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9616         ... here.
9617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9618         Moved ...
9619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9621         Moved ...
9622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9624         Moved ...
9625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9626         ... here.
9627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9628         Moved ...
9629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9630         ... here.
9631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9632         Moved ...
9633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9634         ... here.
9635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9636         Moved ...
9637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9639         Moved ...
9640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9641         ... here.
9642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9643         Moved ...
9644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9645         ... here.
9646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9647         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9649         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9651         Moved ...
9652         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9653         ... here.
9654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9655         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9656         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9657         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9658         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9659         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9661         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9663         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9664         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9665         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9666         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9667         Moved ...
9668         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9669         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9670         Moved ...
9671         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9672         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9673         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9674         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9675         Moved ...
9676         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9677         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9678         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9679         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9680         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9681         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9682         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9684 2014-06-10  Wilco  <wdijkstr@arm.com>
9686         * math/test-fenv-return.c: New file.
9687         * math/Makefile: Add new test test-fenv-return.
9689 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9691         [BZ #17042]
9692         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9693         when x - 1 is zero.
9694         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9695         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9696         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9697         0.0L for an argument of 1.0L.
9698         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9699         Likewise.
9700         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9701         value when x - 1 is zero.
9702         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9703         * sysdeps/i386/fpu/libm-test-ulps: Update.
9704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9706 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9708         [BZ #15119]
9709         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9711 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9713         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9714         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9716 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9718         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9719         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9721         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9722         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9724         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9725         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9727         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9728         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9730         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9731         if not already defined.
9732         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9733         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9734         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9735         (TLS_INIT_TP): Use it.
9736         (TLS_DEFINE_INIT_TP): New macro.
9737         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9739 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9741         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9742         constant.
9743         [POSIX] (IXANY): Likewise.
9744         [POSIX] (OLCUC): Likewise.
9745         [POSIX || POSIX2008] (CBAUD): Do not allow.
9746         [POSIX || POSIX2008] (DEFECHO): Likewise.
9747         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9748         [POSIX || POSIX2008] (ECHOKE): Likewise.
9749         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9750         [POSIX || POSIX2008] (EXTA): Likewise.
9751         [POSIX || POSIX2008] (EXTB): Likewise.
9752         [POSIX || POSIX2008] (FLUSHO): Likewise.
9753         [POSIX || POSIX2008] (LOBLK): Likewise.
9754         [POSIX || POSIX2008] (PENDIN): Likewise.
9755         [POSIX || POSIX2008] (SWTCH): Likewise.
9756         [POSIX || POSIX2008] (VDISCARD): Likewise.
9757         [POSIX || POSIX2008] (VDSUSP): Likewise.
9758         [POSIX || POSIX2008] (VLNEXT): Likewise.
9759         [POSIX || POSIX2008] (VREPRINT): Likewise.
9760         [POSIX || POSIX2008] (VSTATUS): Likewise.
9761         [POSIX || POSIX2008] (VWERASE): Likewise.
9762         (B*): Change to B[0123456789]*.
9763         * conform/data/time.h-data [POSIX || UNIX98]
9764         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9765         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9766         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9767         [POSIX] (tm_*): Do not allow.
9769 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9771         * Makefile (install): Don't set LANGUAGE.
9772         * Makefile.in (install): Likewise.
9773         * assert/Makefile (test-assert-ENV): Remove variable.
9774         (test-assert-perr-ENV): Likewise.
9775         * elf/Makefile (neededtest4-ENV): Likewise.
9776         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9777         [$(cross-compiling) = no]: Don't set LANGUAGE.
9778         * io/ftwtest-sh (LANG): Remove variable.
9779         * libio/Makefile (tst-widetext-ENV): Likewise.
9780         * manual/install.texi (Running make install): Don't refer to
9781         environment settings for make install.
9782         * INSTALL: Regenerated.
9783         * nptl/tst-tls6.sh: Don't set LANG.
9784         * posix/globtest.sh (LANG): Remove variable.
9785         * string/Makefile (tester-ENV): Likewise.
9786         (inl-tester-ENV): Likewise.
9787         (noinl-tester-ENV): Likewise.
9788         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9789         [$(cross-compiling) = no]: Don't set LANGUAGE.
9790         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9791         without explicit environment settings.
9793 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9795         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9796         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9797         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9798         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9800 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9802         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9803         other files in the crypt directory.
9804         * crypt/crypt.c: Remove duplicate includes.
9805         * crypt/crypt-entry.c: Likewise.
9806         * crypt/crypt_util.c: Likewise.
9808 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9810         * Makeconfig (run-program-env): New variable.
9811         (run-program-prefix-before-env): Likewise.
9812         (run-program-prefix-after-env): Likewise.
9813         (run-program-prefix): Define in terms of new variables.
9814         (built-program-cmd-before-env): New variable.
9815         (built-program-cmd-after-env): Likewise.
9816         (built-program-cmd): Define in terms of new variables.
9817         (test-program-prefix-before-env): New variable.
9818         (test-program-prefix-after-env): Likewise.
9819         (test-program-prefix): Define in terms of new variables.
9820         (test-program-cmd-before-env): New variable.
9821         (test-program-cmd-after-env): Likewise.
9822         (test-program-cmd): Define in terms of new variables.
9823         * Rules (make-test-out): Use $(run-program-env).
9824         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9825         (help): Do not mention environment variables.  Mention
9826         --timeoutfactor option.
9827         (timeoutfactor): New variable.
9828         (blacklist_exports): Remove function.
9829         (exports): Remove variable.
9830         (command): Do not include ${exports}.
9831         * manual/install.texi (Configuring and compiling): Do not mention
9832         test wrappers preserving environment variables.  Mention that last
9833         assignment to a variable must take precedence.
9834         * INSTALL: Regenerated.
9835         * benchtests/Makefile (run-bench): Use $(run-program-env).
9836         * catgets/Makefile ($(objpfx)test1.cat): Use
9837         $(built-program-cmd-before-env), $(run-program-env) and
9838         $(built-program-cmd-after-env).
9839         ($(objpfx)test2.cat): Do not specify environment variables
9840         explicitly.
9841         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9842         $(run-program-env) and $(built-program-cmd-after-env).
9843         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9844         $(run-program-env) and $(test-program-cmd-after-env).
9845         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9846         explicitly.
9847         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9848         run_program_env and test_program_cmd_after_env arguments.
9849         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9850         * elf/tst-pathopt.sh: Use run_program_env argument.
9851         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9852         $(test-wrapper-env) and $(run-program-env).
9853         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9854         run_program_env arguments.
9855         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9856         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9857         $(test-program-prefix-before-env), $(run-program-env) and
9858         $(test-program-prefix-after-env).
9859         ($(objpfx)tst-gettext2.out): Likewise.
9860         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9861         run_program_env and test_program_prefix_after_env arguments.
9862         * intl/tst-gettext2.sh: Likewise.
9863         * intl/tst-gettext4.sh: Do not set environment variables
9864         explicitly.
9865         * intl/tst-gettext6.sh: Likewise.
9866         * intl/tst-translit.sh: Likewise.
9867         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9868         $(test-program-prefix-before-env), $(run-program-env) and
9869         $(test-program-prefix-after-env).
9870         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9871         run_program_env and test_program_prefix_after_env arguments.
9872         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9873         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9874         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9875         explicitly with each use of ${test_wrapper_env}.
9876         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9877         $(test-program-prefix-before-env), $(run-program-env) and
9878         $(test-program-prefix-after-env).
9879         * posix/tst-getconf.sh: Do not set environment variables
9880         explicitly.
9881         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9882         run_program_env and test_program_prefix_after_env arguments.
9883         * stdio-common/tst-printf.sh: Do not set environment variables
9884         explicitly.
9885         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9886         $(test-program-prefix-before-env), $(run-program-env) and
9887         $(test-program-prefix-after-env).
9888         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9889         run_program_env and test_program_prefix_after_env arguments.
9890         Split $test calls into $test_pre and $test.
9891         * timezone/Makefile (build-testdata): Use
9892         $(built-program-cmd-before-env), $(run-program-env) and
9893         $(built-program-cmd-after-env).
9895 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9897         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9898         strlen for non SHARED builds.
9900 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9902         * nptl/allocatestack.c (check_list): Inlined function...
9903         (__reclaim_stacks): ... here.
9905 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9907         [BZ #15698]
9908         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9909         memory overrun.
9911 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9913         * Rules (make-test-out): Include
9914         LOCPATH=$(common-objpfx)localedata in default environment.
9915         * debug/Makefile (tst-chk1-ENV): Remove variable.
9916         (tst-chk2-ENV): Likewise.
9917         (tst-chk3-ENV): Likewise.
9918         (tst-chk4-ENV): Likewise.
9919         (tst-chk5-ENV): Likewise.
9920         (tst-chk6-ENV): Likewise.
9921         (tst-lfschk1-ENV): Likewise.
9922         (tst-lfschk2-ENV): Likewise.
9923         (tst-lfschk3-ENV): Likewise.
9924         (tst-lfschk4-ENV): Likewise.
9925         (tst-lfschk5-ENV): Likewise.
9926         (tst-lfschk6-ENV): Likewise.
9927         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9928         (tst-iconv7-ENV): Likewise.
9929         * intl/Makefile (LOCPATH-ENV): Likewise.
9930         (tst-codeset-ENV): Likewise.
9931         (tst-gettext3-ENV): Likewise.
9932         (tst-gettext5-ENV): Likewise.
9933         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9934         (tst-fopenloc-ENV): Likewise.
9935         (tst-fgetws-ENV): Remove variable.
9936         (tst-ungetwc1-ENV): Likewise.
9937         (tst-ungetwc2-ENV): Likewise.
9938         (bug-ungetwc2-ENV): Likewise.
9939         (tst-swscanf-ENV): Likewise.
9940         (bug-ftell-ENV): Likewise.
9941         (tst-fgetwc-ENV): Likewise.
9942         (tst-fseek-ENV): Likewise.
9943         (tst-ftell-partial-wide-ENV): Likewise.
9944         (tst-ftell-active-handler-ENV): Likewise.
9945         (tst-ftell-append-ENV): Likewise.
9946         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9947         (tst-regexloc-ENV): Likewise.
9948         (bug-regex1-ENV): Likewise.
9949         (tst-regex-ENV): Likewise.
9950         (tst-regex2-ENV): Likewise.
9951         (bug-regex5-ENV): Likewise.
9952         (bug-regex6-ENV): Likewise.
9953         (bug-regex17-ENV): Likewise.
9954         (bug-regex18-ENV): Likewise.
9955         (bug-regex19-ENV): Likewise.
9956         (bug-regex20-ENV): Likewise.
9957         (bug-regex22-ENV): Likewise.
9958         (bug-regex23-ENV): Likewise.
9959         (bug-regex25-ENV): Likewise.
9960         (bug-regex26-ENV): Likewise.
9961         (bug-regex30-ENV): Likewise.
9962         (bug-regex32-ENV): Likewise.
9963         (bug-regex33-ENV): Likewise.
9964         (bug-regex34-ENV): Likewise.
9965         (bug-regex35-ENV): Likewise.
9966         (tst-rxspencer-ENV): Likewise.
9967         (tst-rxspencer-no-utf8-ENV): Likewise.
9968         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9969         (tst-sscanf-ENV): Likewise.
9970         (tst-swprintf-ENV): Likewise.
9971         (tst-swscanf-ENV): Likewise.
9972         (test-vfprintf-ENV): Likewise.
9973         (scanf13-ENV): Likewise.
9974         (bug14-ENV): Likewise.
9975         (tst-grouping-ENV): Likewise.
9976         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9977         (tst-strtod3-ENV): Likewise.
9978         (tst-strtod4-ENV): Likewise.
9979         (tst-strtod5-ENV): Likewise.
9980         (testmb2-ENV): Likewise./
9981         * string/Makefile (tst-strxfrm-ENV): Likewise.
9982         (tst-strxfrm2-ENV): Likewise.
9983         (bug-strcoll1-ENV): Likewise.
9984         (test-strcasecmp-ENV): Likewise.
9985         (test-strncasecmp-ENV): Likewise.
9986         * time/Makefile (tst-strptime-ENV): Likewise.
9987         (tst-ftime_l-ENV): Likewise.
9988         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9989         (tst-mbrtowc-ENV): Likewise.
9990         (tst-wcrtomb-ENV): Likewise.
9991         (tst-mbrtowc2-ENV): Likewise.
9992         (tst-c16c32-1-ENV): Likewise.
9993         (tst-mbsnrtowcs-ENV): Likewise.
9995 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9997         * manual/resource.texi (How to get information about the memory
9998         subsystem?): Fix typo.
9999         Reported by Peon de la Parra Ivan <peon@keba.com>
10001 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10003         [BZ #16882]
10004         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10005         (pthread_spin_lock): Branch out of spin loop to proper location.
10006         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10007         (pthread_spin_lock): Likewise.
10009         * nptl/tst-spin4.c: New test.
10010         * nptl/Makefile (tests): Add tst-spin4.
10012 2014-06-03  Andreas Schwab  <schwab@suse.de>
10014         [BZ #15946]
10015         * resolv/res_send.c (send_dg): Reload file descriptor after
10016         calling reopen.
10018 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10020         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10022 2014-06-03  Richard Henderson  <rth@redhat.com>
10024         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10025         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10026         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10027         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10028         in the SAVE_PID block.
10029         (__libc_vfork): New alias.
10030         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10032         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10033         child in registers, not on the stack.  Remove RESET_PID conditionals.
10034         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10036 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10038         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10040 2014-06-03  Wilco  <wdijkstr@arm.com>
10042         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10043         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10044         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10045         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10046         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10047         Likewise.
10049 2014-06-03  Wilco  <wdijkstr@arm.com>
10051         * sysdeps/aarch64/fpu/math_private.h
10052         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10053         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10054         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10055         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10056         Fix declarations.
10058 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10060         * crypt/crypt-private.h: Include ufc-crypt.h.
10061         (__b64_from_24bit): Declare extern.
10062         * crypt/crypt_util.c(__b64_from_24bit): New function.
10063         (b64t): New static const variable.
10064         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10065         (b64t): Remove variable.
10066         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10067         * crypt/sha256-crypt.c: Include crypt-private.h.
10068         (b64t): Remove variable.
10069         (__sha256_crypt_r): Remove b64_from_24bit and replace
10070         with __b64_from_24bit.
10071         * crypt/sha512-crypt.c: Likewise.
10073 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10075         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10076         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10077         Label the code __libc_vfork rather than __vfork.
10078         [!NOT_IN_libc] (vfork): Define as weak alias.
10079         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10080         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10081         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10083 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10085         * malloc/malloc.c (malloc_info): Fix format specifier for
10086         n_mmaps.
10088 2014-06-02  Wilco  <wdijkstr@arm.com>
10090         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10091         FPCR write.
10093 2014-06-02  Wilco  <wdijkstr@arm.com>
10095         [BZ #17009]
10096         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10097         Rewrite to reduce FPCR/FPSR accesses.
10099 2014-06-01  David S. Miller  <davem@davemloft.net>
10101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10103 2014-05-31  David S. Miller  <davem@davemloft.net>
10105         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10106         to occur in round to nearest mode when |x| >= 2.0
10108 2014-05-30  Richard Henderson  <rth@twiddle.net>
10110         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10111         (PSEUDO_RET_NOERRNO): Remove.
10112         (ret): Don't redefine.
10113         (ret_NOERRNO): Define in terms of ret.
10114         (ret_ERRVAL): Likewise.
10116         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10117         use of PSEUDO_RET; perform the error check directly.
10119 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10121         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10122         with __int128_t.
10124 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10126         * malloc/malloc (malloc_info): Fix formatting.
10128 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10129             Roland McGrath  <roland@hack.frob.com>
10131         * malloc/malloc (malloc_info): Also print mmapped statistics.
10133 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10135         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10136         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10138 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10140         * malloc/malloc.c (malloc_info): Inline mi_arena.
10142 2014-05-29  Richard Henderson  <rth@twiddle.net>
10144         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10145         Remove comma before expanding ASM_ARGS_##nr.
10146         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10147         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10148         of ASM_ARGS_##nr.
10149         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10150         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10151         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10152         (ASM_ARGS_1): Add leading comma.
10154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10155         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10156         to __errno_location.
10157         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10158         Remove the expected plt for __errno_location.
10160         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10161         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10162         call to __read_tp.
10164         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10165         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10166         it and break it down.
10167         (DOCARGS_0, DOCARGS_1): Do nothing.
10168         (DOCARGS_2): Update to store into the new stack frame.
10169         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10170         (UNDOCARGS_1): Update to restore from the new stack frame.
10171         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10172         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10175         (SINGLE_THREAD_P): New parameter for result regno.
10176         (PSEUDO): Update to match; use cbz instead of beq.
10178         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10179         Use ENTRY to define the _nocancel entry point.  Share the syscall
10180         and syscall error check paths with the cancel path.
10181         (PSEUDO_END): New.
10183         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10184         whitespace; tabs before and after asm mnemonics.
10186 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10188         [BZ #15132]
10189         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10190         Call fstat64 or stat64 internally, depending on arguments passed.
10191         Replace stat buffer argument with file descriptor argument.
10192         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10193         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10194         Pass fd to __internal_statvfs instead of calling fstat64.
10195         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10196         Pass fd to __internal_statvfs64 instead of calling fstat64.
10197         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10198         Pass -1 to __internal_statvfs instead of calling stat64.
10199         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10200         Pass -1 to __internal_statvfs64 instead of calling stat64.
10202 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10204         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10205         that was previously under [RESET_PID].
10206         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10208         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10209         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10211 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10213         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10215         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10216         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10218 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10220         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10222 2014-05-27  Andreas Schwab  <schwab@suse.de>
10224         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10225         TLS_INIT_TP macro.
10226         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10227         * elf/rtld.c (init_tls, dl_main): Likewise.
10228         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10229         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10230         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10231         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10232         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10233         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10234         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10235         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10236         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10237         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10238         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10239         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10240         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10241         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10242         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10243         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10244         * sysdeps/generic/tls.h: Update description.
10246 2014-05-27  Will Newton  <will.newton@linaro.org>
10248         [BZ #16990]
10249         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10250         and restore r2 rather than just restoring.
10252 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10254         [BZ #16724]
10255         * libio/tst-ftell-append.c: New test case.
10256         * libio/Makefile (tests): Add test case.
10257         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10258         append mode.
10259         * libio/wfileops.c (do_ftell_wide): Likewise.
10261 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10265         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10266         ...
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10269         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10270         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10271         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10272         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10273         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10274         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10276         Moved ...
10277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10279         Moved ...
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10281         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10282         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10283         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10284         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10285         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10286         ...
10287         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10288         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10289         Moved ...
10290         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10291         here.
10292         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10293         ...
10294         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10295         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10296         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10298         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10299         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10300         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10301         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10303         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10304         merge into ...
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10307         ...
10308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10310         ...
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10313         Moved ...
10314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10315         here.
10316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10317         Moved ...
10318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10320         Moved ...
10321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10324         conditional [RESET_PID].
10325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10327         removed.
10328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10329         removed.
10331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10332         <tcb-offsets.h>.
10333         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10334         (__libc_vfork): New strong alias.
10335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10336         removed.
10337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10338         Removed.
10340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10341         <tcb-offsets.h>.
10342         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10343         (__libc_vfork): New strong alias.
10344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10345         removed.
10346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10347         removed.
10349 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10351         * malloc/malloc.c (mi_arena): New function.
10352         (malloc_info): Remove nested function mi_arena. Call non-nosted
10353         function mi_arena.
10355 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10357         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10358         by insrwi.
10359         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10360         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10361         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10362         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10363         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10364         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10365         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10367 2014-05-26  Andreas Schwab  <schwab@suse.de>
10369         [BZ #16984]
10370         * locale/programs/repertoire.c (repertoire_read): Add slash
10371         between I18NPATH element and file name.
10372         * locale/programs/locfile.c (locfile_read): Likewise.
10374 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10376         * nptl/pthread_mutexattr_settype.c
10377         (__pthread_mutexattr_settype):
10378         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10380 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10382         * nptl/tst-mutex5 (do_test):
10383         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10385 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10387         * benchtests/README: Document 'init' directive.
10388         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10389         BENCH_INIT.
10390         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10391         (parse_file): Recognize 'init' directive.
10393 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10395         [BZ #16796]
10396         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10397         alignment of struct pthread.
10399 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10401         [BZ #16878]
10402         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10403         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10404         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10405         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10407 2014-05-25  Richard Henderson  <rth@twiddle.net>
10409         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10410         (SINGLE_THREAD_P_PIC): Remove.
10411         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10412         (SINGLE_THREAD_P_PIC): Remove.
10414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10415         branch to syscall error ...
10416         (PSEUDO): ... here.
10417         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10418         from __local_syscall_error to .Lsyscall_error.
10419         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10420         (SYSCALL_ERROR): Update label name.
10422         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10423         Do not use DOARGS/UNDOARGS.
10424         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10425         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10426         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10427         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10428         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10431         block comment.
10433         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10434         define if !NOT_IN_libc.
10435         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10436         define with non-default symbol versions.
10438 2014-05-23  Richard Henderson  <rth@twiddle.net>
10440         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10441         (vfork, __vfork): Define via compat_symbol.
10443         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10444         [!HAVE_IFUNC] (vfork_compat): Remove.
10445         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10447 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10449         [BZ #16978]
10450         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10451         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10452         variable.
10454 2014-05-23  Richard Henderson  <rth@twiddle.net>
10456         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10457         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10458         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10459         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10461         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10462         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10463         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10464         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10465         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10466         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10467         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10468         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10469         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10470         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10471         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10472         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10473         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10474         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10475         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10476         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10477         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10478         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10479         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10480         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10481         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10482         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10483         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10484         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10485         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10486         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10487         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10488         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10489         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10490         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10491         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10492         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10493         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10494         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10495         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10496         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10497         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10498         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10499         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10500         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10501         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10502         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10503         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10504         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10505         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10506         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10507         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10508         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10509         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10510         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10511         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10512         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10513         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10514         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10515         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10516         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10518         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10519         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10520         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10521         before exiting on error.
10522         (__libc_vfork): New strong alias.
10523         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10524         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10526         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10527         that was previously under [RESET_PID].
10528         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10530         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10532 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10534         [BZ #16977]
10535         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10536         value when x - 1 is zero.
10537         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10538         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10539         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10540         0.0L for an argument of 1.0L.
10541         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10542         Likewise.
10543         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10544         value when x - 1 is zero.
10545         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10546         * sysdeps/i386/fpu/libm-test-ulps: Update.
10547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10549 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10551         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10552         alphasort and versionsort.
10554 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10556         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10557         macro.
10558         [copysignf]: Likewise.
10560 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10562         * crypt/md5-crypt.c: Fix formatting.
10564 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10566         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10567         (b64_from_24bit): New function.
10569 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10571         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10572         libc_hidden_builtin_def to ifunc.
10573         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10574         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10576 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10578         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10579         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10581 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10583         * nscd/Depend (linuxthreads): Remove.
10584         (nptl): Add.
10585         * resolv/Depend (linuxthreads): Remove.
10586         * rt/Depend (linuxthreads): Remove.
10588         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10589         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10590         $(common-objpfx)elf/.
10591         (link-libc-before-gnulib): Likewise.
10592         (elfobjdir): Remove variable.
10593         * Makefile (install): Use $(elf-objpfx) instead of
10594         $(common-objpfx)elf/.
10595         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10596         $(elfobjdir)/.
10597         (link-libc-deps): Likewise.
10598         ($(common-objpfx)libc.so): Likewise.
10599         ($(common-objpfx)linkobj/libc.so): Likewise.
10600         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10601         instead of $(common-objpfx)elf/.
10602         (symbolic-link-list): Likewise.
10603         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10604         [$(cross-compiling) = no]: Likewise.
10605         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10606         $(elfobjdir)/.
10607         (static-gnulib-arch): Likewise.
10608         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10609         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10610         $(common-objpfx)elf/.
10612 2014-05-21  Richard Henderson  <rth@redhat.com>
10614         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10615         (SINGLE_THREAD_P): Use the correct width load.  Fold
10616         into the ldr offset.
10618         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10619         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10621 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10623         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10624         (libgcc_s_resume): Use __attribute_used__.
10625         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10626         Likewise.
10628 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10630         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10631         optimization when used with float constants.
10633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10635 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10637         [BZ #16915]
10638         * locale/nl_langinfo_l.c: Make direct reference to every
10639         _nl_current_CATEGORY symbol.
10640         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10641         (tests-static): Add tst-langinfo-static.
10642         (tests-special): Add tst-langinfo-static.out.
10643         ($(objpfx)tst-langinfo.out): Redirect output.
10644         ($(objpfx)tst-langinfo-static.out): New.
10645         * localedata/tst-langinfo.sh: Send output to stdout.
10646         * localedata/tst-langinfo-static.c: New file.
10648         [BZ #16965]
10649         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10650         when the shift amount is modulo the limb size.
10652 2014-05-20  Richard Henderson  <rth@redhat.com>
10654         [BZ #16967]
10655         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10656         Change type of sa_flags from unsigned int to int.
10658         [BZ #16966]
10659         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10661         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10663 2014-05-20  Will Newton  <will.newton@linaro.org>
10665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10666         Test the return value of the system call in the nocancel case.
10668 2014-05-20  Will Newton  <will.newton@linaro.org>
10669             Yvan Roux  <yvan.roux@linaro.org>
10671         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10672         #include of asm/ptrace.h.
10673         (PTRACE_GET_THREAD_AREA): Remove #undef.
10674         (PTRACE_GETHBPREGS): Likewise.
10675         (PTRACE_SETHBPREGS): Likewise.
10676         (struct user_regs_struct): New structure.
10677         (struct user_fpsimd_struct): New structure.
10678         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10679         #include of asm/ptrace.h and second #include of sys/user.h.
10680         (PTRACE_GET_THREAD_AREA): Remove #undef.
10681         (PTRACE_GETHBPREGS): Likewise.
10682         (PTRACE_SETHBPREGS): Likewise.
10683         (ELF_NGREG): Use new struct user_regs_struct.
10684         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10686 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10688         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10689         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10691 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10693         [BZ #16958]
10694         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10695         membar to avoid block loads/stores to overlap previous stores.
10697 2014-05-17  Richard Henderson  <rth@redhat.com>
10699         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10700         Create the __##syscall_name##_nocancel entry point.
10701         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10702         Remove; let the sysdep-cancel.h code create it.
10704 2014-05-17  David S. Miller  <davem@davemloft.net>
10706         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10707         Protect with __USE_GNU.
10708         (TIOCSET_TEMPT): Likewise.
10709         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10710         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10711         these are already provided in bits/ioctl-types.h
10713 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10715         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10716         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10718         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10719         Use wait4 regardless of [__NR_waitpid].
10721 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10723         PR libgcc/60166
10724         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10725         (_FP_NANSIGN_Q): Set the quiet bit.
10727 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10729         * benchtests/Makefile
10730         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10731         not $(common-objpfx)math/libm.so.
10732         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10733         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10734         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10735         $(common-objpfx)dlfcn/libdl.so.
10736         ($(objpfx)tst-audit8): Depend on $(libm), not
10737         $(common-objpfx)math/libm.so.
10738         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10739         not $(common-objpfx)dlfcn/libdl.so.
10740         * math/Makefile
10741         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10742         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10743         [$(build-shared) = yes].
10744         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10745         $(common-objpfx)nptl/libpthread.so.
10746         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10747         $(common-objpfx)math/libm.so$(libm.so-version) or
10748         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10749         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10750         $(common-objpfx)dlfcn/libdl.so.
10751         * setjmp/Makefile (link-libm): Remove variable.
10752         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10753         * stdio-common/Makefile (link-libm): Remove variable.
10754         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10755         * stdlib/Makefile (link-libm): Remove variable.
10756         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10757         ($(objpfx)tst-strtod-round): Likewise.
10758         ($(objpfx)tst-tininess): Likewise.
10759         ($(objpfx)tst-strtod-underflow): Likewise.
10760         ($(objpfx)tst-strtod6): Likewise.
10761         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10762         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10763         $(common-objpfx)dlfcn/libdl.so.
10765 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10767         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10768         BSD terminal modes definitions.
10770 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10772         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10773         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10775         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10776         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10777         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10778         Don't do #include_next.
10779         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10780         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10781         Don't do #include_next.
10782         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10783         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10784         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10785         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10787 2014-05-16  Allan McRae  <allan@archlinux.org>
10789         * po/sv.po: Update Swedish translation from translation project.
10791         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10792         in sed expression.
10794 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10796         [BZ #16917]
10797         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10798         errno if the TIOCGPTN ioctl fails with an error different than
10799         EINVAL.
10800         * login/tst-ptsname.c: New file.
10801         * login/Makefile (tests): Add tst-ptsname.
10803         [BZ #16943]
10804         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10805         and prlimit64.
10807 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10809         [BZ #16849]
10810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10811         herrno to return EAI_AGAIN.
10813 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10815         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10816         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10817         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10818         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10819         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10820         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10821         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10822         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10823         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10824         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10825         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10826         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10827         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10828         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10829         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10830         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10831         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10832         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10833         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10834         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10835         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10836         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10837         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10838         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10839         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10840         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10841         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10842         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10843         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10844         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10846         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10848         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10850         Moved ...
10851         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10853         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10855         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10857         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10859         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10861         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10863         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10865         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10867         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10869         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10871         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10873         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10875         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10877         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10879         Moved ...
10880         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10882         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10884         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10886         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10888         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10890         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10892         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10894         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10896         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10898         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10900         Moved ...
10901         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10903         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10905         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10906         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10907         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10908         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10909         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10910         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10911         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10912         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10913         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10914         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10915         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10916         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10917         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10918         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10919         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10920         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10921         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10922         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10923         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10924         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10925         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10926         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10927         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10928         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10929         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10930         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10931         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10932         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10933         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10934         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10935         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10937         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10938         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10940         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10941         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10942         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10943         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10944         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10945         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10946         Moved ...
10947         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10948         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10951         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10952         Moved ...
10953         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10954         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10955         Moved ...
10956         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10957         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10958         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10960         Moved ...
10961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10962         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10963         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10965         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10966         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10967         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10968         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10969         Moved ...
10970         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10972         Moved ...
10973         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10974         ... here.
10975         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10976         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10977         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10978         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10979         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10980         Moved ...
10981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10982         ... here.
10983         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10984         Moved ...
10985         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10986         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10987         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10988         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10989         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10990         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10991         Moved ...
10992         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10993         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10994         Moved ...
10995         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10996         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10997         Moved ...
10998         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10999         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11000         Moved ...
11001         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11002         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11003         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11005         Moved ...
11006         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11007         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11008         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11010         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11011         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11012         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11013         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11014         Moved ...
11015         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11017         Moved ...
11018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11019         ... here.
11020         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11021         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11022         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11023         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11024         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11025         Moved ...
11026         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11027         ... here.
11028         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11029         Moved ...
11030         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11031         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11032         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11033         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11034         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11035         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11037         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11038         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11039         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11040         Moved ...
11041         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11042         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11043         Moved ...
11044         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11046         Moved ...
11047         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11049         Moved ...
11050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11051         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11052         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11053         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11054         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11055         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11056         Moved ...
11057         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11058         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11059         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11060         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11061         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11062         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11063         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11064         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11065         Moved ...
11066         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11067         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11068         Moved ...
11069         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11070         ... here.
11071         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11072         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11073         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11074         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11075         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11076         Moved ...
11077         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11078         ... here.
11079         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11080         Moved ...
11081         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11082         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11083         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11084         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11085         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11086         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11087         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11088         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11089         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11090         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11091         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11093         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11094         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11096         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11097         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11099         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11100         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11101         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11102         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11103         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11104         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11105         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11106         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11107         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11108         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11109         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11110         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11112         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11113         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11115         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11117         Moved ...
11118         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11120         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11122         Moved ...
11123         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11125         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11127         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11129         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11130         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11131         Moved ...
11132         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11134         Moved ...
11135         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11137         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11139         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11140         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11141         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11142         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11143         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11144         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11145         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11146         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11147         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11148         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11149         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11150         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11151         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11153         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11154         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11155         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11156         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11157         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11159         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11160         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11161         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11162         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11163         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11164         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11165         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11166         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11167         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11168         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11170         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11171         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11173         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11174         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11175         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11176         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11177         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11178         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11179         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11180         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11181         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11182         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11183         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11184         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11185         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11186         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11188         Update #include.
11189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11190         Likewise.
11191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11192         Likewise.
11193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11194         Likewise.
11195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11196         Likewise.
11197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11198         Likewise.
11199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11200         Likewise.
11201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11202         Likewise.
11203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11204         Likewise.
11205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11206         Likewise.
11207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11209         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11211         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11212         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11213         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11214         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11215         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11217         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11218         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11219         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11220         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11221         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11223         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11224         that was previously under [RESET_PID].
11225         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11226         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11227         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11229         * sysdeps/i386/nptl/Implies: New file.
11230         * sysdeps/x86_64/nptl/Implies: New file.
11231         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11232         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11233         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11234         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11236         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11237         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11238         (__libc_vfork): New strong alias.
11239         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11240         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11242         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11243         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11244         (__libc_vfork): New strong alias.
11245         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11246         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11248         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11249         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11250         (__libc_vfork): New strong alias.
11251         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11252         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11253         * nptl/pt-vfork.c: New file.
11254         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11255         (libpthread: GLIBC_2.20): New version set (empty).
11257 2014-05-14  Will Newton  <will.newton@linaro.org>
11259         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11260         rather than #if.
11262 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11264         [BZ #16564]
11265         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11266         arguments with exponent 65 or above.
11267         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11268         arguments 0x1p113L or above.
11269         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11270         to arguments 0x1p107L or above.
11271         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11272         positive arguments with exponent 65 or above.
11273         * math/auto-libm-test-in: Add more tests of log1p.
11274         * math/auto-libm-test-out: Regenerated.
11276         [BZ #16928]
11277         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11278         non-finite arguments is +0.
11279         * math/s_cacosf.c (__cacosf): Likewise.
11280         * math/s_cacosl.c (__cacosl): Likewise.
11281         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11282         * sysdeps/i386/fpu/libm-test-ulps: Update.
11283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11285         [BZ #16927]
11286         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11287         value.
11288         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11289         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11290         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11291         for explicit high bit of mantissa when testing for argument equal
11292         to 1.
11293         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11294         * sysdeps/i386/fpu/libm-test-ulps: Update.
11295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11297         [BZ #16516]
11298         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11299         (__erf): Scale by 16 instead of 8 in potentially underflowing
11300         case.  Ensure exception if result actually underflows.
11301         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11302         (__erff): Scale by 16 instead of 8 in potentially underflowing
11303         case.  Ensure exception if result actually underflows.
11304         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11305         (efx8): Remove variable.
11306         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11307         case.  Ensure exception if result actually underflows.
11308         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11309         (efx8): Remove variable.
11310         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11311         case.  Ensure exception if result actually underflows.
11312         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11313         (efx8): Remove variable.
11314         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11315         case.  Ensure exception if result actually underflows.
11316         * math/auto-libm-test-in: Add more tests of erf.
11317         * math/auto-libm-test-out: Regenerated.
11319 2014-05-14  Andreas Schwab  <schwab@suse.de>
11321         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11322         Remove code conditionalized on USE___THREAD.
11324         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11325         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11326         not definedness.
11328 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11330         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11331         Define unconditionally.
11332         (__ASSUME_O_CLOEXEC): Likewise.
11333         (__ASSUME_SOCK_CLOEXEC): Likewise.
11334         (__ASSUME_IN_NONBLOCK): Likewise.
11335         (__ASSUME_PIPE2): Likewise.
11336         (__ASSUME_EVENTFD2): Likewise.
11337         (__ASSUME_SIGNALFD4): Likewise.
11338         (__ASSUME_DUP3): Likewise.
11339         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11340         (__ASSUME_DUP3): Do not define.
11341         (__ASSUME_EVENTFD2): Likewise.
11342         (__ASSUME_IN_NONBLOCK): Likewise.
11343         (__ASSUME_O_CLOEXEC): Likewise.
11344         (__ASSUME_PIPE2): Likewise.
11345         (__ASSUME_SIGNALFD4): Likewise.
11346         (__ASSUME_SOCK_CLOEXEC): Likewise.
11347         (__ASSUME_UTIMES): Undefine.
11348         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11349         (__ASSUME_UTIMES): Do not define.
11350         (__ASSUME_O_CLOEXEC): Likewise.
11351         (__ASSUME_SOCK_CLOEXEC): Likewise.
11352         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11353         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11354         0x020621].
11355         (__ASSUME_PIPE2): Likewise.
11356         (__ASSUME_EVENTFD2): Likewise.
11357         (__ASSUME_SIGNALFD4): Likewise.
11358         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11359         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11360         Do not define.
11361         (__ASSUME_EVENTFD2): Likewise.
11362         (__ASSUME_SIGNALFD4): Likewise.
11363         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11364         (__ASSUME_32BITUIDS): Likewise.
11365         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11366         (__ASSUME_IPC64): Likewise.
11367         (__ASSUME_ST_INO_64_BIT): Likewise.
11368         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11369         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11370         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11371         (__ASSUME_UTIMES): Do not define.
11372         (__ASSUME_PSELECT): Likewise.
11373         (__ASSUME_PPOLL): Likewise.
11374         (__ASSUME_O_CLOEXEC): Likewise.
11375         (__ASSUME_SOCK_CLOEXEC): Likewise.
11376         (__ASSUME_IN_NONBLOCK): Likewise.
11377         (__ASSUME_PIPE2): Likewise.
11378         (__ASSUME_EVENTFD2): Likewise.
11379         (__ASSUME_SIGNALFD4): Likewise.
11380         (__ASSUME_DUP3): Likewise.
11381         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11382         (__ASSUME_UTIMES): Likewise.
11383         (__ASSUME_O_CLOEXEC): Likewise.
11384         (__ASSUME_SOCK_CLOEXEC): Likewise.
11385         (__ASSUME_IN_NONBLOCK): Likewise.
11386         (__ASSUME_PIPE2): Likewise.
11387         (__ASSUME_EVENTFD2): Likewise.
11388         (__ASSUME_SIGNALFD4): Likewise.
11389         (__ASSUME_DUP3): Likewise.
11390         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11391         (__ASSUME_UTIMES): Likewise.
11392         (__ASSUME_O_CLOEXEC): Likewise.
11393         (__ASSUME_SOCK_CLOEXEC): Likewise.
11394         (__ASSUME_IN_NONBLOCK): Likewise.
11395         (__ASSUME_PIPE2): Likewise.
11396         (__ASSUME_EVENTFD2): Likewise.
11397         (__ASSUME_SIGNALFD4): Likewise.
11398         (__ASSUME_DUP3): Likewise.
11399         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11400         Likewise.
11401         (__ASSUME_UTIMES): Likewise.
11402         (__ASSUME_EVENTFD2): Likewise.
11403         (__ASSUME_SIGNALFD4): Likewise.
11404         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11405         (__ASSUME_O_CLOEXEC): Likewise.
11406         (__ASSUME_SOCK_CLOEXEC): Likewise.
11407         (__ASSUME_IN_NONBLOCK): Likewise.
11408         (__ASSUME_PIPE2): Likewise.
11409         (__ASSUME_EVENTFD2): Likewise.
11410         (__ASSUME_SIGNALFD4): Likewise.
11411         (__ASSUME_DUP3): Likewise.
11412         (__ASSUME_UTIMES): Undefine.
11414         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11415         feclearexcept.  Remove symbol versioning code.
11416         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11417         symbol versioning code.
11418         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11419         symbol versioning code.
11420         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11421         feupdateenv.  Remove symbol versioning code.
11422         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11423         fegetexceptflag.  Remove symbol versioning code.
11424         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11425         fesetexceptflag.  Remove symbol versioning code.
11426         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11427         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11428         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11429         (__posix_fadvise64_l32): Remove prototype.
11430         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11431         code.
11433 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11435         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11436         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11437         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11438         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11440 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11442         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11443         current working directory
11445 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11447         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11448         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11449         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11450         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11451         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11452         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11453         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11454         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11455         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11456         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11457         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11458         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11459         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11460         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11461         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11462         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11463         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11464         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11465         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11466         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11467         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11468         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11469         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11470         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11471         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11472         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11473         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11474         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11475         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11476         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11477         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11478         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11479         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11480         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11481         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11482         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11483         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11484         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11485         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11486         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11487         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11488         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11490         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11491         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11493         * sysdeps/unix/sysv/linux/arm/Makefile
11494         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11495         Add rt-aeabi_unwind_cpp_pr1.
11496         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11497         Add nptl-aeabi_unwind_cpp_pr1.
11498         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11499         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11500         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11501         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11502         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11503         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11505         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11506         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11507         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11508         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11510         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11511         Deconditionalize the code that was previously under [RESET_PID].
11512         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11514         * sysdeps/generic/exit-thread.h: New file.
11515         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11516         * include/unistd.h (__exit_thread): Remove declaration.
11517         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11518         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11519         * csu/libc-start.c: Include <exit-thread.h>.
11520         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11521         * nptl/pthread_create.c: Include <exit-thread.h>.
11522         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11523         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11524         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11525         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11526         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11527         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11528         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11529         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11530         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11531         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11532         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11533         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11534         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11535         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11536         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11537         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11538         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11540 2014-05-13  Andreas Schwab  <schwab@suse.de>
11542         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11544 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11546         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11547         (__ASSUME_UTIMES): Do not condition on kernel version.
11548         (__ASSUME_PSELECT): Define unconditionally.
11549         (__ASSUME_PPOLL): Likewise.
11550         (__ASSUME_ATFCTS): Likewise.
11551         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11552         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11553         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11554         (__ASSUME_UTIMENSAT): Define unconditionally.
11555         (__ASSUME_PRIVATE_FUTEX): Likewise.
11556         (__ASSUME_FALLOCATE): Likewise.
11557         (__ASSUME_O_CLOEXEC): Likewise.
11558         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11559         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11560         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11561         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11562         (__ASSUME_IN_NONBLOCK): Likewise.
11563         (__ASSUME_PIPE2): Likewise.
11564         (__ASSUME_EVENTFD2): Likewise.
11565         (__ASSUME_SIGNALFD4): Likewise.
11566         (__ASSUME_DUP3): Likewise.
11567         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11568         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11569         (__ASSUME_AT_RANDOM): Likewise.
11570         (__ASSUME_PREADV): Likewise.
11571         (__ASSUME_PWRITEV): Likewise.
11572         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11573         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11574         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11575         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11576         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11577         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11578         (__ASSUME_O_CLOEXEC): Define unconditionally.
11579         (__ASSUME_PSELECT): Do not undefine conditionally.
11580         (__ASSUME_PPOLL): Likewise.
11581         (__ASSUME_ATFCTS): Likewise.
11582         (__ASSUME_SET_ROBUST_LIST): Likewise.
11583         (__ASSUME_UTIMENSAT): Likewise.
11584         (__ASSUME_FDATASYNC): Define unconditionally.
11585         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11586         (__ASSUME_SIGFRAME_V2): Likewise.
11587         )__ASSUME_EVENTFD2): Likewise.
11588         (__ASSUME_SIGNALFD4): Likewise.
11589         (__ASSUME_PSELECT): Do not undefine conditionally.
11590         (__ASSUME_PPOLL): Likewise.
11591         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11592         (__ASSUME_PSELECT): Define unconditionally.
11593         (__ASSUME_PPOLL): Likewise.
11594         (__ASSUME_O_CLOEXEC): Likewise.
11595         (__ASSUME_SOCK_CLOEXEC): Likewise.
11596         (__ASSUME_IN_NONBLOCK): Likewise.
11597         (__ASSUME_PIPE2): Likewise.
11598         (__ASSUME_EVENTFD2): Likewise.
11599         (__ASSUME_SIGNALFD4): Likewise.
11600         (__ASSUME_DUP3): Likewise.
11601         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11602         (__ASSUME_O_CLOEXEC): Likewise.
11603         (__ASSUME_SOCK_CLOEXEC): Likewise.
11604         (__ASSUME_IN_NONBLOCK): Likewise.
11605         (__ASSUME_PIPE2): Likewise.
11606         (__ASSUME_EVENTFD2): Likewise.
11607         (__ASSUME_SIGNALFD4): Likewise.
11608         (__ASSUME_DUP3): Likewise.
11609         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11610         (__ASSUME_EVENTFD2): Likewise.
11611         (__ASSUME_SIGNALFD4): Likewise.
11612         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11614 2014-05-12  Andreas Schwab  <schwab@suse.de>
11616         [BZ #16932]
11617         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11618         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11619         than maximum RPC packet size.
11620         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11621         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11622         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11623         (_nss_nis_getservbyport_r): Likewise.
11625 2014-05-12  Will Newton  <will.newton@linaro.org>
11627         * malloc/Makefile (tests): Add tst-mallopt.
11628         * malloc/tst-mallopt.c: New file.
11630 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11632         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11633         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11635 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11637         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11638         (tst-tlsmod6.so): Likewise.
11640 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11642         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11644 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11646         [BZ #16064]
11647         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11648         and <dl-procinfo.h>.
11649         (__fegetenv): Save SSE state in envp->__eip if supported.
11650         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11651         envp->__eip if supported.
11652         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11653         and <dl-procinfo.h>.
11654         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11655         __data_offset and __data_selector in environment to 0.  Set SSE
11656         state if supported.
11657         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11658         test-fenv-sse.
11659         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11660         -mfpmath=sse.
11661         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11663 2014-05-09  Will Newton  <will.newton@linaro.org>
11665         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11666         and libc_relro_required for ARM.
11667         * sysdeps/arm/preconfigure: Regenerate.
11669 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11670             Stefan Liebler  <stli@linux.vnet.ibm.com>
11672         * config.make.in (enable-lock-elision): New Makefile variable.
11673         * configure.ac: Likewise.
11674         * configure: Regenerate.
11675         * sysdeps/s390/configure.ac:
11676         Add check for gcc transactions support.
11677         * sysdeps/s390/configure: Regenerate.
11678         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11679         Build elision files if enabled.
11680         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11681         Add lock elision support for s390.
11682         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11683         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11684         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11685         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11686         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11687         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11689         Likewise.
11690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11691         Likewise.
11692         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11693         Likewise.
11694         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11695         Likewise.
11696         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11697         (__lll_timedlock_elision, __lll_lock_elision)
11698         (__lll_unlock_elision, __lll_trylock_elision)
11699         (lll_timedlock_elision, lll_lock_elision)
11700         (lll_unlock_elision, lll_trylock_elision): Add.
11701         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11702         (pthread_mutex_t): Add lock elision support for s390.
11704 2014-05-14  Wilco  <wdijkstr@arm.com>
11706         * sysdeps/arm/fclrexcpt.c: Cleanup.
11707         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11708         * sysdeps/arm/feenablxcpt.c: Cleanup.
11709         * sysdeps/arm/fegetenv.c: Cleanup.
11710         * sysdeps/arm/fegetexcept.c: Cleanup.
11711         * sysdeps/arm/fegetround.c: Cleanup.
11712         * sysdeps/arm/feholdexcpt.c: Cleanup.
11713         * sysdeps/arm/fesetenv.c: Cleanup.
11714         * sysdeps/arm/fesetround.c: Cleanup.
11715         * sysdeps/arm/feupdateenv.c: Cleanup.
11716         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11717         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11718         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11719         * sysdeps/arm/ftestexcept.c: Cleanup.
11720         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11721         * sysdeps/arm/setfpucw.c: Cleanup.
11723 2014-05-09  Will Newton  <will.newton@linaro.org>
11725         * sysdeps/arm/armv7/strcmp.S: New file.
11726         * NEWS: Mention addition of ARMv7 optimized strcmp.
11728 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11730         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11731         look for %.ac rather than %.in.
11733         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11734         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11735         * sysdeps/mach/hurd/configure: Regenerated.
11736         * sysdeps/unix/sysv/linux/configure: Regenerated.
11738         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11740 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11742         [BZ# 16922]
11743         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11744         (LONG_SUB): Ditto.
11745         (PTR_SUB): Ditto.
11747 2014-05-07  Andreas Schwab  <schwab@suse.de>
11749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11750         when skipping over non-matching result from nscd.
11752 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11754         [BZ #16876]
11755         * nptl/sockperf.c (client): Check socket return value.
11757         [BZ #16877]
11758         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11759         nscd security class.
11761 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11763         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11764         * sysdeps/arm/unwind.h: ... here.
11766 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11768         [BZ# 16916]
11769         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11770         Define.
11772 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11774         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11775         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11776         multiarch strncpy for PPC64.
11777         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11778         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11780         multiarch optimizations.
11781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11782         (__libc_ifunc_impl_list): Likewise.
11783         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11784         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11785         multiarch stpncpy for PPC64.
11786         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11787         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11789 2014-05-06  Andreas Schwab  <schwab@suse.de>
11791         [BZ #16912]
11792         * gmon/mcount.c (_MCOUNT_DECL): Use
11793         atomic_compare_and_exchange_bool_acq instead of
11794         catomic_compare_and_exchange_bool_acq.
11796 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11798         * elf/Makefile (others, install-bin): Remove pldd.
11799         (pldd-modules): Variable removed.
11800         ($(objpfx)pldd): Target removed.
11801         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11802         (others, install-bin): Append pldd here.
11803         ($(objpfx)pldd): New target.
11805         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11806         to 0, so the first #if test emitted later doesn't see it undefined.
11807         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11808         * sysdeps/gnu/errlist.c: Regenerated.
11810 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11812         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11813         [libc_hidden_builtin_def]: Define to empty value.
11814         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11815         [libc_hidden_builtin_def]: Likewise.
11816         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11817         [libc_hidden_builtin_def]: Likewise.
11818         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11819         [libc_hidden_builtin_def]: Likewise.
11820         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11821         __redirect_memcpy and define ifunc as default hidden symbol.
11822         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11823         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11825 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11827         * locale/iso-4217.def: Reintroduce XDR currency.
11829 2014-05-04  Allan McRae  <allan@archlinux.org>
11831         * po/eo.po: Update Esperanto translation from translation project.
11833 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11835         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11836         and FEATURE_INDEX_MAX to 1.
11837         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11839 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11841         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11842         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11843         * iconvdata/big5.c (ONE_DIRECTION): Define.
11844         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11845         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11846         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11847         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11848         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11849         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11850         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11851         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11852         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11853         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11854         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11855         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11856         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11857         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11858         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11859         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11860         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11861         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11862         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11863         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11864         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11865         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11866         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11867         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11868         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11869         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11870         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11871         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11872         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11873         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11874         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11875         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11876         * iconvdata/johab.c (ONE_DIRECTION): Define.
11877         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11878         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11879         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11880         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11881         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11882         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11883         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11884         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11885         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11886         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11888 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11890         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11891         (_IO_JUMPS_OFFSET): Define to 0.
11893         * nptl/sysdeps/pthread/bits/libc-lock.h
11894         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11895         (__libc_lock_define_initialized_recursive): Always define using
11896         initializer.  Modern compilers treat uninitialized (implicit zero) and
11897         explicit zero initializers the same (i.e. put the datum in bss).
11899 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11901         * nscd/nscd-client.h: Include <string.h>.
11903 2014-05-01  David S. Miller  <davem@davemloft.net>
11905         [BZ #16885]
11906         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11907         multiple zero bytes exist at the end of a string.
11908         Reported by Aurelien Jarno <aurelien@aurel32.net>
11910         * string/test-strcmp.c (check): Add explicit test for situations where
11911         there are multiple zero bytes after the first.
11913 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11915         [BZ #16890]
11916         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11917         when compiling wprintf.
11918         * stdio-common/tstdiomisc.c (t3): New function.
11919         (main): Call it.
11921 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11923         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11924         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11925         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11926         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11928 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11930         * stdlib/longlong.h: Updated from GCC.
11932 2014-05-01  Will Newton  <will.newton@linaro.org>
11933             Bernard Ogden  <bernie.ogden@linaro.org>
11935         * NEWS: Update fixed bug list.
11937         [BZ #15119]
11938         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11940 2014-04-30  David S. Miller  <davem@davemloft.net>
11942         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11943         (libc_feholdexcept_setround_sparc_ctx): New function.
11944         (libc_fesetenv_sparc_ctx): Likewise.
11945         (libc_feupdateenv_sparc_ctx): Likewise.
11946         (libc_feholdsetround_sparc_ctx): Likewise.
11947         (libc_feholdexcept_setround_ctx): Define.
11948         (libc_feholdexcept_setroundf_ctx): Likewise.
11949         (libc_feholdexcept_setroundl_ctx): Likewise.
11950         (libc_fesetenv_ctx): Likewise.
11951         (libc_fesetenvf_ctx): Likewise.
11952         (libc_fesetenvl_ctx): Likewise.
11953         (libc_feupdateenv_ctx): Likewise.
11954         (libc_feupdateenvf_ctx): Likewise.
11955         (libc_feupdateenvl_ctx): Likewise.
11956         (libc_feresetround_ctx): Likewise.
11957         (libc_feresetroundf_ctx): Likewise.
11958         (libc_feresetroundl_ctx): Likewise.
11959         (libc_feholdsetround_ctx): Likewise.
11960         (libc_feholdsetroundf_ctx): Likewise.
11961         (libc_feholdsetroundl_ctx): Likewise.
11963         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11964         with __USE_GNU instead of XOPEN cpp guards.
11966         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11967         0.
11969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11970         with XOPEN cpp guards.
11972 2014-04-30  Julian Brown  <julian@codesourcery.com>
11974         [BZ #16888]
11975         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11976         handling.
11978 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11980         [BZ #9894]
11981         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11982         Change to 2.6.32.
11983         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11984         * sysdeps/unix/sysv/linux/configure: Regenerated.
11985         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11986         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11987         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11988         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11989         * README: Update reference to required Linux kernel version.
11990         * manual/install.texi (Linux): Update reference to required Linux
11991         kernel headers version.
11992         * INSTALL: Regenerated.
11994         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11995         header inclusion.
11996         [POSIX] (limits.h): Likewise.
11997         [POSIX] (math.h): Likewise.
11998         [POSIX] (sys/wait.h): Likewise.
11999         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12000         function.
12001         [POSIX] (stddef.h): Do not allow header inclusion.
12003 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12005         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12007 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12009         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12010         Return immediately after lll_futex_wake.
12012 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12014         [BZ #16791]
12015         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12016         structure.
12017         (datahead_init_pos): Call datahead_init_common early.
12018         (datahead_init_neg): Likewise.
12020         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12021         datahead_init_neg): New functions.
12022         * nscd/aicache.c (addhstaiX): Use them.
12023         * nscd/grpcache.c (cache_addgr): Likewise.
12024         * nscd/hstcache.c (cache_addhst): Likewise.
12025         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12026         * nscd/netgroupcache.c (do_notfound): Likewise.
12027         (addgetnetgrentX): Likewise.
12028         (addinnetgrX): Likewise.
12029         * nscd/pwdcache.c (cache_addpw): Likewise.
12030         * nscd/servicescache.c (cache_addserv): Likewise.
12032 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12033             Atsushi Onoe  <atsushi@onoe.org>
12035         [BZ #14308]
12036         [BZ #12994]
12037         [BZ #13651]
12038         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12039         one response is valid.
12040         * resolv/res_send.c (send_dg): Check for validity of other
12041         response if the current response is a referral.
12043 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12045         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12047 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12049         [BZ #16823]
12050         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12051         Always divide by positive zero when computing -Inf result.
12052         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12053         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12055 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12057         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12058         FPSCR if value do not change.
12059         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12060         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12061         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12062         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12063         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12064         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12065         function.
12067 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12069         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12070         * sysdeps/unix/sysv/linux/hppa: Move directory from
12071         ports/systeps/unix/sysv/linux/hppa.
12072         * README: Update listing for hppa-*-linux-gnu.
12074 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12076         [BZ #16754]
12077         * manual/stdio.texi (Hook functions): Fix types of stream hook
12078         functions.
12079         [BZ #16854]
12080         * socket/sys/socket.h: Fix typo in comment.
12082 2014-04-28  Wilco  <wdijkstr@arm.com>
12084         * sysdeps/arm/fenv_private.h: New file.
12085         * sysdeps/arm/math_private.h: New file.
12086         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12088 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12090         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12091         with __int128_t.
12092         (La_x86_64_retval): Likewise.
12094 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12096         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12097         fpsr if value didn't change.
12098         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12099         to fpcr if value didn't change.
12100         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12101         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12102         fpsr or fpcr if value didn't change.
12103         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12104         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12105         fpcr if value didn't change.
12106         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12107         to fpsr if value didn't change.
12109 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12111         * nptl/tst-sem3.c: Use test-skeleton.c
12112         (main): Rename to do_test.  Use return instead of
12113         exit.
12114         * nptl/tst-sem4.c: Use test-skeleton.c
12115         (main): Rename to do_test.
12117 2014-04-22  David S. Miller  <davem@davemloft.net>
12119         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12120         (struct sigaction): New struct member __glibc_reserved0, change
12121         type of sa_flags to int.
12123 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12125         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12126         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12128 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12130         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12131         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12133 2014-04-22  Will Newton  <will.newton@linaro.org>
12134             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12136         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12137         (__longjmp): Add longjmp and longjmp_target SystemTap
12138         probes.
12139         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12140         (__sigsetjmp): Add setjmp SystemTap probe.
12142 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12144         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12145         match manual order.
12147 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12149         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12151         * sysdeps/powerpc/fpu/fenv_private.h
12152         (libc_feholdexcept_setroundl_ctx): Define to
12153         libc_feholdexcept_setround_ppc_ctx.
12154         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12155         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12156         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12157         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12159 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12161         * sysdeps/aarch64/math-tests.h: New file.
12163 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12165         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12166         New.
12167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12168         Check and set bit_AVX2_Usable.
12169         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12170         macro.
12171         (bit_AVX2): Likewise.
12172         (index_AVX2_Usable): Likewise.
12173         (CPUID_AVX2): Likewise.
12174         (HAS_AVX2): Likewise.
12176 2014-04-17  Will Newton  <will.newton@linaro.org>
12178         * manual/setjmp.texi (System V contexts): Add note that
12179         calling setcontext on a context created by a call to a
12180         signal handler is undefined.  Update text to note that
12181         setcontext from a signal handler is possible but not
12182         recommended.
12184         [BZ #16629]
12185         * stdlib/tst-setcontext.c: Include signal.h.
12186         (main): Check that the signal stack before and
12187         after swapcontext is the same.
12189         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12190         Re-implement to restore registers in user code and avoid
12191         rt_sigreturn system call.
12193 2014-04-17  Wilco  <wdijkstr@arm.com>
12195         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12196         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12197         * math/test-fenv.c: Skip exception trap tests on targets which only
12198         support non-stop mode.
12200 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12201             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12203         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12204         (libc_feholdsetround_aarch64_ctx)
12205         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12206         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12207         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12208         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12209         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12210         (libc_feresetround_noexl_ctx): Define.
12212 2014-04-16  Richard Henderson  <rth@redhat.com>
12214         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12216         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12217         unwind tables.
12219         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12220         const from the non-libc, non-ldso copy.
12222         * sysdeps/alpha/libm-test-ulps: Regenerate.
12224 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12225             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12227         * sysdeps/aarch64/fpu/math_private.h: New file.
12229 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12231         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12233 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12235         [BZ #16275]
12236         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12237         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12238         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12239         Intel MPX bound registers before _dl_profile_fixup.
12240         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12241         registers after _dl_profile_fixup.  Save and restore bound
12242         registers bnd0/bnd1 when calling _dl_call_pltexit.
12243         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12244         (LR_BND_OFFSET): Likewise.
12245         (LRV_BND0_OFFSET): Likewise.
12246         (LRV_BND1_OFFSET): Likewise.
12248 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12250         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12251         to...
12252         * sysdeps/mach/hurd/i386/tls.h: ... here.
12253         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12254         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12255         fields.
12257 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12259         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12261 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12263         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12265 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12267         [BZ #14770]
12268         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12269         * sysdeps/s390/configure: Regenerate.
12271         [BZ #16824]
12272         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12273         Set round-to-nearest internally to reduce error accumulation.
12275 2014-04-16  Alan Modra  <amodra@gmail.com>
12277         [BZ #16740]
12278         [BZ #16619]
12279         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12280         * math/libm-test.inc (frexp_test_data): Add tests.
12281         * NEWS: Update fixed bug list.
12283 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12285         * benchtests/Makefile: Depend on libraries in build directory.
12286         (bench-math): Separate out math tests.
12287         (bench-pthread): Separate out pthread tests.
12288         (bench): Include math and pthread tests.
12290 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12292         [BZ #16831]
12293         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12294         _dl_debug_initialize.
12296         * configure.ac: Remove SELinux header check.
12297         * configure: Regenerate.
12298         * nscd/selinux.c (perms): Array of const char* to permission names.
12299         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12300         default policy. Call string_to_security_class and string_to_av_perm to
12301         translate strings. Enforce default policy and call avs_has_perm with
12302         results of translated strings.
12304 2014-04-13  David S. Miller  <davem@davemloft.net>
12306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12308 2014-04-12  Allan McRae  <allan@archlinux.org>
12310         [BZ #16838]
12311         * manual/string.texi (Collation Functions): Fix qsort argument
12312         order in example.
12313         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12315 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12317         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12318         Make the test a no-op if there are no exceptions defined.
12320 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12322         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12323         enable-hardcoded-path-in-tests
12325 2014-04-11  Will Newton  <will.newton@linaro.org>
12327         * benchtests/Makefile (extra-objs): Add json-lib.o.
12328         (bench-func): Tidy up JSON output.
12329         * benchtests/bench-skeleton.c: Include json-lib.h.
12330         (main): Use JSON library functions to do output of
12331         benchmark results.
12332         * benchtests/bench-timing-type.c (main): Output the
12333         timing type simply, leaving formatting to the user.
12334         * benchtests/json-lib.c: New file.
12335         * benchtests/json-lib.h: Likewise.
12337 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12339         [BZ #15215]
12340         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12341         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12342         memory barriers.  Add comments.
12343         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12344         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12345         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12346         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12347         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12348         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12350 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12352         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12353         * sysdeps/s390/s390-64/configure.ac: ... this ...
12354         * sysdeps/s390/configure.ac: ... to here.
12355         * sysdeps/s390/s390-32/configure: Delete file.
12356         * sysdeps/s390/s390-64/configure: Delete file.
12357         * sysdeps/s390/configure: Regenerate.
12359 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12361         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12363 2014-04-11  Will Newton  <will.newton@linaro.org>
12365         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12366         to zero if it is not defined elsewhere.  (mtrim): Test
12367         the value of MALLOC_DEBUG with #if rather than #ifdef.
12369 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12371         * benchtests/pthread_once-inputs: New file.
12372         * benchtests/pthread_once-source.c: New file.
12373         * benchtests/README: Update documentation.
12375 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12376             H.J. Lu  <hongjiu.lu@intel.com>
12378         [BZ #16275]
12379         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12380         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12381         * sysdeps/x86_64/configure: Regenerated.
12382         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12383         macro.
12384         (REGISTER_SAVE_RAX): Likewise.
12385         (REGISTER_SAVE_RCX): Likewise.
12386         (REGISTER_SAVE_RDX): Likewise.
12387         (REGISTER_SAVE_RSI): Likewise.
12388         (REGISTER_SAVE_RDI): Likewise.
12389         (REGISTER_SAVE_R8): Likewise.
12390         (REGISTER_SAVE_R9): Likewise.
12391         (REGISTER_SAVE_BND0): Likewise.
12392         (REGISTER_SAVE_BND1): Likewise.
12393         (REGISTER_SAVE_BND2): Likewise.
12394         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12395         bound registers when calling _dl_fixup.
12397 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12399         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12400         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12401         of its definition.
12402         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12403         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12404         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12405         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12406         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12407         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12408         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12410 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12412         [BZ #15514]
12413         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12414         pathconf(_PC_NAME_MAX).
12416 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12418         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12419         Remove macro usage.
12420         (__PTHREAD_SPINS): Move definition to ...
12421         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12422         (__PTHREAD_SPINS): ... here.
12423         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12424         (__PTHREAD_SPIN): Likewise.
12425         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12426         (__PTHREAD_SPIN): Likewise.
12427         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12428         (__PTHREAD_SPIN): Likewise.
12429         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12430         (__PTHREAD_SPIN): Likewise.
12431         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12432         (__PTHREAD_SPIN): Likewise.
12433         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12434         (__PTHREAD_SPIN): Likewise.
12435         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12436         (__PTHREAD_SPIN): Likewise.
12437         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12438         (__PTHREAD_SPIN): Likewise.
12439         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12440         (__PTHREAD_SPIN): Likewise.
12441         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12442         (__PTHREAD_SPIN): Likewise.
12443         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12444         (__PTHREAD_SPIN): Likewise.
12445         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12446         (__PTHREAD_SPIN): Likewise.
12448         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12449         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12450         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12451         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12452         imply folder.
12453         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12454         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12455         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12456         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12457         correct imply path.
12458         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12459         strlen symbol for non multi-arch builds.
12460         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12461         missing hidden_def and weak_alias.
12463 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12465         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12467 2014-04-07  Will Newton  <will.newton@linaro.org>
12469         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12470         and contents.  [!_LIBC] Remove #ifndef and contents.
12471         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12472         * string/memccpy.c (__memccpy): Use ANSI prototype.
12473         * string/memfrob.c (memfrob): Likewise.
12474         * string/strcoll.c (STRCOLL): Likewise.
12475         * string/strlen.c (strlen): Likewise.
12476         * string/strtok.c (STRTOK): Likewise.
12477         * string/strcat.c: Remove unused #include of memcopy.h.
12478         (strcat): Use ANSI prototype.
12479         * string/strchr.c: Remove unused #include of memcopy.h.
12480         (strchr): Use ANSI prototype.
12481         * string/strcmp.c: Remove unused #include of memcopy.h.
12482         (strcmp): Use ANSI prototype.
12483         * string/strcpy.c: Remove unused #include of memcopy.h.
12484         (strcpy): Use ANSI prototype.
12486 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12488         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12489         * config.make.in (config-extra-cppflags): Set it from
12490         libc_extra_cppflags.
12491         * configure.ac (libc_extra_cflags): Make it accumulate over
12492         configure fragments.
12493         (libc_extra_cppflags): New flag.
12494         * configure. Regenerate.
12495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12496         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12497         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12500         [BZ #16815]
12501         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12502         result for FE_DOWNWARD rounding mode.
12503         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12504         Likewise.
12505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12507 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12509         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12510         in function argument name.
12512 2014-04-03  David Svoboda  <svoboda@cert.org>
12514         [BZ #5666]
12515         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12516         explicitly.
12518 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12520         * elf/dl-unmap-segments.h: New file.
12521         * sysdeps/generic/ldsodefs.h
12522         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12523         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12524         * elf/dl-fptr.c: Likewise.
12525         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12526         * sysdeps/aarch64/tlsdesc.c: Likewise.
12527         * sysdeps/arm/tlsdesc.c: Likewise.
12528         * sysdeps/i386/tlsdesc.c: Likewise.
12529         * sysdeps/tile/dl-runtime.c: Likewise.
12530         * sysdeps/x86_64/tlsdesc.c: Likewise.
12531         * elf/dl-load.h: New file.
12532         * elf/dl-load.c: Include it.
12533         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12534         Macros moved to dl-load.h.
12535         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12536         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12537         Use _dl_unmap_segments in place of __munmap.
12538         Break out segment-mapping loop into ...
12539         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12541 2014-04-03  Will Newton  <will.newton@linaro.org>
12543         * elf/dl-lookup.c (do_lookup_x): Remove comment
12544         referring to nested function and move variable
12545         declarations down to before first use.
12547 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12549         [BZ #16799]
12550         [BZ #16800]
12551         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12552         with 0 numerator.
12553         * math/s_catanf.c (__catanf): Likewise.
12554         * math/s_catanh.c (__catanh): Likewise.
12555         * math/s_catanhf.c (__catanhf): Likewise.
12556         * math/s_catanhl.c (__catanhl): Likewise.
12557         * math/s_catanl.c (__catanl): Likewise.
12558         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12559         by positive zero when computing -Inf result.
12560         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12561         (catanh_test): Likewise.
12562         * sysdeps/i386/fpu/libm-test-ulps: Update.
12563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12565         [BZ #16789]
12566         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12567         instead of using underflowing value in computing result.
12568         * math/s_clog10.c (__clog10): Likewise.
12569         * math/s_clog10f.c (__clog10f): Likewise.
12570         * math/s_clog10l.c (__clog10l): Likewise.
12571         * math/s_clogf.c (__clogf): Likewise.
12572         * math/s_clogl.c (__clogl): Likewise.
12573         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12574         (clog10_test): Likewise.
12575         * sysdeps/i386/fpu/libm-test-ulps: Update.
12576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12578 2014-04-02  Alan Modra  <amodra@gmail.com>
12580         [BZ #16739]
12581         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12582         output when value is near a power of two.  Use int64_t for lx and
12583         remove casts.  Use decimal rather than hex exponent constants.
12584         Don't use long double multiplication when double will suffice.
12585         * math/libm-test.inc (nextafter_test_data): Add tests.
12586         * NEWS: Add 16739 and 16786 to bug list.
12588         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12590         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12592 2014-04-01  Will Newton  <will.newton@linaro.org>
12594         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12595         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12597 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12599         [BZ #13347]
12600         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12601         * nptl/tst-setuid2.c: New file.
12602         * nptl/Makefile (xtests): Add tst-setuid2.
12604 2014-04-01  Alan Modra  <amodra@gmail.com>
12606         [BZ #16786]
12607         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12609 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12611         [BZ #6803]
12612         [BZ #6804]
12613         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12614         set errno as appropriate.
12615         * math/w_scalbf.c (__scalbf): Likewise.
12616         * math/w_scalbl.c (__scalbl): Likewise.
12617         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12618         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12619         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12620         Add more NaN tests.
12622         [BZ #16349]
12623         * math/w_atan2.c: Include <errno.h>.
12624         (__atan2): Set errno for result underflowing to zero.
12625         * math/w_atan2f.c: Include <errno.h>.
12626         (__atan2f): Set errno for result underflowing to zero.
12627         * math/w_atan2l.c: Include <errno.h>.
12628         (__atan2l): Set errno for result underflowing to zero.
12629         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12630         tests.
12631         * math/auto-libm-test-out: Regenerated.
12633 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12635         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12636         Encode instruction correctly in little endian.
12637         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12638         Likewise.
12639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12640         Likewise.
12641         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12642         Likewise.
12643         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12644         Likewise.
12646 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12648         [BZ #9894]
12649         * sysdeps/unix/sysv/linux/kernel-features.h
12650         [__sparc__ && !__arch64__ && !__sparc_v9__]
12651         (__ASSUME_SET_ROBUST_LIST): Do not define.
12652         [__sparc__ && !__arch64__ && !__sparc_v9__]
12653         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12654         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12655         Likewise.
12656         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12657         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12658         (__ASSUME_REQUEUE_PI): Likewise.
12659         (__ASSUME_SET_ROBUST_LIST): Likewise.
12660         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12661         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12662         Undefine.
12663         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12664         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12665         Likewise.
12666         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12667         Likewise.
12668         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12669         Likewise.
12670         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12671         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12672         Undefine.
12673         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12674         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12675         Likewise.
12677         [BZ #16648]
12678         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12679         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12680         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12682 2014-03-31  Will Newton  <will.newton@linaro.org>
12684         * benchtests/Makefile (bench): Add ffs and ffsll to list
12685         of tests.
12686         * benchtests/ffs-inputs: New file.
12687         * benchtests/ffsll-inputs: Likewise.
12689 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12691         [BZ #16770]
12692         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12693         too large before casting to int.
12694         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12695         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12696         * math/libm-test.inc (scalb_test_data): Add more tests.
12698 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12700         * benchtests/Makefile (DETAILED_OPT): New make option.
12701         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12702         set.
12703         * benchtests/bench-skeleton.c: Include stdbool.h.
12704         (main): Store and print timings per input.
12705         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12706         member to each argument value.
12707         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12708         (_print_arg_data): Initialize per-input timing to 0.
12710         * benchtests/Makefile (timing-type): New binary.
12711         (bench-clean): Also remove bench-timing-type.
12712         (bench): New target for timing-type.
12713         (bench-func): Print output in JSON format.
12714         * benchtests/bench-skeleton.c (main): Print output in JSON
12715         format.
12716         * benchtests/bench-timing-type.c: New file.
12717         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12718         (TIMING_PRINT_STATS): Remove.
12719         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12720         name separately.
12722         * benchtests/bench-modf.c: Remove.
12723         * benchtests/modf-inputs: New inputs file.
12725 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12727         [BZ #16362]
12728         * math/s_clog10.c (M_PI_LOG10E): New macro.
12729         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12730         imaginary parts are 0.
12731         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12732         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12733         imaginary parts are 0.
12734         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12735         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12736         imaginary parts are 0.
12737         * math/libm-test.inc (clog10_test_data): Update expected results
12738         for when real and imaginary parts are 0.
12740 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12742         * elf/dl-load.c: Finish conversion of __builtin_expect into
12743         __glibc_{un}likely.
12745 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12747         [BZ #16348]
12748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12749         1+x for argument with exponent below -67.
12750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12751         Likewise.
12752         * math/auto-libm-test-in: Add more tests of exp.
12753         * math/auto-libm-test-out: Regenerated.
12755 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12757         [BZ #16759]
12758         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12759         (nscd_getnetgrent): Use it.
12761         [BZ #16760]
12762         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12763         of stpcpy.
12765 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12767         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12768         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12769         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12770         (lll_robust_unlock): Remove out of line section. Use cfi
12771         intrinsics.
12772         (LLL_STUB_UNWIND_INFO*): Remove.
12773         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12774         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12775         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12776         (lll_robust_unlock): Remove out of line section. Use cfi
12777         intrinsics.
12778         (LLL_STUB_UNWIND_INFO*): Remove.
12780 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12782         [BZ #16758]
12783         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12784         blank values.
12786 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12788         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12790 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12792         [BZ #16198]
12793         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12794         fnstenv.
12795         * math/test-fenv-preserve.c: New file.
12796         * math/Makefile (tests): Add test-fenv-preserve.
12798 2014-03-26  Will Newton <will.newton@linaro.org>
12800         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12802 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12804         * scripts/versionlist.awk: Partition the version sets and emit all
12805         GLIBC_* (sorted) before all others (sorted).
12807 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12809         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12810         GLIBC_2.2.5 version.
12812 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12814         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12815         calls.
12817         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12818         previous change.
12820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12822 2014-03-25  Andreas Schwab  <schwab@suse.de>
12824         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12825         label to be used after in6ailist is initialized.
12827 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12829         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12830         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12832 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12834         [BZ #16357]
12835         [BZ #16599]
12836         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12837         min_plus_half.
12838         (fp_formats): Update initializers.
12839         (init_fp_formats): Initialize new field.
12840         (output_for_one_input_case): Allow underflow for results up to
12841         min_plus_half.
12842         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12843         * math/auto-libm-test-in: Don't mark some underflows from asin and
12844         atanh as spurious.
12845         * math/auto-libm-test-out: Regenerated.
12846         * sysdeps/i386/fpu/libm-test-ulps: Update.
12847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12849 2014-03-25  Andreas Schwab  <schwab@suse.de>
12851         * libio/Makefile (tst-ftell-partial-wide-ENV)
12852         (tst-ftell-active-handler-ENV): Define.
12854 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12856         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12858 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12860         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12862 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12864         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12865         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12866         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12868 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12870         [BZ #16634]
12871         * elf/dl-load.c (open_verify): Add mode parameter.
12872         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12873         (open_path): Change from boolean 'secure' to complete flag 'mode'
12874         (_dl_map_object): Adjust.
12875         * elf/Makefile (tests): Add tst-dlopen-aout.
12876         * elf/tst-dlopen-aout.c: New test.
12878 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12880         [BZ #16714]
12881         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12882         (struct stat): Rename member pad0 to __glibc_reserved0.
12884         [BZ #16712]
12885         * sysdeps/s390/s390-32/bits/wordsize.h
12886         (__WORDSIZE32_SIZE_ULONG): New define.
12887         * sysdeps/s390/s390-64/bits/wordsize.h
12888         (__WORDSIZE32_SIZE_ULONG): Likewise.
12889         * sysdeps/generic/stdint.h (SIZE_MAX):
12890         Define as UL if __WORDSIZE32_SIZE_ULONG.
12892         [BZ #16713]
12893         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12894         (__glibc_reserved0): New variable.
12895         (sa_flags): Change type to int.
12897         * posix/Makefile (before-compile): Use += before-compile instead
12898         of a :=.
12900         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12901         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12903 2014-03-20  Andreas Schwab  <schwab@suse.de>
12905         [BZ #16743]
12906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12907         non-matching result from nscd.
12909 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12911         * scripts/bench.py: Moved to ...
12912         * benchtests/scripts/bench.py: ... here.
12913         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12915 2014-03-24  Andreas Schwab  <schwab@suse.de>
12917         [BZ #16002]
12918         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12919         alloca_account and account alloca use for struct in6ailist.
12921 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12923         [BZ #16284]
12924         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12925         rounding mode to recompute results that overflow to infinity or
12926         underflow to zero.
12927         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12928         bug 16284.
12929         * math/auto-libm-test-out: Regenerated.
12930         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12931         (ccosh_test): Likewise.
12932         (csin_test_data): Use plus_oflow.
12933         (csin_test): Use ALL_RM_TEST.
12934         (csinh_test_data): Use plus_oflow.
12935         (csinh_test): Use ALL_RM_TEST.
12936         * sysdeps/i386/fpu/libm-test-ulps: Update.
12937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12939 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12941         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12942         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12943         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12945         [BZ #16731]
12946         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12947         when x - 1 is zero.
12948         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12949         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12950         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12951         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12952         argument is 1.
12953         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12954         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12955         zero.
12956         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12957         * sysdeps/i386/fpu/libm-test-ulps: Update.
12958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12960 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12962         * scripts/bench.pl: Remove file.
12963         * scripts/bench.py: New benchmark script.
12964         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12965         * benchtests/README: Mention python dependency.
12966         * scripts/pylintrc: New file.
12967         * scripts/pylint: New file.
12969         * bits/mathdef.h: Use #ifdef instead of #if.
12970         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12971         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12972         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12973         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12974         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12975         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12977 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12978             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12980         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12982         and strpbrk-ppc64 objects.
12983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12984         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12985         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12986         multiarch strpbrk for POWER7.
12987         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12988         multiarch strpbrk for PPC64.
12989         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12990         ifunc selector.
12991         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12992         strpbrk for POWER7.
12994 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12996         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12997         (atan_test): Likewise.
12998         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12999         (atanh_test): Use ALL_RM_TEST.
13000         (atan2_test_data): Likewise.
13001         (cabs_test): Likewise.
13002         (cacosh_test): Likewise.
13003         (carg_test): Likewise.
13004         (casin_test): Likewise.
13005         (casinh_test): Likewise.
13006         (cbrt_test): Likewise.
13007         (csqrt_test): Likewise.
13008         (erf_test): Likewise.
13009         (erfc_test): Likewise.
13010         (pow10_test): Likewise.
13011         (exp2_test): Likewise.
13012         (hypot_test): Likewise.
13013         (j0_test): Likewise.
13014         (j1_test): Likewise.
13015         (lgamma_test): Likewise.
13016         (gamma_test): Likewise.
13017         (sincos_test): Likewise.
13018         (tanh_test): Likewise.
13019         (y0_test): Likewise.
13020         (y1_test): Likewise.
13021         * sysdeps/i386/fpu/libm-test-ulps: Update.
13022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13024 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13026         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13028         and strcspn-ppc64 objects.
13029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13030         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13031         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13032         multiarch strcspn for POWER7.
13033         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13034         multiarch strcspn for PPC64.
13035         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13036         ifunc selector.
13037         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13038         strcspn for POWER7.
13040 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13042         * math/gen-libm-test.pl (generate_testfile): Expect only function
13043         name as argument to AUTO_TESTS_* and pass results for all rounding
13044         modes to parse_args.
13045         (parse_auto_input): Separate inputs of automatic tests from
13046         outputs before storing in %auto_tests.
13047         * math/libm-test.inc (acos_test_data): Update call to
13048         AUTO_TESTS_f_f.
13049         (acos_test): Use ALL_RM_TEST.
13050         (acos_tonearest_test_data): Remove.
13051         (acos_test_tonearest): Likewise.
13052         (acos_towardzero_test_data): Likewise.
13053         (acos_test_towardzero): Likewise.
13054         (acos_downward_test_data): Likewise.
13055         (acos_test_downward): Likewise.
13056         (acos_upward_test_data): Likewise.
13057         (acos_test_upward): Likewise.
13058         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13059         (asin_test_data): Likewise.
13060         (asin_test): Use ALL_RM_TEST.
13061         (asin_tonearest_test_data): Remove.
13062         (asin_test_tonearest): Likewise.
13063         (asin_towardzero_test_data): Likewise.
13064         (asin_test_towardzero): Likewise.
13065         (asin_downward_test_data): Likewise.
13066         (asin_test_downward): Likewise.
13067         (asin_upward_test_data): Likewise.
13068         (asin_test_upward): Likewise.
13069         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13070         (atan_test_data): Likewise.
13071         (atanh_test_data): Likewise.
13072         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13073         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13074         (carg_test_data): Likewise.
13075         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13076         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13077         (ccosh_test_data): Likewise.
13078         (cexp_test_data): Likewise.
13079         (clog_test_data): Likewise.
13080         (clog10_test_data): Likewise.
13081         (cos_test_data): Update call to AUTO_TESTS_f_f.
13082         (cos_test): Use ALL_RM_TEST.
13083         (cos_tonearest_test_data): Remove.
13084         (cos_test_tonearest): Likewise.
13085         (cos_towardzero_test_data): Likewise.
13086         (cos_test_towardzero): Likewise.
13087         (cos_downward_test_data): Likewise.
13088         (cos_test_downward): Likewise.
13089         (cos_upward_test_data): Likewise.
13090         (cos_test_upward): Likewise.
13091         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13092         (cosh_test): Use ALL_RM_TEST.
13093         (cosh_tonearest_test_data): Remove.
13094         (cosh_test_tonearest): Likewise.
13095         (cosh_towardzero_test_data): Likewise.
13096         (cosh_test_towardzero): Likewise.
13097         (cosh_downward_test_data): Likewise.
13098         (cosh_test_downward): Likewise.
13099         (cosh_upward_test_data): Likewise.
13100         (cosh_test_upward): Likewise.
13101         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13102         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13103         (ctan_test_data): Likewise.
13104         (ctan_test): Use ALL_RM_TEST.
13105         (ctan_tonearest_test_data): Remove.
13106         (ctan_test_tonearest): Likewise.
13107         (ctan_towardzero_test_data): Likewise.
13108         (ctan_test_towardzero): Likewise.
13109         (ctan_downward_test_data): Likewise.
13110         (ctan_test_downward): Likewise.
13111         (ctan_upward_test_data): Likewise.
13112         (ctan_test_upward): Likewise.
13113         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13114         (ctanh_test): Use ALL_RM_TEST.
13115         (ctanh_tonearest_test_data): Remove.
13116         (ctanh_test_tonearest): Likewise.
13117         (ctanh_towardzero_test_data): Likewise.
13118         (ctanh_test_towardzero): Likewise.
13119         (ctanh_downward_test_data): Likewise.
13120         (ctanh_test_downward): Likewise.
13121         (ctanh_upward_test_data): Likewise.
13122         (ctanh_test_upward): Likewise.
13123         (erf_test_data): Update call to AUTO_TESTS_f_f.
13124         (erfc_test_data): Likewise.
13125         (exp_test_data): Likewise.
13126         (exp_test): Use ALL_RM_TEST.
13127         (exp_tonearest_test_data): Remove.
13128         (exp_test_tonearest): Likewise.
13129         (exp_towardzero_test_data): Likewise.
13130         (exp_test_towardzero): Likewise.
13131         (exp_downward_test_data): Likewise.
13132         (exp_test_downward): Likewise.
13133         (exp_upward_test_data): Likewise.
13134         (exp_test_upward): Likewise.
13135         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13136         (exp10_test): Use ALL_RM_TEST.
13137         (exp10_tonearest_test_data): Remove.
13138         (exp10_test_tonearest): Likewise.
13139         (exp10_towardzero_test_data): Likewise.
13140         (exp10_test_towardzero): Likewise.
13141         (exp10_downward_test_data): Likewise.
13142         (exp10_test_downward): Likewise.
13143         (exp10_upward_test_data): Likewise.
13144         (exp10_test_upward): Likewise.
13145         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13146         (expm1_test_data): Likewise.
13147         (expm1_test): Use ALL_RM_TEST.
13148         (expm1_tonearest_test_data): Remove.
13149         (expm1_test_tonearest): Likewise.
13150         (expm1_towardzero_test_data): Likewise.
13151         (expm1_test_towardzero): Likewise.
13152         (expm1_downward_test_data): Likewise.
13153         (expm1_test_downward): Likewise.
13154         (expm1_upward_test_data): Likewise.
13155         (expm1_test_upward): Likewise.
13156         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13157         (fma_test): Use ALL_RM_TEST.
13158         (fma_towardzero_test_data): Remove.
13159         (fma_test_towardzero): Likewise.
13160         (fma_downward_test_data): Likewise.
13161         (fma_test_downward): Likewise.
13162         (fma_upward_test_data): Likewise.
13163         (fma_test_upward): Likewise.
13164         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13165         (j0_test_data): Update call to AUTO_TESTS_f_f.
13166         (j1_test_data): Likewise.
13167         (jn_test_data): Update call to AUTO_TESTS_if_f.
13168         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13169         (log_test_data): Update call to AUTO_TESTS_f_f.
13170         (log10_test_data): Likewise.
13171         (log1p_test_data): Likewise.
13172         (log2_test_data): Likewise.
13173         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13174         (pow_tonearest_test_data): Likewise.
13175         (sin_test_data): Update call to AUTO_TESTS_f_f.
13176         (sin_test): Use ALL_RM_TEST.
13177         (sin_tonearest_test_data): Remove.
13178         (sin_test_tonearest): Likewise.
13179         (sin_towardzero_test_data): Likewise.
13180         (sin_test_towardzero): Likewise.
13181         (sin_downward_test_data): Likewise.
13182         (sin_test_downward): Likewise.
13183         (sin_upward_test_data): Likewise.
13184         (sin_test_upward): Likewise.
13185         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13186         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13187         (sinh_test): Use ALL_RM_TEST.
13188         (sinh_tonearest_test_data): Remove.
13189         (sinh_test_tonearest): Likewise.
13190         (sinh_towardzero_test_data): Likewise.
13191         (sinh_test_towardzero): Likewise.
13192         (sinh_downward_test_data): Likewise.
13193         (sinh_test_downward): Likewise.
13194         (sinh_upward_test_data): Likewise.
13195         (sinh_test_upward): Likewise.
13196         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13197         (sqrt_test): Use ALL_RM_TEST.
13198         (sqrt_tonearest_test_data): Remove.
13199         (sqrt_test_tonearest): Likewise.
13200         (sqrt_towardzero_test_data): Likewise.
13201         (sqrt_test_towardzero): Likewise.
13202         (sqrt_downward_test_data): Likewise.
13203         (sqrt_test_downward): Likewise.
13204         (sqrt_upward_test_data): Likewise.
13205         (sqrt_test_upward): Likewise.
13206         (tan_test_data): Update call to AUTO_TESTS_f_f.
13207         (tan_test): Use ALL_RM_TEST.
13208         (tan_tonearest_test_data): Remove.
13209         (tan_test_tonearest): Likewise.
13210         (tan_towardzero_test_data): Likewise.
13211         (tan_test_towardzero): Likewise.
13212         (tan_downward_test_data): Likewise.
13213         (tan_test_downward): Likewise.
13214         (tan_upward_test_data): Likewise.
13215         (tan_test_upward): Likewise.
13216         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13217         (tgamma_test_data): Likewise.
13218         (y0_test_data): Likewise.
13219         (y1_test_data): Likewise.
13220         (yn_test_data): Update call to AUTO_TESTS_if_f.
13221         (main): Do not call removed functions.
13223 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13225         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13226         (ldexp_test_data): Remove.
13227         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13228         scalbn_test_data.
13229         (scalb_test): Use ALL_RM_TEST.
13231 2014-03-19  Andreas Schwab  <schwab@suse.de>
13233         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13235 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13237         [BZ #16649]
13238         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13239         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13240         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13241         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13242         (__ASSUME_PREADV): Undefine.
13243         (__ASSUME_PWRITEV): Likewise.
13245 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13247         * bits/mman-linux.h: Add comment about non-Linux use.
13248         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13249         bits/mman-linux.h resting place.
13251         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13252         * bits/mman-linux.h: ... here.
13254 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13256         * conform/conformtest.pl: Add standard definition when calling C
13257         preprocessor on data files.
13258         (checknamespace): Remove unused variable.
13260 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13262         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13263         minus_oflow, plus_uflow and minus_uflow in expected results.
13264         * math/libm-test.inc (scalbn_test_data): Add more tests of
13265         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13266         minus_uflow.
13267         (scalbn_test): Use ALL_RM_TEST.
13268         (scalbln_test_data): Add more tests of negative arguments.  Use
13269         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13270         (scalbln_test): Use ALL_RM_TEST.
13272 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13274         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13276 2014-03-18  Will Newton  <will.newton@linaro.org>
13278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13279         inaccurate comment.
13281 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13283         * Makerules [!subdir] (check-abi): Exit with error status if a
13284         test failed.
13286 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13288         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13289         for rint.  Include results for all rounding modes.
13290         (nearbyint_test): Use ALL_RM_TEST.
13291         (rint_test_data): Include all tests used for nearbyint.
13293 2014-03-17  Will Newton  <will.newton@linaro.org>
13295         * nptl/sysdeps/pthread/pthread.h: Revert previous
13296         change.
13298         * sysdeps/generic/ldsodefs.h: Revert previous
13299         change.
13301         * libio/genops.c: Revert previous change.
13302         * libio/libioP.h: Likewise.
13303         * stdio-common/vfprintf.c: Likewise.
13305         * sysdeps/generic/math_private.h: Revert previous
13306         change.
13308         * sysdeps/generic/math_private.h: Check whether
13309         HAVE_RM_CTX is defined with #ifdef rather
13310         than #if.
13312         * argp/argp-fmtstream.h: Check whether
13313         __STRICT_ANSI__ is defined with #ifdef rather
13314         than #if.
13315         * argp/argp.h: Likewise.
13317         * libio/genops.c: Check whether
13318         _IO_JUMPS_OFFSET is defined with #ifdef rather
13319         than #if.
13320         * libio/libioP.h: Likewise.
13321         * stdio-common/vfprintf.c: Likewise.
13323         * sysdeps/generic/ldsodefs.h: Check whether
13324         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13325         than #if.
13327         * nptl/sysdeps/pthread/pthread.h: Check
13328         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13329         its value.
13331 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13333         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13334         setting O_APPEND.
13335         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13336         test case.
13338         [BZ #16680]
13339         * libio/fileops.c (_IO_file_open): Seek to end of file but
13340         don't cache the offset.
13341         (get_file_offset): Remove function.
13342         (do_ftell): Use cached offset when available.
13343         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13344         don't cache the offset.
13345         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13346         case.
13347         (do_one_test): Call it.
13348         (do_ftell_test): Fix up expected old offset for a+ mode.
13349         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13350         available.
13352         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13353         up test status with function return status.
13354         (do_write_test): Likewise.
13355         (do_append_test): Likewise.
13357         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13358         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13359         Remove.
13361 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13363         * math/gen-libm-test.pl (parse_args): Handle results specified for
13364         each rounding mode separately.
13365         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13366         tests and results from lrint_tonearest_test_data,
13367         lrint_towardzero_test_data, lrint_downward_test_data and
13368         lrint_upward_test_data.
13369         (lrint_test): Use ALL_RM_TEST.
13370         (lrint_tonearest_test_data): Remove.
13371         (lrint_test_tonearest): Likewise.
13372         (lrint_towardzero_test_data): Likewise.
13373         (lrint_test_towardzero): Likewise.
13374         (lrint_downward_test_data): Likewise.
13375         (lrint_test_downward): Likewise.
13376         (lrint_upward_test_data): Likewise.
13377         (lrint_test_upward): Likewise.
13378         (llrint_test_data): Merge in per-rounding-mode tests and results
13379         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13380         llrint_downward_test_data and llrint_upward_test_data.
13381         (llrint_test): Use ALL_RM_TEST.
13382         (llrint_tonearest_test_data): Remove.
13383         (llrint_test_tonearest): Likewise.
13384         (llrint_towardzero_test_data): Likewise.
13385         (llrint_test_towardzero): Likewise.
13386         (llrint_downward_test_data): Likewise.
13387         (llrint_test_downward): Likewise.
13388         (llrint_upward_test_data): Likewise.
13389         (llrint_test_upward): Likewise.
13390         (rint_test_data): Merge in per-rounding-mode tests and results
13391         from rint_tonearest_test_data, rint_towardzero_test_data,
13392         rint_downward_test_data and rint_upward_test_data.  Add
13393         per-rounding-mode results for tests not in those arrays.
13394         (rint_test): Use ALL_RM_TEST.
13395         (rint_tonearest_test_data): Remove.
13396         (rint_test_tonearest): Likewise.
13397         (rint_towardzero_test_data): Likewise.
13398         (rint_test_towardzero): Likewise.
13399         (rint_downward_test_data): Likewise.
13400         (rint_test_downward): Likewise.
13401         (rint_upward_test_data): Likewise.
13402         (rint_test_upward): Likewise.
13403         (main): Don't call removed functions.
13405 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13407         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13408         "Compiled on ..." crapola.  It is anti-useful.
13410 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13412         * scripts/evaluate-test.sh: Handle fourth argument to determine
13413         whether test run should stop on failure.
13414         * Makeconfig (stop-on-test-failure): New variable.
13415         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13416         $(stop-on-test-failure).
13417         * Makefile (tests): Give a summary of results from testing and
13418         exit with failure status if they include an ERROR or FAIL.
13419         (xtests): Likewise.
13420         * manual/install.texi (Configuring and compiling): Mention
13421         stop-on-test-failure=y.
13422         * INSTALL: Regenerated.
13424 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13426         * scripts/versionlist.awk: New file.
13427         * Makerules [$(build-shared) = yes]
13428         (postclean-generated): Add Versions.def, not Versions.def.v and
13429         Versions.def.v.i.
13430         ($(common-objpfx)Versions.def.v.i): Target removed.
13431         ($(common-objpfx)Versions.def): New target.
13432         ($(common-objpfx)Versions.all): Depend on that rather that
13433         $(common-objpfx)Versions.def.v.
13434         * Versions.def: File removed.
13436         * Makeconfig (+gccwarn): Add -Wundef.
13437         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13438         a dl-sysdep.h breaking its contract.
13439         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13440         * include/stackinfo.h: New file.
13441         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13442         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13443         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13444         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13445         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13446         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13447         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13448         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13449         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13450         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13451         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13452         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13453         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13454         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13455         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13457 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13459         [BZ #16707]
13460         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13461         implementation.
13462         * math/libm-test.inc (round_test_data): Add more tests.
13464         [BZ #16706]
13465         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13466         implementation.
13467         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13469         [BZ #16701]
13470         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13471         implementation.
13472         * math/libm-test.inc (ceil_test_data): Add more tests.
13474         * math/libm-test.inc (trunc_test_data): Add more tests related to
13475         BZ#16414.
13477 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13479         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13480         with #if rather than #ifdef.
13481         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13483 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13485         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13486         first.  Disable AVX-512 GCC support if assembler doesn't support
13487         it.
13488         * sysdeps/x86_64/configure: Regenerated.
13490 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13492         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13493         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13494         (__old_pthread_attr_setstack): Likewise.
13495         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13496         [!_STACK_GROWS_DOWN]: Likewise.
13498 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13500         * config.make.in (have-bash2): Delete.
13501         * configure.ac (libc_cv_have_bash2): Delete.
13502         * configure: Regenerate.
13503         * elf/Makefile (common-ldd-rewrite): Rename to ...
13504         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13505         (sh-ldd-rewrite): Delete.
13506         (bash-ldd-rewrite): Delete.
13507         (have-bash2): Delete checks.
13508         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13509         ldd-rewrite.
13511         * config.make.in (have-ksh): Delete.
13512         (KSH): Delete.
13513         * configure.ac (libc_cv_have_ksh): Delete.
13514         * configure: Regenerate.
13516         * elf/Makefile: Delete $(have-ksh) check.
13517         ($(objpfx)sotruss): Change KSH to BASH.
13518         * elf/sotruss.ksh: Rename to ...
13519         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13520         function style to match POSIX.  Drop ksh vim mode setting.
13522         * manual/time.texi (Specifying the Time Zone with TZ): Change
13523         Tuesday to Thursday.
13525         * debug/tst-longjmp_chk2.c: Update header comment.
13526         (stackoverflow_handler): Add comment.  Call assert on pass value.
13528 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13530         [BZ #16194]
13531         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13532         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13533         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13534         (La_x86_64_vector): Add zmm.
13535         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13536         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13537         ($(objpfx)tst-audit10): New target.
13538         ($(objpfx)tst-audit10.out): Likewise.
13539         (tst-audit10-ENV): New.
13540         (AVX512-CFLAGS): Likewise.
13541         (CFLAGS-tst-audit10.c): Likewise.
13542         (CFLAGS-tst-auditmod10a.c): Likewise.
13543         (CFLAGS-tst-auditmod10b.c): Likewise.
13544         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13545         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13546         * sysdeps/x86_64/configure: Regenerated.
13547         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13548         AVX-512 zmm register support.
13549         (_dl_x86_64_save_sse): Likewise.
13550         (_dl_x86_64_restore_sse): Likewise.
13551         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13552         size vector registers.
13553         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13554         (ZMM_SIZE): Likewise.
13555         * sysdeps/x86_64/tst-audit10.c: New file.
13556         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13557         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13559 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13561         * configure.ac (HAVE_EHDR_START): New check.
13562         * configure: Regenerated.
13563         * config.h.in (HAVE_EHDR_START): New #undef.
13564         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13565         assuming the lowest-addressed segment maps the start of the file.
13567 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13569         * INSTALL: Regenerated.
13571 2014-03-13  Will Newton  <will.newton@linaro.org>
13573         * manual/setjmp.texi (System V contexts): Improve
13574         clarity and grammar of documentation.
13576 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13578         [BZ #16381]
13579         * elf/Makefile (tests): Add tst-pie2.
13580         (tests-pie): Add tst-pie2.
13581         * elf/tst-pie2.c: New file.
13582         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13583         for ET_EXEC.
13584         * elf/rtld.c (map_doit): Load executable as lt_executable.
13585         (dl_main): Likewise.
13587 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13589         [BZ #16642]
13590         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13591         (__ASSUME_PSELECT): Undefine.
13593 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13595         [BZ #16689]
13596         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13597         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13598         static build.
13599         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13600         selector for static builds.
13602 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13604         [BZ #16695]
13605         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13606         key in the buffer.
13608 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13610         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13611         IFUNC selector for static builds.
13613 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13615         * sysdeps/mips/math_private.h [__mips_hard_float]
13616         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13617         libc_feresetround_mips_ctx.
13618         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13619         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13620         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13622         [BZ #16677]
13623         * math/s_nextafter.c (__nextafter): Do not return value from
13624         overflowing computation.
13625         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13626         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13627         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13628         Likewise.
13629         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13630         Likewise.
13631         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13632         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13634 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13636         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13637         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13638         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13639         the new mov targetting sp.
13641 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13643         [BZ #16683]
13644         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13645         Define it for static builds as well.
13646         (NO_BZERO_IMPL): Likewise.
13648 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13650         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13651         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13652         multiarch strspn for PPC64.
13653         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13654         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13656         (__libc_ifunc_impl_list): Likewise.
13657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13658         multiarch optimizations
13659         * string/strspn.c (strspn): Using macro to redefine symbol name.
13661 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13664         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13665         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13666         multiarch strncat for PPC64.
13667         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13668         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13670         (__libc_ifunc_impl_list): Likewise.
13671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13672         multiarch optimizations
13674 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13676         [BZ #16639]
13677         * nscd/nscd.service: Make service type forking.
13679 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13681         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13682         sign in non default rounding modes.
13683         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13685 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13687         * math/libm-test.inc (ALL_RM_TEST): New macro.
13688         (ceil_test): Use ALL_RM_TEST.
13689         (cimag_test): Likewise.
13690         (conj_test): Likewise.
13691         (copysign_test): Likewise.
13692         (cproj_test): Likewise.
13693         (creal_test): Likewise.
13694         (fabs_test): Likewise.
13695         (floor_test): Likewise.
13696         (fmax_test): Likewise.
13697         (fmin_test): Likewise.
13698         (fmod_test): Likewise.
13699         (fpclassify_test): Likewise.
13700         (frexp_test): Likewise.
13701         (ilogb_test): Likewise.
13702         (isfinite_test): Likewise.
13703         (finite_test): Likewise.
13704         (isgreater_test): Likewise.
13705         (isgreaterequal_test): Likewise.
13706         (isinf_test): Likewise.
13707         (isless_test): Likewise.
13708         (islessequal_test): Likewise.
13709         (islessgreater_test): Likewise.
13710         (isnan_test): Likewise.
13711         (isnormal_test): Likewise.
13712         (issignaling_test): Likewise.
13713         (isunordered_test): Likewise.
13714         (logb_test): Likewise.
13715         (logb_downward_test_data): Remove.
13716         (logb_test_downward): Likewise.
13717         (lround_test): Use ALL_RM_TEST.
13718         (llround_test): Likewise.
13719         (modf_test): Likewise.
13720         (nexttoward_test): Likewise.
13721         (remainder_test): Likewise.
13722         (drem_test): Likewise.
13723         (remainder_tonearest_test_data): Likewise.
13724         (remainder_test_tonearest): Likewise.
13725         (drem_test_tonearest): Likewise.
13726         (remainder_towardzero_test_data): Likewise.
13727         (remainder_test_towardzero): Likewise.
13728         (drem_test_towardzero): Likewise.
13729         (remainder_downward_test_data): Likewise.
13730         (remainder_test_downward): Likewise.
13731         (drem_test_downward): Likewise.
13732         (remainder_upward_test_data): Likewise.
13733         (remainder_test_upward): Likewise.
13734         (drem_test_upward): Likewise.
13735         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13736         (round_test): Use ALL_RM_TEST.
13737         (signbit_test): Likewise.
13738         (trunc_test): Likewise.
13739         (significand_test): Likewise.
13740         (main): Don't call removed functions.
13742 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13744         [BZ #16674]
13745         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13746         || __USE_XOPEN2K8].
13747         (ILL_ILLOPN): Likewise.
13748         (ILL_ILLADR): Likewise.
13749         (ILL_ILLTRP): Likewise.
13750         (ILL_PRVOPC): Likewise.
13751         (ILL_PRVREG): Likewise.
13752         (ILL_COPROC): Likewise.
13753         (ILL_BADSTK): Likewise.
13754         (FPE_INTDIV): Likewise.
13755         (FPE_INTOVF): Likewise.
13756         (FPE_FLTDIV): Likewise.
13757         (FPE_FLTOVF): Likewise.
13758         (FPE_FLTUND): Likewise.
13759         (FPE_FLTRES): Likewise.
13760         (FPE_FLTINV): Likewise.
13761         (FPE_FLTSUB): Likewise.
13762         (SEGV_MAPERR): Likewise.
13763         (SEGV_ACCERR): Likewise.
13764         (BUS_ADRALN): Likewise.
13765         (BUS_ADRERR): Likewise.
13766         (BUS_OBJERR): Likewise.
13767         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13768         (TRAP_TRACE): Likewise.
13769         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13770         __USE_XOPEN2K8].
13771         (CLD_KILLED): Likewise.
13772         (CLD_DUMPED): Likewise.
13773         (CLD_TRAPPED): Likewise.
13774         (CLD_STOPPED): Likewise.
13775         (CLD_CONTINUED): Likewise.
13776         (POLL_IN): Likewise.
13777         (POLL_OUT): Likewise.
13778         (POLL_MSG): Likewise.
13779         (POLL_ERR): Likewise.
13780         (POLL_PRI): Likewise.
13781         (POLL_HUP): Likewise.
13782         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13783         Likewise.
13784         (ILL_ILLOPN): Likewise.
13785         (ILL_ILLADR): Likewise.
13786         (ILL_ILLTRP): Likewise.
13787         (ILL_PRVOPC): Likewise.
13788         (ILL_PRVREG): Likewise.
13789         (ILL_COPROC): Likewise.
13790         (ILL_BADSTK): Likewise.
13791         (FPE_INTDIV): Likewise.
13792         (FPE_INTOVF): Likewise.
13793         (FPE_FLTDIV): Likewise.
13794         (FPE_FLTOVF): Likewise.
13795         (FPE_FLTUND): Likewise.
13796         (FPE_FLTRES): Likewise.
13797         (FPE_FLTINV): Likewise.
13798         (FPE_FLTSUB): Likewise.
13799         (SEGV_MAPERR): Likewise.
13800         (SEGV_ACCERR): Likewise.
13801         (BUS_ADRALN): Likewise.
13802         (BUS_ADRERR): Likewise.
13803         (BUS_OBJERR): Likewise.
13804         (BUS_MCEERR_AR): Likewise.
13805         (BUS_MCEERR_AO): Likewise.
13806         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13807         (TRAP_TRACE): Likewise.
13808         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13809         __USE_XOPEN2K8].
13810         (CLD_KILLED): Likewise.
13811         (CLD_DUMPED): Likewise.
13812         (CLD_TRAPPED): Likewise.
13813         (CLD_STOPPED): Likewise.
13814         (CLD_CONTINUED): Likewise.
13815         (POLL_IN): Likewise.
13816         (POLL_OUT): Likewise.
13817         (POLL_MSG): Likewise.
13818         (POLL_ERR): Likewise.
13819         (POLL_PRI): Likewise.
13820         (POLL_HUP): Likewise.
13821         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13822         (ILL_ILLOPN): Likewise.
13823         (ILL_ILLADR): Likewise.
13824         (ILL_ILLTRP): Likewise.
13825         (ILL_PRVOPC): Likewise.
13826         (ILL_PRVREG): Likewise.
13827         (ILL_COPROC): Likewise.
13828         (ILL_BADSTK): Likewise.
13829         (FPE_INTDIV): Likewise.
13830         (FPE_INTOVF): Likewise.
13831         (FPE_FLTDIV): Likewise.
13832         (FPE_FLTOVF): Likewise.
13833         (FPE_FLTUND): Likewise.
13834         (FPE_FLTRES): Likewise.
13835         (FPE_FLTINV): Likewise.
13836         (FPE_FLTSUB): Likewise.
13837         (SEGV_MAPERR): Likewise.
13838         (SEGV_ACCERR): Likewise.
13839         (BUS_ADRALN): Likewise.
13840         (BUS_ADRERR): Likewise.
13841         (BUS_OBJERR): Likewise.
13842         (BUS_MCEERR_AR): Likewise.
13843         (BUS_MCEERR_AO): Likewise.
13844         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13845         (TRAP_TRACE): Likewise.
13846         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13847         __USE_XOPEN2K8].
13848         (CLD_KILLED): Likewise.
13849         (CLD_DUMPED): Likewise.
13850         (CLD_TRAPPED): Likewise.
13851         (CLD_STOPPED): Likewise.
13852         (CLD_CONTINUED): Likewise.
13853         (POLL_IN): Likewise.
13854         (POLL_OUT): Likewise.
13855         (POLL_MSG): Likewise.
13856         (POLL_ERR): Likewise.
13857         (POLL_PRI): Likewise.
13858         (POLL_HUP): Likewise.
13859         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13860         Likewise.
13861         (ILL_ILLOPN): Likewise.
13862         (ILL_ILLADR): Likewise.
13863         (ILL_ILLTRP): Likewise.
13864         (ILL_PRVOPC): Likewise.
13865         (ILL_PRVREG): Likewise.
13866         (ILL_COPROC): Likewise.
13867         (ILL_BADSTK): Likewise.
13868         (ILL_BADIADDR): Likewise.
13869         (ILL_BREAK): Likewise.
13870         (FPE_INTDIV): Likewise.
13871         (FPE_INTOVF): Likewise.
13872         (FPE_FLTDIV): Likewise.
13873         (FPE_FLTOVF): Likewise.
13874         (FPE_FLTUND): Likewise.
13875         (FPE_FLTRES): Likewise.
13876         (FPE_FLTINV): Likewise.
13877         (FPE_FLTSUB): Likewise.
13878         (FPE_DECOVF): Likewise.
13879         (FPE_DECDIV): Likewise.
13880         (FPE_DECERR): Likewise.
13881         (FPE_INVASC): Likewise.
13882         (FPE_INVDEC): Likewise.
13883         (SEGV_MAPERR): Likewise.
13884         (SEGV_ACCERR): Likewise.
13885         (SEGV_PSTKOVF): Likewise.
13886         (BUS_ADRALN): Likewise.
13887         (BUS_ADRERR): Likewise.
13888         (BUS_OBJERR): Likewise.
13889         (BUS_MCEERR_AR): Likewise.
13890         (BUS_MCEERR_AO): Likewise.
13891         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13892         (TRAP_TRACE): Likewise.
13893         (TRAP_BRANCH): Likewise.
13894         (TRAP_HWBKPT): Likewise.
13895         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13896         __USE_XOPEN2K8].
13897         (CLD_KILLED): Likewise.
13898         (CLD_DUMPED): Likewise.
13899         (CLD_TRAPPED): Likewise.
13900         (CLD_STOPPED): Likewise.
13901         (CLD_CONTINUED): Likewise.
13902         (POLL_IN): Likewise.
13903         (POLL_OUT): Likewise.
13904         (POLL_MSG): Likewise.
13905         (POLL_ERR): Likewise.
13906         (POLL_PRI): Likewise.
13907         (POLL_HUP): Likewise.
13908         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13909         (ILL_ILLOPN): Likewise.
13910         (ILL_ILLADR): Likewise.
13911         (ILL_ILLTRP): Likewise.
13912         (ILL_PRVOPC): Likewise.
13913         (ILL_PRVREG): Likewise.
13914         (ILL_COPROC): Likewise.
13915         (ILL_BADSTK): Likewise.
13916         (FPE_INTDIV): Likewise.
13917         (FPE_INTOVF): Likewise.
13918         (FPE_FLTDIV): Likewise.
13919         (FPE_FLTOVF): Likewise.
13920         (FPE_FLTUND): Likewise.
13921         (FPE_FLTRES): Likewise.
13922         (FPE_FLTINV): Likewise.
13923         (FPE_FLTSUB): Likewise.
13924         (SEGV_MAPERR): Likewise.
13925         (SEGV_ACCERR): Likewise.
13926         (BUS_ADRALN): Likewise.
13927         (BUS_ADRERR): Likewise.
13928         (BUS_OBJERR): Likewise.
13929         (BUS_MCEERR_AR): Likewise.
13930         (BUS_MCEERR_AO): Likewise.
13931         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13932         (TRAP_TRACE): Likewise.
13933         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13934         __USE_XOPEN2K8].
13935         (CLD_KILLED): Likewise.
13936         (CLD_DUMPED): Likewise.
13937         (CLD_TRAPPED): Likewise.
13938         (CLD_STOPPED): Likewise.
13939         (CLD_CONTINUED): Likewise.
13940         (POLL_IN): Likewise.
13941         (POLL_OUT): Likewise.
13942         (POLL_MSG): Likewise.
13943         (POLL_ERR): Likewise.
13944         (POLL_PRI): Likewise.
13945         (POLL_HUP): Likewise.
13946         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13947         (ILL_ILLOPN): Likewise.
13948         (ILL_ILLADR): Likewise.
13949         (ILL_ILLTRP): Likewise.
13950         (ILL_PRVOPC): Likewise.
13951         (ILL_PRVREG): Likewise.
13952         (ILL_COPROC): Likewise.
13953         (ILL_BADSTK): Likewise.
13954         (FPE_INTDIV): Likewise.
13955         (FPE_INTOVF): Likewise.
13956         (FPE_FLTDIV): Likewise.
13957         (FPE_FLTOVF): Likewise.
13958         (FPE_FLTUND): Likewise.
13959         (FPE_FLTRES): Likewise.
13960         (FPE_FLTINV): Likewise.
13961         (FPE_FLTSUB): Likewise.
13962         (SEGV_MAPERR): Likewise.
13963         (SEGV_ACCERR): Likewise.
13964         (BUS_ADRALN): Likewise.
13965         (BUS_ADRERR): Likewise.
13966         (BUS_OBJERR): Likewise.
13967         (BUS_MCEERR_AR): Likewise.
13968         (BUS_MCEERR_AO): Likewise.
13969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13970         (TRAP_TRACE): Likewise.
13971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13972         __USE_XOPEN2K8].
13973         (CLD_KILLED): Likewise.
13974         (CLD_DUMPED): Likewise.
13975         (CLD_TRAPPED): Likewise.
13976         (CLD_STOPPED): Likewise.
13977         (CLD_CONTINUED): Likewise.
13978         (POLL_IN): Likewise.
13979         (POLL_OUT): Likewise.
13980         (POLL_MSG): Likewise.
13981         (POLL_ERR): Likewise.
13982         (POLL_PRI): Likewise.
13983         (POLL_HUP): Likewise.
13984         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13985         (ILL_ILLOPN): Likewise.
13986         (ILL_ILLADR): Likewise.
13987         (ILL_ILLTRP): Likewise.
13988         (ILL_PRVOPC): Likewise.
13989         (ILL_PRVREG): Likewise.
13990         (ILL_COPROC): Likewise.
13991         (ILL_BADSTK): Likewise.
13992         (FPE_INTDIV): Likewise.
13993         (FPE_INTOVF): Likewise.
13994         (FPE_FLTDIV): Likewise.
13995         (FPE_FLTOVF): Likewise.
13996         (FPE_FLTUND): Likewise.
13997         (FPE_FLTRES): Likewise.
13998         (FPE_FLTINV): Likewise.
13999         (FPE_FLTSUB): Likewise.
14000         (SEGV_MAPERR): Likewise.
14001         (SEGV_ACCERR): Likewise.
14002         (BUS_ADRALN): Likewise.
14003         (BUS_ADRERR): Likewise.
14004         (BUS_OBJERR): Likewise.
14005         (BUS_MCEERR_AR): Likewise.
14006         (BUS_MCEERR_AO): Likewise.
14007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14008         (TRAP_TRACE): Likewise.
14009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14010         __USE_XOPEN2K8].
14011         (CLD_KILLED): Likewise.
14012         (CLD_DUMPED): Likewise.
14013         (CLD_TRAPPED): Likewise.
14014         (CLD_STOPPED): Likewise.
14015         (CLD_CONTINUED): Likewise.
14016         (POLL_IN): Likewise.
14017         (POLL_OUT): Likewise.
14018         (POLL_MSG): Likewise.
14019         (POLL_ERR): Likewise.
14020         (POLL_PRI): Likewise.
14021         (POLL_HUP): Likewise.
14022         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14023         (ILL_ILLOPN): Likewise.
14024         (ILL_ILLADR): Likewise.
14025         (ILL_ILLTRP): Likewise.
14026         (ILL_PRVOPC): Likewise.
14027         (ILL_PRVREG): Likewise.
14028         (ILL_COPROC): Likewise.
14029         (ILL_BADSTK): Likewise.
14030         (ILL_DBLFLT): Likewise.
14031         (ILL_HARDWALL): Likewise.
14032         (FPE_INTDIV): Likewise.
14033         (FPE_INTOVF): Likewise.
14034         (FPE_FLTDIV): Likewise.
14035         (FPE_FLTOVF): Likewise.
14036         (FPE_FLTUND): Likewise.
14037         (FPE_FLTRES): Likewise.
14038         (FPE_FLTINV): Likewise.
14039         (FPE_FLTSUB): Likewise.
14040         (SEGV_MAPERR): Likewise.
14041         (SEGV_ACCERR): Likewise.
14042         (BUS_ADRALN): Likewise.
14043         (BUS_ADRERR): Likewise.
14044         (BUS_OBJERR): Likewise.
14045         (BUS_MCEERR_AR): Likewise.
14046         (BUS_MCEERR_AO): Likewise.
14047         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14048         (TRAP_TRACE): Likewise.
14049         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14050         __USE_XOPEN2K8].
14051         (CLD_KILLED): Likewise.
14052         (CLD_DUMPED): Likewise.
14053         (CLD_TRAPPED): Likewise.
14054         (CLD_STOPPED): Likewise.
14055         (CLD_CONTINUED): Likewise.
14056         (POLL_IN): Likewise.
14057         (POLL_OUT): Likewise.
14058         (POLL_MSG): Likewise.
14059         (POLL_ERR): Likewise.
14060         (POLL_PRI): Likewise.
14061         (POLL_HUP): Likewise.
14062         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14063         (ILL_ILLOPN): Likewise.
14064         (ILL_ILLADR): Likewise.
14065         (ILL_ILLTRP): Likewise.
14066         (ILL_PRVOPC): Likewise.
14067         (ILL_PRVREG): Likewise.
14068         (ILL_COPROC): Likewise.
14069         (ILL_BADSTK): Likewise.
14070         (FPE_INTDIV): Likewise.
14071         (FPE_INTOVF): Likewise.
14072         (FPE_FLTDIV): Likewise.
14073         (FPE_FLTOVF): Likewise.
14074         (FPE_FLTUND): Likewise.
14075         (FPE_FLTRES): Likewise.
14076         (FPE_FLTINV): Likewise.
14077         (FPE_FLTSUB): Likewise.
14078         (SEGV_MAPERR): Likewise.
14079         (SEGV_ACCERR): Likewise.
14080         (BUS_ADRALN): Likewise.
14081         (BUS_ADRERR): Likewise.
14082         (BUS_OBJERR): Likewise.
14083         (BUS_MCEERR_AR): Likewise.
14084         (BUS_MCEERR_AO): Likewise.
14085         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14086         (TRAP_TRACE): Likewise.
14087         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14088         __USE_XOPEN2K8].
14089         (CLD_KILLED): Likewise.
14090         (CLD_DUMPED): Likewise.
14091         (CLD_TRAPPED): Likewise.
14092         (CLD_STOPPED): Likewise.
14093         (CLD_CONTINUED): Likewise.
14094         (POLL_IN): Likewise.
14095         (POLL_OUT): Likewise.
14096         (POLL_MSG): Likewise.
14097         (POLL_ERR): Likewise.
14098         (POLL_PRI): Likewise.
14099         (POLL_HUP): Likewise.
14100         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14101         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14103         [BZ #16670]
14104         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14105         before #include of <time.h>.
14106         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14107         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14108         (test-xfail-UNIX98/sched.h/conform): Likewise.
14110 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14112         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14113         error absence of trapping exception support.
14114         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14116 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14118         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14119         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14120         * timezone/Makefile (testdata): Move definition above include of
14121         Rules.
14122         (test-zones): New variable.
14123         (tests-special): Add zone files.
14124         (build-testdata): Use $(evaluate-test).
14126         * elf/Makefile (tests-special): Rename tests to end with .out.
14127         ($(objpfx)noload-mem): Likewise.
14128         ($(objpfx)tst-leaks1-mem): Likewise.
14129         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14130         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14131         $(objpfx)test-iconvconfig.out.
14132         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14133         set -e inside subshell and redirect output to file.
14134         * iconvdata/Makefile (generated): Rename tests to end with .out.
14135         Correct type.
14136         (tests-special): Rename tests to end with .out.
14137         ($(objpfx)mtrace-tst-loading): Likewise.
14138         * intl/Makefile (generated): Likewise.
14139         (tests-special): Likewise.
14140         ($(objpfx)mtrace-tst-gettext): Likewise.
14141         * misc/Makefile (generated): Likewise.
14142         (tests-special): Likewise.
14143         ($(objpfx)tst-error1-mem): Likewise.
14144         * nptl/Makefile (tests-special): Likewise.
14145         ($(objpfx)tst-stack3-mem): Likewise.
14146         (generated): Likewise.
14147         * posix/Makefile (generated): Likewise.
14148         (tests-special): Likewise.
14149         (xtests-special): Likewise.
14150         ($(objpfx)tst-fnmatch-mem): Likewise.
14151         ($(objpfx)bug-regex2-mem): Likewise.
14152         ($(objpfx)bug-regex14-mem): Likewise.
14153         ($(objpfx)bug-regex21-mem): Likewise.
14154         ($(objpfx)bug-regex31-mem): Likewise.
14155         ($(objpfx)tst-vfork3-mem): Likewise.
14156         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14157         ($(objpfx)tst-pcre-mem): Likewise.
14158         ($(objpfx)tst-boost-mem): Likewise.
14159         ($(objpfx)bug-ga2-mem): Likewise.
14160         ($(objpfx)bug-glob2-mem): Likewise.
14161         * resolv/Makefile (generate): Likewise.
14162         (tests-special): Likewise.
14163         (xtests-special): Likewise.
14164         (generated): Likewise.
14165         ($(objpfx)mtrace-tst-leaks): Likewise.
14166         ($(objpfx)mtrace-tst-leaks2): Likewise.
14168         * scripts/merge-test-results.sh: New file.
14169         * Makefile (tests-special-notdir): New variable.
14170         (tests): Run merge-test-results.sh.
14171         (xtests): Likewise.
14172         * Rules (tests-special-notdir): New variable.
14173         (xtests-special-notdir): Likewise.
14174         (tests): Run merge-test-results.sh
14175         (xtests): Likewise.
14177         * Makeconfig (test-xfail-name): New variable.
14178         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14179         compute variable name for expected failures.
14180         * conform/Makefile (conformtest-headers-data): New variable.
14181         (conformtest-standards): Likewise.
14182         (conformtest-headers-ISO): Likewise.
14183         (conformtest-headers-ISO99): Likewise.
14184         (conformtest-headers-ISO11): Likewise.
14185         (conformtest-headers-POSIX): Likewise.
14186         (conformtest-headers-XPG3): Likewise.
14187         (conformtest-headers-XPG4): Likewise.
14188         (conformtest-headers-UNIX98): Likewise.
14189         (conformtest-headers-XOPEN2K): Likewise.
14190         (conformtest-headers-POSIX2008): Likewise.
14191         (conformtest-headers-XOPEN2K8): Likewise.
14192         (conformtest-header-list-base): Likewise.
14193         (conformtest-header-list-tests): Likewise.
14194         (conformtest-header-base): Likewise.
14195         (conformtest-header-tests): Likewise.
14196         (tests-special): Add $(conformtest-header-list-tests).  If
14197         [$(fast-check) && !$(cross-compiling)], add
14198         $(conformtest-header-tests) instead of
14199         $(objpfx)run-conformtest.out.
14200         (generated): Add $(conformtest-header-list-base).  If
14201         [$(fast-check) && !$(cross-compiling)], add
14202         $(conformtest-header-base).  Remove previous setting.
14203         ($(conformtest-header-list-tests)): New target.
14204         (test-xfail-run-conformtest): Remove variable.
14205         ($(objpfx)run-conformtest.out): Remove target.
14206         (test-xfail-ISO11/complex.h/conform): New variable.
14207         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14208         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14209         (test-xfail-XPG3/varargs.h/conform): Likewise.
14210         (test-xfail-XPG4/varargs.h/conform): Likewise.
14211         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14212         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14213         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14214         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14215         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14216         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14217         (test-xfail-XPG3/ftw.h/conform): Likewise.
14218         (test-xfail-XPG3/grp.h/conform): Likewise.
14219         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14220         (test-xfail-XPG3/limits.h/conform): Likewise.
14221         (test-xfail-XPG3/pwd.h/conform): Likewise.
14222         (test-xfail-XPG3/search.h/conform): Likewise.
14223         (test-xfail-XPG3/signal.h/conform): Likewise.
14224         (test-xfail-XPG3/stdio.h/conform): Likewise.
14225         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14226         (test-xfail-XPG3/string.h/conform): Likewise.
14227         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14228         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14229         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14230         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14231         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14232         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14233         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14234         (test-xfail-XPG3/termios.h/conform): Likewise.
14235         (test-xfail-XPG3/time.h/conform): Likewise.
14236         (test-xfail-XPG3/unistd.h/conform): Likewise.
14237         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14238         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14239         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14240         (test-xfail-XPG4/netdb.h/conform): Likewise.
14241         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14242         (test-xfail-XPG4/signal.h/conform): Likewise.
14243         (test-xfail-XPG4/stdio.h/conform): Likewise.
14244         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14245         (test-xfail-XPG4/stropts.h/conform): Likewise.
14246         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14247         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14248         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14249         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14250         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14251         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14252         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14253         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14254         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14255         (test-xfail-XPG4/termios.h/conform): Likewise.
14256         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14257         (test-xfail-XPG4/unistd.h/conform): Likewise.
14258         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14259         (test-xfail-POSIX/sched.h/conform): Likewise.
14260         (test-xfail-POSIX/signal.h/conform): Likewise.
14261         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14262         (test-xfail-POSIX/tar.h/conform): Likewise.
14263         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14264         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14265         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14266         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14267         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14268         (test-xfail-UNIX98/sched.h/conform): Likewise.
14269         (test-xfail-UNIX98/signal.h/conform): Likewise.
14270         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14271         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14272         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14273         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14274         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14275         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14276         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14277         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14278         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14279         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14280         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14281         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14282         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14283         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14284         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14285         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14286         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14287         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14288         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14289         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14290         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14291         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14292         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14293         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14294         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14295         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14296         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14297         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14298         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14299         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14300         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14301         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14302         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14303         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14304         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14305         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14306         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14307         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14308         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14309         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14310         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14311         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14312         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14313         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14314         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14315         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14316         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14317         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14318         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14319         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14320         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14321         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14322         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14323         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14324         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14325         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14326         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14327         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14328         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14329         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14330         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14331         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14332         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14333         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14334         (conformtest-cc-flags): Likewise.
14335         ($(conformtest-header-tests): New target.
14336         * conform/check-header-lists.sh: New file.
14337         * conform/run-conformtest.sh: Remove.
14339         * conform/conformtest.pl: Allow ' and \ in values given for
14340         constants.
14341         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14342         inclusion.
14343         [POSIX] (sys/types.h): Likewise.
14344         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14345         inclusion.
14346         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14347         inclusion.
14348         * conform/data/signal.h-data (SIGIO): Remove expectation.
14349         [XPG3] (SIGBUS): Do not expect.
14350         [POSIX || XPG3] (SIGPOLL): Likewise.
14351         [POSIX || XPG3] (SIGPROF): Likewise.
14352         [POSIX || XPG3] (SIGSYS): Likewise.
14353         [XPG3] (SIGTRAP): Likewise.
14354         [POSIX || XPG3] (SIGURG): Likewise.
14355         [POSIX || XPG3] (SIGVTALRM): Likewise.
14356         [POSIX || XPG3] (SIGXCPU): Likewise.
14357         [POSIX || XPG3] (SIGXFSZ): Likewise.
14358         [POSIX] (SA_SIGINFO): Expect.
14359         [XPG3] (siginfo_t): Do not expect type or contents.
14360         [POSIX] (si_pid): Do not expect element.
14361         [POSIX] (si_uid): Likewise.
14362         [POSIX] (si_addr): Likewise.
14363         [POSIX] (si_status): Likewise.
14364         [POSIX] (si_band): Likewise.
14365         [XPG4] (si_value): Likewise.
14366         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14367         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14368         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14369         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14370         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14371         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14372         [POSIX || XPG3] (ILL_COPROC): Likewise.
14373         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14374         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14375         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14376         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14377         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14378         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14379         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14380         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14381         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14382         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14383         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14384         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14385         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14386         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14387         [POSIX || XPG3] (CLD_EXITED): Likewise.
14388         [POSIX || XPG3] (CLD_KILLED): Likewise.
14389         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14390         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14391         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14392         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14393         [POSIX || XPG3] (POLL_IN): Likewise.
14394         [POSIX || XPG3] (POLL_OUT): Likewise.
14395         [POSIX || XPG3] (POLL_MSG): Likewise.
14396         [POSIX || XPG3] (POLL_ERR): Likewise.
14397         [POSIX || XPG3] (POLL_PRI): Likewise.
14398         [POSIX || XPG3] (POLL_HUP): Likewise.
14399         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14400         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14401         (SIG*): Do not allow.
14402         [XPG3] (si_*): Likewise.
14403         [XPG3] (SI_*): Likewise.
14404         [XPG3 || XPG4] (sigev_*): Likewise.
14405         [XPG3 || XPG4] (SIGEV_*): Likewise.
14406         [XPG3 || XPG4] (sival_*): Likewise.
14407         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14408         [POSIX || XPG3] (BUS_*): Likewise.
14409         [POSIX || XPG3] (CLD_*): Likewise.
14410         [POSIX || XPG3] (FPE_*): Likewise.
14411         [POSIX || XPG3] (ILL_*): Likewise.
14412         [POSIX || XPG3] (POLL_*): Likewise.
14413         [POSIX || XPG3] (SEGV_*): Likewise.
14414         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14415         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14416         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14417         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14418         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14419         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14420         Specify type and value.
14421         (TVERSLEN): Likewise.
14422         (REGTYPE): Likewise.
14423         (AREGTYPE): Likewise.
14424         (LNKTYPE): Likewise.
14425         (SYMTYPE): Likewise.
14426         (CHRTYPE): Likewise.
14427         (BLKTYPE): Likewise.
14428         (DIRTYPE): Likewise.
14429         (FIFOTYPE): Likewise.
14430         (CONTTYPE): Likewise.
14431         (TSUID): Likewise.
14432         (TSGID): Likewise.
14433         (TSVTX): Likewise.
14434         (TUREAD): Likewise.
14435         (TUWRITE): Likewise.
14436         (TUEXEC): Likewise.
14437         (TGREAD): Likewise.
14438         (TGWRITE): Likewise.
14439         (TGEXEC): Likewise.
14440         (TOREAD): Likewise.
14441         (TOWRITE): Likewise.
14442         (TOEXEC): Likewise.
14443         [POSIX] (TSVTX): Expect constant.
14445 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14447         * Makefile (tests): Change dependencies to ....
14448         (tests-special): ... additions to this variable.
14449         (tests): Depend on $(tests-special).
14450         * Makerules (check-abi-list): New variable.
14451         (check-abi): Depend on $(check-abi-list).
14452         [$(subdir) = elf] (tests-special): Add
14453         $(objpfx)check-abi-libc.out.
14454         [$(build-shared) = yes && subdir] (tests-special): Add
14455         $(check-abi-list).
14456         [$(build-shared) = yes && subdir] (tests): Do not depend on
14457         check-abi.
14458         * Rules (tests): Depend on $(tests-special).
14459         (xtests): Depend on $(xtests-special).
14460         * catgets/Makefile (tests): Change dependencies to ....
14461         (tests-special): ... additions to this variable.
14462         * conform/Makefile (tests): Change dependencies to ....
14463         (tests-special): ... additions to this variable.
14464         * elf/Makefile (tests): Change dependencies to ....
14465         (tests-special): ... additions to this variable.
14466         * grp/Makefile (tests): Change dependencies to ....
14467         (tests-special): ... additions to this variable.
14468         * iconv/Makefile (xtests): Change dependencies to ....
14469         (xtests-special): ... additions to this variable.
14470         * iconvdata/Makefile (tests): Change dependencies to ....
14471         (tests-special): ... additions to this variable.
14472         * intl/Makefile (tests): Change dependencies to ....
14473         (tests-special): ... additions to this variable.  Also add
14474         $(objpfx)tst-gettext.out.
14475         * io/Makefile (tests): Change dependencies to ....
14476         (tests-special): ... additions to this variable.
14477         * libio/Makefile (tests): Change dependencies to ....
14478         (tests-special): ... additions to this variable.
14479         * malloc/Makefile (tests): Change dependencies to ....
14480         (tests-special): ... additions to this variable.
14481         * misc/Makefile (tests): Change dependencies to ....
14482         (tests-special): ... additions to this variable.
14483         * nptl/Makefile (tests): Change dependencies to ....
14484         (tests-special): ... additions to this variable.
14485         * nptl_db/Makefile (tests): Change dependencies to ....
14486         (tests-special): ... additions to this variable.
14487         * posix/Makefile (tests): Change dependencies to ....
14488         (tests-special): ... additions to this variable.
14489         (xtests): Change dependencies to ....
14490         (xtests-special): ... additions to this variable.
14491         * resolv/Makefile (tests): Change dependencies to ....
14492         (tests-special): ... additions to this variable.
14493         (xtests): Change dependencies to ....
14494         (xtests-special): ... additions to this variable.
14495         * stdio-common/Makefile (tests): Change dependencies to ....
14496         (tests-special): ... additions to this variable.
14497         (do-tst-unbputc): Remove target.
14498         (do-tst-printf): Likewise.
14499         * stdlib/Makefile (tests): Change dependencies to ....
14500         (tests-special): ... additions to this variable.
14501         * string/Makefile (tests): Change dependencies to ....
14502         (tests-special): ... additions to this variable.
14503         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14504         (tests-special): ... additions to this variable.
14506         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14507         whole file.
14508         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14509         whole file.
14510         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14511         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14513         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14514         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14515         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14516         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14517         * conform/data/libgen.h-data [XPG3]: Likewise.
14518         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14519         * conform/data/ndbm.h-data [XPG3]: Likewise.
14520         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14521         * conform/data/netdb.h-data [XPG3]: Likewise.
14522         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14523         * conform/data/poll.h-data [XPG3]: Likewise.
14524         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14525         * conform/data/strings.h-data [XPG3]: Likewise.
14526         * conform/data/stropts.h-data [XPG3]: Likewise.
14527         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14528         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14529         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14530         Likewise.
14531         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14532         * conform/data/sys/time.h-data [XPG3]: Likewise.
14533         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14534         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14535         * conform/data/sys/un.h-data [XPG3]: Likewise.
14536         * conform/data/syslog.h-data [XPG3]: Likewise.
14537         * conform/data/ucontext.h-data [XPG3]: Likewise.
14538         * conform/data/utmpx.h-data [XPG3]: Likewise.
14539         * conform/data/varargs.h-data [UNIX98]: Enable file.
14541         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14543         * math/libm-test.inc (struct test_f_f_data): Move expected results
14544         into structure for each rounding mode.
14545         (struct test_ff_f_data): Likewise.
14546         (struct test_ff_f_data_nexttoward): Likewise.
14547         (struct test_fi_f_data): Likewise.
14548         (struct test_fl_f_data): Likewise.
14549         (struct test_if_f_data): Likewise.
14550         (struct test_fff_f_data): Likewise.
14551         (struct test_c_f_data): Likewise.
14552         (struct test_f_f1_data): Likewise.
14553         (struct test_fF_f1_data): Likewise.
14554         (struct test_ffI_f1_data): Likewise.
14555         (struct test_c_c_data): Likewise.
14556         (struct test_cc_c_data): Likewise.
14557         (struct test_f_i_data): Likewise.
14558         (struct test_ff_i_data): Likewise.
14559         (struct test_f_l_data): Likewise.
14560         (struct test_f_L_data): Likewise.
14561         (struct test_fFF_11_data): Likewise.
14562         (RM_): New macro.
14563         (RM_FE_DOWNWARD): Likewise.
14564         (RM_FE_TONEAREST): Likewise.
14565         (RM_FE_TOWARDZERO): Likewise.
14566         (RM_FE_UPWARD): Likewise.
14567         (RUN_TEST_LOOP_f_f): Update references to expected results.
14568         (RUN_TEST_LOOP_2_f): Likewise.
14569         (RUN_TEST_LOOP_fff_f): Likewise.
14570         (RUN_TEST_LOOP_c_f): Likewise.
14571         (RUN_TEST_LOOP_f_f1): Likewise.
14572         (RUN_TEST_LOOP_fF_f1): Likewise.
14573         (RUN_TEST_LOOP_fI_f1): Likewise.
14574         (RUN_TEST_LOOP_ffI_f1): Likewise.
14575         (RUN_TEST_LOOP_c_c): Likewise.
14576         (RUN_TEST_LOOP_cc_c): Likewise.
14577         (RUN_TEST_LOOP_f_i): Likewise.
14578         (RUN_TEST_LOOP_f_i_tg): Likewise.
14579         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14580         (RUN_TEST_LOOP_f_b): Likewise.
14581         (RUN_TEST_LOOP_f_b_tg): Likewise.
14582         (RUN_TEST_LOOP_f_l): Likewise.
14583         (RUN_TEST_LOOP_f_L): Likewise.
14584         (RUN_TEST_LOOP_fFF_11): Likewise.
14585         * math/gen-libm-test.pl (parse_args): Output four copies of
14586         expected results for each test.
14588         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14589         (__ASSUME_UTIMES): Remove.
14590         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14591         (__ASSUME_UTIMES): Likewise.
14593         * math/gen-auto-libm-tests.c: Update comment on output format.
14594         (output_for_one_input_case): Generate before-rounding and
14595         after-rounding information as conditions on output flags not
14596         floating-point format.
14597         * math/auto-libm-test-out: Regenerated.
14598         * math/gen-libm-test.pl (cond_value): New function.
14599         (or_cond_value): Use cond_value.
14600         (generate_testfile): Handle conditional exceptions.
14602 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14604         * math/libm-test.inc (max_valid_error): New variable.
14605         (init_max_error): Take new argument specifying whether function
14606         results are exactly determined.  Set max_valid_error and bound
14607         other variables for errors based on this argument.
14608         (set_max_error): Do not record results above max_valid_error.
14609         (check_float_internal): Only accept errors of up to 0.5ulps if
14610         also at most max_valid_error.
14611         (START): Take new argument EXACT and pass it to init_max_error.
14612         (acos_test): Update call to START.
14613         (acos_test_tonearest): Likewise.
14614         (acos_test_towardzero): Likewise.
14615         (acos_test_downward): Likewise.
14616         (acos_test_upward): Likewise.
14617         (acosh_test): Likewise.
14618         (asin_test): Likewise.
14619         (asin_test_tonearest): Likewise.
14620         (asin_test_towardzero): Likewise.
14621         (asin_test_downward): Likewise.
14622         (asin_test_upward): Likewise.
14623         (asinh_test): Likewise.
14624         (atan_test): Likewise.
14625         (atanh_test): Likewise.
14626         (atan2_test): Likewise.
14627         (cabs_test): Likewise.
14628         (cacos_test): Likewise.
14629         (cacosh_test): Likewise.
14630         (carg_test): Likewise.
14631         (casin_test): Likewise.
14632         (casinh_test): Likewise.
14633         (catan_test): Likewise.
14634         (catanh_test): Likewise.
14635         (cbrt_test): Likewise.
14636         (ccos_test): Likewise.
14637         (ccosh_test): Likewise.
14638         (ceil_test): Likewise.
14639         (cexp_test): Likewise.
14640         (cimag_test): Likewise.
14641         (clog_test): Likewise.
14642         (clog10_test): Likewise.
14643         (conj_test): Likewise.
14644         (copysign_test): Likewise.
14645         (cos_test): Likewise.
14646         (cos_test_tonearest): Likewise.
14647         (cos_test_towardzero): Likewise.
14648         (cos_test_downward): Likewise.
14649         (cos_test_upward): Likewise.
14650         (cosh_test): Likewise.
14651         (cosh_test_tonearest): Likewise.
14652         (cosh_test_towardzero): Likewise.
14653         (cosh_test_downward): Likewise.
14654         (cosh_test_upward): Likewise.
14655         (cpow_test): Likewise.
14656         (cproj_test): Likewise.
14657         (creal_test): Likewise.
14658         (csin_test): Likewise.
14659         (csinh_test): Likewise.
14660         (csqrt_test): Likewise.
14661         (ctan_test): Likewise.
14662         (ctan_test_tonearest): Likewise.
14663         (ctan_test_towardzero): Likewise.
14664         (ctan_test_downward): Likewise.
14665         (ctan_test_upward): Likewise.
14666         (ctanh_test): Likewise.
14667         (ctanh_test_tonearest): Likewise.
14668         (ctanh_test_towardzero): Likewise.
14669         (ctanh_test_downward): Likewise.
14670         (ctanh_test_upward): Likewise.
14671         (erf_test): Likewise.
14672         (erfc_test): Likewise.
14673         (exp_test): Likewise.
14674         (exp_test_tonearest): Likewise.
14675         (exp_test_towardzero): Likewise.
14676         (exp_test_downward): Likewise.
14677         (exp_test_upward): Likewise.
14678         (exp10_test): Likewise.
14679         (exp10_test_tonearest): Likewise.
14680         (exp10_test_towardzero): Likewise.
14681         (exp10_test_downward): Likewise.
14682         (exp10_test_upward): Likewise.
14683         (pow10_test): Likewise.
14684         (exp2_test): Likewise.
14685         (expm1_test): Likewise.
14686         (expm1_test_tonearest): Likewise.
14687         (expm1_test_towardzero): Likewise.
14688         (expm1_test_downward): Likewise.
14689         (expm1_test_upward): Likewise.
14690         (fabs_test): Likewise.
14691         (fdim_test): Likewise.
14692         (floor_test): Likewise.
14693         (fma_test): Likewise.
14694         (fma_test_towardzero): Likewise.
14695         (fma_test_downward): Likewise.
14696         (fma_test_upward): Likewise.
14697         (fmax_test): Likewise.
14698         (fmin_test): Likewise.
14699         (fmod_test): Likewise.
14700         (fpclassify_test): Likewise.
14701         (frexp_test): Likewise.
14702         (hypot_test): Likewise.
14703         (ilogb_test): Likewise.
14704         (isfinite_test): Likewise.
14705         (finite_test): Likewise.
14706         (isgreater_test): Likewise.
14707         (isgreaterequal_test): Likewise.
14708         (isinf_test): Likewise.
14709         (isless_test): Likewise.
14710         (islessequal_test): Likewise.
14711         (islessgreater_test): Likewise.
14712         (isnan_test): Likewise.
14713         (isnormal_test): Likewise.
14714         (issignaling_test): Likewise.
14715         (isunordered_test): Likewise.
14716         (j0_test): Likewise.
14717         (j1_test): Likewise.
14718         (jn_test): Likewise.
14719         (ldexp_test): Likewise.
14720         (lgamma_test): Likewise.
14721         (gamma_test): Likewise.
14722         (lrint_test): Likewise.
14723         (lrint_test_tonearest): Likewise.
14724         (lrint_test_towardzero): Likewise.
14725         (lrint_test_downward): Likewise.
14726         (lrint_test_upward): Likewise.
14727         (llrint_test): Likewise.
14728         (llrint_test_tonearest): Likewise.
14729         (llrint_test_towardzero): Likewise.
14730         (llrint_test_downward): Likewise.
14731         (llrint_test_upward): Likewise.
14732         (log_test): Likewise.
14733         (log10_test): Likewise.
14734         (log1p_test): Likewise.
14735         (log2_test): Likewise.
14736         (logb_test): Likewise.
14737         (logb_test_downward): Likewise.
14738         (lround_test): Likewise.
14739         (llround_test): Likewise.
14740         (modf_test): Likewise.
14741         (nearbyint_test): Likewise.
14742         (nextafter_test): Likewise.
14743         (nexttoward_test): Likewise.
14744         (pow_test): Likewise.
14745         (pow_test_tonearest): Likewise.
14746         (pow_test_towardzero): Likewise.
14747         (pow_test_downward): Likewise.
14748         (pow_test_upward): Likewise.
14749         (remainder_test): Likewise.
14750         (drem_test): Likewise.
14751         (remainder_test_tonearest): Likewise.
14752         (drem_test_tonearest): Likewise.
14753         (remainder_test_towardzero): Likewise.
14754         (drem_test_towardzero): Likewise.
14755         (remainder_test_downward): Likewise.
14756         (drem_test_downward): Likewise.
14757         (remainder_test_upward): Likewise.
14758         (drem_test_upward): Likewise.
14759         (remquo_test): Likewise.
14760         (rint_test): Likewise.
14761         (rint_test_tonearest): Likewise.
14762         (rint_test_towardzero): Likewise.
14763         (rint_test_downward): Likewise.
14764         (rint_test_upward): Likewise.
14765         (round_test): Likewise.
14766         (scalb_test): Likewise.
14767         (scalbn_test): Likewise.
14768         (scalbln_test): Likewise.
14769         (signbit_test): Likewise.
14770         (sin_test): Likewise.
14771         (sin_test_tonearest): Likewise.
14772         (sin_test_towardzero): Likewise.
14773         (sin_test_downward): Likewise.
14774         (sin_test_upward): Likewise.
14775         (sincos_test): Likewise.
14776         (sinh_test): Likewise.
14777         (sinh_test_tonearest): Likewise.
14778         (sinh_test_towardzero): Likewise.
14779         (sinh_test_downward): Likewise.
14780         (sinh_test_upward): Likewise.
14781         (sqrt_test): Likewise.
14782         (sqrt_test_tonearest): Likewise.
14783         (sqrt_test_towardzero): Likewise.
14784         (sqrt_test_downward): Likewise.
14785         (sqrt_test_upward): Likewise.
14786         (tan_test): Likewise.
14787         (tan_test_tonearest): Likewise.
14788         (tan_test_towardzero): Likewise.
14789         (tan_test_downward): Likewise.
14790         (tan_test_upward): Likewise.
14791         (tanh_test): Likewise.
14792         (tgamma_test): Likewise.
14793         (trunc_test): Likewise.
14794         (y0_test): Likewise.
14795         (y1_test): Likewise.
14796         (yn_test): Likewise.
14797         (significand_test): Likewise.
14799         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14800         individual tests in comment.
14801         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14802         (prev_max_error): New variable.
14803         (prev_real_max_error): Likewise.
14804         (prev_imag_max_error): Likewise.
14805         (compare_ulp_data): Don't refer to test names in comment.
14806         (find_test_ulps): Remove function.
14807         (find_function_ulps): Likewise.
14808         (find_complex_function_ulps): Likewise.
14809         (init_max_error): Take function name as argument.  Look up ulps
14810         for that function.
14811         (print_ulps): Remove function.
14812         (print_max_error): Use prev_max_error instead of calling
14813         find_function_ulps.
14814         (print_complex_max_error): Use prev_real_max_error and
14815         prev_imag_max_error instead of calling find_complex_function_ulps.
14816         (check_float_internal): Take max_ulp parameter instead of calling
14817         find_test_ulps.  Don't call print_ulps.
14818         (check_float): Update call to check_float_internal.
14819         (check_complex): Update calls to check_float_internal.
14820         (START): Pass argument to init_max_error.
14821         * math/gen-libm-test.pl (%results): Don't include "kind"
14822         information.
14823         (parse_ulps): Don't handle ulps of individual tests.
14824         (print_ulps_file): Likewise.
14825         (output_ulps): Likewise.
14826         * math/README.libm-test: Update.
14827         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14828         individual tests.
14829         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14830         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14831         * sysdeps/arm/libm-test-ulps: Likewise.
14832         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14833         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14834         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14835         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14836         * sysdeps/microblaze/libm-test-ulps: Likewise.
14837         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14838         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14839         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14840         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14841         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14842         * sysdeps/sh/libm-test-ulps: Likewise.
14843         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14844         * sysdeps/tile/libm-test-ulps: Likewise.
14845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14847 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14849         * math/libm-test.inc (print_complex_max_error): Check separately
14850         whether real and imaginary errors are within allowed range and
14851         pass 0 to print_complex_function_ulps instead of value within
14852         allowed range.
14854 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14856         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14857         formatting.
14858         (get_handles_fopen): Likewise.
14859         (do_write_test): Likewise.
14861         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14863         * libio/fileops.c (do_ftell): Use cached offset when
14864         available.
14865         * libio/iofwide.c (do_ftell_wide): Likewise.
14866         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14867         _IO_file_attach.
14868         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14870         [BZ #16532]
14871         * libio/libioP.h (get_file_offset): New function.
14872         * libio/fileops.c (get_file_offset): Likewise.
14873         (do_ftell): Likewise.
14874         (_IO_new_file_seekoff): Split out ftell logic.
14875         * libio/wfileops.c (do_ftell_wide): Likewise.
14876         (_IO_wfile_seekoff): Split out ftell logic.
14877         * libio/tst-ftell-active-handler.c: New test case.
14878         * libio/Makefile (tests): Add it.
14880 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14882         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14883         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14885 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14887         [BZ #16639]
14888         * nscd/connections.c (nscd_init): Call do_exit.
14889         (start_threads): Call do_exit and notify_parent.
14890         (begin_drop_privileges): Call do_exit.
14891         (finish_drop_privileges): Likewise.
14892         * nscd/selinux.c (preserve_capabilities): Likewise.
14893         (install_real_capabilities): Likewise.
14894         (nscd_selinux_enabled): Likewise.
14895         (avc_create_thread): Likewise.
14896         (avc_alloc_lock): Likewise.
14897         (nscd_avc_init): Likewise.
14898         * nscd/nscd.c (parent_fd): New static variable.
14899         (main): Create a pipe between parent and child processes.
14900         Skip closing parent_fd.
14901         (monitor_child): New function.
14902         (do_exit): Likewise.
14903         (notify_parent): Likewise.
14904         * nscd/nscd.h (notify_parent): Likewise.
14905         (do_exit): Likewise.
14907 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14909         * malloc/malloc.c (__libc_calloc): Revert last change.
14911 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14915 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14917         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14919         implementation.
14920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14921         (__libc_ifunc_impl_list): Likewise.
14922         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14923         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14924         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14925         * string/strrchr.c: Define STRRCHR.
14927 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14929         * benchtest/bench-strtok.c (simple_strtok): Delete.
14930         (strtok_string): Use as benchmark.
14931         * string/strtok (STRTOK): New macro.
14933 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14935         * manual/threads.texi: Add header and standard comments to all
14936         functions.
14938         * elf/dl-lookup.c (check_match): New function.
14939         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14940         (do_lookup_x): Remove nested function check_match. Use non-nested
14941         function check_match.
14943 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14945         * csu/Makefile (generated, before-compile): Use += rather than =.
14946         * catgets/Makefile (generated, generated-dirs): Likewise.
14947         * debug/Makefile (generated): Likewise.
14948         * dlfcn/Makefile (generated): Likewise.
14949         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14950         * iconvdata/Makefile (before-compile, generated): Likewise.
14951         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14952         * libio/Makefile (generated): Likewise.
14953         * malloc/Makefile (generated): Likewise.
14954         * manual/Makefile (generated, generated-dirs): Likewise.
14955         * misc/Makefile (generated): Likewise.
14956         * posix/Makefile (generated): Likewise.
14957         * resolv/Makefile (generated): Likewise.
14958         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14959         * timezone/Makefile (generated, generated-dirs): Likewise.
14961         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14963 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14966         power8 implementation.
14967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14968         file: POWER8 llround ifunc implementation.
14969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14970         (__lllround): Add POWER8 implementation.
14971         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14972         POWER8 llround implementation.
14974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14975         power8 implementation.
14976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14977         file: POWER8 llrint ifunc implementation.
14978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14979         Add POWER8 implementation.
14980         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14981         POWER8 llrint implementation.
14983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14984         power8 implementation.
14985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14986         file: POWER8 finite ifunc implementation.
14987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14988         Add POWER8 implementation.
14989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14990         Likewise.
14991         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14992         POWER8 finite implementation.
14993         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14996         power8 implementation.
14997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14998         file: POWER8 isinf ifunc implementation.
14999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15000         POWER8 implementation.
15001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15002         Likewise.
15003         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15004         isinf implementation.
15005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15007         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15008         (INIT_ARCH): Add hwcap2 initialization.
15009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15010         power8 implementation.
15011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15012         file: POWER8 isnan ifunc implementation.
15013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15014         POWER8 implementation.
15015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15016         Likewise.
15017         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15018         isnan implementation.
15019         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15021 2014-02-27  Joey Ye  <joey.ye@arm.com>
15023         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15024         (_FP_NANFRAC_Q): Set to zero.
15026 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15028         [BZ #16623]
15029         * math/auto-libm-test-in: New test inputs.
15030         * math/auto-libm-test-out: Regenerate.
15031         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15032         and DA.
15033         (__cos): Likewise.
15034         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15036 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15038         * scripts/evaluate-test.sh: Take new argument indicating whether
15039         failure is expected.
15040         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15041         indicating whether failure is expected.
15042         * conform/Makefile (test-xfail-run-conformtest): New variable.
15043         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15044         level.
15045         * posix/Makefile (test-xfail-annexc): New variable.
15046         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15048 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15050         * argp/Makefile: Include Makeconfig immediately after defining
15051         subdir.
15052         * assert/Makefile: Likewise.
15053         * benchtests/Makefile: Likewise.
15054         * catgets/Makefile: Likewise.
15055         * conform/Makefile: Likewise.
15056         * crypt/Makefile: Likewise.
15057         * csu/Makefile: Likewise.
15058         (all): Remove target.
15059         * ctype/Makefile: Include Makeconfig immediately after defining
15060         subdir.
15061         * debug/Makefile: Likewise.
15062         * dirent/Makefile: Likewise.
15063         * dlfcn/Makefile: Likewise.
15064         * gmon/Makefile: Likewise.
15065         * gnulib/Makefile: Likewise.
15066         * grp/Makefile: Likewise.
15067         * gshadow/Makefile: Likewise.
15068         * hesiod/Makefile: Likewise.
15069         * hurd/Makefile: Likewise.
15070         (all): Remove target.
15071         * iconvdata/Makefile: Include Makeconfig immediately after
15072         defining subdir.
15073         * inet/Makefile: Likewise.
15074         * intl/Makefile: Likewise.
15075         * io/Makefile: Likewise.
15076         * libio/Makefile: Likewise.
15077         (all): Remove target.
15078         * locale/Makefile: Include Makeconfig immediately after defining
15079         subdir.
15080         * login/Makefile: Likewise.
15081         * mach/Makefile: Likewise.
15082         (all): Remove target.
15083         * malloc/Makefile: Include Makeconfig immediately after defining
15084         subdir.
15085         (all): Remove target.
15086         * manual/Makefile: Include Makeconfig immediately after defining
15087         subdir.
15088         * math/Makefile: Likewise.
15089         * misc/Makefile: Likewise.
15090         * nis/Makefile: Likewise.
15091         * nss/Makefile: Likewise.
15092         * po/Makefile: Likewise.
15093         (all): Remove target.
15094         * posix/Makefile: Include Makeconfig immediately after defining
15095         subdir.
15096         * pwd/Makefile: Likewise.
15097         * resolv/Makefile: Likewise.
15098         * resource/Makefile: Likewise.
15099         * rt/Makefile: Likewise.
15100         * setjmp/Makefile: Likewise.
15101         * shadow/Makefile: Likewise.
15102         * signal/Makefile: Likewise.
15103         * socket/Makefile: Likewise.
15104         * soft-fp/Makefile: Likewise.
15105         * stdio-common/Makefile: Likewise.
15106         * stdlib/Makefile: Likewise.
15107         * streams/Makefile: Likewise.
15108         * string/Makefile: Likewise.
15109         * sunrpc/Makefile: Likewise.
15110         (all): Remove target.
15111         * sysvipc/Makefile: Include Makeconfig immediately after defining
15112         subdir.
15113         * termios/Makefile: Likewise.
15114         * time/Makefile: Likewise.
15115         * timezone/Makefile: Likewise.
15116         (all): Remove target.
15117         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15118         subdir.
15119         * wctype/Makefile: Likewise.
15121 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15123         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15124         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15125         (libc_feholdexcept_setround_mips): Ditto.
15126         (libc_feholdsetround): New.
15127         (libc_feholdsetroundf): New.
15128         (libc_feholdsetroundl): New.
15129         (libc_feupdateenv_test_mips): New.
15130         (libc_feupdateenv_test): New.
15131         (libc_feupdateenv_testf): New.
15132         (libc_feupdateenv_testl): New.
15133         (libc_feresetround): New.
15134         (libc_feresetroundf): New.
15135         (libc_feresetroundl): New.
15136         (libc_fetestexcept_mips): New.
15137         (libc_fetestexcept): New.
15138         (libc_fetestexceptf): New.
15139         (libc_fetestexceptl): New.
15140         (HAVE_RM_CTX): New.
15141         (libc_feholdexcept_setround_mips_ctx): New.
15142         (libc_feholdexcept_setround_ctx): New.
15143         (libc_feholdexcept_setroundf_ctx): New.
15144         (libc_feholdexcept_setroundl_ctx): New.
15145         (libc_fesetenv_mips_ctx): New.
15146         (libc_fesetenv_ctx): New.
15147         (libc_fesetenv_ctxf): New.
15148         (libc_fesetenv_ctxl): New.
15149         (libc_feupdateenv_mips_ctx): New.
15150         (libc_feupdateenv_ctx): New.
15151         (libc_feupdateenvf_ctx): New.
15152         (libc_feupdateenvl_ctx): New.
15153         (libc_feholdsetround_mips_ctx): New.
15154         (libc_feholdsetround_ctx): New.
15155         (libc_feholdsetroundf_ctx): New.
15156         (libc_feholdsetroundl_ctx): New.
15157         (libc_feresetround_mips_ctx): New.
15158         (libc_feresetround_ctx): New.
15159         (libc_feresetroundf_ctx): New.
15160         (libc_feresetroundl_ctx): New.
15162 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15164         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15166         * manual/ipc.texi: New file.
15167         * manual/Makefile (chapters): Add ipc.
15168         * manual/job.texi: Add "Inter-Process Communication" to next.
15169         * manual/process.texi: Add "Inter-Process Communication" to prev.
15171 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15175 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15177         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15179         * manual/arith.texi: Fix spaces after sentences.
15180         * manual/charset.texi: Likewise.
15181         * manual/errno.texi: Likewise.
15182         * manual/install.texi: Likewise.
15183         * manual/llio.texi: Likewise.
15184         * manual/locale.texi: Likewise.
15185         * manual/maint.texi: Likewise.
15186         * manual/math.texi: Likewise.
15187         * manual/memory.texi: Likewise.
15188         * manual/message.texi: Likewise.
15189         * manual/probes.texi: Likewise.
15190         * manual/resource.texi: Likewise.
15191         * manual/signal.texi: Likewise.
15192         * manual/socket.texi: Likewise.
15193         * manual/stdio.texi: Likewise.
15194         * manual/string.texi: Likewise.
15195         * manual/time.texi: Likewise.
15196         * manual/users.texi: Likewise.
15198 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15200         [BZ #16632]
15201         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15202         _DEFAULT_SOURCE is defined.
15204 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15205             Carlos O'Donell  <carlos@redhat.com>
15207         [BZ #16613]
15208         * elf/dl-tls.c (_dl_count_modids): New function.
15209         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15210         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15211         audit library and increment generation counter.
15212         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15213         * elf/tst-audit9.c: New file.
15214         * elf/tst-auditmod9a.c: New file.
15215         * elf/tst-auditmod9b.c: New file.
15216         * elf/Makefile: Add rules to build and run tst-audit9.
15218 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15220         [BZ #15347]
15221         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15223 2014-02-25  Will Newton  <will.newton@linaro.org>
15225         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15226         (__longjmp): Restore sp and lr before restoring callee
15227         saved registers.  Add longjmp and longjmp_target
15228         SystemTap probe point.
15229         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15230         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15231         Define to zero to match jmpbuf layout.
15232         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15233         (__sigsetjmp): Save sp and lr before saving callee
15234         saved registers.  Add setjmp SystemTap probe point.
15236 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15238         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15240 2014-02-24  Andreas Schwab  <schwab@suse.de>
15242         [BZ #15804]
15243         * elf/pldd.c (wait_for_ptrace_stop): New function.
15244         (main): Call it after attaching.
15246 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15248         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15249         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15250         Versions files is now verboten.
15251         * hurd/Versions (libc: GLIBC_2.0):
15252         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15253         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15254         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15255         * mach/Versions: Likewise.
15257         * csu/Versions: Remove unused %include.
15258         * resolv/Versions: Likewise.
15260 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15262         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15263         ($(objpfx)check-local-headers.out): Likewise.
15264         ($(objpfx)begin-end-check.out): Likewise.
15265         * Makerules (check-abi-%.out): Likewise.
15266         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15267         ($(objpfx)test2.cat): Likewise.
15268         ($(objpfx)de/libc.cat): Likewise.
15269         ($(objpfx)test-gencat.out): Likewise.
15270         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15271         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15272         ($(objpfx)noload-mem): Likewise.
15273         ($(objpfx)tst-pathopt.out): Likewise.
15274         ($(objpfx)tst-rtld-load-self.out): Likewise.
15275         ($(objpfx)tst-array1-cmp.out): Likewise.
15276         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15277         ($(objpfx)tst-array2-cmp.out): Likewise.
15278         ($(objpfx)tst-array3-cmp.out): Likewise.
15279         ($(objpfx)tst-array4-cmp.out): Likewise.
15280         ($(objpfx)tst-array5-cmp.out): Likewise.
15281         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15282         ($(objpfx)check-textrel.out): Likewise.
15283         ($(objpfx)check-execstack.out): Likewise.
15284         ($(objpfx)check-localplt.out): Likewise.
15285         ($(objpfx)order2-cmp.out): Likewise.
15286         ($(objpfx)tst-leaks1-mem): Likewise.
15287         ($(objpfx)tst-leaks1-static-mem): Likewise.
15288         ($(objpfx)tst-initorder-cmp.out): Likewise.
15289         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15290         ($(objpfx)tst-unused-dep.out): Likewise.
15291         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15292         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15293         * iconv/Makefile (test-iconvconfig): Likewise.
15294         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15295         ($(objpfx)iconv-test.out): Likewise.
15296         ($(objpfx)tst-tables.out): Likewise.
15297         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15298         ($(objpfx)tst-gettext.out): Likewise.
15299         ($(objpfx)tst-translit.out): Likewise.
15300         ($(objpfx)tst-gettext2.out): Likewise.
15301         ($(objpfx)tst-gettext4.out): Likewise.
15302         ($(objpfx)tst-gettext6.out): Likewise.
15303         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15304         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15305         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15306         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15307         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15308         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15309         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15310         ($(objpfx)wordexp-tst.out): Likewise.
15311         ($(objpfx)annexc.out): Likewise.
15312         ($(objpfx)tst-fnmatch-mem): Likewise.
15313         ($(objpfx)bug-regex2-mem): Likewise.
15314         ($(objpfx)bug-regex14-mem): Likewise.
15315         ($(objpfx)bug-regex21-mem): Likewise.
15316         ($(objpfx)bug-regex31-mem): Likewise.
15317         ($(objpfx)tst-vfork3-mem): Likewise.
15318         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15319         ($(objpfx)tst-pcre-mem): Likewise.
15320         ($(objpfx)tst-boost-mem): Likewise.
15321         ($(objpfx)tst-getconf.out): Likewise.
15322         ($(objpfx)bug-ga2-mem): Likewise.
15323         ($(objpfx)bug-glob2-mem): Likewise.
15324         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15325         ($(objpfx)mtrace-tst-leaks2): Likewise.
15326         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15327         ($(objpfx)tst-printf.out): Likewise.
15328         ($(objpfx)tst-setvbuf1.out): Likewise.
15329         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15330         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15331         ($(objpfx)tst-fmtmsg.out): Likewise.
15332         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15333         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15335         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15336         * bits/sigaction.h [__USE_MISC]: Likewise.
15337         * bits/waitstatus.h: Update #endif comments.
15338         * ctype/ctype.h: Likewise.
15339         * dirent/dirent.h: Likewise.
15340         [__USE_MISC]: Remove redundant conditionals.
15341         * grp/grp.h: Update #endif comments.
15342         [__USE_GNU]: Remove redundant conditionals.
15343         [__USE_MISC]: Likewise.
15344         * inet/netinet/in.h [__USE_GNU]: Likewise.
15345         * io/sys/stat.h [__USE_MISC]: Likewise.
15346         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15347         * libio/bits/stdio.h: Update #endif comments.
15348         [__USE_MISC]: Remove redundant conditionals.
15349         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15350         * libio/stdio.h: Update #endif comments.
15351         [__USE_MISC]: Remove redundant conditionals.
15352         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15353         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15354         * math/math.h: Update #else and #endif comments.
15355         [__USE_MISC]: Remove redundant conditionals.
15356         * misc/sys/uio.h: Update #endif comments.
15357         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15358         * posix/glob.h [__USE_MISC]: Likewise.
15359         * posix/sys/types.h: Update #endif comments.
15360         [__USE_MISC]: Remove redundant conditionals.
15361         * posix/sys/wait.h: Update #endif comments.
15362         [__USE_MISC]: Remove redundant conditionals.
15363         * posix/unistd.h: Update #endif comments.
15364         [__USE_MISC]: Remove redundant conditionals.
15365         * pwd/pwd.h [__USE_GNU]: Likewise.
15366         [__USE_MISC]: Likewise.
15367         * resolv/netdb.h [__USE_GNU]: Likewise.
15368         * signal/signal.h: Update #endif comments.
15369         [__USE_MISC]: Remove redundant conditionals.
15370         * stdlib/stdlib.h: Update #else and #endif comments.
15371         [__USE_MISC]: Remove redundant conditionals.
15372         [__USE_GNU]: Likewise.
15373         * string/bits/string2.h [__USE_MISC]: Likewise.
15374         * string/string.h: Update #endif comments.
15375         [__USE_MISC]: Remove redundant conditionals.
15376         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15377         Likewise.
15378         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15379         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15380         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15381         Likewise.
15382         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15383         Likewise.
15384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15385         comments.
15386         [__USE_MISC]: Remove redundant conditionals.
15387         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15388         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15389         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15390         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15391         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15392         Likewise.
15393         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15394         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15395         Likewise.
15396         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15397         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15398         Likewise.
15399         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15400         Likewise.
15401         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15402         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15403         Likewise.
15404         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15405         Likewise.
15406         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15407         * sysdeps/x86/bits/string.h: Update #endif comments.
15408         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15409         conditionals.
15410         * time/sys/time.h: Update #endif comments.
15411         * time/time.h: Likewise.
15412         [__USE_MISC]: Remove redundant conditionals.
15414 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15416         [BZ #16600]
15417         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15419 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15421         * Versions.def (librt): Add GLIBC_2.17.
15423 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15425         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15426         synonym for _SYS_AUXV_H to allow direct inclusion.
15427         * sysdeps/sparc/bits/hwcap.h: Likewise.
15428         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15429         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15430         * sysdeps/sparc/sysdep.h: Likewise.
15432 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15434         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15436 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15438         * benchtests/bench-strrchr.c: Print length instead of position.
15440 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15442         [BZ #16611]
15443         * sysdeps/unix/sysv/linux/kernel-features.h
15444         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15445         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15446         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15447         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15448         Likewise.
15449         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15450         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15451         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15452         (__ASSUME_SENDMMSG): Define instead of using previous
15453         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15454         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15455         (__ASSUME_SENDMMSG_SYSCALL): Define.
15456         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15457         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15458         Likewise.
15459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15460         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15461         Likewise.
15462         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15463         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15464         Likewise.
15465         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15466         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15467         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15468         [__ASSUME_SENDMMSG]: Change conditionals to
15469         [__ASSUME_SENDMMSG_SOCKETCALL].
15470         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15471         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15472         Define.
15473         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15474         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15475         Likewise.
15476         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15477         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15478         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15479         [!__ASSUME_SENDMMSG]: Change conditional to
15480         [!__ASSUME_SENDMMSG_SOCKETCALL].
15481         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15482         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15483         Define.
15485         [BZ #16610]
15486         * sysdeps/unix/sysv/linux/kernel-features.h
15487         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15488         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15489         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15490         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15491         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15492         [__i386__ || __sparc__]
15493         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15494         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15495         (__ASSUME_RECVMMSG): Define instead of using previous
15496         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15497         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15498         (__ASSUME_RECVMMSG_SYSCALL): Define.
15499         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15500         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15501         Likewise.
15502         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15503         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15504         Likewise.
15505         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15507         Likewise.
15508         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15509         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15510         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15511         [__ASSUME_RECVMMSG]: Change condition to
15512         [__ASSUME_RECVMMSG_SOCKETCALL].
15513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15514         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15515         Define.
15516         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15517         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15518         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15519         Likewise.
15520         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15521         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15522         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15523         [!__ASSUME_RECVMMSG]: Change condition to
15524         [!__ASSUME_RECVMMSG_SOCKETCALL].
15525         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15526         (__ASSUME_RECVMMSG_SYSCALL): Define.
15528         [BZ #16609]
15529         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15530         __powerpc__ || __s390__ || __sh__ || __sparc__]
15531         (__ASSUME_SOCKETCALL): Define.
15532         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15533         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15534         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15535         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15536         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15537         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15538         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15539         (__ASSUME_ACCEPT4): Define instead of using previous
15540         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15541         __powerpc__ || __sparc__ || __s390__)] condition.
15542         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15543         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15544         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15545         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15546         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15547         [!__ASSUME_ACCEPT4]: Change condition to
15548         [!__ASSUME_ACCEPT4_SOCKETCALL].
15549         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15550         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15551         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15553         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15554         __ASSUME_ACCEPT4_SYSCALL.
15555         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15556         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15557         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15558         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15559         __ASSUME_ACCEPT4_SYSCALL.
15560         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15561         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15562         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15563         [__ASSUME_ACCEPT4]: Change condition to
15564         [__ASSUME_ACCEPT4_SOCKETCALL].
15565         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15566         (__ASSUME_SOCKETCALL): Define.
15567         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15569         (__ASSUME_SOCKETCALL): Define.
15570         (__ASSUME_ACCEPT4): Remove.
15571         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15572         Define.
15573         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15574         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15575         Likewise.
15576         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15577         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15579         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15580         macro.
15581         (HWCAP_ARM_LPAE): Likewise.
15582         (HWCAP_ARM_EVTSTRM): Likewise.
15583         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15584         Add vpfd32, lpae and evtstrm.
15585         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15586         Increase to 22.
15588 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15590         * math/auto-libm-test-in: Add tests of clog10.
15591         * math/auto-libm-test-out: Regenerated.
15592         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15593         * sysdeps/i386/fpu/libm-test-ulps: Update.
15594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15596 2014-02-18  Andreas Schwab  <schwab@suse.de>
15598         [BZ #16574]
15599         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15600         Store non-zero if the second buffer was newly allocated.
15601         (send_dg): Likewise.
15602         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15603         to send_vc and send_dg.
15604         (res_nsend): Pass NULL for ansp2_malloced.
15605         * resolv/res_query.c (__libc_res_nquery): Add parameter
15606         answerp2_malloced and pass it down to __libc_res_nsend.
15607         (res_nquery): Pass additional NULL to __libc_res_nquery.
15608         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15609         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15610         second answer buffer if answerp2_malloced was set.
15611         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15612         (__libc_res_nquerydomain): Add parameter
15613         answerp2_malloced and pass it down to __libc_res_nquery.
15614         (res_nquerydomain): Pass additional NULL to
15615         __libc_res_nquerydomain.
15616         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15617         additional NULL to __libc_res_nsend and __libc_res_nquery.
15618         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15619         additional NULL to __libc_res_nsearch.
15620         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15621         parameter of __libc_res_nsearch to check for separately allocated
15622         second buffer.
15623         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15624         __libc_res_nquery.
15625         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15626         additional NULL to __libc_res_nquery.
15627         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15628         __libc_res_nsearch.
15629         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15630         * include/resolv.h: Update prototypes of __libc_res_nquery,
15631         __libc_res_nsearch, __libc_res_nsend.
15633 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15635         * math/auto-libm-test-in: Add tests of fma.
15636         * math/auto-libm-test-out: Regenerated.
15637         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15638         (fma_towardzero_test_data): Likewise.
15639         (fma_downward_test_data): Likewise.
15640         (fma_upward_test_data): Likewise.
15641         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15642         mpc_mode.
15643         (rounding_modes): Add values for new field.
15644         (func_calc_method): Add value mpfr_fff_f.
15645         (func_calc_desc): Add mpfr_fff_f union field.
15646         (test_function): Add field exact_args.
15647         (FUNC): Add macro argument EXACT_ARGS.
15648         (FUNC_mpfr_f_f): Update call to FUNC.
15649         (FUNC_mpfr_f_f): Likewise.
15650         (FUNC_mpfr_ff_f): Likewise.
15651         (FUNC_mpfr_if_f): Likewise.
15652         (FUNC_mpc_c_f): Likewise.
15653         (FUNC_mpc_c_c): Likewise.
15654         (test_functions): Add fma.  Update calls to FUNC.
15655         (handle_input_arg): Add argument exact_args.
15656         (add_test): Update call to handle_input_arg.
15657         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15658         (output_for_one_input_case): Update call to calc_generic_results.
15659         Recalculate exact zero results in each rounding mode.
15661         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15662         non-negative before setting low bit.
15663         * math/auto-libm-test-in: Mark one asin test possibly having
15664         spurious underflow.
15665         * math/auto-libm-test-out: Regenerated.
15666         * sysdeps/i386/fpu/libm-test-ulps: Update.
15667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15669 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15671         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15672         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15673         ports/sysdeps/unix/sysv/linux/microblaze.
15674         * README: Add missing listing for microblaze*-*-linux-gnu.
15676 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15678         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15679         duplicate code
15681 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15683         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15684         * sysdeps/unix/sysv/linux/ia64: Move directory from
15685         ports/sysdeps/unix/sysv/linux/ia64.
15686         * README: Update listing for ia64-*-linux-gnu.
15688 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15689             Joseph Myers  <joseph@codesourcery.com>
15691         * Makeconfig (test-name): New variable.
15692         (evaluate-test): Likewise.
15693         * Makerules (do-test-clean): Remove .test-result files.
15694         (common-mostlyclean): Likewise.
15695         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15696         * scripts/evaluate-test.sh: New file.
15698 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15700         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15701         separate $(objpfx)tst-fopenloc-cmp.out and
15702         $(objpfx)tst-fopenloc-mem.out targets.
15703         (tests): Update dependencies.
15704         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15705         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15706         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15707         (tst-rxspencer-no-utf8-ARGS): New variable.
15708         (tst-rxspencer-no-utf8-ENV): Likewise.
15709         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15710         instead of $(objpfx)tst-rxspencer-mem.
15711         ($(objpfx)tst-rxspencer-mem): Change target to
15712         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15713         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15714         * posix/tst-rxspencer-no-utf8.c: New file.
15716         * elf/Makefile ($(objpfx)order.out): Remove rule.
15717         [$(run-built-tests) = yes] (tests): Depend on
15718         $(objpfx)order-cmp.out.
15719         ($(objpfx)order-cmp.out): New rule.
15720         [$(run-built-tests) = yes] (tests): Depend on
15721         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15722         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15723         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15724         $(objpfx)tst-array5-static-cmp.out.
15725         ($(objpfx)tst-array1.out): Remove rule.
15726         ($(objpfx)tst-array1-cmp.out): New rule.
15727         ($(objpfx)tst-array1-static.out): Remove rule.
15728         ($(objpfx)tst-array1-static-cmp.out): New rule.
15729         ($(objpfx)tst-array2.out): Remove rule.
15730         ($(objpfx)tst-array2-cmp.out): New rule.
15731         ($(objpfx)tst-array3.out): Remove rule.
15732         ($(objpfx)tst-array3-cmp.out): New rule.
15733         ($(objpfx)tst-array4.out): Remove rule.
15734         ($(objpfx)tst-array4-cmp.out): New rule.
15735         ($(objpfx)tst-array5.out): Remove rule.
15736         ($(objpfx)tst-array5-cmp.out): New rule.
15737         ($(objpfx)tst-array5-static.out): Remove rule.
15738         ($(objpfx)tst-array5-static-cmp.out): New rule.
15739         [$(run-built-tests) = yes] (tests): Depend on
15740         $(objpfx)order2-cmp.out.
15741         ($(objpfx)order2.out): Remove rule.
15742         ($(objpfx)order2-cmp.out): New rule.
15743         ($(objpfx)tst-initorder.out): Remove rule.
15744         [$(run-built-tests) = yes] (tests): Depend on
15745         $(objpfx)tst-initorder-cmp.out.
15746         ($(objpfx)tst-initorder-cmp.out): New rule.
15747         ($(objpfx)tst-initorder2.out): Remove rule.
15748         [$(run-built-tests) = yes] (tests): Depend on
15749         $(objpfx)tst-initorder2-cmp.out.
15750         ($(objpfx)tst-initorder2-cmp.out): New rule.
15751         [$(run-built-tests) = yes] (tests): Depend on
15752         $(objpfx)tst-unused-dep-cmp.out.
15753         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15754         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15755         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15756         on $(objpfx)tst-setvbuf1-cmp.out.
15757         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15758         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15759         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15760         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15761         ($(objpfx)tst-svc.out): Remove rule.
15762         ($(objpfx)tst-svc-cmp.out): New rule.
15764 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15766         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15767         * ctype/ctype.h [__USE_MISC]: Likewise.
15768         * dirent/dirent.h [__USE_MISC]: Likewise.
15769         * grp/grp.h [__USE_MISC]: Likewise.
15770         * io/fcntl.h [__USE_MISC]: Likewise.
15771         * io/sys/stat.h [__USE_MISC]: Likewise.
15772         * libio/stdio.h [__USE_MISC]: Likewise.
15773         * posix/unistd.h [__USE_MISC]: Likewise.
15774         * pwd/pwd.h [__USE_MISC]: Likewise.
15775         * stdlib.h [__USE_MISC]: Likewise.
15776         * string/bits/string2.h [__USE_MISC]: Likewise.
15777         * string/string.h [__USE_MISC]: Likewise.
15778         * time/time.h [__USE_MISC]: Likewise.
15780 2014-02-13  Andreas Schwab  <schwab@suse.de>
15782         [BZ #16574]
15783         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15784         second answer buffer if it was separately allocated.
15786 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15788         * sysdeps/mips/math-tests.h: Include <features.h>.
15789         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15790         (ROUNDING_TESTS_long_double): Do not define.
15791         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15792         (EXCEPTION_TESTS_long_double): Likewise.
15793         * sysdeps/mips/mips64/libm-test-ulps: Update.
15795         * include/features.h (__USE_BSD): Remove macro definitions.
15796         (__USE_SVID): Likewise.
15797         (_BSD_SOURCE): Likewise.
15798         (_SVID_SOURCE): Likewise.
15799         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15800         from definition of _DEFAULT_SOURCE.
15801         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15802         [_DEFAULT_SOURCE].
15803         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15804         * bits/mman.h [__USE_BSD]: Likewise.
15805         * bits/termios.h [__USE_BSD]: Likewise.
15806         * bits/waitstatus.h [__USE_BSD]: Likewise.
15807         * ctype/ctype.h [__USE_SVID]: Likewise.
15808         * dirent/dirent.h [__USE_BSD]: Likewise.
15809         * grp/grp.h [__USE_SVID]: Likewise.
15810         [__USE_BSD]: Likewise.
15811         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15812         * io/fcntl.h [__USE_BSD]: Likewise.
15813         * io/ftw.h [__USE_BSD]: Likewise.
15814         * io/sys/stat.h [__USE_BSD]: Likewise.
15815         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15816         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15817         * libio/stdio.h [__USE_SVID]: Likewise.
15818         [__USE_BSD]: Likewise.
15819         * math/math.h [__USE_SVID]: Likewise.
15820         [__USE_BSD]: Likewise.
15821         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15822         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15823         * misc/search.h [__USE_SVID]: Likewise.
15824         * misc/sys/mman.h [__USE_BSD]: Likewise.
15825         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15826         * misc/sys/uio.h [__USE_BSD]: Likewise.
15827         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15828         * posix/glob.h [__USE_BSD]: Likewise.
15829         * posix/regex.h [__USE_BSD]: Likewise.
15830         * posix/sys/types.h [__USE_BSD]: Likewise.
15831         [__USE_SVID]: Likewise.
15832         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15833         * posix/sys/wait.h [__USE_BSD]: Likewise.
15834         [__USE_SVID]: Likewise.
15835         * posix/unistd.h [__USE_BSD]: Likewise.
15836         [__USE_SVID]: Likewise.
15837         * pwd/pwd.h [__USE_SVID]: Likewise.
15838         * resolv/netdb.h [__USE_BSD]: Likewise.
15839         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15840         * signal/signal.h [__USE_BSD]: Likewise.
15841         [__USE_SVID]: Likewise.
15842         * socket/sys/socket.h [__USE_BSD]: Likewise.
15843         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15844         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15845         [__USE_SVID]: Likewise.
15846         * string/bits/string2.h [__USE_BSD]: Likewise.
15847         [__USE_SVID]: Likewise.
15848         * string/bits/string3.h [__USE_BSD]: Likewise.
15849         * string/endian.h [__USE_BSD]: Likewise.
15850         * string/string.h [__USE_SVID]: Likewise.
15851         [__USE_BSD]: Likewise.
15852         * string/strings.h [__USE_BSD]: Likewise.
15853         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15854         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15855         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15856         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15857         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15858         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15859         Likewise.
15860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15861         Likewise.
15862         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15863         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15864         Likewise.
15865         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15866         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15867         Likewise.
15868         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15869         Likewise.
15870         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15871         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15872         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15873         Likewise.
15874         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15875         Likewise.
15876         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15877         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15878         * termios/termios.h [__USE_BSD]: Likewise.
15879         * time/sys/time.h [__USE_BSD]: Likewise.
15880         * time/time.h [__USE_BSD]: Likewise.
15881         [__USE_SVID]: Likewise.
15883         * Makefile (subdir_targets): Remove subdir_lint.out.
15885         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15886         (do-tst-printf): Likewise.
15887         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15888         $(objpfx)tst-printf.out.
15890         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15892         * Makerules (check-abi-%): Change target to
15893         $(objpfx)check-abi-%.out.
15894         (check-abi target): Update dependencies.
15895         (check-abi-pattern variable): Redirect output of diff to $@.
15896         (check-abi variable): Likewise.
15897         * elf/Makefile (check-abi): Update dependencies.
15899         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15900         unused.
15901         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15902         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15903         subnormal range.
15904         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15905         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15906         value has largest subnormal exponent.
15907         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15908         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15909         * sysdeps/aarch64/soft-fp/sfp-machine.h
15910         (_FP_TININESS_AFTER_ROUNDING): New macro.
15911         * sysdeps/alpha/soft-fp/sfp-machine.h
15912         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15913         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15914         Likewise.
15915         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15916         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15917         * sysdeps/mips/soft-fp/sfp-machine.h
15918         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15919         * sysdeps/powerpc/soft-fp/sfp-machine.h
15920         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15921         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15922         Likewise.
15923         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15924         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15925         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15926         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15927         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15928         Likewise.
15930 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15932         [BZ #16545]
15933         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15934         model 1.
15936 2014-02-12  Richard Henderson  <rth@redhat.com>
15938         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15939         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15940         * sysdeps/unix/sysv/linux/alpha: Move directory from
15941         ports/sysdeps/unix/sysv/linux/alpha.
15942         * README: Update listing for alpha-*-linux-gnu.
15944 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15946         * include/features.h: Update comment documenting feature test
15947         macros.
15948         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15949         _DEFAULT_SOURCE.
15950         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15951         (_SVID_SOURCE): Likewise.
15952         (_DEFAULT_SOURCE): Update description of default features.
15953         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15954         with _GNU_SOURCE.
15955         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15956         (S_ISVTX): Likewise.
15957         * manual/math.texi (Mathematical Constants): Likewise.
15958         * manual/signal.texi (Interrupted Primitives): Likewise.
15959         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15960         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15961         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15962         Don't refer to _SVID_SOURCE in warning text.
15964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15966         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15967         already defined.
15968         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15969         * sysdeps/mips/dl-lookup.c: Remove.
15970         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15972 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15974         [BZ #16447]
15975         * math/auto-libm-test-in: Add testcase for expl.
15976         * math/auto-libm-test-out: Regenerate.
15977         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15978         calculation of unsafe.
15979         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15981 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15983         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15984         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15985         ports/sysdeps/unix/sysv/linux/aarch64.
15986         * README: Update listing for aarch64*-*-linux-gnu.
15988 2014-02-11  Will Newton  <will.newton@linaro.org>
15990         * manual/probes.texi (Mathematical Function Probes): Use
15991         "triggered" instead of "hit".
15993         * manual/probes.texi (Internal Probes): Add documentation
15994         of setjmp, longjmp and longjmp_target probes.
15996         * include/stap-probe.h: Add comment about probe argument
15997         format.
15999         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16000         definition.  (tr_where, tr_freehook, tr_mallochook,
16001         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16003 2014-02-11  David S. Miller  <davem@davemloft.net>
16005         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16006         processing int_tests.
16008 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16010         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16011         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16012         * sysdeps/unix/sysv/linux/mips: Move directory from
16013         ports/sysdeps/unix/sysv/linux/mips.
16014         * README: Update listing for mips-*-linux-gnu and
16015         mips64-*-linux-gnu.
16017 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16019         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16020         * sysdeps/unix/sysv/linux/m68k: Move directory from
16021         ports/sysdeps/unix/sysv/linux/m68k.
16022         * README: Update listing for m68k-*-linux-gnu.
16024 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16026         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16027         * sysdeps/unix/sysv/linux/generic: Move directory from
16028         ports/sysdeps/unix/sysv/linux/generic.
16029         * sysdeps/unix/sysv/linux/tile: Move directory from
16030         ports/sysdeps/unix/sysv/linux/tile.
16031         * README: Update listing for tile*-*-linux-gnu.
16033 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16035         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16036         __builtin_expect.
16037         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16038         * catgets/open_catalog.c (__open_catalog): Likewise.
16039         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16040         * debug/confstr_chk.c: Likewise.
16041         * debug/fread_chk.c (__fread_chk): Likewise.
16042         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16043         * debug/getgroups_chk.c: Likewise.
16044         * debug/mbsnrtowcs_chk.c: Likewise.
16045         * debug/mbsrtowcs_chk.c: Likewise.
16046         * debug/mbstowcs_chk.c: Likewise.
16047         * debug/memcpy_chk.c: Likewise.
16048         * debug/memmove_chk.c: Likewise.
16049         * debug/mempcpy_chk.c: Likewise.
16050         * debug/memset_chk.c: Likewise.
16051         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16052         * debug/strcat_chk.c (__strcat_chk): Likewise.
16053         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16054         * debug/strncat_chk.c (__strncat_chk): Likewise.
16055         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16056         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16057         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16058         * debug/wcpncpy_chk.c: Likewise.
16059         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16060         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16061         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16062         * debug/wcsncpy_chk.c: Likewise.
16063         * debug/wcsnrtombs_chk.c: Likewise.
16064         * debug/wcsrtombs_chk.c: Likewise.
16065         * debug/wcstombs_chk.c: Likewise.
16066         * debug/wmemcpy_chk.c: Likewise.
16067         * debug/wmemmove_chk.c: Likewise.
16068         * debug/wmempcpy_chk.c: Likewise.
16069         * debug/wmemset_chk.c: Likewise.
16070         * dirent/scandirat.c (SCANDIRAT): Likewise.
16071         * dlfcn/dladdr1.c (dladdr1): Likewise.
16072         * dlfcn/dladdr.c (dladdr): Likewise.
16073         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16074         * dlfcn/dlerror.c (__dlerror): Likewise.
16075         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16076         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16077         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16078         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16079         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16080         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16081         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16082         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16083         Likewise.
16084         * elf/dl-conflict.c: Likewise.
16085         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16086         * elf/dl-dst.h: Likewise.
16087         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16088         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16089         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16090         * elf/dl-init.c (call_init, _dl_init): Likewise.
16091         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16092         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16093         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16094         Likewise.
16095         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16096         Likewise.
16097         * elf/dl-minimal.c (__libc_memalign): Likewise.
16098         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16099         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16100         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16101         * elf/dl-sym.c (do_sym): Likewise.
16102         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16103         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16104         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16105         * elf/dl-writev.h (_dl_writev): Likewise.
16106         * elf/ldconfig.c (search_dir): Likewise.
16107         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16108         (dl_main): Likewise.
16109         * elf/setup-vdso.h (setup_vdso): Likewise.
16110         * grp/compat-initgroups.c (compat_call): Likewise.
16111         * grp/fgetgrent.c (fgetgrent): Likewise.
16112         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16113         * grp/putgrent.c (putgrent): Likewise.
16114         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16115         Likewise.
16116         * hurd/hurdinit.c: Likewise.
16117         * iconvdata/8bit-gap.c (struct): Likewise.
16118         * iconvdata/ansi_x3.110.c : Likewise.
16119         * iconvdata/big5.c : Likewise.
16120         * iconvdata/big5hkscs.c : Likewise.
16121         * iconvdata/cp1255.c: Likewise.
16122         * iconvdata/cp1258.c : Likewise.
16123         * iconvdata/cp932.c : Likewise.
16124         * iconvdata/euc-cn.c: Likewise.
16125         * iconvdata/euc-jisx0213.c : Likewise.
16126         * iconvdata/euc-jp.c: Likewise.
16127         * iconvdata/euc-jp-ms.c : Likewise.
16128         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16129         * iconvdata/gb18030.c : Likewise.
16130         * iconvdata/gbbig5.c (const): Likewise.
16131         * iconvdata/gbgbk.c: Likewise.
16132         * iconvdata/gbk.c : Likewise.
16133         * iconvdata/ibm1364.c : Likewise.
16134         * iconvdata/ibm930.c : Likewise.
16135         * iconvdata/ibm932.c: Likewise.
16136         * iconvdata/ibm933.c : Likewise.
16137         * iconvdata/ibm935.c : Likewise.
16138         * iconvdata/ibm937.c : Likewise.
16139         * iconvdata/ibm939.c : Likewise.
16140         * iconvdata/ibm943.c: Likewise.
16141         * iconvdata/iso_11548-1.c: Likewise.
16142         * iconvdata/iso-2022-cn.c : Likewise.
16143         * iconvdata/iso-2022-cn-ext.c : Likewise.
16144         * iconvdata/iso-2022-jp-3.c: Likewise.
16145         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16146         * iconvdata/iso-2022-kr.c : Likewise.
16147         * iconvdata/iso646.c (gconv_end): Likewise.
16148         * iconvdata/iso_6937-2.c : Likewise.
16149         * iconvdata/iso_6937.c : Likewise.
16150         * iconvdata/iso8859-1.c: Likewise.
16151         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16152         * iconvdata/shift_jisx0213.c : Likewise.
16153         * iconvdata/sjis.c : Likewise.
16154         * iconvdata/t.61.c : Likewise.
16155         * iconvdata/tcvn5712-1.c : Likewise.
16156         * iconvdata/tscii.c: Likewise.
16157         * iconvdata/uhc.c : Likewise.
16158         * iconvdata/unicode.c (gconv_end): Likewise.
16159         * iconvdata/utf-16.c (gconv_end): Likewise.
16160         * iconvdata/utf-32.c (gconv_end): Likewise.
16161         * iconvdata/utf-7.c (base64): Likewise.
16162         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16163         * iconv/gconv_close.c (__gconv_close): Likewise.
16164         * iconv/gconv_open.c (__gconv_open): Likewise.
16165         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16166         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16167         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16168         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16169         (ucs4le_internal_loop_single): Likewise.
16170         * iconv/iconv.c (iconv): Likewise.
16171         * iconv/iconv_close.c: Likewise.
16172         * iconv/loop.c (SINGLE): Likewise.
16173         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16174         * include/atomic.h: Likewise.
16175         * inet/inet6_option.c (option_alloc): Likewise.
16176         * intl/bindtextdom.c (set_binding_values): Likewise.
16177         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16178         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16179         * intl/localealias.c (read_alias_file): Likewise.
16180         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16181         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16182         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16183         * libio/fmemopen.c (fmemopen): Likewise.
16184         * libio/iofgets.c (_IO_fgets): Likewise.
16185         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16186         * libio/iofgetws.c (fgetws): Likewise.
16187         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16188         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16189         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16190         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16191         * locale/findlocale.c (_nl_find_locale): Likewise.
16192         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16193         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16194         Likewise.
16195         * locale/setlocale.c (setlocale): Likewise.
16196         * login/programs/pt_chown.c (main): Likewise.
16197         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16198         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16199         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16200         (mmap, mmap64, mremap, munmap): Likewise.
16201         * math/e_exp2l.c: Likewise.
16202         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16203         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16204         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16205         * math/s_catan.c (__catan): Likewise.
16206         * math/s_catanf.c (__catanf): Likewise.
16207         * math/s_catanh.c (__catanh): Likewise.
16208         * math/s_catanhf.c (__catanhf): Likewise.
16209         * math/s_catanhl.c (__catanhl): Likewise.
16210         * math/s_catanl.c (__catanl): Likewise.
16211         * math/s_ccosh.c (__ccosh): Likewise.
16212         * math/s_ccoshf.c (__ccoshf): Likewise.
16213         * math/s_ccoshl.c (__ccoshl): Likewise.
16214         * math/s_cexp.c (__cexp): Likewise.
16215         * math/s_cexpf.c (__cexpf): Likewise.
16216         * math/s_cexpl.c (__cexpl): Likewise.
16217         * math/s_clog10.c (__clog10): Likewise.
16218         * math/s_clog10f.c (__clog10f): Likewise.
16219         * math/s_clog10l.c (__clog10l): Likewise.
16220         * math/s_clog.c (__clog): Likewise.
16221         * math/s_clogf.c (__clogf): Likewise.
16222         * math/s_clogl.c (__clogl): Likewise.
16223         * math/s_csin.c (__csin): Likewise.
16224         * math/s_csinf.c (__csinf): Likewise.
16225         * math/s_csinh.c (__csinh): Likewise.
16226         * math/s_csinhf.c (__csinhf): Likewise.
16227         * math/s_csinhl.c (__csinhl): Likewise.
16228         * math/s_csinl.c (__csinl): Likewise.
16229         * math/s_csqrt.c (__csqrt): Likewise.
16230         * math/s_csqrtf.c (__csqrtf): Likewise.
16231         * math/s_csqrtl.c (__csqrtl): Likewise.
16232         * math/s_ctan.c (__ctan): Likewise.
16233         * math/s_ctanf.c (__ctanf): Likewise.
16234         * math/s_ctanh.c (__ctanh): Likewise.
16235         * math/s_ctanhf.c (__ctanhf): Likewise.
16236         * math/s_ctanhl.c (__ctanhl): Likewise.
16237         * math/s_ctanl.c (__ctanl): Likewise.
16238         * math/w_pow.c: Likewise.
16239         * math/w_powf.c: Likewise.
16240         * math/w_powl.c: Likewise.
16241         * math/w_scalb.c (sysv_scalb): Likewise.
16242         * math/w_scalbf.c (sysv_scalbf): Likewise.
16243         * math/w_scalbl.c (sysv_scalbl): Likewise.
16244         * misc/error.c (error_tail): Likewise.
16245         * misc/pselect.c (__pselect): Likewise.
16246         * nis/nis_callback.c (__nis_create_callback): Likewise.
16247         * nis/nis_call.c (__nisfind_server): Likewise.
16248         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16249         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16250         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16251         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16252         * nis/nis_lookup.c (nis_lookup): Likewise.
16253         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16254         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16255         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16256         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16257         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16258         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16259         * nis/nss_compat/compat-initgroups.c (add_group)
16260         (internal_getgrent_r): Likewise.
16261         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16262         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16263         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16264         (internal_getspnam_r): Likewise.
16265         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16266         (_nss_nis_getaliasbyname_r): Likewise.
16267         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16268         (_nss_nis_getntohost_r): Likewise.
16269         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16270         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16271         (_nss_nis_getgrgid_r): Likewise.
16272         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16273         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16274         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16275         (_nss_nis_gethostbyname4_r): Likewise.
16276         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16277         (initgroups_netid): Likewise.
16278         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16279         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16280         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16281         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16282         (_nss_nis_getprotobynumber_r): Likewise.
16283         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16284         (_nss_nis_getsecretkey): Likewise.
16285         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16286         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16287         (_nss_nis_getpwuid_r): Likewise.
16288         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16289         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16290         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16291         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16292         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16293         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16294         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16295         Likewise.
16296         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16297         (_nss_nisplus_getntohost_r): Likewise.
16298         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16299         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16300         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16301         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16302         Likewise.
16303         * nis/nss_nisplus/nisplus-initgroups.c
16304         (_nss_nisplus_initgroups_dyn): Likewise.
16305         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16306         (_nss_nisplus_getnetbyaddr_r): Likewise.
16307         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16308         (_nss_nisplus_getprotobynumber_r): Likewise.
16309         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16310         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16311         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16312         Likewise.
16313         * nis/nss_nisplus/nisplus-service.c
16314         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16315         (_nss_nisplus_getservbyport_r): Likewise.
16316         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16317         (_nss_nisplus_getspnam_r): Likewise.
16318         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16319         Likewise.
16320         * nscd/aicache.c (addhstaiX): Likewise.
16321         * nscd/cache.c (cache_search, prune_cache): Likewise.
16322         * nscd/connections.c (register_traced_file, send_ro_fd)
16323         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16324         (main_loop_epoll): Likewise.
16325         * nscd/grpcache.c (addgrbyX): Likewise.
16326         * nscd/hstcache.c (addhstbyX): Likewise.
16327         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16328         * nscd/mem.c (gc, mempool_alloc): Likewise.
16329         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16330         (addinnetgrX): Likewise.
16331         * nscd/nscd-client.h (__nscd_acquire_maplock)
16332         (__nscd_drop_map_ref): Likewise.
16333         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16334         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16335         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16336         Likewise.
16337         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16338         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16339         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16340         (__nscd_get_map_ref): Likewise.
16341         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16342         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16343         Likewise.
16344         * nscd/pwdcache.c (addpwbyX): Likewise.
16345         * nscd/selinux.c (preserve_capabilities): Likewise.
16346         * nscd/servicescache.c (addservbyX): Likewise.
16347         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16348         * posix/fnmatch.c (fnmatch): Likewise.
16349         * posix/getopt.c (_getopt_internal_r): Likewise.
16350         * posix/glob.c (glob, glob_in_dir): Likewise.
16351         * posix/wordexp.c (exec_comm_child): Likewise.
16352         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16353         (getanswer_r, gaih_getanswer_slice): Likewise.
16354         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16355         * resolv/res_init.c: Likewise.
16356         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16357         * resolv/res_query.c (__libc_res_nquery): Likewise.
16358         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16359         Likewise.
16360         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16361         * stdio-common/perror.c (perror): Likewise.
16362         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16363         * stdio-common/tmpnam.c (tmpnam): Likewise.
16364         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16365         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16366         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16367         Likewise.
16368         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16369         * stdlib/putenv.c (putenv): Likewise.
16370         * stdlib/setenv.c (__add_to_environ): Likewise.
16371         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16372         * stdlib/strtol_l.c (INTERNAL): Likewise.
16373         * string/memmem.c (memmem): Likewise.
16374         * string/strerror.c (strerror): Likewise.
16375         * string/strnlen.c (__strnlen): Likewise.
16376         * string/test-memmem.c (simple_memmem): Likewise.
16377         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16378         * sunrpc/pm_getport.c (__get_socket): Likewise.
16379         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16380         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16381         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16382         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16383         Likewise.
16384         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16385         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16386         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16387         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16388         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16389         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16390         Likewise.
16391         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16392         Likewise.
16393         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16394         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16395         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16396         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16397         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16399         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16400         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16401         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16402         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16403         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16404         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16405         Likewise.
16406         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16407         Likewise.
16408         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16409         Likewise.
16410         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16411         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16412         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16413         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16414         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16415         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16416         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16417         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16418         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16419         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16420         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16422         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16423         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16425         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16426         Likewise.
16427         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16428         Likewise.
16429         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16430         Likewise.
16431         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16432         Likewise.
16433         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16435         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16436         Likewise.
16437         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16438         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16439         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16440         * sysdeps/posix/sleep.c: Likewise.
16441         * sysdeps/posix/tempname.c: Likewise.
16442         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16443         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16444         Likewise.
16445         * sysdeps/powerpc/powerpc32/dl-machine.h
16446         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16447         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16448         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16449         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16450         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16451         Likewise.
16452         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16453         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16454         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16455         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16456         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16457         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16458         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16459         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16460         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16461         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16462         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16463         (elf_machine_lazy_rel): Likewise.
16464         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16465         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16466         (elf_machine_lazy_rel): Likewise.
16467         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16468         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16469         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16470         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16471         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16472         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16473         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16474         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16475         Likewise.
16476         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16477         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16478         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16479         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16480         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16481         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16482         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16483         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16484         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16485         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16486         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16487         Likewise.
16488         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16489         (__posix_fallocate64_l64): Likewise.
16490         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16491         (posix_fallocate): Likewise.
16492         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16493         Likewise.
16494         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16495         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16496         (getifaddrs_internal): Likewise.
16497         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16498         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16499         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16500         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16501         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16502         (__posix_fallocate64_l64): Likewise.
16503         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16504         Likewise.
16505         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16506         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16507         (__get_clockfreq): Likewise.
16508         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16509         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16510         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16513         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16514         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16515         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16516         Likewise.
16517         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16518         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16519         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16520         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16521         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16522         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16523         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16524         Likewise.
16525         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16526         (posix_fallocate): Likewise.
16527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16528         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16529         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16530         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16531         (elf_machine_rela, elf_machine_rela_relative)
16532         (elf_machine_lazy_rel): Likewise.
16533         * time/asctime.c (asctime_internal): Likewise.
16534         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16535         * time/tzset.c (__tzset_parse_tz): Likewise.
16536         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16537         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16538         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16539         * wcsmbs/wcsmbsload.h: Likewise.
16541         [BZ #15894]
16542         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16544         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16545         (arena_get2): Remove THREAD_STATS conditionals.
16546         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16547         (__malloc_stats, int): Likewise.
16549 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16551         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16552         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16554         * manual/setjmp.texi: Fix typos/grammar errors.
16556         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16557         Only return early when n is <= 0.  Delete unused return statement.
16559         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16560         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16561         * debug/tst-longjmp_chk3.c: New file.
16563         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16564         (test_main): Replace code with set_fortify_handler call.
16565         * debug/test-strcpy_chk.c: Likewise.
16566         * debug/tst-chk1.c: Likewise.
16567         * debug/tst-longjmp_chk.c: Likewise.
16568         * test-skeleton.c: Include fcntl.h & paths.h
16569         (set_fortify_handler): Define.
16571         * debug/tst-longjmp_chk.c: Add header comment and include
16572         ../test-skeleton.c.
16573         (do_test): Mark static.
16574         (TEST_FUNCTION): Define.
16576         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16577         (IP_PMTUDISC_INTERFACE): Likewise.
16578         (IP_MULTICAST_IF): Likewise.
16579         (IP_MULTICAST_TTL): Likewise.
16580         (IP_MULTICAST_LOOP): Likewise.
16581         (IP_ADD_MEMBERSHIP): Likewise.
16582         (IP_DROP_MEMBERSHIP): Likewise.
16583         (IP_UNBLOCK_SOURCE): Likewise.
16584         (IP_BLOCK_SOURCE): Likewise.
16585         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16586         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16587         (IP_MSFILTER): Likewise.
16588         (MCAST_JOIN_GROUP): Likewise.
16589         (MCAST_BLOCK_SOURCE): Likewise.
16590         (MCAST_UNBLOCK_SOURCE): Likewise.
16591         (MCAST_LEAVE_GROUP): Likewise.
16592         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16593         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16594         (MCAST_MSFILTER): Likewise.
16595         (IP_MULTICAST_ALL): Likewise.
16596         (IP_UNICAST_IF): Likewise.
16598         * timezone/Makefile: Delete $(have-ksh) check.
16599         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16600         * timezone/tzselect.ksh: Add +x mode bits.
16602         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16603         (ANON_INODE_FS_MAGIC): Likewise.
16604         (BDEVFS_MAGIC): Likewise.
16605         (BINFMTFS_MAGIC): Likewise.
16606         (BTRFS_TEST_MAGIC): Likewise.
16607         (CRAMFS_MAGIC_WEND): Likewise.
16608         (DEBUGFS_MAGIC): Likewise.
16609         (ECRYPTFS_SUPER_MAGIC): Likewise.
16610         (EXT3_SUPER_MAGIC): Likewise.
16611         (EXT4_SUPER_MAGIC): Likewise.
16612         (FUTEXFS_SUPER_MAGIC): Likewise.
16613         (HOSTFS_SUPER_MAGIC): Likewise.
16614         (HUGETLBFS_MAGIC): Likewise.
16615         (MINIX3_SUPER_MAGIC): Likewise.
16616         (MTD_INODE_FS_MAGIC): Likewise.
16617         (NILFS_SUPER_MAGIC): Likewise.
16618         (OPENPROM_SUPER_MAGIC): Likewise.
16619         (PIPEFS_MAGIC): Likewise.
16620         (PSTOREFS_MAGIC): Likewise.
16621         (QNX6_SUPER_MAGIC): Likewise.
16622         (RAMFS_MAGIC): Likewise.
16623         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16624         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16625         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16626         (SECURITYFS_MAGIC): Likewise.
16627         (SELINUX_MAGIC): Likewise.
16628         (SMACK_MAGIC): Likewise.
16629         (SOCKFS_MAGIC): Likewise.
16630         (SQUASHFS_MAGIC): Likewise.
16631         (STACK_END_MAGIC): Likewise.
16632         (TMPFS_MAGIC): Likewise.
16633         (USBDEVICE_SUPER_MAGIC): Likewise.
16634         (V9FS_MAGIC): Likewise.
16635         (XENFS_SUPER_MAGIC): Likewise.
16636         (CRAMFS_MAGIC): Fix typo in comment.
16637         (EXT2_SUPER_MAGIC): Update comment.
16638         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16640 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16642         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16643         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16644         * sysdeps/unix/sysv/linux/arm: Move directory from
16645         ports/sysdeps/unix/sysv/linux/arm.
16646         * README: Update listing for arm-*-linux-gnueabi.
16648         * README: Remove mention of am33.
16650 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16652         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16653         than the comma operator, to avoid "rhs of comma has no effect"
16654         compiler warnings.
16655         (__sigfillset, __sigandset, __sigorset): Likewise.
16656         * include/signal.h (__sigemptyset): Likewise.
16657         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16659 2014-02-07  Allan McRae  <allan@archlinux.org>
16661         * version.h (RELEASE): Set to "development".
16662         (VERSION): Set to "2.19.90"
16663         * NEWS: Add 2.20 section.
16665 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16667         [BZ #16529]
16668         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16670 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16672         * manual/contrib.texi: Update entry for Carlos O'Donell,
16673         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16675 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16677         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16679         * sysdeps/unix/sysv/linux/kernel-features.h
16680         [__LINUX_KERNEL_VERSION >= 0x020621]
16681         (__ASSUME_PROC_PID_TASK_COMM): Define.
16683 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16685         [BZ #16398]
16686         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16687         conversion when destination buffer does not have enough space.
16688         * libio/tst-ftell-partial-wide.c: New test case.
16689         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16691         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16692         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16693         Leonard and Allan McRae.
16695 2014-02-04  David S. Miller  <davem@davemloft.net>
16697         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16698         32-bit.
16700 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16703         New file
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16705         New file
16706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16707         New file.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16709         New file.
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16711         New file.
16712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16713         New file.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16715         New file.
16716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16717         New file.
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16719         New file.
16720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16721         New file.
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16723         New file.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16725         New file.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16727         New file.
16729 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16731         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16732         * shlib-versions: Likewise.
16734 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16735             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16737         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16738         (abilist-pattern): New variable, set to %-le.abilist.
16740         * Makerules (abilist-pattern): New variable.
16741         (vpath): Use $(abilist-pattern) in place of %.abilist.
16742         (check-abi-% pattern rule): Likewise.
16743         (check-abi, update-abi): Likewise.
16745 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16749 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16751         * manual/startup.texi: Add next, previous, and top entries for
16752         the `Program Arguments' and `Environment Variables' nodes.
16754 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16756         * manual/macros.texi: Add comments before MTASC-safety macros.
16758         * manual/users.texi: Document MTASC-safety properties.
16760         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16761         (pthread_getspecific, pthread_setspecific): Format with
16762         @deftypefun, and add @safety note.
16763         * manual/signal.texi: Move comments that analyze the above
16764         functions to their home place.
16766 2014-02-03  Allan McRae  <allan@archlinux.org>
16768         * po/sl.po: Update Slovenian translation from translation project.
16770 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16772         * manual/time.texi (timegm): Add missing blank after @c.
16773         Reported by Joseph Myers <joseph@codesourcery.com>.
16775 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16777         * manual/check-safety.sh: New.
16778         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16780         * manual/terminal.texi: Document MTASC-safety properties.
16782         * manual/filesys.texi: Document MTASC-safety properties.
16784         * manual/errno.texi: Document MTASC-safety properties.
16786         * manual/intro.texi: Document safety identifiers and
16787         conditionals.
16789         * manual/string.texi (wcstok): Fix prototype.
16790         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16792         * manual/time.texi: Document MTASC-safety properties.
16794         * manual/string.texi: Document MTASC-safety properties.
16796         * manual/threads.texi: Document MTASC-safety properties.
16798         * manual/stdio.texi: Document MTASC-safety properties.
16800         * manual/syslog.texi: Document MTASC-safety properties.
16802         * manual/sysinfo.texi: Document MTASC-safety properties.
16804         * manual/startup.texi: Document MTASC-safety properties.
16806         * manual/socket.texi: Document MTASC-safety properties.
16808         * manual/signal.texi: Document MTASC-safety properties.
16810 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16812         * manual/setjmp.texi: Document MTASC-safety properties.
16814         * manual/search.texi: Document MTASC-safety properties.
16816         * manual/resource.texi: Document MTASC-safety properties.
16818         * manual/process.texi: Document MTASC-safety properties.
16820         * manual/platform.texi: Document MTASC-safety properties.
16822         * manual/pipe.texi: Document MTASC-safety properties.
16824         * manual/pattern.texi: Document MTASC-safety properties.
16826         * manual/message.texi: Document MTASC-safety properties.
16828         [BZ #12751]
16829         * manual/memory.texi: Document MTASC-safety properties.
16831         * manual/math.texi: Document MTASC-safety properties.
16833         * manual/locale.texi: Document MTASC-safety properties.
16835         * manual/llio.texi: Document MTASC-safety properties.
16837         * manual/libdl.texi: New.
16839         * manual/lang.texi: Document MTASC-safety properties.
16841         * manual/job.texi: Document MTASC-safety properties.
16843         * manual/getopt.texi: Document MTASC-safety properties.
16845         * manual/ctype.texi: Document MTASC-safety properties.
16847 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16849         [BZ #16046]
16850         * csu/libc-tls.c (static_map): Remove variable.
16851         (__libc_setup_tls): Use main executable's link map for TLS data.
16852         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16853         casing for LM_ID_BASE and GL(dl_nns).
16854         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16855         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16856         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16857         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16858         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16859         member.
16860         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16861         l_phnum members.
16863 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16865         * manual/debug.texi: Document MTASC-safety properties.
16867 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16869         [BZ #16510]
16870         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16871         of __x86_64__ when disabling x87 inline functions.
16873 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16875         * manual/charset.texi: Document MTASC-safety properties.
16877         * manual/crypt.texi: Document MTASC-safety properties.
16879         * manual/conf.texi: Document MTASC-safety properties.
16881         * manual/arith.texi: Document MTASC-safety properties.
16883         * manual/argp.texi: Document MTASC-safety properties.
16885         * manual/macros.texi: Introduce macros to document multi
16886         thread, asynchronous signal and asynchronous cancellation
16887         safety properties.
16888         * manual/intro.texi: Introduce the properties themselves.
16890 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16892         * sysdeps/sh/sh4/Makefile: New file.
16894 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16896         * math/gen-libm-test.pl ($srcdir): New variable.
16897         ($auto_input): Use it.
16899 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16901         [BZ #16506]
16902         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16903         access beyond array bounds when parsing netgroups file.
16905         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16906         the old buffer before realloc.
16908 2014-01-27  Allan McRae  <allan@archlinux.org>
16910         * po/fr.po: Update French translation from translation project.
16912 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16914         * sysdeps/sh/libm-test-ulps: Regenerate.
16916 2014-01-24  David S. Miller  <davem@davemloft.net>
16918         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16920 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16922         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16923         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16925 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16927         [BZ #16474]
16928         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16929         string pointers after reallocation.
16931 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16933         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16934         __SH4A__ instead of __SH_FPU_ANY__.
16936 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16938         * sysdeps/sh/fpu_control.h: New file.
16939         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16940         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16941         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16942         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16943         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16944         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16945         * sysdeps/sh/sys/ucontext.h: Remove.
16946         * sysdeps/sh/sys: Remove directory.
16948 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16950         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16951         s390/sys/ucontext.h.
16952         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16953         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16955 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16957         [BZ #15605]
16958         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16960 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16962         [BZ#16431]
16963         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16964         Adjust the vDSO correctly for internal calls.
16965         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16967 2014-01-20  Allan McRae  <allan@archlinux.org>
16969         * po/ca.po: Update Catalan translation from translation project.
16971 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16973         * sysdeps/s390/sotruss-lib.c: New file.
16975 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16977         [BZ#16430]
16978         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16979         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16980         local calls issues by not having a PLT stub required for IFUNC calls.
16981         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16983 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16985         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16986         * math/test-fpucw-static.c: Likewise.
16988 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16990         [BZ #16453]
16991         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16993 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16995         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16996         implementation for powerpc.
16998 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17000         [BZ #14782]
17001         * sysdeps/posix/system.c (__libc_system): Do not enable
17002         asynchronous cancellation.
17004 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17006         [BZ #16427]
17007         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17008         handling only for numbers special also in the IEEE case.
17010 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17012         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17014 2014-01-11  Allan McRae  <allan@archlinux.org>
17016         * po/bg.po: Update Bulgarian translation from translation project.
17018         * po/de.po: Update German translation from translation project.
17020 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17022         * sysdeps/generic/gcc-compat.h: New file.
17024 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17026         * benchtests/asin-inputs: Correct slow inputs.
17027         * benchtests/acos-inputs: Likewise.
17029 2014-01-10  Allan McRae  <allan@archlinux.org>
17031         * po:sv.po: Update Swedish translation from translation project.
17033         * po/vi.po: Update Vietnamese translation from translation project.
17035         * po/eo.po: Update Esperanto translation from translation project.
17037         * po/cs.po: Update Czech translation from translation project.
17039         * po/nl.po: Update Dutch translation from translation project.
17041         * po/pl.po: Update Polish translation from translation project.
17043         * po/ru.po: Update Russian translation from translation project.
17045         * po/uk.po: Update Ukrainian translation from translation project.
17047 2014-01-08  Brooks Moses  <bmoses@google.com>
17049         * elf/dl-load.c: Fix comment typo.
17051 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17053         * po/header.pot: Rename to...
17054         * po/pot.header: ... this.
17055         * po/Makefile: Use pot.header.
17057 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17058             Maxim Kuvyrkov  <maxim@kugelworks.com>
17060         [BZ #16394]
17061         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17062         SRC and DEST against LEN.
17064 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17066         [BZ #16414]
17067         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17068         implementation.
17069         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17071 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17075 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17077         [BZ #16408]
17078         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17079         for large positive arguments.
17081 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17083         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17085         * math/auto-libm-test-in: Mark various tests with
17086         xfail-rounding:ldbl-128ibm.
17087         * math/auto-libm-test-out: Regenerated.
17089         [BZ #16407]
17090         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17091         Increase overflow threshold.
17093 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17095         [BZ #14286]
17096         * stdio-common/vfprintf.c: Check for integer overflow.
17098 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17100         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17101         the first argument and return value of __tls_get_addr_internal.
17103 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17105         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17106         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17108 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17110         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17111         * sysdeps/s390/rtld-global-offsets.sym: New file.
17112         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17113         GLIBC_2.19 symbol.
17114         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17115         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17116         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17117         ... this.
17118         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17119         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17120         ... this.
17121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17122         Regenerate.
17123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17124         Regenerate.
17125         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17126         halfs of GPRs for high_gprs contexts.
17127         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17128         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17129         field.
17130         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17131         uc_flags field.
17132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17133         64 bit versions:
17134         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17135         for high GPRs (uc_high_gprs) and for future extensions
17136         (__reserved).
17137         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17138         for future extensions (__reserved).
17139         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17140         64 bit versions:
17141         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17142         SC_HIGHGPRS offset definition.
17143         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17144         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17146         * Versions.def: Add GLIBC_2.19 for libpthread.
17147         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17148         siglongjmp for libpthread with GLIBC_2.19 symver.
17149         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17150         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17151         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17152         * sysdeps/s390/__longjmp.c: New file.
17153         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17154         * sysdeps/s390/longjmp.c: New file.
17155         * sysdeps/s390/setjmp.S: New file.
17156         * sysdeps/s390/sigjmp.S: New file.
17157         * sysdeps/s390/v1-longjmp.c: New file.
17158         * sysdeps/s390/v1-setjmp.h: New file.
17159         * sysdeps/s390/v1-sigjmp.c: New file.
17160         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17161         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17162         GLIBC_2.19 version.
17163         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17164         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17165         versioned symbols for ____longjmp_chk.
17166         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17167         Likewise.
17168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17169         Regenerate.
17170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17171         Regenerate.
17172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17173         Regenerate.
17174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17175         Regenerate.
17176         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17177         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17178         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17179         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17180         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17181         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17182         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17183         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17184         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17185         * sysdeps/s390/rtld-__longjmp.c: New file.
17186         * sysdeps/s390/rtld-setjmp.S: New file.
17188 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17190         [BZ #16400]
17191         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17192         Return -__logl (x) for small positive arguments without evaluating
17193         a polynomial.
17195 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17197         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17198         Rename to ...
17199         (__ptrace_peeksiginfo_args): ... this.
17200         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17201         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17202         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17204 2014-01-06  Allan McRae  <allan@archlinux.org>
17206         * inet/netinet/in.h: Fix typo in comment.
17208 2014-01-05  Andreas Jaeger  <aj@suse.de>
17210         * sysdeps/i386/fpu/libm-test-ulps: Update.
17212 2014-01-05  Allan McRae  <allan@archlinux.org>
17214         * po/libc.pot: Regenerated.
17216         * malloc/memusagestat.c: Fix gettext call formatting.
17218 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17220         * nscd/nscd.c: Improve usage() output.
17222 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17224         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17225         * sysdeps/unix/sysv/linux/configure: Regenerated.
17226         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17227         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17229 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17231         [BZ #16390]
17232         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17233         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17235 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17237         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17238         extra tokens at end of #undef directive.
17239         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17240         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17241         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17243 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17245         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17247         * math/auto-libm-test-in: Mark various tests with
17248         xfail-rounding:ldbl-128ibm.
17249         * math/auto-libm-test-out: Regenerated.
17251 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17253         [BZ #16386]
17254         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17255         numbers with subnormal high part when calculating exponent.
17257         [BZ #16385]
17258         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17259         fabs.
17261         [BZ #16384]
17262         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17263         M_LN2l.
17264         (__ieee754_acoshl): Use __log1pl not __log1p.
17266 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17268         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17269         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17270         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17271         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17272         (reused_arena, arena_get2): Convert to GNU style.
17273         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17274         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17275         (memalign_check, __malloc_set_state): Likewise.
17276         * malloc/mallocbug.c (main): Likewise.
17277         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17278         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17279         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17280         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17281         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17282         (__posix_memalign, malloc_info): Likewise.
17283         * malloc/malloc.h: Likewise.
17284         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17285         (mallochook, memalignhook, reallochook, mabort): Likewise.
17286         * malloc/mcheck.h: Likewise.
17287         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17288         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17289         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17290         * malloc/morecore.c (__default_morecore): Likewise.
17291         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17292         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17293         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17294         (print_and_abort): Likewise.
17295         * malloc/obstack.h: Likewise.
17296         * malloc/set-freeres.c (__libc_freeres): Likewise.
17297         * malloc/tst-mallocstate.c (main): Likewise.
17298         * malloc/tst-mtrace.c (main): Likewise.
17299         * malloc/tst-realloc.c (do_test): Likewise.
17301 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17303         [BZ #16366]
17304         * nscd/netgroupcache.c (do_notfound): New function.
17305         (addgetnetgrentX): Use it.
17307         [BZ # 16365]
17308         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17309         NSS_STATUS_NOTFOUND.
17311 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17313         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17316 2014-01-01  Allan McRae  <allan@archlinux.org>
17318         * scripts/update-copyrights: Update configure input file suffix.
17320         * NEWS: Update copyright year.
17321         * catgets/gencat.c: Likewise.
17322         * csu/version.c: Likewise.
17323         * debug/catchsegv.sh: Likewise.
17324         * debug/pcprofiledump.c: Likewise.
17325         * debug/xtrace.sh: Likewise.
17326         * elf/ldconfig.c: Likewise.
17327         * elf/ldd.bash.in: Likewise.
17328         * elf/pldd.c: Likewise.
17329         * elf/sotruss.ksh: Likewise.
17330         * elf/sprof.c: Likewise.
17331         * iconv/iconv_prog.c: Likewise.
17332         * iconv/iconvconfig.c: Likewise.
17333         * locale/programs/locale.c: Likewise.
17334         * locale/programs/localedef.c: Likewise.
17335         * login/programs/pt_chown.c: Likewise.
17336         * malloc/memusage.sh: Likewise.
17337         * malloc/memusagestat.c: Likewise.
17338         * malloc/mtrace.pl: Likewise.
17339         * manual/libc.texinfo: Likewise.
17340         * nscd/nscd.c: Likewise.
17341         * nss/getent.c: Likewise.
17342         * nss/makedb.c: Likewise.
17343         * posix/getconf.c: Likewise.
17344         * scripts/test-installation.pl: Likewise.
17346         * All files with FSF copyright notices: Update copyright dates
17347         using scripts/update-copyrights.
17348         * intl/plural.c: Regenerated.
17349         * locale/programs/charmap-kw.h: Likewise.
17350         * locale/programs/locfile-kw.h: Likewise.
17352 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17354         * sysdeps/unix/sysv/linux/configure: Regenerated.
17355         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17356         the linux/fanotify.h header.
17357         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17358         HAVE_LINUX_FANOTIFY_H is defined.
17360 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17362         * benchtests/cos-inputs: New inputs.
17363         * benchtests/sin-inputs: Likewise.
17365         * benchtests/atan-inputs: New inputs. Fix name of multiple
17366         precision fallback inputs.
17368         * benchtests/atanh-inputs: New inputs.
17369         * benchtests/tanh-inputs: Likewise.
17371         * benchtests/acosh-inputs: New inputs.
17372         * benchtests/asinh-inputs: Likewise.
17374         * benchtests/cosh-inputs: New inputs.
17375         * benchtests/sinh-inputs: Likewise.
17377         * benchtests/acos-inputs: Add more inputs.
17378         * benchtests/asin-inputs: Likewise.
17380 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17382         [BZ #16375]
17383         * manual/arith.texi: Fix spelling.
17384         * manual/charset.texi: Likewise.
17385         * manual/errno.texi: Likewise.
17386         * manual/filesys.texi: Likewise.
17387         * manual/lang.texi: Likewise.
17388         * manual/llio.texi: Likewise.
17389         * manual/locale.texi: Likewise.
17390         * manual/message.texi: Likewise.
17391         * manual/resource.texi: Likewise.
17392         * manual/search.texi: Likewise.
17393         * manual/setjmp.texi: Likewise.
17394         * manual/stdio.texi: Likewise.
17395         * manual/string.texi: Likewise.
17396         * manual/sysinfo.texi: Likewise.
17397         * manual/time.texi: Likewise.
17399 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17401         * po/sl.po: New file.
17403 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17405         * .gitignore: Add core/.gdbinit/.gdb_history.
17407 2013-12-27  Allan McRae  <allan@archlinux.org>
17409         [BZ #16369]
17410         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17411         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17413 2013-12-24  Brooks Moses  <bmoses@google.com>
17415         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17416         all compilers that claim C++98 compliance, not just GCC.
17417         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17418         Likewise.
17420 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17422         * NEWS: Restore accidentally deleted bug-fix entries.
17424 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17425             Ondřej Bílka  <neleai@seznam.cz>
17427         [BZ #15073]
17428         * malloc/malloc.c (_int_free): Perform sanity check only if we
17429         have_lock.
17431 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17433         [BZ #12986]
17434         * manual/stdio.texi (String Input Conversions): Clarify that character
17435         classes are not supported.
17437 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17441 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17443         [BZ #16337]
17444         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17445         Calculate results for small negative arguments directly rather
17446         than using reflection formula with special underflow handling.
17448         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17449         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17450         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17451         (fchflags): Likewise.
17452         (revoke): Likewise.
17453         (setlogin): Likewise.
17454         (sigaltstack): Likewise.
17455         (wait4): Likewise.
17456         (sigblock): Remove.
17457         (sigsetmask): Likewise.
17458         (wait3): Likewise.
17459         (waitpid): Likewise.
17460         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17461         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17462         file.
17463         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17464         * sysdeps/unix/bsd/Makefile: ... here.
17465         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17466         * sysdeps/unix/bsd/Versions: ... here.
17467         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17468         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17469         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17470         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17471         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17472         * sysdeps/unix/bsd/sigblock.c: ... here.
17473         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17474         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17475         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17476         * sysdeps/unix/bsd/sigvec.c: ... here.
17477         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17478         * sysdeps/unix/bsd/tcdrain.c: ... here.
17479         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17480         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17481         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17482         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17483         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17484         * sysdeps/unix/bsd/wait.c: ... here.
17485         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17486         * sysdeps/unix/bsd/wait3.c: ... here.
17487         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17488         * sysdeps/unix/bsd/waitpid.c: ... here.
17490 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17492         [BZ #16356]
17493         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17494         round-to-nearest for [!USE_AS_EXPM1L].
17495         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17496         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17497         more tests of exp and exp10.  Expect some exp10 tests to miss
17498         exceptions or fail in directed rounding modes.
17499         * math/auto-libm-test-out: Regenerated.
17500         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17501         (exp10_test_tonearest): New function.
17502         (exp10_towardzero_test_data): New array.
17503         (exp10_test_towardzero): New function.
17504         (exp10_downward_test_data): New array.
17505         (exp10_test_downward): New function.
17506         (exp10_upward_test_data): New array.
17507         (exp10_test_upward): New function.
17508         (main): Call the new functions.
17509         * sysdeps/i386/fpu/libm-test-ulps: Update.
17510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17512 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17514         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17515         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17516         * math/auto-libm-test-out: Regenerated.
17517         * math/libm-test.inc (acosh_test_data): Add more tests.
17518         (atanh_test_data): Likewise.
17519         (ceil_test_data): Likewise.
17520         (copysign_test_data): Likewise.
17521         * sysdeps/i386/fpu/libm-test-ulps: Update.
17522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17524         * timezone/checktab.awk: Update from tzcode 2013i.
17525         * timezone/private.h: Likewise.
17526         * timezone/scheck.c: Likewise.
17527         * timezone/tzfile.h: Likewise.
17528         * timezone/tzselect.ksh: Likewise.
17529         * timezone/zdump.c: Likewise.
17530         * timezone/zic.c: Likewise.
17532         * math/auto-libm-test-in: Add tests of cpow.
17533         * math/auto-libm-test-out: Regenerated.
17534         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17535         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17536         mpc_cc_c.
17537         (func_calc_desc): Add mpc_cc_c union field.
17538         (test_functions): Add cpow.
17539         (special_fill_2pi): New function.
17540         (special_real_inputs): Add 2pi.
17541         (calc_generic_results): Handle mpc_cc_c.
17542         * sysdeps/i386/fpu/libm-test-ulps: Update.
17543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17545         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17546         csqrt, ctan and ctanh.
17547         * math/auto-libm-test-out: Regenerated.
17548         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17549         (TEST_COND_x86): Likewise.
17550         (ccos_test_data): Use AUTO_TESTS_c_c.
17551         (ccosh_test_data): Likewise.
17552         (cexp_test_data): Likewise.
17553         (clog_test_data): Likewise.
17554         (csqrt_test_data): Likewise.
17555         (ctan_test_data): Likewise.
17556         (ctan_tonearest_test_data): Likewise.
17557         (ctan_towardzero_test_data): Likewise.
17558         (ctan_downward_test_data): Likewise.
17559         (ctan_upward_test_data): Likewise.
17560         (ctanh_test_data): Likewise.
17561         (ctanh_tonearest_test_data): Likewise.
17562         (ctanh_towardzero_test_data): Likewise.
17563         (ctanh_downward_test_data): Likewise.
17564         (ctanh_upward_test_data): Likewise.
17565         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17566         mpc_c_c.
17567         (func_calc_desc): Add mpc_c_c union field.
17568         (FUNC_mpc_c_c): New macro.
17569         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17570         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17571         ctanh.
17572         (special_fill_min_subnorm_p120): New function.
17573         (special_real_inputs): Add min_subnorm_p120.
17574         (calc_generic_results): Handle mpc_c_c.
17575         * sysdeps/i386/fpu/libm-test-ulps: Update.
17576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17578 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17580         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17581         (do_sin_slow): New functions.
17582         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17583         (cslow2, csloww1, csloww2): Use the new functions.
17585         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17586         Use M to change sign of result instead of X.  Assume X is
17587         positive.
17588         (csloww1): Likewise.
17589         (__sin): Adjust.
17590         (__cos): Adjust.
17592         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17593         arguments A and DA.
17594         (__sin): Adjust.
17595         (__cos): Likewise.
17597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17598         (__cos): Likewise.
17599         (sloww1): Don't adjust sign of DX.
17600         (csloww1): Likewise.
17601         (sloww2): Use X directly and don't adjust sign of DX.
17602         (csloww2): Likewise.
17604 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17606         * math/auto-libm-test-in: Add tests of cabs and carg.
17607         * math/auto-libm-test-out: Regenerated.
17608         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17609         (carg_test_data): Likewise.
17610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17611         mpc_c_f.
17612         (func_calc_desc): Add mpc_c_f union field.
17613         (test_functions): Add cabs and carg.
17614         (calc_generic_results): Handle mpc_c_f.
17616         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17617         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17618         as a macro and a compat symbol.
17619         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17620         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17621         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17622         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17623         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17624         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17625         not use .hidden.
17626         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17627         Likewise.
17628         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17629         Likewise.
17630         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17631         Likewise.
17632         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17633         Likewise.
17634         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17635         Likewise.
17636         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17637         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17638         from GLIBC_2.3.2.
17640 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17644 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17646         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17647         trailing whitespace removed.
17648         * scripts/config.guess: Update to version 2013-11-29.
17649         * scripts/config.sub: Update to version 2013-10-01.
17651         * math/auto-libm-test-in: Add tests of sincos.
17652         * math/auto-libm-test-out: Regenerated.
17653         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17654         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17655         mpfr_f_11.
17656         (func_calc_desc): Add mpfr_f_11 union field.
17657         (test_functions): Add sincos.
17658         (calc_generic_results): Handle mpfr_f_11.
17659         * sysdeps/i386/fpu/libm-test-ulps: Update.
17660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17662 2013-12-19  Andreas Schwab  <schwab@suse.de>
17664         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17665         CALL_MCOUNT.
17666         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17667         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17668         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17670 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17672         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17673         * sysdeps/i386/fpu/libm-test-ulps: Update.
17674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17676         [BZ #16293]
17677         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17678         round-to-nearest mode when using frndint.
17679         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17680         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17682         Likewise.
17683         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17684         sinh test to fail.
17685         * math/auto-libm-test-out: Regenerated.
17686         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17687         (TEST_COND_x86): Likewise.
17688         (expm1_tonearest_test_data): New array.
17689         (expm1_test_tonearest): New function.
17690         (expm1_towardzero_test_data): New array.
17691         (expm1_test_towardzero): New function.
17692         (expm1_downward_test_data): New array.
17693         (expm1_test_downward): New function.
17694         (expm1_upward_test_data): New array.
17695         (expm1_test_upward): New function.
17696         (main): Run the new test functions.
17697         * sysdeps/i386/fpu/libm-test-ulps: Update.
17698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17700         * include/features.h: Update comment documenting feature test
17701         macros.  Mention _DEFAULT_SOURCE in comment.
17702         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17703         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17704         _BSD_SOURCE and _SVID_SOURCE.
17705         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17706         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17707         !_SVID_SOURCE]: Likewise.
17708         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17709         (__USE_POSIX_IMPLICITLY): Define.
17710         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17711         (_POSIX_SOURCE): Undefine and redefine.
17712         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17713         (_POSIX_C_SOURCE): Likewise.
17714         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17715         (Feature Test Macros): Update documentation of default features.
17717 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17719         * benchtests/Makefile: Add bench-strtok.
17720         * benchtests/bench-strtok.c: New file: strtok benchtest.
17722 2013-12-19  Allan McRae  <allan@archlinux.org>
17724         * manual/install.texi: Suppress menu for plain text output.
17725         * INSTALL: Regenerated.
17727 2013-12-18  Brooks Moses  <bmoses@google.com>
17729         [BZ #15846]
17730         * misc/getauxval.c: Include errno.h.
17731         (__getauxval): Set errno to ENOENT if the requested type is not
17732         found.
17733         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17734         don't declare with __attribute_const__.
17735         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17736         * manual/startup.texi: Document that getauxval sets errno.
17738 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17740         * math/auto-libm-test-in: Add tests of jn and yn.
17741         * math/auto-libm-test-out: Regenerated.
17742         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17743         (yn_test_data): Likewise.
17744         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17745         mpfr_if_f.
17746         (func_calc_desc): Add mpfr_if_f union field.
17747         (FUNC_mpfr_if_f): New macro.
17748         (test_functions): Add jn and yn.
17749         (calc_generic_results): Assert type of second input for
17750         mpfr_ff_f.  Handle mpfr_if_f.
17751         (output_for_one_input_case): Disable all checking for arguments
17752         fitting floating-point types in case of an integer argument.
17753         * sysdeps/i386/fpu/libm-test-ulps: Update.
17754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17757         Don't expect fegetround reference in libm.so.
17759 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17761         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17762         $(config-cflags-nofma).
17764 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17766         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17767         * math/auto-libm-test-out: Regenerated.
17769         [BZ #16338]
17770         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17771         to determine exponent and adjust argument to have exponent of -1.
17772         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17773         log2.
17774         * math/auto-libm-test-out: Regenerated.
17775         * sysdeps/i386/fpu/libm-test-ulps: Update.
17776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17778 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17780         * manual/probes.texi: Remove cases when per-thread arenas are
17781         disabled.
17783 2013-12-18  Andreas Schwab  <schwab@suse.de>
17785         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17786         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17787         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17788         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17789         * sysdeps/i386/i686/multiarch/Makefile: Update.
17790         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17792 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17794         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17795         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17797 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17799         [BZ #15968]
17800         Support TZ transition times < 00:00:00.
17801         This is needed for version-3 tz-format files; it supports time
17802         stamps past 2037 for America/Godthab (the only entry in the tz
17803         database for which this change is relevant).
17804         * manual/time.texi (TZ Variable): Document transition times
17805         from -167:59:59 through -00:00:01.
17806         * time/tzset.c (tz_rule): Time of day is now signed.
17807         (__tzset_parse_tz): Parse negative time of day.
17809         Document TZ transition times >= 25:00:00.
17810         * manual/time.texi (TZ Variable): Document transition times from
17811         25:00:00 through 167:59:59.  These are already supported, and this
17812         support will help with version-3 tz-format files.
17814         * manual/time.texi (TZ Variable): Modernize North America example
17815         to reflect current (i.e., 2007-and-later) daylight saving rules.
17817         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17819 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17821         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17822         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17823         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17824         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17825         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17826         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17827         * sysdeps/unix/bsd/clock.c: Likewise.
17828         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17829         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17830         * sysdeps/unix/bsd/init-posix.c: Likewise.
17831         * sysdeps/unix/bsd/poll.c: Likewise.
17832         * sysdeps/unix/bsd/ptsname.c: Likewise.
17833         * sysdeps/unix/bsd/seekdir.c: Likewise.
17834         * sysdeps/unix/bsd/setegid.c: Likewise.
17835         * sysdeps/unix/bsd/seteuid.c: Likewise.
17836         * sysdeps/unix/bsd/setgid.c: Likewise.
17837         * sysdeps/unix/bsd/setrgid.c: Likewise.
17838         * sysdeps/unix/bsd/setruid.c: Likewise.
17839         * sysdeps/unix/bsd/setsid.c: Likewise.
17840         * sysdeps/unix/bsd/setuid.c: Likewise.
17841         * sysdeps/unix/bsd/sigaction.c: Likewise.
17842         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17843         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17844         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17845         * sysdeps/unix/bsd/telldir.c: Likewise.
17846         * sysdeps/unix/bsd/times.c: Likewise.
17847         * sysdeps/unix/bsd/usleep.c: Likewise.
17849         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17850         ($(objpfx)libbsd-compat.a): Remove rule.
17852         * include/features.h (__FAVOR_BSD): Do not define.
17853         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17854         features conflicting with POSIX.
17855         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17856         (_BSD_SOURCE): Remove description of not being a subset of other
17857         feature test macros.
17858         * manual/job.texi (getpgrp): Do not document BSD version.
17859         (getpgid): Do not document by reference to BSD getpgrp.
17860         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17861         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17862         * signal/signal.h [__FAVOR_BSD]: Likewise.
17863         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17864         instead of making contents conditional on [__FAVOR_BSD].
17865         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17867 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17871 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17873         [BZ #16314]
17874         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17875         values below 2**-450, not 2**-500.
17876         * math/auto-libm-test-in: Don't allow spurious underflow from
17877         hypot.
17878         * math/auto-libm-test-out: Regenerated.
17880         [BZ #16316]
17881         [BZ #16330]
17882         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17883         values of ha and hb and sort them after adjusting subnormal
17884         arguments.
17885         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17886         Likewise.
17887         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17888         values of ea and eb and sort them after adjusting subnormal
17889         arguments.
17890         * math/auto-libm-test-in: Do not expect some hypot tests of
17891         subnormals to fail.  Add more hypot tests.
17892         * math/auto-libm-test-out: Regenerated.
17894 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17896         [BZ #13304]
17897         * sysdeps/sh/s_fma.c: New file.
17898         * sysdeps/sh/s_fmaf.c: New file.
17899         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17900         version.
17901         * sysdeps/sh/Implies: Add sh/soft-fp.
17903 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17905         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17906         level of indirection to members `objname', `errstring', `malloced'.
17907         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17908         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17909         it as the __longjmp argument (just pass 1 instead).
17910         (_dl_catch_error): Initialize C with argument pointers and address of
17911         volatile local ERRCODE rather than copying values out of C at return.
17913 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17915         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17916         * math/auto-libm-test-out: Regenerated.
17917         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17918         (hypot_test_data): Likewise.
17919         (pow_test_data): Likewise.
17920         (pow_tonearest_test_data): Likewise.
17921         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17922         mpfr_ff_f.
17923         (func_calc_desc): Add mpfr_ff_f union field.
17924         (FUNC_mpfr_ff_f): New macro.
17925         (test_functions): Add atan2, hypot and pow.
17926         (special_fill_min): New function.
17927         (special_fill_minus_min): Likewise.
17928         (special_fill_min_subnorm): Likewise.
17929         (special_fill_minus_min_subnorm): Likewise.
17930         (special_real_inputs): Add min, -min, min_subnorm and
17931         -min_subnorm.
17932         (calc_generic_results): Handle mpfr_ff_f.
17933         * sysdeps/i386/fpu/libm-test-ulps: Update.
17934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17936 2013-12-16  Will Newton  <will.newton@linaro.org>
17938         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17939         (Aligned Memory Blocks): Add documentation for aligned_alloc
17940         and suggest it as an alternative to posix_memalign.
17941         (Hooks for Malloc): Document __memalign_hook is also called
17942         for aligned_alloc.  (Summary of Malloc): Add summary for
17943         aligned alloc.  Document __memalign_hook is also called
17944         for aligned_alloc.
17946 2013-12-16  Will Newton  <will.newton@linaro.org>
17948         * manual/memory.texi (Malloc Examples): Clarify default
17949         alignment documentation.  Suggest posix_memalign rather
17950         than memalign or valloc.
17951         (Aligned Memory Blocks): Remove suggestion to use memalign
17952         or valloc.  Remove obsolete comment about BSD.
17953         Document memalign errno values and mark the function obsolete.
17954         Document posix_memalign returned error codes.  Mark valloc
17955         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17956         called for posix_memalign and valloc.
17957         (Summary of Malloc): Add posix_memalign to function summary.
17958         __memalign_hook is also called for posix_memalign and valloc.
17960 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17962         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17963         TAYLOR_SIN.
17964         (__sin): Adjust.
17965         (__cos): Likewise.
17966         (sloww): Use mynumber union.  Expand ternary operator into
17967         if-else statements.
17968         (cslow): use mynumber union.
17970 2013-12-16  Allan McRae  <allan@archlinux.org>
17972         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17973         * configure: Regenerated.
17975         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17977         [BZ #14120]
17978         * configure.ac: Added --enable-maintainer-mode. Check for
17979         autoconf when enabled.
17980         * configure: Regenerated.
17982         * nscd/nscd.service: New file.
17983         * nscd/nscd.tmpfiles: New file.
17985 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17987         [BZ #12100]
17988         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17989         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17990         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17991         (strstr): Add __strstr_sse2_unaligned ifunc.
17992         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17993         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17994         (strcasestr): Remove __strcasestr_sse42 ifunc.
17995         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17999 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18001         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18002         * sysdeps/sh/bits/fenv.h: ... here.
18003         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18005 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18007         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18010         hypotf multiarch implementations.
18011         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18012         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18013         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18014         multiarch hypot for PPC64.
18015         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18016         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18017         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18018         multiarch hypotf for PPC64.
18020         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18021         modff multiarch implementations.
18022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18025         multiarch modf for PPC64.
18026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18029         multiarch modff for PPC64.
18031         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18032         and logl multiarch implementations.
18033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18036         multiarch logb for PPC64.
18037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18040         multiarch logb for PPC64.
18041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18044         multiarch logb for PPC64.
18046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18047         isinff multiarch implementation.
18048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18049         file.
18050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18052         multiarch isinf for PPC64.
18053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18054         file.
18055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18056         multiarch isinff for PPC64.
18058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18059         finitef multiarch implementation.
18060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18061         file.
18062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18064         multiarch finite for PPC64.
18065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18066         file.
18067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18068         multiarch finitef for PPC64.
18070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18071         lrint multiarch implementation.
18072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18073         file.
18074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18076         multiarch llrint for PPC64.
18077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18078         multiarch lrint for PPC64.
18080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18081         copysignf multiarch implementation.
18082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18083         file.
18084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18085         file.
18086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18087         multiarch copysign for PPC64.
18088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18089         multiarch copysignf for PPC64.
18091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18092         multiarch implementation.
18093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18094         file.
18095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18096         file.
18097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18098         file.
18099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18100         file.
18101         multiarch llround for PPC64.
18102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18103         multiarch trunc for PPC64.
18104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18105         multiarch truncf for PPC64.
18107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18108         multiarch implementation.
18109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18110         file.
18111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18112         file.
18113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18114         file.
18115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18116         file.
18117         multiarch llround for PPC64.
18118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18119         multiarch round for PPC64.
18120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18121         multiarch roundf for PPC64.
18123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18124         multiarch implementation.
18125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18126         file.
18127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18128         file.
18129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18130         file.
18131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18132         file.
18133         multiarch llround for PPC64.
18134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18135         multiarch floor for PPC64.
18136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18137         multiarch floorf for PPC64.
18139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18140         multiarch implementation.
18141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18142         file.
18143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18144         file.
18145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18146         file.
18147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18148         file.
18149         multiarch llround for PPC64.
18150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18151         multiarch ceil for PPC64.
18152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18153         multiarch ceilf for PPC64.
18155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18156         multiarch implementation.
18157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18158         file.
18159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18160         file.
18161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18162         file.
18163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18164         multiarch llround for PPC64.
18165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18166         multiarch lround for PPC64.
18168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18169         multiarch implementation.
18170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18173         file.
18174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18177         multiarch isnan for PPC64.
18178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18179         multiarch isnanf for PPC64.
18181         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18182         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18183         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18184         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18185         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18188         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18189         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18190         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18191         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18194         multiarch implementations.
18195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18196         (__libc_ifunc_impl_list): Likewise.
18197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18198         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18200         multiarch stpcpy for PPC64.
18202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18203         multiarch implementations.
18204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18205         (__libc_ifunc_impl_list): Likewise.
18206         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18207         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18208         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18209         multiarch strcpy for PPC64.
18211         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18212         redefine function name.
18213         (_wordcopy_fwd_dest_aligned): Likewise.
18214         (_wordcopy_bwd_aligned): Likewise.
18215         (_wordcopy_bwd_dest_aligned): Likewise.
18216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18217         multiarch implementations.
18218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18219         (__libc_ifunc_impl_list): Likewise.
18220         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18221         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18222         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18223         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18224         multiarch wcscpy for PPC64.
18226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18227         multiarch implementations.
18228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18229         (__libc_ifunc_impl_list): Likewise.
18230         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18231         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18232         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18233         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18234         multiarch wcscpy for PPC64.
18236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18237         multiarch implementations.
18238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18239         (__libc_ifunc_impl_list): Likewise.
18240         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18241         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18242         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18243         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18244         multiarch wcsrchr for PPC64.
18246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18247         multiarch implementations.
18248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18249         (__libc_ifunc_impl_list): Likewise.
18250         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18251         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18252         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18253         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18254         multiarch wcschr for PPC64.
18256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18257         multiarch implementations.
18258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18259         (__libc_ifunc_impl_list): Likewise.
18260         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18261         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18262         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18263         multiarch strchrnul for PPC64.
18265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18266         implementations.
18267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18268         (__libc_ifunc_impl_list): Likewise.
18269         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18270         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18271         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18272         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18273         strchr for PPC64.
18275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18276         implementations.
18277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18278         (__libc_ifunc_impl_list): Likewise.
18279         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18280         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18281         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18282         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18283         strncmp for PPC64.
18285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18286         multiarch implementations.
18287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18288         (__libc_ifunc_impl_list): Likewise.
18289         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18290         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18291         strncasecmp for PPC64.
18292         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18293         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18294         multiarch strncasecmp_l for PPC64.
18296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18297         multiarch implementations.
18298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18299         (__libc_ifunc_impl_list): Likewise.
18300         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18301         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18302         multiarch strcasecmp for PPC64.
18303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18304         file.
18305         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18306         multiarch strcasecmp_l for PPC64.
18308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18309         implementations.
18310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18311         (__libc_ifunc_impl_list): Likewise.
18312         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18313         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18314         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18315         strnlen for PPC64.
18317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18318         implementations.
18319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18320         (__libc_ifunc_impl_list): Likewise.
18321         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18322         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18323         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18324         strlen for PPC64.
18326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18327         implementations.
18328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18329         (__libc_ifunc_impl_list): Likewise.
18330         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18331         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18332         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18333         rawmemrchr for PPC64.
18335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18336         implementation.
18337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18338         (__libc_ifunc_impl_list): Likewise.
18339         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18340         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18341         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18342         memrchr for PPC64.
18344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18345         implementation.
18346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18347         (__libc_ifunc_impl_list): Likewise.
18348         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18349         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18350         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18351         memchr for PPC64.
18353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18354         implementation.
18355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18356         (__libc_ifunc_impl_list): Likewise.
18357         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18358         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18359         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18360         mempcpy for PPC64.
18362         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18363         avoid cretion of __bzero symbol.
18364         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18365         Likewise.
18366         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18367         Likewise.
18368         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18369         Likewise.
18370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18371         multiarch implementations.
18372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18373         (__libc_ifunc_impl_list): Likewise.
18374         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18375         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18376         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18377         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18378         bzero for PPC32.
18379         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18380         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18381         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18382         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18383         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18384         memset for PPC64.
18385         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18387         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18389         implementations.
18390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18391         (__libc_ifunc_impl_list): Likewise.
18392         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18393         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18394         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18395         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18396         memcmp for PPC64.
18398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18399         multiarch for POWER/PPC64.
18400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18401         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18402         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18403         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18404         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18405         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18406         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18407         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18408         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18409         memcpy for PPC64.
18411         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18412         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18413         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18414         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18415         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18416         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18417         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18418         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18419         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18420         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18421         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18422         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18423         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18424         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18425         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18434 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18436         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18438 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18440         * benchtests/Makefile (bench): Add exp2 and log2.
18441         (LDLIBS-bench-exp2): Add -lm.
18442         (LDLIBS-bench-log2): Likewise.
18443         * benchtests/exp2-inputs: New inputs file.
18444         * benchtests/log2-inputs: New inputs file.
18445         * benchtests/log-inputs: Add new inputs.
18446         * benchtests/tan-inputs: Likewise.
18448 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18450         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18451         definition...
18452         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18453         (csloww2): ... from here.
18455         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18456         instead of structures.
18457         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18458         (POLYNOMIAL): Likewise.
18459         (TAYLOR_SLOW): Likewise.
18460         (__sin): Likewise.
18461         (__cos): Likewise.
18462         (slow1): Likewise.
18463         (slow2): Likewise.
18464         (sloww): Likewise.
18465         (sloww1); Likewise.
18466         (sloww2): Likewise.
18467         (bsloww1): Likewise.
18468         (bsloww2): Likewise.
18469         (cslow2): Likewise.
18470         (csloww): Likewise.
18471         (csloww1): Likewise.
18472         (csloww2): Likewise.
18474 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18476         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18477         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18478         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18479         * malloc/hooks.c (realloc_check): Likewise.
18481         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18482         * malloc/arena.c: Remove PER_THREAD conditional.
18483         [!PER_THREAD]: Remove code.
18484         (ptmalloc_unlock_all2): Likewise.
18485         (ptmalloc_init): Likewise.
18486         (_int_new_arena): Likewise.
18487         (arena_get2): Likewise.
18488         * malloc/hooks.c (__malloc_get_state): Likewise.
18489         (__malloc_set_state): Likewise.
18490         * malloc/malloc.c: Likewise.
18491         (struct malloc_state): Likewise.
18492         (struct malloc_par): Likewise.
18493         (__libc_realloc): Likewise.
18494         (__libc_mallopt): Likewise.
18496 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18498         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18500 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18502         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18503         macro to a function.  Check for zero perturb_byte.
18504         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18506         * malloc/malloc.c: (force_reg): Remove.
18507         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18508         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18509         force_reg by atomic_forced_read.
18510         * malloc/arena.c (ptmalloc_init): Likewise.
18511         * malloc/hooks.c (top_check): Likewise.
18513 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18517 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18521 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18523         * math/auto-libm-test-in: Add tests of lgamma.
18524         * math/auto-libm-test-out: Regenerated.
18525         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18526         (M_LOG_2_SQRT_PIl): Likewise.
18527         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18528         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18529         mpfr_f_f1.
18530         (func_calc_desc): Add mpfr_f_f1 union field.
18531         (ARGS1): New macro.
18532         (ARGS2): Likewise.
18533         (ARGS3): Likewise.
18534         (ARGS4): Likewise.
18535         (RET1): Likewise.
18536         (RET2): Likewise.
18537         (CALC): Likewise.
18538         (FUNC): Likewise.
18539         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18540         (test_functions): Add lgamma.
18541         (calc_generic_results): Handle mpfr_f_f1.
18542         * sysdeps/i386/fpu/libm-test-ulps: Update.
18543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18545 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18547         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18548         __mpn_add_n for PowerPC64/POWER7.
18549         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18550         __mpn_sub_n for PowerPC64/POWER7.
18552         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18553         __mpn_addmul_1 for PowerPC64.
18554         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18555         __mpn_submul_1 for PowerPC64.
18556         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18557         for PowerPC64.
18558         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18559         for PowerPC64.
18561 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18563         [BZ #15089]
18564         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18566 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18568         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18570         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18571         add multiarch folders.
18572         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18573         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18574         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18575         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18576         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18577         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18578         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18579         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18580         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18581         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18582         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18591         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18593         New file.
18594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18595         New file.
18596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18597         multiarch __ieee754_hypot for PowerPC32.
18598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18599         New file.
18600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18601         New file.
18602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18603         multiarch __ieee754_hypotf for PowerPC32.
18605         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18606         long_double_symbol only if __logbl is defined.
18607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18608         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18610         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18611         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18612         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18613         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18614         path for implementation.
18615         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18616         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18618         logb, and logbl multiarch implementations for PowerPC32.
18619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18620         file.
18621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18622         file.
18623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18624         multiarch logb for PowerPC32.
18625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18626         file.
18627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18628         file.
18629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18630         multiarch logbf for PowerPC32.
18631         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18633         file.
18634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18635         multiarch logbl implementation for PowerPC32.
18637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18638         and modff multiarch implementations.
18639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18640         New file.
18641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18642         New file.
18643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18644         multiarch modf for PowerPC32.
18645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18646         New file.
18647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18648         New file.
18649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18650         multiarch modff for PowerPC32.
18652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18653         and lrintf multiarch implementations.
18654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18655         New file.
18656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18657         New file.
18658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18659         multiarch lrint for PowerPC32.
18660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18661         file: multiarch lrintf for PowerPC32.
18663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18664         and lroundf multiarch implementations.
18665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18666         New file.
18667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18668         New file.
18669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18670         New file.
18671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18672         multiarch lround for PowerPC32.
18673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18674         file: multiarch lroundf for PowerPC32.
18676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18677         copysign and copysignf multiarch implementations.
18678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18679         New file.
18680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18681         New file.
18682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18683         file: multiarch copysign for PowerPC32.
18684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18685         file: multiarch copysignf for PowerPC32.
18687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18688         and truncf multiarch implementations.
18689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18690         New file.
18691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18692         file.
18693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18694         multiarch trunc for PowerPC32.
18695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18696         New file.
18697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18698         New file.
18699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18700         multiarch truncf for PowerPC32.
18702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18703         and roundf multiarch implementations.
18704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18705         New file.
18706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18707         file.
18708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18709         multiarch round for PowerPC32.
18710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18711         New file.
18712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18713         New file.
18714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18715         multiarch roundf for PowerPC32.
18717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18718         and floorf multiarch implementations.
18719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18720         New file.
18721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18722         file.
18723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18724         multiarch floor for PowerPC32.
18725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18726         New file.
18727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18728         New file.
18729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18730         multiarch floorf for PowerPC32.
18732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18733         and ceilf multiarch implementations.
18734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18735         New file.
18736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18737         file.
18738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18739         multiarch ceil for PowerPC32.
18740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18741         New file.
18742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18743         file.
18744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18745         multiarch ceilf for PowerPC32.
18747         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18748         is defined.
18749         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18750         FINITEF is defined.
18751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18752         and finitef multiarch implementations.
18753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18754         New file.
18755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18756         file.
18757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18758         multiarch finite for PowerPC32.
18759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18760         New file.
18761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18762         file: multiarch finitef for PowerPC32.
18764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18765         and isinff multiarch implementations.
18766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18767         file.
18768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18769         file.
18770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18771         multiarch isinf for PowerPC32.
18772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18773         New file.
18774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18775         multiarch isinff for PowerPC32.
18777         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18778         alias when __isnan is defined.
18779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18780         and isnanf multiarch implementations.
18781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18782         file.
18783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18784         file.
18785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18786         file.
18787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18788         file.
18789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18790         multiarch isnan for PowerPC32.
18791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18792         New file.
18793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18794         New file.
18795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18796         multiarch isnanf for PowerPC32.
18798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18799         and sqrtf multiarch implementations.
18800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18801         file.
18802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18803         file.
18804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18805         multiarch sqrt for PowerPC32.
18806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18807         file.
18808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18809         file.
18810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18811         multiarch sqrtf for PowerPC32.
18813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18814         and llroundf multiarch implementations.
18815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18816         New file.
18817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18818         New file.
18819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18820         New file.
18821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18822         file: multiarch llround for PowerPC32.
18823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18824         file: multiarch llroundf for PowerPC32.
18826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18827         multiarch PowerPC32 fpu implementations.
18828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18829         New file.
18830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18831         New file.
18832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18833         multiarch llrint for PowerPC32.
18834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18835         New file.
18836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18837         New file.
18838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18839         file.
18841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18843         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18844         file.
18845         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18846         file.
18847         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18848         file.
18849         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18850         multiarch wordcopy for PPC32.
18851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18852         wordcopy objects.
18853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18854         (__libc_ifunc_impl_list): Likewise.
18855         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18856         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18857         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18858         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18859         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18860         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18862         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18864         file.
18865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18866         file.
18867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18868         file.
18869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18870         multiarch wcscpy for PPC32.
18871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18872         multiarch objects.
18873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18874         (__libc_ifunc_impl_list): Likewise.
18875         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18876         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18877         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18878         sysdeps/powerpc/power6/wcscpy.c.
18880         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18882         file.
18883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18884         file.
18885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18886         file.
18887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18888         multiarch wcsrchr for PPC32.
18889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18890         multiarch objects.
18891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18892         (__libc_ifunc_impl_list): Likewise.
18893         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18894         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18895         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18896         sysdeps/powerpc/power6/wcsrchr.c.
18898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18899         file.
18900         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18901         file.
18902         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18904         multiarch wcschr for PPc32.
18905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18906         multiarch objects.
18907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18908         (__libc_ifunc_impl_list): Likewise.
18909         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18910         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18911         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18912         sysdeps/powerpc/power6/wcschr.c.
18914         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18915         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18916         file.
18917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18918         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18919         file: multiarch strchr for PPC32.
18920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18921         multiarch objects.
18922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18923         (__libc_ifunc_impl_list): Likewise.
18925         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18926         name.
18927         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18928         file.
18929         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18930         file.
18931         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18932         multiarch strchrnul for PPC32.
18933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18934         multiarch objects.
18935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18936         (__libc_ifunc_impl_list): Likewise.
18938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18939         file.
18940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18941         multiarch strncasecmp for PPC32.
18942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18943         file.
18944         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18945         multiarch strncasecmp_l for PPC32.
18946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18947         strncasecmp multiarch objects.
18948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18949         (__libc_ifunc_impl_list): Likewise.
18951         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18952         file.
18953         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18954         multiarch strncasecmp for PPC32.
18955         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18956         New file.
18957         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18958         multiarch strcasecmp_l for PPC32.
18959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18960         multiarch objects.
18961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18962         (__libc_ifunc_impl_list): Likewise.
18964         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18965         file.
18966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18967         file.
18968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18969         multiarch strncmp for PPC32.
18970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18971         multiarch objects.
18972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18973         (__libc_ifunc_impl_list): Likewise.
18975         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18976         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18977         file.
18978         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18979         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18981         multiarch objects.
18982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18983         (__libc_ifunc_impl_list): Likewise.
18985         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18986         file.
18987         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18988         file.
18989         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18991         multiarch objects.
18992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18993         (__libc_ifunc_impl_list): Likewise.
18995         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18996         file.
18997         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18998         file.
18999         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19000         multiarch rawmemchr for PPC32.
19001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19002         multiarch objects.
19003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19004         (__libc_ifunc_impl_list): Likewise.
19006         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19007         file.
19008         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19009         file.
19010         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19011         file: memrchr multiarch for PPC32.
19012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19013         multiarch objects.
19014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19015         (__libc_ifunc_impl_list): Likewise.
19017         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19019         file.
19020         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19021         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19022         multiarch memchr for PPC32.
19023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19024         multiarch objects.
19025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19026         (__libc_ifunc_impl_list): Likewise.
19028         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19029         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19030         file.
19031         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19032         file.
19033         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19034         file: multiarch mempcpy for PPC32.
19035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19036         multiarch objects.
19037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19038         (__libc_ifunc_impl_list): Likewise.
19040         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19042         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19043         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19044         multiarch bzero for PPC32.
19045         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19046         file.
19047         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19048         file.
19049         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19050         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19051         file: multiarch memset for PPC32.
19052         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19054         memset multiarch objects.
19055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19056         (__libc_ifunc_impl_list): Likewise.
19058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19059         file.
19060         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19062         memcmp for PPC32.
19063         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19065         multiarch objects.
19066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19067         (__libc_ifunc_impl_list): Likewise.
19069         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19071         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19072         file.
19073         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19074         file.
19075         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19076         file.
19077         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19078         multiarch memcpy for PPC32.
19079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19080         multiarch objects.
19081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19082         (__libc_ifunc_impl_list): Likewise.
19084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19085         support multiarch for POWER/PPC32.
19086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19087         Likewise.
19088         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19090         Implies file to make multiarch folder appers before the fpu and
19091         default folder for power4 configuration.
19093 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19095         * scripts/bench.pl: Append volatile keyword to type.
19097 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19099         * sysdeps/sh/sotruss-lib.c: New file.
19100         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19102 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19106 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19108         [BZ #6810]
19109         * math/w_tgamma.c: Include <errno.h>.
19110         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19111         * math/w_tgammaf.c: Include <errno.h>.
19112         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19113         * math/w_tgammal.c: Include <errno.h>.
19114         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19115         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19116         underflow.  Add more tgamma tests.
19117         * math/auto-libm-test-out: Regenerated.
19118         * sysdeps/i386/fpu/libm-test-ulps: Update.
19119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19121         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19122         sin, sinh, tan, tanh, tgamma, y0 and y1.
19123         * math/auto-libm-test-out: Regenerated.
19124         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19125         (TEST_COND_x86): Likewise.
19126         (M_E2l): Remove macro.
19127         (M_E3l): Likewise.
19128         (M_2_SQRT_PIl): Likewise.
19129         (M_SQRT_PIl): Likewise.
19130         (M_1_DIV_El): Likewise.
19131         (log_test_data): Use AUTO_TESTS_f_f.
19132         (log10_test_data): Likewise.
19133         (log1p_test_data): Likewise.
19134         (log2_test_data): Likewise.
19135         (sin_test_data): Likewise.
19136         (sin_tonearest_test_data): Likewise.
19137         (sin_towardzero_test_data): Likewise.
19138         (sin_downward_test_data): Likewise.
19139         (sin_upward_test_data): Likewise.
19140         (sinh_test_data): Likewise.
19141         (sinh_tonearest_test_data): Likewise.
19142         (sinh_towardzero_test_data): Likewise.
19143         (sinh_downward_test_data): Likewise.
19144         (sinh_upward_test_data): Likewise.
19145         (tan_test_data): Likewise.
19146         (tan_tonearest_test_data): Likewise.
19147         (tan_towardzero_test_data): Likewise.
19148         (tan_downward_test_data): Likewise.
19149         (tan_upward_test_data): Likewise.
19150         (tanh_test_data): Likewise.
19151         (tgamma_test_data): Likewise.
19152         (y0_test_data): Likewise.
19153         (y1_test_data): Likewise.
19154         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19155         (special_real_inputs): Add pi/4.
19156         * sysdeps/i386/fpu/libm-test-ulps: Update.
19157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19159 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19161         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19162         "longjmp_target" static probes.
19163         (__longjmp): Rename to __longjmp_symbol.
19164         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19165         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19166         on which longjmp to generate.
19167         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19168         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19169         probe.
19170         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19171         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19172         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19173         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19174         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19175         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19177         __longjmp_symbol based on which __longjmp to generate.
19178         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19179         probe.
19180         (setjmp): Rename to setjmp_symbol.
19181         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19182         (_setjmp): Rename to _setjmp_symbol.
19183         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19184         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19185         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19186         which setjmp to generate.
19187         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19188         "longjmp_target" static probes.
19190 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19192         * benchtests/README: Add note about output arguments.
19193         * benchtests/bench-sincos.c: Remove file.
19194         * benchtests/sincos-inputs: New file.
19195         * scripts/bench.pl: Identify output arguments and define
19196         static variables for them.
19198         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19200         [BZ #15941]
19201         * Makefile (INSTALL): Add install-plain.texi as the primary
19202         dependency.
19203         * manual/install-plain.texi: New file.
19204         * manual/install.texi: Include node directive only for
19205         non-plaintext output.
19207 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19209         * stdlib/longlong.h: Update from GCC.
19211         [BZ #6807]
19212         [BZ #15901]
19213         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19214         * math/w_j0f.c (y0f): Likewise.
19215         * math/w_j0l.c (__y0l): Likewise.
19216         * math/w_j1.c (y1): Likewise.
19217         * math/w_j1f.c (y1f): Likewise.
19218         * math/w_j1l.c (__y1l): Likewise
19219         * math/w_jn.c (yn): Likewise.
19220         * math/w_jnf.c (ynf): Likewise.
19221         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19222         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19223         value for Bessel function domain errors outside _SVID_ mode.
19224         Adjust sign of return value for yn (negative integer, 0).
19225         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19226         by zero in return for negative x and set sign appropriately for
19227         negative n.
19228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19229         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19230         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19231         expectations in error cases.
19232         (y1_test_data): Likewise.
19233         (yn_test_data): Likewise.
19234         * sysdeps/i386/fpu/libm-test-ulps: Update.
19235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19237 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19239         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19240         "64" to "64-v1".  Add "64-v2".
19241         (abi-64-options): Rename to ...
19242         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19243         (abi-64-condition): Rename to ...
19244         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19245         (abi-64-ld-soname): Rename to ...
19246         (abi-64-v1-ld-soname): ... this.
19247         (abi-64-v2-options): Define.
19248         (abi-64-v2-condition): Likewise.
19249         (abi-64-v2-ld-soname): Likewise.
19250         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19251         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19256 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19257             Alan Modra  <amodra@gmail.com>
19259         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19260         New versions for use with the ELFv2 ABI.
19261         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19262         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19263         declaration.
19264         (struct La_ppc64v2_retval): Likewise.
19265         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19266         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19267         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19268         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19269         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19270         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19271         Do not save or restore CR.
19272         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19273         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19274         return values for ELFv2 ABI.  Fix location of FPR return registers.
19275         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19276         updated values for _CALL_ELF == 2.
19277         (La_regs, La_retval, int_retval): Likewise.
19279 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19281         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19282         (FRAME_MIN_SIZE_PARM): Likewise.
19283         (FRAME_BACKCHAIN): Likewise.
19284         (FRAME_CR_SAVE): Likewise.
19285         (FRAME_LR_SAVE): Likewise.
19286         (FRAME_TOC_SAVE): Likewise.
19287         (FRAME_PARM_SAVE): Likewise.
19288         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19289         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19290         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19291         (call_mcount_parm_offset): New macro.
19292         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19293         (PROF): Use symbolic stack frame offsets.
19294         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19295         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19296         Redefine in terms of FRAME_MIN_SIZE.
19297         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19298         (_dl_profile_resolve): Likewise.  Update comment.
19299         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19300         symbols stack frame offsets.
19301         (__sigsetjmp): Likewise.
19302         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19303         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19304         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19305         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19308         (FRAME_BACKCHAIN): Remove.
19309         (FRAME_CR_SAVE): Likewise.
19310         (FRAME_LR_SAVE): Likewise.
19311         (FRAME_COMPILER_DW): Likewise.
19312         (FRAME_LINKER_DW): Likewise.
19313         (FRAME_TOC_SAVE): Likewise.
19314         (FRAME_PARM_SAVE): Likewise.
19315         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19316         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19317         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19319         (CHECK_SP): Use symbolic stack frame offsets.
19320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19321         zone" instead of caller's parameter save area for temp storage.
19322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19323         Likewise.  Also, use symbolic stack frame offsets.
19324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19325         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19326         our own stack frame instead of the caller's.
19327         (__socket): Use symbolic stack frame offsets.
19329 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19330             Alan Modra  <amodra@gmail.com>
19332         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19333         Define.
19334         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19335         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19336         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19337         New function.
19338         (elf_machine_fixup_plt): Call it.
19339         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19340         reloc arguments.
19341         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19342         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19343         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19344         r2 before calling target.
19346 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19347             Alan Modra  <amodra@gmail.com>
19349         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19350         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19351         versions of macros to support ELFv2 ABI.
19352         (LOCALENTRY): New macro.
19353         (ENTRY, EALIGN): Use it.
19354         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19355         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19356         fall through into ENTRY entry point.
19357         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19358         Only define if _CALL_ELF != 2.
19360         (elf_machine_matches_host): Verify ABI version matches.
19361         (RTLD_START): Use LOCALENTRY.
19362         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19363         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19364         (PLT_ENTRY_WORDS): New macro.
19365         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19366         (elf_machine_runtime_setup): Support ELFv2 ABI.
19367         (elf_machine_fixup_plt): Likewise.
19368         (elf_machine_plt_conflict): Likewise.
19369         (resolve_ifunc): Likewise.
19370         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19371         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19372         Likewise.
19373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19374         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19376         (makecontext): Support ELFv2 ABI.
19377         * elf/elf.h (EF_PPC64_ABI): Define.
19379 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19381         * sysdeps/powerpc/powerpc64/sysdep.h
19382         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19383         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19384         (ENTRY) [ASSEMBLER]: ... but instead here ...
19385         (EALIGN) [ASSEMBLER]: ... and here.
19386         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19387         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19388         (ENTRY_2) [!ASSEMBLER]: Use it.
19389         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19390         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19391         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19392         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19393         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19395         Use PPC64_LOAD_FUNCPTR.
19397         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19399 2013-12-04  Alan Modra  <amodra@gmail.com>
19401         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19402         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19403         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19404         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19407         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19408         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19409         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19410         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19411         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19413 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19416         (__makecontext): Fix incorrect CFI when backtracing out of
19417         context created via makecontext.
19418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19419         (__setcontext): Fix incorrect CFI during switch to new context.
19420         (__novec_setcontext): Likewise.
19422 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19424         [BZ #4772]
19425         * time/strptime_l.c (__strptime_internal): Allow modifiers
19426         in strptime.
19427         * time/tst-strptime.c (day_tests): Add testcase.
19429 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19431         * scripts/bench.pl: Skip over blank lines.
19433 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19435         [BZ #926]
19436         * manual/time.texi (Calendar Time): Clarify what timezone functions
19437         use.
19439 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19443 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19445         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19446         implementation.
19447         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19448         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19449         * debug/memset_chk.c (__memset_chk): Likewise.
19450         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19451         * debug/strncpy_chk.c: Likewise.
19453 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19455         [BZ #15268]
19456         [BZ #15425]
19457         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19458         (__ieee754_exp): For possibly underflowing results, check size of
19459         result and force underflow exception if required.
19460         * math/auto-libm-test-in: Add more tests of exp.
19461         * math/auto-libm-test-out: Regenerated.
19462         * sysdeps/i386/fpu/libm-test-ulps: Update.
19463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19465         [BZ #16283]
19466         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19467         * math/w_exp2f.c (__exp2f): Likewise.
19468         * math/w_exp2l.c (__exp2l): Likewise.
19469         * math/auto-libm-test-in: Do not allow missing errno on exp2
19470         underflow.
19471         * math/auto-libm-test-out: Regenerated.
19473 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19475         [BZ #16274]
19476         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19477         handle filename validation.
19478         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19479         (do_open): Delete.
19481 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19483         [BZ #6786]
19484         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19485         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19486         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19487         <float.h>.
19488         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19489         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19490         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19492         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19493         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19494         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19495         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19496         Add more erfc tests.
19497         * math/auto-libm-test-out: Regenerated.
19498         * sysdeps/i386/fpu/libm-test-ulps: Update.
19499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19501         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19502         exp2, expm1, j0 and j1.
19503         * math/auto-libm-test-out: Regenerated.
19504         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19505         (erfc_test_data): Likewise.
19506         (exp_test_data): Likewise.
19507         (exp_tonearest_test_data): Likewise.
19508         (exp_towardzero_test_data): Likewise.
19509         (exp_downward_test_data): Likewise.
19510         (exp_upward_test_data): Likewise.
19511         (exp10_test_data): Likewise.
19512         (exp2_test_data): Likewise.
19513         (expm1_test_data): Likewise.
19514         (j0_test_data): Likewise.
19515         (j1_test_data): Likewise.
19516         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19517         (input_flag_type): Add flag_xfail_rounding.
19518         (input_flags): Add xfail-rounding.
19519         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19520         (output_for_one_input_case): Handle flag_xfail_rounding.
19521         * sysdeps/i386/fpu/libm-test-ulps: Update.
19522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19524 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19526         [BZ #16289]
19527         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19528         division by 0.
19530 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19532         [BZ #16195]
19533         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19534         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19535         (STAP_PROBE0): New macro.
19536         (STAP_PROBE1): Likewise.
19537         (STAP_PROBE2): Likewise.
19538         (STAP_PROBE3): Likewise.
19539         (STAP_PROBE4): Likewise.
19541 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19543         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19545 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19547         * benchtests/Makefile (bench): Add sqrt.
19548         (LDLIBS-bench-sqrt): New.
19549         * benchtests/sqrt-input: New.
19551 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19553         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19554         (GAIH_EAI): Likewise.
19555         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19556         (gaih_inet): Likewise.
19557         (getaddrinfo): Don't use GAIH_EAI.
19559         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19560         (struct gaih): Remove definition.
19562 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19564         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19565         Use HERRNOP directly.
19567 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19571 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19573         * math/gen-auto-libm-tests.c (test_functions): Add more
19574         single-argument functions.
19575         (special_fill_pi_2): New function.
19576         (special_fill_minus_pi_2): Likewise.
19577         (special_fill_pi_6): Likewise.
19578         (special_fill_minus_pi_6): Likewise.
19579         (special_fill_pi_3): Likewise.
19580         (special_fill_2pi_3): Likewise.
19581         (special_fill_e): Likewise.
19582         (special_fill_1_e): Likewise.
19583         (special_fill_e_minus_1): Likewise.
19584         (special_real_inputs): Add more special inputs.
19585         (output_for_one_input_case): Do not require ERANGE on underflow to
19586         zero if round-to-nearest result does not underflow to zero, unless
19587         exact results required.
19588         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19589         atan, atanh, cbrt, cos and cosh.
19590         * math/auto-libm-test-out: Regenerated.
19591         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19592         (acos_tonearest_test_data): Likewise.
19593         (acos_towardzero_test_data): Likewise.
19594         (acos_downward_test_data): Likewise.
19595         (acos_upward_test_data): Likewise.
19596         (acosh_test_data): Likewise.
19597         (asin_test_data): Likewise.
19598         (asin_tonearest_test_data): Likewise.
19599         (asin_towardzero_test_data): Likewise.
19600         (asin_upward_test_data): Likewise.
19601         (asinh_test_data): Likewise.
19602         (atan_test_data): Likewise.
19603         (atanh_test_data): Likewise.
19604         (cbrt_test_data): Likewise.
19605         (cos_test_data): Likewise.
19606         (cos_tonearest_test_data): Likewise.
19607         (cos_towardzero_test_data): Likewise.
19608         (cos_downward_test_data): Likewise.
19609         (cos_upward_test_data): Likewise.
19610         (cosh_test_data): Likewise.
19611         (cosh_tonearest_test_data): Likewise.
19612         (cosh_towardzero_test_data): Likewise.
19613         (cosh_downward_test_data): Likewise.
19614         (cosh_upward_test_data): Likewise.
19615         * sysdeps/i386/fpu/libm-test-ulps: Update.
19616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19618 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19620         [BZ #6787]
19621         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19622         * math/w_exp10f.c (__exp10f): Likewise.
19623         * math/w_exp10l.c (__exp10l): Likewise.
19624         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19625         errno settings in existing tests.
19627         [BZ #14032]
19628         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19629         precision control set to double precision.
19630         * sysdeps/i386/fpu/w_sqrt.c: New file.
19631         * math/auto-libm-test-in: Add more tests.
19632         * math/auto-libm-test-out: Update.
19634         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19635         (sqrt_test_tonearest): New function.
19636         (sqrt_towardzero_test_data): New variable.
19637         (sqrt_test_towardzero): New function.
19638         (sqrt_downward_test_data): New variable.
19639         (sqrt_test_downward): New function.
19640         (sqrt_upward_test_data): New variable.
19641         (sqrt_test_upward): New function.
19642         (main): Call the new functions.
19644         * math/gen-auto-libm-tests.c: New file.
19645         * math/auto-libm-test-in: Likewise.
19646         * math/auto-libm-test-out: New generated file.
19647         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19648         variables.
19649         (%beautify): Add generated representations of zero.
19650         (top level): Set $auto_input and call parse_auto_input.
19651         (beautify): Remove trailing "f" from hex float constants.
19652         (parse_args): Handle XFAIL_TEST.
19653         (convert_condition): New function.
19654         (or_value): Likewise.
19655         (or_cond_value): Likewise.
19656         (generate_testfile): Handle AUTO_TESTS_* lines.
19657         (parse_auto_input): New function.
19658         * math/libm-test.inc (XFAIL_TEST): New macro.
19659         (ERRNO_UNCHANGED): Update value.
19660         (ERRNO_EDOM): Likewise.
19661         (ERRNO_ERANGE): Likewise.
19662         (IGNORE_RESULT): Likewise.
19663         (TEST_COND_flt_32): New macro.
19664         (TEST_COND_dbl_64): Likewise.
19665         (TEST_COND_ldbl_96_intel): Likewise.
19666         (TEST_COND_ldbl_96_m68k): Likewise.
19667         (TEST_COND_ldbl_128): Likewise.
19668         (TEST_COND_ldbl_128ibm): Likewise.
19669         (TEST_COND_long32): Likewise.
19670         (TEST_COND_long64): Likewise.
19671         (TEST_COND_before_rounding): Likewise.
19672         (TEST_COND_after_rounding): Likewise.
19673         (enable_test): Handle XFAIL_TEST flag.
19674         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19675         with finite results.
19676         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19677         auto-libm-test-out.
19679 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19680             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19682         [BZ #16214]
19683         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19684         __tls_get_addr_internal instead of __tls_get_offset in order to
19685         avoid GOT pointer dependency.  Make rtld export
19686         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19687         __tls_get_addr since we are a __tls_get_offset platform.
19688         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19689         GOT pointer being set up before.
19690         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19692 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19694         * manual/math.texi (Errors in Math Functions): Document accuracy
19695         goals.
19697         [BZ #15004]
19698         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19699         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19700         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19701         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19702         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19703         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19704         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19705         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19706         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19707         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19708         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19709         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19710         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19711         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19712         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19713         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19715         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19716         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19717         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19718         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19719         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19720         Likewise.
19721         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19722         Likewise.
19723         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19724         Likewise.
19725         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19726         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19727         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19728         atomic-feupdateenv and flt-rounds.
19729         * sysdeps/powerpc/nofpu/Versions (libc): Add
19730         __atomic_feholdexcept, __atomic_feclearexcept,
19731         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19732         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19733         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19734         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19735         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19736         here.
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19738         Update.
19740         * manual/arith.texi (FP Exceptions): Document that exceptions may
19741         not be raised when matherr is used.
19742         (Math Error Reporting): Document overflow in directed rounding
19743         modes.  Document that errno may not be set when finite values are
19744         returned on overflow.  Document intent to set errno on underflow
19745         only for underflow to zero.
19747         [BZ #16271]
19748         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19749         round-to-nearest then adjust result for other rounding modes.
19750         * include/fenv.h (fegetround): Use libm_hidden_proto.
19751         * math/fegetround.c (fegetround): Use libm_hidden_def.
19752         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19753         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19754         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19755         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19756         Likewise.
19757         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19758         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19759         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19760         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19762 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19764         [BZ #16077]
19765         * nss/Versions (libnss_files): Add
19766         _nss_files_gethostbyname3_r.
19767         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19768         New function.
19769         (HOST_DB_LOOKUP): Remove macro.
19770         (_nss_files_gethostbyname_r): Implement function without the
19771         HOST_DB_LOOKUP macro.
19772         (_nss_files_gethostbyname2_r): Likewise.
19774 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19776         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19778 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19780         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19781         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19782         warning.
19784 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19786         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19787         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19788         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19789         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19790         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19791         __fe_nomask_env_priv and attribute_hidden.
19792         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19793         (libc_feupdateenv_test_ppc): Likewise.
19794         (libc_feresetround_ppc): Likewise.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19796         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19797         compat_symbol macro.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19799         (__fe_nomask_env): Likewise.
19800         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19802 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19804         * string/Makefile: Remove ifunc tests.
19805         * string/test-string.h: Define TEST_IFUNC.
19806         * string/test-bcopy-ifunc.c: Remove.
19807         * string/test-bzero-ifunc.c: Likewise.
19808         * string/test-memccpy-ifunc.c: Likewise.
19809         * string/test-memchr-ifunc.c: Likewise.
19810         * string/test-memcmp-ifunc.c: Likewise.
19811         * string/test-memcpy-ifunc.c: Likewise.
19812         * string/test-memmem-ifunc.c: Likewise.
19813         * string/test-memmove-ifunc.c: Likewise.
19814         * string/test-mempcpy-ifunc.c: Likewise.
19815         * string/test-memrchr-ifunc.c: Likewise.
19816         * string/test-memset-ifunc.c: Likewise.
19817         * string/test-rawmemchr-ifunc.c: Likewise.
19818         * string/test-stpcpy-ifunc.c: Likewise.
19819         * string/test-stpncpy-ifunc.c: Likewise.
19820         * string/test-strcasecmp-ifunc.c: Likewise.
19821         * string/test-strcasestr-ifunc.c: Likewise.
19822         * string/test-strcat-ifunc.c: Likewise.
19823         * string/test-strchr-ifunc.c: Likewise.
19824         * string/test-strchrnul-ifunc.c: Likewise.
19825         * string/test-strcmp-ifunc.c: Likewise.
19826         * string/test-strcpy-ifunc.c: Likewise.
19827         * string/test-strcspn-ifunc.c: Likewise.
19828         * string/test-strlen-ifunc.c: Likewise.
19829         * string/test-strncasecmp-ifunc.c: Likewise.
19830         * string/test-strncat-ifunc.c: Likewise.
19831         * string/test-strncmp-ifunc.c: Likewise.
19832         * string/test-strncpy-ifunc.c: Likewise.
19833         * string/test-strnlen-ifunc.c: Likewise.
19834         * string/test-strpbrk-ifunc.c: Likewise.
19835         * string/test-strrchr-ifunc.c: Likewise.
19836         * string/test-strspn-ifunc.c: Likewise.
19837         * string/test-strstr-ifunc.c: Likewise.
19839 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19841         * benchtests/Makefile: Remove ifunc tests.
19842         * benchtests/bench-string.h: Define TEST_IFUNC.
19843         * benchtests/bench-bcopy-ifunc.c: Remove.
19844         * benchtests/bench-bzero-ifunc.c: Likewise.
19845         * benchtests/bench-memccpy-ifunc.c: Likewise.
19846         * benchtests/bench-memchr-ifunc.c: Likewise.
19847         * benchtests/bench-memcmp-ifunc.c: Likewise.
19848         * benchtests/bench-memcpy-ifunc.c: Likewise.
19849         * benchtests/bench-memmem-ifunc.c: Likewise.
19850         * benchtests/bench-memmove-ifunc.c: Likewise.
19851         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19852         * benchtests/bench-memrchr-ifunc.c: Likewise.
19853         * benchtests/bench-memset-ifunc.c: Likewise.
19854         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19855         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19856         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19857         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19858         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19859         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19860         * benchtests/bench-strcat-ifunc.c: Likewise.
19861         * benchtests/bench-strchr-ifunc.c: Likewise.
19862         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19863         * benchtests/bench-strcmp-ifunc.c: Likewise.
19864         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19865         * benchtests/bench-strcpy-ifunc.c: Likewise.
19866         * benchtests/bench-strcspn-ifunc.c: Likewise.
19867         * benchtests/bench-strlen-ifunc.c: Likewise.
19868         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19869         * benchtests/bench-strncat-ifunc.c: Likewise.
19870         * benchtests/bench-strncmp-ifunc.c: Likewise.
19871         * benchtests/bench-strncpy-ifunc.c: Likewise.
19872         * benchtests/bench-strnlen-ifunc.c: Likewise.
19873         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19874         * benchtests/bench-strrchr-ifunc.c: Likewise.
19875         * benchtests/bench-strsep-ifunc.c: Likewise.
19876         * benchtests/bench-strspn-ifunc.c: Likewise.
19877         * benchtests/bench-strstr-ifunc.c: Likewise.
19879 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19881         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19883 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19885         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19886         * rt/aio.h: Likewise.
19887         * sysdeps/gnu/bits/utmp.h: Likewise.
19888         * sysdeps/gnu/bits/utmpx.h: Likewise.
19889         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19890         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19891         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19892         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19893         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19894         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19895         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19896         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19897         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19898         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19899         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19900         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19901         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19903         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19904         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19905         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19906         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19907         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19908         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19909         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19910         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19911         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19912         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19913         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19915         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19916         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19917         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19918         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19919         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19920         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19921         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19922         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19923         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19924         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19925         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19926         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19927         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19928         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19929         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19930         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19932 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19934         [BZ #16245]
19935         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19936         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19938 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19940         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19941         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19942         Likewise.
19944 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19946         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19947         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19948         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19949         (__fesetround): Remove define.
19950         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19951         rounding and exceptions handling.
19952         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19953         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19954         (__fe_nomask_env): Likewise.
19955         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19956         __fegetround instead of fegetround.
19957         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19958         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19960 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19962         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19963         it's there.
19965         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19967 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19969         [BZ #11157]
19970         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19971         (encrypt_r): Likewise.
19972         * malloc/obstack.h (obstack_free): Likewise.
19973         * posix/unistd.h (encrypt): Likewise.
19975 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19977         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19978         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19979         DL_CALL_DT_FINI() that call the functions directly.
19980         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19981         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19982         * elf/dl-fini.c: Likewise.
19984 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19986         * malloc/hooks.c (memalign_check): Add alignment rounding.
19987         * malloc/malloc.c (_mid_memalign): New function.
19988         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19989         Implement by calling _mid_memalign.
19990         * manual/probes.texi (Memory Allocation Probes): Remove
19991         memory_valloc_retry and memory_pvalloc_retry.
19993 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19995         * locale/programs/locarchive.c (open_archive): Add const
19996         qualifier to ARCHIVEFNAME and copy default fname to
19997         DEFAULT_FNAME.
19999         [BZ #15601]
20000         * libio/tst-widetext.input: Rename Oriya to Odia.
20001         * locale/iso-639.def: Likewise.
20003         * manual/probes.texi (Mathematical Function Probes): Add
20004         documentation for sin, cos, asin and acos probes.
20005         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20006         (__sin32): Add slowasin probe.
20007         (__cos32): Add slowacos probe.
20008         (__mpsin): Add slowsin probe.
20009         (__mpcos): Add slowcos probe.
20011 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20013         [BZ #15483]
20014         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20015         thread-local __sim_exceptions_thread and global
20016         __sim_exceptions_global.
20017         (__sim_disabled_exceptions): Change to thread-local
20018         __sim_disabled_exceptions_thread and global
20019         __sim_disabled_exceptions_global.
20020         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20021         and global __sim_round_mode_global.
20022         (__simulate_exceptions): Use thread-local floating-point state and
20023         set global state from it as needed.
20024         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20025         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20026         __sim_round_mode_thread.
20027         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20028         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20029         and global __sim_exceptions_global.
20030         (__sim_disabled_exceptions): Change to thread-local
20031         __sim_disabled_exceptions_thread and global
20032         __sim_disabled_exceptions_global.
20033         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20034         and global __sim_round_mode_global.
20035         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20036         (SIM_SET_GLOBAL): Likewise.
20037         * sysdeps/powerpc/soft-fp/sfp-machine.h
20038         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20039         __sim_round_mode_thread.
20040         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20041         __sim_disabled_exceptions_thread.
20042         (__sim_exceptions): Change to __sim_exceptions_thread.
20043         (__sim_disabled_exceptions): Change to
20044         __sim_disabled_exceptions_thread.
20045         (__sim_round_mode): Change to __sim_round_mode_thread.
20046         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20047         thread-local floating-point state and set global state from it as
20048         needed.
20049         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20050         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20051         (__sim_disabled_exceptions): Remove extern declaration.
20052         (feenableexcept): Use thread-local floating-point state and set
20053         global state from it as needed.
20054         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20055         extern declaration.
20056         (__sim_disabled_exceptions): Likewise.
20057         (__sim_round_mode): Likewise.
20058         (__fegetenv): Use thread-local floating-point state.
20059         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20060         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20061         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20062         floating-point state and set global state from it as needed.
20063         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20064         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20065         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20066         Likewise.
20067         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20068         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20069         Likewise.
20070         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20071         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20072         Use __sim_round_mode_thread.
20073         * math/test-fenv-tls.c: New file.
20074         * math/Makefile (tests): Add test-fenv-tls.
20075         ($(objpfx)test-fenv-tls): Depend on
20076         $(common-objpfx)nptl/libpthread.so.
20078 2013-11-19  Andreas Schwab  <schwab@suse.de>
20080         * locale/programs/locale.c (show_info): Decode wordarray elements.
20081         * locale/categories.def (LC_MONETARY): Add element for
20082         _NL_MONETARY_CRNCYSTR.
20083         * locale/C-monetary.c (conversion_rate): New variable.
20084         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20085         element.
20087 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20089         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20090         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20092 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20094         * elf/Makefile (tst-auxv): New test.
20095         * elf/tst-auxv.c: New
20096         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20098 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20100         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20101         (hidden_proto): Caller changed.
20102         (hidden_tls_proto): New macro.
20103         (libc_hidden_tls_proto): Likewise.
20104         (rtld_hidden_tls_proto): Likewise.
20105         (libm_hidden_tls_proto): Likewise.
20106         (libresolv_hidden_tls_proto): Likewise.
20107         (librt_hidden_tls_proto): Likewise.
20108         (libdl_hidden_tls_proto): Likewise.
20109         (libnss_files_hidden_tls_proto): Likewise.
20110         (libnsl_hidden_tls_proto): Likewise.
20111         (libnss_nisplus_hidden_tls_proto): Likewise.
20112         (libutil_hidden_tls_proto): Likewise.
20114 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20116         [BZ #10253]
20117         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20118         (decompose_rpath): Defer expansion to fillin_rpath.
20119         (_dl_init_paths): Pass linkmap to fillin_rpath.
20121 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20123         * benchtests/Makefile: Add strsep.
20124         * benchtests/bench-strsep.c: New file: strsep benchtest.
20125         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20127 2013-11-18  Andreas Schwab  <schwab@suse.de>
20129         * locale/programs/locale.c (show_info) [case byte]: Check for
20130         '\377' instead of '\177'.
20131         * locale/C-monetary.c (not_available): Always use "\377".
20132         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20133         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20134         detect unavailable sign_posn locale elements.
20135         * locale/localeconv.c (__localeconv): For grouping and
20136         mon_grouping handle "\177" and "\377" like no grouping.
20137         (INT_ELEM): New macro.  Use it to set all numeric members.
20138         * locale/programs/ld-monetary.c (monetary_read)
20139         <tok_mon_grouping>: Normalize single -1 to the empty string.
20140         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20141         Likewise.
20143 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20145         [BZ #16055]
20146         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20147         when we match (nil).
20148         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20150 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20152         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20153         (NO_TEST_INLINE): Update value.
20154         (ERRNO_UNCHANGED): Likewise.
20155         (ERRNO_EDOM): Likewise.
20156         (ERRNO_ERANGE): Likewise.
20157         (IGNORE_RESULT): Likewise.
20158         (check_float_internal): Check signs of NaN results if
20159         TEST_NAN_SIGN used.
20160         (check_complex): Pass TEST_NAN_SIGN flag through to second
20161         check_float_internal call.
20162         (copysign_test_data): Add tests with quiet NaNs as second
20163         argument.  Use TEST_NAN_SIGN.
20164         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20165         TEST_NAN_SIGN.
20166         (signbit_test_data): Add tests of quiet NaN argument.
20167         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20169         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20170         $ignore_result.
20171         (parse_args): Handle function results specified as IGNORE.
20172         * math/libm-test.inc (IGNORE_RESULT): New macro.
20173         (check_float_internal): Do not check numerical result if flag
20174         IGNORE_RESULT set.
20175         (check_complex): Pass through IGNORE_RESULT to second
20176         check_float_internal call.
20177         (check_int): Do not check numerical result if flag IGNORE_RESULT
20178         set.
20179         (check_long): Likewise.
20180         (check_bool): Likewise.
20181         (check_longlong): Likewise.
20182         (lrint_test_data): Add tests of infinite and NaN arguments.
20183         (lrint_tonearest_test_data): Likewise.
20184         (lrint_towardzero_test_data): Likewise.
20185         (lrint_downward_test_data): Likewise.
20186         (lrint_upward_test_data): Likewise.
20187         (llrint_test_data): Likewise.
20188         (llrint_tonearest_test_data): Likewise.
20189         (llrint_towardzero_test_data): Likewise.
20190         (llrint_downward_test_data): Likewise.
20191         (llrint_upward_test_data): Likewise.
20192         (lround_test_data): Likewise.
20193         (llround_test_data): Likewise.
20195         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20196         (ERRNO_UNCHANGED): Update value.
20197         (ERRNO_EDOM): Likewise.
20198         (ERRNO_ERANGE): Likewise.
20199         (NO_TEST_INLINE_FLOAT): New macro.
20200         (NO_TEST_INLINE_DOUBLE): Likewise.
20201         (enable_test): New function.
20202         (RUN_TEST_f_f): Check enable_test before running test.
20203         (RUN_TEST_2_f): Likewise.
20204         (RUN_TEST_fff_f): Likewise.
20205         (RUN_TEST_c_f): Likewise.
20206         (RUN_TEST_f_f1): Likewise.
20207         (RUN_TEST_fF_f1): Likewise.
20208         (RUN_TEST_fI_f1): Likewise.
20209         (RUN_TEST_ffI_f1): Likewise.
20210         (RUN_TEST_c_c): Likewise.
20211         (RUN_TEST_cc_c): Likewise.
20212         (RUN_TEST_f_i): Likewise.
20213         (RUN_TEST_f_i_tg): Likewise.
20214         (RUN_TEST_ff_i_tg): Likewise.
20215         (RUN_TEST_f_b): Likewise.
20216         (RUN_TEST_f_b_tg): Likewise.
20217         (RUN_TEST_f_l): Likewise.
20218         (RUN_TEST_f_L): Likewise.
20219         (RUN_TEST_fFF_11): Likewise.
20220         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20221         conditionals.
20222         (cosh_test_data): Likewise.
20223         (exp_test_data): Likewise.
20224         (expm1_test_data): Likewise.
20225         (hypot_test_data): Likewise.
20226         (pow_test_data): Likewise.
20227         (sinh_test_data): Likewise.
20228         (tanh_test_data): Likewise.
20229         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20230         flags argument.
20232         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20233         tests with quiet NaN input and output.
20234         (acosh_test_data): Likewise.
20235         (asin_test_data): Likewise.
20236         (asinh_test_data): Likewise.
20237         (atan_test_data): Likewise.
20238         (atanh_test_data): Likewise.
20239         (atan2_test_data): Likewise.
20240         (cbrt_test_data): Likewise.
20241         (cos_test_data): Likewise.
20242         (cosh_test_data): Likewise.
20243         (erf_test_data): Likewise.
20244         (erfc_test_data): Likewise.
20245         (exp_test_data): Likewise.
20246         (exp10_test_data): Likewise.
20247         (exp2_test_data): Likewise.
20248         (expm1_test_data): Likewise.
20249         (hypot_test_data): Likewise.
20250         (j0_test_data): Likewise.
20251         (j1_test_data): Likewise.
20252         (jn_test_data): Likewise.
20253         (lgamma_test_data): Likewise.
20254         (log_test_data): Likewise.
20255         (log10_test_data): Likewise.
20256         (log1p_test_data): Likewise.
20257         (log2_test_data): Likewise.
20258         (pow_test_data): Likewise.
20259         (scalb_test_data): Likewise.
20260         (sin_test_data): Likewise.
20261         (sincos_test_data): Likewise.
20262         (sinh_test_data): Likewise.
20263         (tan_test_data): Likewise.
20264         (tanh_test_data): Likewise.
20265         (tgamma_test_data): Likewise.
20266         (y0_test_data): Likewise.
20267         (y1_test_data): Likewise.
20268         (yn_test_data): Likewise.
20270         [BZ #16167]
20271         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20272         argument being NaN and avoid computations with second argument in
20273         that case.
20274         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20275         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20276         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20278 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20280         * locale/iso-639.def: Add Chitwani Tharu (the).
20282 2013-11-14  Andreas Schwab  <schwab@suse.de>
20284         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20285         word instead of empty string.
20287 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20290         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20292         (__fe_nomask_env): Likewise.
20294 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20296         * benchtests/bench-timing.h: Include time.h.
20298 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20300         [BZ #15997]
20301         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20302         to 3.4.0 for x32.
20303         * sysdeps/unix/sysv/linux/configure: Regenerated.
20305 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20307         [BZ #16151]
20308         * stdlib/strtod_l.c (round_and_return): Do not consider
20309         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20310         exponent one less than half the least subnormal exponent.
20311         * stdlib/test-strtod-round-data: Add more tests.
20312         * stdlib/tst-strtod-round.c (tests): Regenerated.
20314 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20316         [BZ #14143]
20317         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20318         (__fe_mask_env): Likewise.
20319         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20320         libm_hidden_proto and add function prototype.
20321         (__fe_mask_env): Add function prototype.
20322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20323         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20325         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20327         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20329 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20331         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20332         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20334 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20336         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20337         of htab_find_slot().
20339 2013-11-11  David S. Miller  <davem@davemloft.net>
20341         [BZ #16150]
20342         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20343         symbol in the non-vis3 case in static builds.
20344         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20345         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20346         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20347         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20349 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20351         [BZ #387]
20352         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20353         it is empty.
20355 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20357         * benchtests/Makefile: Add bench-strtod.
20358         * benchtests/bench-strtod.c: New file: strtod benchtest
20360 2013-11-11  Andreas Schwab  <schwab@suse.de>
20362         [BZ #16153]
20363         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20364         terminating NUL in key length.
20366 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20368         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20369         Add artificial ODP entry for vDSO symbol for PPC64.
20370         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20371         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20373 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20375         [BZ #15374]
20376         * nss/getent.c (services_keys): Recognize services starting with digit.
20378 2013-11-06  David S. Miller  <davem@davemloft.net>
20380         [BZ #15985]
20381         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20382         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20384 2013-11-06  Will Newton  <will.newton@linaro.org>
20386         * manual/memory.texi (Malloc Examples): Remove register
20387         keyword from examples.
20389 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20391         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20393 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20395         [BZ #6981]
20396         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20397         depending on [__GCC_IEC_559 > 0].
20398         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20399         depending on [__GCC_IEC_559_COMPLEX > 0].
20401 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20403         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20404         to iso-639.def.
20406 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20408         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20410 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20412         [BZ #16112]
20413         * malloc/malloc (malloc_info): Do not handle first bin as
20414         special case.
20416 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20418         * locale/iso-639.def: Add Central Nahuatl (nhn).
20420 2013-11-01  Bruno Haible  <bruno@clisp.org>
20422         [BZ #7003]
20423         * manual/math.texi (BSD Random): Specify range upper bound as
20424         in POSIX.
20426 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20428         * locale/iso-639.def: Add Meadow Mari (mhr).
20430 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20432         [BZ #14752], [BZ #15763]
20433         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20434         Validate name.
20435         * rt/tst_shm.c: Add test for escaping directory.
20437 2013-10-31  Andreas Schwab  <schwab@suse.de>
20439         [BZ #15917]
20440         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20441         followed by 'x' as part of digit sequence.
20442         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20444 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20446         [BZ #16037]
20447         * configure.ac: allow GNU Make 4.0 and greater.
20448         * configure: Regenerated.
20450 2013-10-30  Will Newton  <will.newton@linaro.org>
20452         [BZ #16038]
20453         * malloc/hooks.c (memalign_check): Limit alignment to the
20454         maximum representable power of two.
20455         * malloc/malloc.c (__libc_memalign): Likewise.
20456         * malloc/tst-memalign.c (do_test): Add test for very
20457         large alignment values.
20458         * malloc/tst-posix_memalign.c (do_test): Likewise.
20460 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20462         [BZ #11087]
20463         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20464         (munmap_chunk): Likewise.
20465         (mremap_chunk): Likewise.
20467 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20469         [BZ #15799]
20470         * stdlib/div.c (div): Remove obsolete code.
20471         * stdlib/ldiv.c (ldiv): Likewise.
20472         * stdlib/lldiv.c (lldiv): Likewise.
20474 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20476         [BZ #16071]
20477         * nss/nss_files/files-XXX.c (get_contents_ret): New
20478         enumerator.
20479         (get_contents): New function.
20480         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20482 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20484         * configure.in: Moved to ...
20485         * configure.ac: ... here. Change reference to configure.in
20486         to configure.ac.
20487         * sysdeps/arm/preconfigure.ac: ... here.
20488         configure.in to configure.ac.
20489         * sysdeps/gnu/configure.in: Moved to ...
20490         * sysdeps/gnu/configure.ac: ... here.
20491         * sysdeps/i386/configure.in: Moved to ...
20492         * sysdeps/i386/configure.ac: ... here.
20493         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20494         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20495         * sysdeps/mach/configure.in: Moved to ...
20496         * sysdeps/mach/configure.ac: ... here.
20497         * sysdeps/mach/hurd/configure.in: Moved to ...
20498         * sysdeps/mach/hurd/configure.ac: ... here.
20499         * sysdeps/powerpc/configure.in: Moved to ...
20500         * sysdeps/powerpc/configure.ac: ... here.
20501         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20502         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20503         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20504         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20505         * sysdeps/s390/s390-32/configure.in: Moved to ...
20506         * sysdeps/s390/s390-32/configure.ac: ... here.
20507         * sysdeps/s390/s390-64/configure.in: Moved to ...
20508         * sysdeps/s390/s390-64/configure.ac: ... here.
20509         * sysdeps/sh/configure.in: Moved to ...
20510         * sysdeps/sh/configure.ac: ... here.
20511         * sysdeps/sparc/configure.in: Moved to ...
20512         * sysdeps/sparc/configure.ac: ... here.
20513         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20514         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20515         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20516         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20517         * sysdeps/x86_64/configure.in: Moved to ...
20518         * sysdeps/x86_64/configure.ac: ... here.
20519         * sysdeps/x86_64/preconfigure.in: Moved to ...
20520         * sysdeps/x86_64/preconfigure.ac: ... here.
20521         * aclocal.m4: Change reference to configure.in to configure.ac.
20522         * config.h.in: Likewise.
20523         * manual/install.texi: Likewise.
20524         * manual/maint.texi: Likewise.
20525         * Makefile: Likewise.
20526         * malloc/Makefile: Likewise.
20527         * nscd/Makefile: Likewise.
20528         * Makeconfig: Change reference to configure.in and
20529         preconfigure.in to configure.ac and preconfigure.ac
20530         respectively.
20531         * INSTALL: Regenerated.
20532         * configure: Likewise.
20533         * sysdeps/gnu/configure: Likewise.
20534         * sysdeps/i386/configure: Likewise.
20535         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20536         * sysdeps/mach/configure: Likewise.
20537         * sysdeps/mach/hurd/configure: Likewise.
20538         * sysdeps/powerpc/configure: Likewise.
20539         * sysdeps/powerpc/powerpc32/configure: Likewise.
20540         * sysdeps/powerpc/powerpc64/configure: Likewise.
20541         * sysdeps/s390/s390-32/configure: Likewise.
20542         * sysdeps/s390/s390-64/configure: Likewise.
20543         * sysdeps/sh/configure: Likewise.
20544         * sysdeps/sparc/configure: Likewise.
20545         * sysdeps/unix/sysv/linux/configure: Likewise.
20546         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20547         * sysdeps/x86_64/configure: Likewise.
20548         * sysdeps/x86_64/preconfigure: Likewise.
20550 2013-10-29  Andreas Schwab  <schwab@suse.de>
20552         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20554 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20556         * benchtests/pow-inputs: Add new inputs.
20558         * benchtests/exp-inputs: Add new inputs.
20560         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20561         conditional check for return value.
20562         (__cos32): Likewise.
20564 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20566         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20567         to provide a boost for large inputs with word alignment.
20568         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20569         implementation based on optimized PPC64 strcpy.
20570         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20571         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20572         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20573         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20575 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20577         [BZ #2801]
20578         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20580 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20582         [BZ #14876]
20583         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20584         * time/tst-strptime.c (day_tests): Add testcase.
20586 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20588         [BZ #14029]
20589         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20591 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20593         [BZ #16074]
20594         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20595         MAP_FAILED on error.
20597 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20599         [BZ #16072]
20600         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20601         heap for large requests.
20603 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20605         [BZ #9954]
20606         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20607         result if the result has no associated interface.
20608         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20609         interface for all 127.X.Y.Z addresses.
20611 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20613         * locale/iso-639.def: Add Ligurian (lij)
20615 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20617         [BZ #15825]
20618         * sunrpc/rpc_main.c: Document rpcgen -5.
20620 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20622         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20624 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20626         [BZ #10278]
20627         * posix/glob.c: Match only directories when trailing slash is present.
20628         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20629         (main): Add testcase.
20631 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20633         [BZ #15670]
20634         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20636 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20638         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20639         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20640         AUTH_DES and cindex for FIPS 140-2.
20641         (DES Encryption): Add cindex FIPS 46-3.
20643         * locale/locarchive.h (struct locarhandle): Add fname.
20644         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20645         if an optional argument was specified to --list-archive,
20646         otherwise NULL.
20647         * locale/programs/locarchive.c (show_archive_content): Take new
20648         argument fname and pass it via ah.fname to open_archive.
20649         * locale/programs/localedef.h: Update decl.
20650         (open_archive): If AH->fname is non-null, open that file
20651         rather than the default file name, and don't ignore ENOENT.
20652         (create_archive): Set AH.fname to NULL.
20653         (delete_locales_from_archive): Likewise.
20654         (add_locales_to_archive): Likewise.
20655         * locale/programs/locfile.c (write_all_categories): Likewise.
20657 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20658             Aldy Hernandez  <aldyh@redhat.com>
20660         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20661         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20662         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20663         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20664         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20665         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20666         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20667         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20668         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20669         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20670         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20671         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20672         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20673         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20674         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20675         Likewise.
20676         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20677         Likewise.
20678         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20679         Likewise.
20680         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20681         Likewise.
20682         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20683         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20684         Likewise.
20685         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20686         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20687         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20688         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20689         Likewise.
20690         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20691         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20692         * sysdeps/powerpc/preconfigure: Likewise.
20693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20694         Likewise.
20695         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20696         Replace contents of file by #include of <fenv_libc.h>.
20697         * sysdeps/powerpc/soft-fp/sfp-machine.h
20698         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20699         and <sys/prctl.h>.
20700         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20701         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20702         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20703         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20704         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20705         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20707         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20708         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20709         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20710         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20711         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20713         Allow copysignl PLT reference to be missing.
20715 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20716             Joseph Myers  <joseph@codesourcery.com
20718         [BZ #15948]
20719         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20720         single character.
20721         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20723 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20725         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20726         * elf/tst-tls1.c: Likewise.
20727         * elf/tst-tls10.h: Likewise.
20728         * elf/tst-tls14.c: Likewise.
20729         * elf/tst-tls2.c: Likewise.
20730         * elf/tst-tls3.c: Likewise.
20731         * elf/tst-tls4.c: Likewise.
20732         * elf/tst-tls5.c: Likewise.
20733         * elf/tst-tls6.c: Likewise.
20734         * elf/tst-tls7.c: Likewise.
20735         * elf/tst-tls8.c: Likewise.
20736         * elf/tst-tls9.c: Likewise.
20737         * elf/tst-tlsmod1.c: Likewise.
20738         * elf/tst-tlsmod13.c: Likewise.
20739         * elf/tst-tlsmod13a.c: Likewise.
20740         * elf/tst-tlsmod14a.c: Likewise.
20741         * elf/tst-tlsmod16a.c: Likewise.
20742         * elf/tst-tlsmod16b.c: Likewise.
20743         * elf/tst-tlsmod2.c: Likewise.
20744         * elf/tst-tlsmod3.c: Likewise.
20745         * elf/tst-tlsmod4.c: Likewise.
20746         * elf/tst-tlsmod5.c: Likewise.
20747         * elf/tst-tlsmod6.c: Likewise.
20749 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20751         [BZ #12486]
20752         * malloc/malloc.c: remove checks for statistics.
20754 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20756         [BZ #15277]
20757         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20758         * inet/tst-network.c: Add testcase.
20760 2013-10-17  Andreas Schwab  <schwab@suse.de>
20762         [BZ #15218]
20763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20764         to determine canonical name.
20766 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20768         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20769         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20771         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20772         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20773         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20774         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20775         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20776         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20777         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20778         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20779         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20780         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20781         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20782         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20783         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20785         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20786         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20787         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20788         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20790         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20791         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20792         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20793         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20794         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20795         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20796         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20797         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20798         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20800         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20801         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20802         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20803         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20804         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20805         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20806         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20808         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20809         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20810         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20811         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20812         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20813         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20814         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20815         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20816         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20817         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20818         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20819         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20820         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20821         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20822         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20823         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20824         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20825         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20827 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #16041]
20830         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20831         make result into a quiet NaN.
20833 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20835         * soft-fp/adddf3.c: Fix horizontal whitespace.
20836         * soft-fp/addsf3.c: Likewise.
20837         * soft-fp/addtf3.c: Likewise.
20838         * soft-fp/divdf3.c: Likewise.
20839         * soft-fp/divsf3.c: Likewise.
20840         * soft-fp/divtf3.c: Likewise.
20841         * soft-fp/double.h: Likewise.
20842         * soft-fp/eqdf2.c: Likewise.
20843         * soft-fp/eqsf2.c: Likewise.
20844         * soft-fp/eqtf2.c: Likewise.
20845         * soft-fp/extenddftf2.c: Likewise.
20846         * soft-fp/extended.h: Likewise.
20847         * soft-fp/extendsfdf2.c: Likewise.
20848         * soft-fp/extendsftf2.c: Likewise.
20849         * soft-fp/extendxftf2.c: Likewise.
20850         * soft-fp/fixdfdi.c: Likewise.
20851         * soft-fp/fixdfsi.c: Likewise.
20852         * soft-fp/fixdfti.c: Likewise.
20853         * soft-fp/fixsfdi.c: Likewise.
20854         * soft-fp/fixsfsi.c: Likewise.
20855         * soft-fp/fixsfti.c: Likewise.
20856         * soft-fp/fixtfdi.c: Likewise.
20857         * soft-fp/fixtfsi.c: Likewise.
20858         * soft-fp/fixtfti.c: Likewise.
20859         * soft-fp/fixunsdfdi.c: Likewise.
20860         * soft-fp/fixunsdfsi.c: Likewise.
20861         * soft-fp/fixunsdfti.c: Likewise.
20862         * soft-fp/fixunssfdi.c: Likewise.
20863         * soft-fp/fixunssfsi.c: Likewise.
20864         * soft-fp/fixunssfti.c: Likewise.
20865         * soft-fp/fixunstfdi.c: Likewise.
20866         * soft-fp/fixunstfsi.c: Likewise.
20867         * soft-fp/fixunstfti.c: Likewise.
20868         * soft-fp/floatdidf.c: Likewise.
20869         * soft-fp/floatdisf.c: Likewise.
20870         * soft-fp/floatditf.c: Likewise.
20871         * soft-fp/floatsidf.c: Likewise.
20872         * soft-fp/floatsisf.c: Likewise.
20873         * soft-fp/floatsitf.c: Likewise.
20874         * soft-fp/floattidf.c: Likewise.
20875         * soft-fp/floattisf.c: Likewise.
20876         * soft-fp/floattitf.c: Likewise.
20877         * soft-fp/floatundidf.c: Likewise.
20878         * soft-fp/floatundisf.c: Likewise.
20879         * soft-fp/floatunditf.c: Likewise.
20880         * soft-fp/floatunsidf.c: Likewise.
20881         * soft-fp/floatunsisf.c: Likewise.
20882         * soft-fp/floatunsitf.c: Likewise.
20883         * soft-fp/floatuntidf.c: Likewise.
20884         * soft-fp/floatuntisf.c: Likewise.
20885         * soft-fp/floatuntitf.c: Likewise.
20886         * soft-fp/fmadf4.c: Likewise.
20887         * soft-fp/fmasf4.c: Likewise.
20888         * soft-fp/fmatf4.c: Likewise.
20889         * soft-fp/gedf2.c: Likewise.
20890         * soft-fp/gesf2.c: Likewise.
20891         * soft-fp/getf2.c: Likewise.
20892         * soft-fp/ledf2.c: Likewise.
20893         * soft-fp/lesf2.c: Likewise.
20894         * soft-fp/letf2.c: Likewise.
20895         * soft-fp/muldf3.c: Likewise.
20896         * soft-fp/mulsf3.c: Likewise.
20897         * soft-fp/multf3.c: Likewise.
20898         * soft-fp/negdf2.c: Likewise.
20899         * soft-fp/negsf2.c: Likewise.
20900         * soft-fp/negtf2.c: Likewise.
20901         * soft-fp/op-1.h: Likewise.
20902         * soft-fp/op-2.h: Likewise.
20903         * soft-fp/op-4.h: Likewise.
20904         * soft-fp/op-8.h: Likewise.
20905         * soft-fp/op-common.h: Likewise.
20906         * soft-fp/quad.h: Likewise.
20907         * soft-fp/single.h: Likewise.
20908         * soft-fp/soft-fp.h: Likewise.
20909         * soft-fp/sqrtdf2.c: Likewise.
20910         * soft-fp/sqrtsf2.c: Likewise.
20911         * soft-fp/sqrttf2.c: Likewise.
20912         * soft-fp/subdf3.c: Likewise.
20913         * soft-fp/subsf3.c: Likewise.
20914         * soft-fp/subtf3.c: Likewise.
20915         * soft-fp/truncdfsf2.c: Likewise.
20916         * soft-fp/trunctfdf2.c: Likewise.
20917         * soft-fp/trunctfsf2.c: Likewise.
20918         * soft-fp/trunctfxf2.c: Likewise.
20919         * soft-fp/unorddf2.c: Likewise.
20920         * soft-fp/unordsf2.c: Likewise.
20921         * soft-fp/unordtf2.c: Likewise.
20923 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20925         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20926         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20928 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20930         * elf/dl-libc.c: Clear initfini list after freeing.
20932 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20934         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20935         * soft-fp/addsf3.c: Likewise.
20936         * soft-fp/addtf3.c: Likewise.
20937         * soft-fp/divdf3.c: Likewise.
20938         * soft-fp/divsf3.c: Likewise.
20939         * soft-fp/divtf3.c: Likewise.
20940         * soft-fp/double.h: Likewise.
20941         * soft-fp/eqdf2.c: Likewise.
20942         * soft-fp/eqsf2.c: Likewise.
20943         * soft-fp/eqtf2.c: Likewise.
20944         * soft-fp/extenddftf2.c: Likewise.
20945         * soft-fp/extended.h: Likewise.
20946         * soft-fp/extendsfdf2.c: Likewise.
20947         * soft-fp/extendsftf2.c: Likewise.
20948         * soft-fp/extendxftf2.c: Likewise.
20949         * soft-fp/fixdfdi.c: Likewise.
20950         * soft-fp/fixdfsi.c: Likewise.
20951         * soft-fp/fixdfti.c: Likewise.
20952         * soft-fp/fixsfdi.c: Likewise.
20953         * soft-fp/fixsfsi.c: Likewise.
20954         * soft-fp/fixsfti.c: Likewise.
20955         * soft-fp/fixtfdi.c: Likewise.
20956         * soft-fp/fixtfsi.c: Likewise.
20957         * soft-fp/fixtfti.c: Likewise.
20958         * soft-fp/fixunsdfdi.c: Likewise.
20959         * soft-fp/fixunsdfsi.c: Likewise.
20960         * soft-fp/fixunsdfti.c: Likewise.
20961         * soft-fp/fixunssfdi.c: Likewise.
20962         * soft-fp/fixunssfsi.c: Likewise.
20963         * soft-fp/fixunssfti.c: Likewise.
20964         * soft-fp/fixunstfdi.c: Likewise.
20965         * soft-fp/fixunstfsi.c: Likewise.
20966         * soft-fp/fixunstfti.c: Likewise.
20967         * soft-fp/floatdidf.c: Likewise.
20968         * soft-fp/floatdisf.c: Likewise.
20969         * soft-fp/floatditf.c: Likewise.
20970         * soft-fp/floatsidf.c: Likewise.
20971         * soft-fp/floatsisf.c: Likewise.
20972         * soft-fp/floatsitf.c: Likewise.
20973         * soft-fp/floattidf.c: Likewise.
20974         * soft-fp/floattisf.c: Likewise.
20975         * soft-fp/floattitf.c: Likewise.
20976         * soft-fp/floatundidf.c: Likewise.
20977         * soft-fp/floatundisf.c: Likewise.
20978         * soft-fp/floatunsidf.c: Likewise.
20979         * soft-fp/floatunsisf.c: Likewise.
20980         * soft-fp/floatuntidf.c: Likewise.
20981         * soft-fp/floatuntisf.c: Likewise.
20982         * soft-fp/floatuntitf.c: Likewise.
20983         * soft-fp/fmadf4.c: Likewise.
20984         * soft-fp/fmasf4.c: Likewise.
20985         * soft-fp/fmatf4.c: Likewise.
20986         * soft-fp/gedf2.c: Likewise.
20987         * soft-fp/gesf2.c: Likewise.
20988         * soft-fp/getf2.c: Likewise.
20989         * soft-fp/ledf2.c: Likewise.
20990         * soft-fp/lesf2.c: Likewise.
20991         * soft-fp/letf2.c: Likewise.
20992         * soft-fp/muldf3.c: Likewise.
20993         * soft-fp/mulsf3.c: Likewise.
20994         * soft-fp/multf3.c: Likewise.
20995         * soft-fp/negdf2.c: Likewise.
20996         * soft-fp/negsf2.c: Likewise.
20997         * soft-fp/negtf2.c: Likewise.
20998         * soft-fp/op-1.h: Likewise.
20999         * soft-fp/op-2.h: Likewise.
21000         * soft-fp/op-4.h: Likewise.
21001         * soft-fp/op-8.h: Likewise.
21002         * soft-fp/op-common.h: Likewise.
21003         * soft-fp/quad.h: Likewise.
21004         * soft-fp/single.h: Likewise.
21005         * soft-fp/soft-fp.h: Likewise.
21006         * soft-fp/sqrtdf2.c: Likewise.
21007         * soft-fp/sqrtsf2.c: Likewise.
21008         * soft-fp/sqrttf2.c: Likewise.
21009         * soft-fp/subdf3.c: Likewise.
21010         * soft-fp/subsf3.c: Likewise.
21011         * soft-fp/subtf3.c: Likewise.
21012         * soft-fp/truncdfsf2.c: Likewise.
21013         * soft-fp/trunctfdf2.c: Likewise.
21014         * soft-fp/trunctfsf2.c: Likewise.
21015         * soft-fp/trunctfxf2.c: Likewise.
21016         * soft-fp/unorddf2.c: Likewise.
21017         * soft-fp/unordsf2.c: Likewise.
21018         * soft-fp/unordtf2.c: Likewise.
21020 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21022         [BZ #15672]
21023         * misc/error.c (error_tail): Fix possible buffer overflow.
21025 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21027         [BZ #13028]
21028         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21029         address.
21031 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21033         [BZ #832]
21034         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21035         testing pipefail option.
21037 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21039         * soft-fp/double.h: Indent preprocessor directives inside #if.
21040         * soft-fp/extended.h: Likewise.
21041         * soft-fp/op-2.h: Likewise.
21042         * soft-fp/op-4.h: Likewise.
21043         * soft-fp/op-common.h: Likewise.
21044         * soft-fp/quad.h: Likewise.
21045         * soft-fp/single.h: Likewise.
21046         * soft-fp/soft-fp.h: Likewise.
21048 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21050         * iconv/iconv_prog.c: Fix typos.
21051         * stdio-common/psiginfo-data.h: Likewise.
21053 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21055         [BZ #15764]
21056         * locale/setlocale.c: Fix typo.
21058 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21060         [BZ #16036]
21061         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21062         signaling NaN arguments.
21063         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21064         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21066         [BZ #14910]
21067         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21068         unordered operands.
21069         * soft-fp/gesf2.c (__gesf2): Likewise.
21070         * soft-fp/getf2.c (__getf2): Likewise.
21071         * soft-fp/ledf2.c (__ledf2): Likewise.
21072         * soft-fp/lesf2.c (__lesf2): Likewise.
21073         * soft-fp/letf2.c (__letf2): Likewise.
21075         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21076         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21077         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21078         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21079         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21080         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21081         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21082         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21083         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21084         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21085         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21086         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21087         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21088         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21089         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21090         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21091         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21092         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21093         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21094         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21095         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21096         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21097         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21098         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21099         * soft-fp/floattidf.c (__floattidf): Likewise.
21100         * soft-fp/floattisf.c (__floattisf): Likewise.
21101         * soft-fp/floattitf.c (__floattitf): Likewise.
21102         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21103         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21104         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21105         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21106         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21107         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21108         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21109         * soft-fp/gesf2.c (__gesf2): Likewise.
21110         * soft-fp/getf2.c (__getf2): Likewise.
21111         * soft-fp/ledf2.c (__ledf2): Likewise.
21112         * soft-fp/lesf2.c (__lesf2): Likewise.
21113         * soft-fp/letf2.c (__letf2): Likewise.
21115         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21116         Undefine and redefine.
21117         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21118         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21119         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21120         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21121         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21122         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21123         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21124         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21125         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21126         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21127         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21128         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21129         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21130         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21131         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21133         [BZ #16032]
21134         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21135         without decrementing exponent if mantissa >= that for the
21136         denominator, not >.
21137         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21138         denominator, not >.  Decrement exponent in < case instead of
21139         incrementing in >= case.
21140         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21141         without decrementing exponent if mantissa >= that for the
21142         denominator, not >.
21144         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21145         computing saturated result for unsigned overflow.
21147 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21148             Jeff Law  <law@redhat.com>
21150         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21151         (atan2Mp): Add systemtap probe marker.
21152         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21153         (__ieee754_log): Add systemtap probe marker.
21154         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21155         (atanMp): Add systemtap probe marker.
21156         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21157         (tanMp): Add systemtap probe marker.
21158         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21159         (__slowexp): Add systemtap probe marker.
21160         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21161         (__slowpow): Add systemtap probe marker.
21162         * manual/probes.texi: Document probes.
21164 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21166         [BZ #15362]
21167         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21168         written.
21169         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21170         written.
21171         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21172         written to buffer but not flushed.
21173         * libio/iofwrite_u.c:  Likewise.
21174         * libio/iopadn.c:  Return bytes returned even if EOF was
21175         encountered.
21176         * libio/iowpadn.c:  Likewise.
21177         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21178         if _IO_padn does not write the whole buffer.
21179         [!COMPILE_WPRINTF] (PAD): Likewise.
21181 2013-10-10  David S. Miller  <davem@davemloft.net>
21183         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21184         directory block.
21186 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21188         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21189         instead of FSF address.
21190         * soft-fp/fixdfti.c: Likewise.
21191         * soft-fp/fixsfti.c: Likewise.
21192         * soft-fp/fixtfti.c: Likewise.
21193         * soft-fp/fixunsdfti.c: Likewise.
21194         * soft-fp/fixunssfti.c: Likewise.
21195         * soft-fp/fixunstfti.c: Likewise.
21196         * soft-fp/floattidf.c: Likewise.
21197         * soft-fp/floattisf.c: Likewise.
21198         * soft-fp/floattitf.c: Likewise.
21199         * soft-fp/floatuntidf.c: Likewise.
21200         * soft-fp/floatuntisf.c: Likewise.
21201         * soft-fp/floatuntitf.c: Likewise.
21202         * soft-fp/trunctfxf2.c: Likewise.
21204         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21205         * soft-fp/fixdfti.c: Likewise.
21206         * soft-fp/fixsfti.c: Likewise.
21207         * soft-fp/fixtfti.c: Likewise.
21208         * soft-fp/fixunsdfti.c: Likewise.
21209         * soft-fp/fixunssfti.c: Likewise.
21210         * soft-fp/fixunstfti.c: Likewise.
21211         * soft-fp/floattidf.c: Likewise.
21212         * soft-fp/floattisf.c: Likewise.
21213         * soft-fp/floattitf.c: Likewise.
21214         * soft-fp/floatuntidf.c: Likewise.
21215         * soft-fp/floatuntisf.c: Likewise.
21216         * soft-fp/floatuntitf.c: Likewise.
21217         * soft-fp/trunctfxf2.c: Likewise.
21219 2013-10-10  David S. Miller  <davem@davemloft.net>
21221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21223 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21225         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21226         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21227         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21228         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21229         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21230         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21231         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21233         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21234         for NaNs before doing comparisons on argument.
21235         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21236         Likewise.
21238 2013-10-10  Will Newton  <will.newton@linaro.org>
21240         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21241         passed to _int_memalign does not overflow.
21243 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21245         * scripts/bench.pl: Add include-sources directive.
21246         * benchtests/README: Update documentation.
21248 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21250         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21251         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21252         instead of FP_INIT_ROUNDMODE.
21253         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21254         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21256         [BZ #16034]
21257         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21258         copy class of input value.
21259         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21260         not handle exceptions.
21261         * soft-fp/negsf2.c (__negsf2): Likewise.
21262         * soft-fp/negtf2.c (__negtf2): Likewise.
21263         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21265 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21267         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21268         semicolon.  From Linux kernel.
21270 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21272         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21274 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21276         [BZ #156]
21277         * manual/socket.texi: Added statement about buffer
21278         for gethostbyname2_r.
21280 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21282         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21283         Use .p2align directive instead, throughout.
21284         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21285         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21286         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21287         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21288         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21289         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21290         * sysdeps/x86_64/strchr.S: Likewise.
21291         * sysdeps/x86_64/strrchr.S: Likewise.
21293 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21295         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21297         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21299         * sysdeps/generic/math_private.h (__mpsin1): Remove
21300         declaration.
21301         (__mpcos1): Likewise.
21302         (__mpsin): New argument __range_reduce.
21303         (__mpcos): Likewise.
21304         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21305         (slow): Use __mpsin and __mpcos.
21306         (slow1): Likewise.
21307         (slow2): Likewise.
21308         (sloww): Likewise.
21309         (sloww1): Likewise.
21310         (sloww2): Likewise.
21311         (bsloww): Likewise.
21312         (bsloww1): Likewise.
21313         (bsloww2): Likewise.
21314         (cslow2): Likewise.
21315         (csloww): Likewise.
21316         (csloww1): Likewise.
21317         (csloww2): Likewise.
21318         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21319         range_reduce.  Merge in __mpsin1.
21320         (__mpcos): Likewise.
21321         (__mpsin1): Remove.
21322         (__mpcos1): Likewise.
21324 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21326         * locale/loadlocale.c (_nl_intern_locale_data): Use
21327         LOCFILE_ALIGNED_P.
21328         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21329         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21330         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21331         obstack data is appropriately aligned.
21332         (obstack_int32_grow_fast): Likewise.
21333         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21334         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21335         (add_locale_uint32_array): Likewise.
21337 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21339         * benchtests/Makefile: Remove ARGLIST and RET variables.
21340         ($(objpfx)bench-%.c): Pass only function name to the script.
21341         * benchtests/README: Update documentation.
21342         * benchtests/acos-inputs: Add new directives.
21343         * benchtests/acosh-inputs: Likewise.
21344         * benchtests/asin-inputs: Likewise.
21345         * benchtests/asinh-inputs: Likewise.
21346         * benchtests/atan-inputs: Likewise.
21347         * benchtests/atanh-inputs: Likewise.
21348         * benchtests/cos-inputs: Likewise.
21349         * benchtests/cosh-inputs: Likewise.
21350         * benchtests/exp-inputs: Likewise.
21351         * benchtests/log-inputs: Likewise.
21352         * benchtests/pow-inputs: Likewise.
21353         * benchtests/rint-inputs: Likewise.
21354         * benchtests/sin-inputs: Likewise.
21355         * benchtests/sinh-inputs: Likewise.
21356         * benchtests/tan-inputs: Likewise.
21357         * benchtests/tanh-inputs: Likewise.
21358         * scripts/bench.pl: Add support for new directives.
21360 2013-10-07  Alan Modra  <amodra@gmail.com>
21362         * README: Fix careless merge.
21364 2013-10-05  Alan Modra  <amodra@gmail.com>
21366         * NEWS: Mention powerpc64le support and bugs fixed.
21367         * README: Both big-endian and little-endian powerpc64 supported.
21369 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21371         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21372         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21373         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21374         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21376 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21378         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21379         match prototype.
21381 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21383         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21384         Move -mhard-float appending from
21385         ports/sysdeps/powerpc/powerpc32/Makefile.
21386         [$(with-fp) = yes] (ASFLAGS): Likewise.
21387         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21388         * sysdeps/powerpc/nofpu: Move directory from
21389         ports/sysdeps/powerpc/nofpu.
21390         * sysdeps/powerpc/soft-fp: Move directory from
21391         ports/sysdeps/powerpc/soft-fp.
21392         * sysdeps/powerpc/powerpc32/405: Move directory from
21393         ports/sysdeps/powerpc/powerpc32/405.
21394         * sysdeps/powerpc/powerpc32/440: Move directory from
21395         ports/sysdeps/powerpc/powerpc32/440.
21396         * sysdeps/powerpc/powerpc32/464: Move directory from
21397         ports/sysdeps/powerpc/powerpc32/464.
21398         * sysdeps/powerpc/powerpc32/476: Move directory from
21399         ports/sysdeps/powerpc/powerpc32/476.
21400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21401         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21403         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21405         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21407         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21409         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21410         * README: Update for powerpc-*-linux-gnu software floating point
21411         support in libc.
21413         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21414         case to powerpc/powerpc32*.
21415         * sysdeps/unix/sysv/linux/configure: Regenerated.
21417         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21418         (_FPU_MASK_OM): Define as 0x04.
21419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21421         0x00c10080.
21422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21423         0x0000003c.
21424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21427         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21428         getcontext_e500.
21429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21430         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21431         setcontext_e500.
21432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21433         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21434         and setcontext_e500.
21436 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21438         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21440 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21442         * manual/threads.texi (Default Thread Attributes): Fix typo.
21444 2013-10-04  Will Newton  <will.newton@linaro.org>
21446         * malloc/Makefile: Add tst-memalign.
21447         * malloc/tst-memalign.c: New file.
21449         * malloc/tst-posix_memalign.c: Add comments.
21450         (do_test): Add comments and call free on all potentially
21451         allocated pointers. Add space after cast.
21453         * malloc/tst-pvalloc.c: Add comments.
21454         (do_test): Add comments and call free on all potentially
21455         allocated pointers. Remove duplicate check for NULL pointer.
21456         Add space after cast.
21458         * malloc/tst-valloc.c: Add comments.
21459         (do_test): Add comments and call free on all potentially
21460         allocated pointers. Remove duplicate check for NULL pointer.
21461         Add space after cast.
21463 2013-10-04  Alan Modra  <amodra@gmail.com>
21465         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21466         Use stdint types in rather than __attribute__((mode())).
21467         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21469 2013-10-04  Alan Modra  <amodra@gmail.com>
21471         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21472         Correct handling of unaligned relocs for little-endian.
21473         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21475 2013-10-04  Alan Modra  <amodra@gmail.com>
21477         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21478         * configure: Regenerate.
21479         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21480         * shlib-versions: Likewise.
21482 2013-10-04  Alan Modra  <amodra@gmail.com>
21484         * string/tester.c (test_memrchr): Increment reported test cycle.
21486 2013-10-04  Alan Modra  <amodra@gmail.com>
21488         * string/test-memcpy.c (do_one_test): When reporting errors, print
21489         string address and don't overrun end of string.
21491 2013-10-04  Alan Modra  <amodra@gmail.com>
21493         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21494         insrdi.  Make better use of reg selection to speed exit slightly.
21495         Schedule entry path a little better.  Remove useless "are we done"
21496         checks on entry to main loop.  Handle wrapping around zero address.
21497         Correct main loop count.  Handle single left-over word from main
21498         loop inline rather than by using loop_small.  Remove extra word
21499         case in loop_small caused by wrong loop count.  Add little-endian
21500         support.
21501         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21502         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21503         cache hint.
21504         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21505         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21506         support.  Avoid rlwimi.
21507         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21509 2013-10-04  Alan Modra  <amodra@gmail.com>
21511         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21512         insrdi.  Formatting.
21513         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21514         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21515         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21516         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21517         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21518         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21520 2013-10-04  Alan Modra  <amodra@gmail.com>
21522         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21523         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21524         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21525         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21526         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21527         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21528         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21529         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21530         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21531         use of regs.  Use power7 mtocrf.  Tidy function tails.
21533 2013-10-04  Alan Modra  <amodra@gmail.com>
21535         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21536         Formatting.  Consistently use rXXX register defines or rN defines.
21537         Use early exit labels that avoid restoring unused non-volatile regs.
21538         Make cr field use more consistent with rWORDn compares.  Rename
21539         regs used as shift registers for unaligned loop, using rN defines
21540         for short lifetime/multiple use regs.
21541         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21542         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21543         addi 1,1,64 to pop stack frame.  Simplify return value code.
21544         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21546 2013-10-04  Alan Modra  <amodra@gmail.com>
21548         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21549         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21550         rather than rlwimi.
21551         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21552         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21553         little-endian support.  Correct typos.
21554         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21555         rather than rlwimi.
21556         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21557         in loop and entry code to keep "and." results.
21558         (strchr): Add little-endian support.  Comment.  Move cntlzd
21559         earlier in tail.
21560         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21562 2013-10-04  Alan Modra  <amodra@gmail.com>
21564         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21565         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21566         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21567         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21569 2013-10-04  Alan Modra  <amodra@gmail.com>
21571         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21572         (rTMP): Define as r11.
21573         (strcmp): Add little-endian support.  Optimise tail.
21574         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21575         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21576         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21577         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21578         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21580         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21582 2013-10-04  Alan Modra  <amodra@gmail.com>
21584         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21585         little-endian support.  Remove unnecessary "are we done" tests.
21586         Handle "s" wrapping around zero and extremely large "size".
21587         Correct main loop count.  Handle single left-over word from main
21588         loop inline rather than by using small_loop.  Correct comments.
21589         Delete "zero" tail, use "end_max" instead.
21590         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21592 2013-10-04  Alan Modra  <amodra@gmail.com>
21594         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21595         support.  Don't branch over align.
21596         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21597         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21598         support.  Rearrange tmp reg use to suit.  Comment.
21599         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21601 2013-10-04  Alan Modra  <amodra@gmail.com>
21603         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21605 2013-10-04  Alan Modra  <amodra@gmail.com>
21607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21608         conditional form of branch and link when obtaining pc.
21609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21611 2013-10-04  Alan Modra  <amodra@gmail.com>
21613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21614         HIWORD/LOWORD.
21615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21618 2013-10-04  Alan Modra  <amodra@gmail.com>
21620         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21621         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21622         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21623         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21624         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21625         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21626         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21627         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21628         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21629         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21631 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21632             Alistair Popple <alistair@ozlabs.au.ibm.com>
21633             Alan Modra <amodra@gmail.com>
21635         [BZ #15723]
21636         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21637         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21638         _dl_hwcap access for little-endian.
21639         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21640         destroy vmx regs when saving unaligned.
21641         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21642         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21643         destroy vmx regs when saving unaligned.
21645 2013-10-04  Alan Modra  <amodra@gmail.com>
21647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21648         Don't use a union to pack hi/low value.
21650 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21652         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21653         for little-endian.
21654         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21655         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21656         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21657         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21658         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21660 2013-10-04  Alan Modra  <amodra@gmail.com>
21662         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21663         constants to usual value for .cst8 section, and remove redundant
21664         high address load.
21665         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21666         constant for 0x1p52.  Load little-endian words of double from
21667         correct stack offsets.
21669 2013-10-04  Alan Modra  <amodra@gmail.com>
21671         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21672         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21673         words of double from correct stack offsets.
21674         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21675         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21676         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21677         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21678         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21679         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21680         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21681         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21682         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21683         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21684         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21685         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21686         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21687         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21688         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21689         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21690         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21692 2013-10-04  Alan Modra  <amodra@gmail.com>
21694         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21695         64-bit int/double union.
21696         (_FPU_SETCW): Likewise.
21697         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21698         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21700 2013-10-04  Alan Modra  <amodra@gmail.com>
21702         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21703         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21705 2013-10-04  Alan Modra  <amodra@gmail.com>
21707         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21708         use vector int constants.
21709         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21711 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21713         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21714         array with long long.
21715         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21716         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21717         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21718         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21719         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21720         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21721         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21722         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21723         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21724         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21725         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21726         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21727         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21729 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21731         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21732         (__signbit): Likewise.  Correct for little-endian.
21733         (__signbitl): Call __signbit.
21734         (lrint): Correct for little-endian.
21735         (lrintf): Call lrint.
21737 2013-10-04  Alan Modra  <amodra@gmail.com>
21739         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21740         union 32-bit int array member with 64-bit int array.
21741         (t515, tm256): Double rather than long double.
21742         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21744 2013-10-04  Alan Modra  <amodra@gmail.com>
21746         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21747         Delete.
21748         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21749         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21750         version of math_ldbl.h.
21752 2013-10-04  Alan Modra  <amodra@gmail.com>
21754         [BZ #15734], [BZ #15735]
21755         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21756         all uses of ieee875 long double macros and unions.  Simplify test
21757         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21758         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21759         normalize after ldbl_extract_mantissa, and don't add hidden bit
21760         already handled.  Don't treat low word of ieee854 mantissa like
21761         low word of IBM long double and mask off bit when testing for
21762         zero.
21763         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21764         all uses of ieee875 long double macros and unions.  Simplify tests
21765         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21766         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21767         two1022, instead use their values.  Recognise that tests for large
21768         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21769         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21770         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21771         test for 0.0L and nan.  Correct negation.
21772         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21773         ieee875 long double macros and unions.  Correct output for large
21774         magnitude x.  Correct absolute value calculation.
21775         (__erfcl): Likewise.
21776         * math/libm-test.inc: Add tests for errors discovered in IBM long
21777         double versions of fmodl, remainderl, erfl and erfcl.
21779 2013-10-04  Alan Modra  <amodra@gmail.com>
21781         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21782         all uses of ieee854 long double macros and unions.  Simplify tests
21783         for long doubles that are fully specified by the high double.
21784         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21785         Likewise.
21786         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21787         Remove dead code too.
21788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21789         (__ieee754_ynl): Likewise.
21790         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21791         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21792         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21793         Remove dead code too.
21794         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21795         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21796         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21797         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21798         Simplify.
21799         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21800         Simplify.
21801         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21802         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21803         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21804         Comment on variable precision.
21805         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21806         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21807         Likewise.
21808         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21809         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21810         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21811         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21812         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21814 2013-10-04  Alan Modra  <amodra@gmail.com>
21816         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21817         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21818         all uses of ieee854 long double macros and unions.
21819         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21820         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21821         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21822         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21823         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21824         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21825         Likewise.
21826         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21827         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21828         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21829         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21830         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21831         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21832         Simplify sign and nan test too.
21833         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21834         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21835         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21836         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21837         Likewise.
21838         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21839         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21840         Likewise.
21841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21842         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21843         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21844         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21845         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21848 2013-10-04  Alan Modra  <amodra@gmail.com>
21850         * stdio-common/printf_size.c (__printf_size): Don't use
21851         union ieee854_long_double in fpnum union.
21852         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21853         signbit macro to retrieve sign from long double.
21854         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21855         retrieve sign from long double.
21856         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21857         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21858         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21859         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21860         * math/test-misc.c (main): Don't use union ieee854_long_double.
21862 2013-10-04  Alan Modra  <amodra@gmail.com>
21864         [BZ #15680]
21865         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21866         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21867         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21868         calculation.  Remove unnecessary test for denormal exponent.
21869         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21870         Correct handling of denormals.  Avoid undefined shift behaviour.
21871         Correct normalisation of low mantissa when low double is denormal.
21872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21873         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21874         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21875         Correct normalisation of low mantissa.  Test for overflow of high
21876         mantissa and normalise.
21877         (ldbl_nearbyint): Use more readable constant for two52.
21878         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21879         (__mpn_construct_long_double): Fix test for overflow of high
21880         mantissa and correct normalisation.  Avoid undefined shift.
21882 2013-10-04  Alan Modra  <amodra@gmail.com>
21884         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21885         (union ibm_extended_long_double): Define as an array of ieee754_double.
21886         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21887         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21888         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21889         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21890         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21891         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21892         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21893         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21894         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21895         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21896         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21898 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21900         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21901         page size instead of calling getpagesize.
21903         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21904         (LOCFILE_ALIGN_MASK): Likewise.
21905         (LOCFILE_ALIGN_UP): Likewise.
21906         (LOCFILE_ALIGNED_P): Likewise.
21907         * locale/programs/ld-collate.c (collate_output): Use the new
21908         macros instead of __alignof__ (int32_t).
21909         * locale/weight.h (findidx): Likewise.
21911 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21913         [BZ #431]
21914         * manual/string.texi: Fix strncat and wcsncat.
21916 2013-10-03  Brooks Moses  <bmoses@google.com>
21918         [BZ #15915]
21919         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21920         * Makerules: ...here, and adjust associated comments.
21922 2013-10-02  Will Newton  <will.newton@linaro.org>
21924         * malloc/Makefile: Add tst-pvalloc.
21925         * malloc/tst-pvalloc.c: New file.
21927 2013-10-02  Will Newton  <will.newton@linaro.org>
21929         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21930         improve test coverage.
21932 2013-10-02  Will Newton  <will.newton@linaro.org>
21934         * malloc/Makefile: Add tst-posix_memalign.
21935         * malloc/tst-posix_memalign.c: New file.
21937 2013-10-01  Eric Blake  <eblake@redhat.com>
21939         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21940         Use __THROWNL rather than __THROW on static functions.
21942 2013-09-30  Petr Machata  <pmachata@redhat.com>
21944         * elf/elf.h (R_AARCH64_ABS16): New macro.
21945         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21946         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21947         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21948         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21949         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21950         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21951         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21952         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21953         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21954         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21955         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21956         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21957         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21958         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21959         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21960         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21961         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21962         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21963         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21964         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21965         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21966         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21967         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21968         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21969         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21970         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21971         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21972         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21973         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21974         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21975         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21976         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21977         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21978         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21979         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21980         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21981         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21982         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21983         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21984         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21985         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21986         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21987         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21988         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21989         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21990         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21991         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21992         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21993         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21994         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21995         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21996         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21997         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21998         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21999         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22000         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22001         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22002         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22003         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22004         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22005         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22006         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22007         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22008         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22009         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22010         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22011         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22012         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22013         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22014         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22015         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22016         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22017         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22018         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22019         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22020         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22021         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22022         (R_AARCH64_TLSDESC_LDR): Likewise.
22023         (R_AARCH64_TLSDESC_ADD): Likewise.
22024         (R_AARCH64_TLSDESC_CALL): Likewise.
22026 2013-09-30  Andreas Schwab  <schwab@suse.de>
22028         [BZ #15048]
22029         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22030         the nss database lookup.
22031         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22034 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22036         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22038 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22040         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22041         ${Bash-specific parameter/pattern/string} parameter expansion.
22042         * sysdeps/unix/make-syscalls.sh: Likewise.
22044 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22046         * sysdeps/sh/stackguard-macros.h: New file.
22048 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22052         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22053         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22054         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22055         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22057 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22060         Fix thread ID register.
22062 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22064         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22065         [POSIX || UNIX98]: Require rather than permitting all symbols from
22066         <time.h>.
22067         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22068         element of struct sched_param.
22069         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22070         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22071         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22072         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22073         constant.
22075 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22077         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22078         argument calculation.
22080 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22082         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22083         Expect macro.
22084         [POSIX] (pthread_attr_t): Do not require type.
22085         [POSIX] (pthread_cond_t): Likewise.
22086         [POSIX] (pthread_condattr_t): Likewise.
22087         [POSIX] (pthread_key_t): Likewise.
22088         [POSIX] (pthread_mutex_t): Likewise.
22089         [POSIX] (pthread_mutexattr_t): Likewise.
22090         [POSIX] (pthread_once_t): Likewise.
22091         [POSIX] (pthread_t): Likewise.
22092         [POSIX-based standards] (pthread_atfork): Expect function.
22094 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22095             Richard Sandiford  <richard@codesourcery.com>
22097         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22098         (swap_endianness_p): New extern variable.
22099         (set_big_endian): New inline function.
22100         (maybe_swap_uint32): Likewise.
22101         (maybe_swap_uint32_array): Likewise.
22102         (maybe_swap_uint32_obstack): Likewise.
22103         * locale/programs/locfile.c: Include <stdbool.h>.
22104         (swap_endianness_p): New variable.
22105         (add_locale_uint32): Call maybe_swap_uint32.
22106         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22107         (write_locale_data): Call maybe_swap_uint32_array.
22108         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22109         maybe_swap_uint32.
22110         (obstack_int32_grow_fast): Likewise.
22111         (output_weightwc): Call maybe_swap_uint32_obstack.
22112         (collate_output): Likewise.
22113         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22114         (OPT_LITTLE_ENDIAN): Likewise.
22115         (options): Add --little-endian and --big-endian options.
22116         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22117         * locale/programs/locarchive.c: Include "locfile.h".
22118         (GET): New macro.
22119         (SET): Likewise.
22120         (INC): Likewise.
22121         (create_archive): Use the new macros to access fields of
22122         structures directly mapped from or written to locale archives.
22123         (oldlocrecentcmp): Likewise.
22124         (enlarge_archive): Likewise.
22125         (insert_name): Likewise.
22126         (add_alias): Likewise.
22127         (add_locale): Likewise.
22128         (delete_locales_from_archive): Likewise.
22129         (show_archive_content): Likewise.
22130         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22131         locale data.
22133 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22135         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22136         http://www.gnu.org/doc/freemanuals.texi.
22137         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22139 2013-09-24  Will Newton  <will.newton@linaro.org>
22141         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22142         macro.
22144 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22146         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22147         unsigned char.
22149 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22151         * manual/threads.texi (POSIX Threads): Fix a typo.
22153 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22155         [BZ #14547]
22156         * string/tst-strcoll-overflow.c: New test case.
22157         * string/Makefile (xtests): Add tst-strcoll-overflow.
22158         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22159         cache if string sizes may cause integer overflow.
22161         [BZ #14547]
22162         * string/strcoll_l.c (coll_seq): New members rule, idx,
22163         save_idx and back_us.
22164         (get_next_seq_nocache): New function.
22165         (do_compare_nocache): New function.
22166         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22167         when malloc fails.
22169 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22171         [BZ #15754]
22172         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22173         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22174         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22176         [BZ #15754]
22177         * elf/Makefile (tests): Add tst-ptrguard1.
22178         (tests-static): Add tst-ptrguard1-static.
22179         (tst-ptrguard1-ARGS): Define.
22180         (tst-ptrguard1-static-ARGS): Define.
22181         * elf/tst-ptrguard1.c: New file.
22182         * elf/tst-ptrguard1-static.c: New file.
22183         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22184         * sysdeps/i386/stackguard-macros.h: Likewise.
22185         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22186         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22187         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22188         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22189         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22190         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22192 2013-09-23  Hector Marco  <hecmargi@upv.es>
22193             Ismael Ripoll  <iripoll@disca.upv.es>
22194             Carlos O'Donell  <carlos@redhat.com>
22196         [BZ #15754]
22197         * sysdeps/generic/stackguard-macros.h: Define
22198         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22199         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22200         Define __pointer_chk_guard_local.
22201         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22202         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22204 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22206         [BZ #15859]
22207         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22209 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22211         * include/string.h (__ffs): Declare as hidden.
22212         * string/ffs.c (__ffs): Define as hidden.
22213         * sysdeps/i386/ffs.c (__ffs): Likewise.
22214         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22215         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22216         * sysdeps/s390/ffs.c (__ffs): Likewise.
22217         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22219 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22221         * NEWS: Mention malloc probes.
22223         * malloc/arena.c (new_heap): New memory_heap_new probe.
22224         (grow_heap): New memory_heap_more probe.
22225         (shrink_heap): New memory_heap_less probe.
22226         (heap_trim): New memory_heap_free probe.
22227         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22228         (systrim): New memory_sbrk_less probe.
22229         * manual/probes.texi: Document them.
22231         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22232         * manual/probes.texi: Document it.
22234         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22235         (__libc_realloc): Add memory_realloc_retry probe.
22236         (__libc_memalign): Add memory_memalign_retry probe.
22237         (__libc_valloc): Add memory_valloc_retry probe.
22238         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22239         (__libc_calloc): Add memory_calloc_retry probe.
22240         * manual/probes.texi: Document them.
22242         * malloc/arena.c (get_free_list): Add probe
22243         memory_arena_reuse_free_list.
22244         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22245         and memory_arena_reuse.
22246         (arena_get2) [!PER_THREAD]: Likewise.
22247         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22248         memory_arena_reuse_realloc.
22249         * manual/probes.texi: Document them.
22251         * malloc/malloc.c (__libc_free): Add
22252         memory_mallopt_free_dyn_thresholds probe.
22253         (__libc_mallopt): Add multiple memory_mallopt probes.
22254         * manual/probes.texi: Document them.
22256         * malloc/malloc.c: Include stap-probe.h.
22257         (__libc_mallopt): Add memory_mallopt probe.
22258         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22259         * manual/probes.texi: New.
22260         * manual/Makefile (chapters): Add probes.
22261         * manual/threads.texi: Set next node.
22263 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22265         [BZ #15963, #13985]
22266         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22267         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22268         Add `Chinese' to `nan' entry name.
22270 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22273         (POLYNOMIAL): Likewise.
22274         (TAYLOR_SINCOS): Likewise.
22275         (TAYLOR_SLOW): Likewise.
22276         (__sin): Use TAYLOR_SINCOS.
22277         (__cos): Likewise.
22278         (slow): Use TAYLOR_SLOW.
22279         (sloww): Likewise.
22280         (bsloww): Likewise.
22281         (csloww): Likewise.
22283 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22285         * stdlib/strtod_l.c: Fix buffer overrun.
22287 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22289         * benchtests/Makefile (bench): Add sincos.
22290         * benchtests/bench-sincos.c: New file.
22292         * math/libm-test.inc (cos_test_data): New test inputs.
22293         (sin_test_data): Likewise.
22295         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22296         macro.
22297         (__sin): Use it.
22298         (__cos): Likewise.
22299         (slow1): Likewise.
22300         (slow2): Likewise.
22301         (sloww1): Likewise.
22302         (sloww2): Likewise.
22303         (bsloww1): Likewise.
22304         (bsloww2): Likewise.
22305         (cslow2): Likewise.
22306         (csloww1): Likewise.
22307         (csloww2): Likewise.
22309         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22310         function.
22311         (__sin): Use it.
22312         (__cos): Likewise.
22314         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22315         gotos.
22316         (__cos): Likewise.
22318 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22320         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22321         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22322         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22323         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22324         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22325         * elf/cache.c (print_entry): Handle the new cache flags.
22327 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22328             Aldy Hernandez  <aldyh@redhat.com>
22330         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22331         Change condition to [_SOFT_FLOAT].
22332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22344         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22347         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22348         declaration.
22350 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22352         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22353         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22354         (__longjmp): Use LOAD_GP to load saved GPRs.
22355         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22356         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22357         (__sigsetjmp): Use SAVE_GP to save GPRs.
22359         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22360         Do not append -msoft-float.
22361         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22363 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22365         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22367 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22369         [BZ #15966]
22370         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22371         (_FPU_GETCW): Use initial "__" on variable and field names but not
22372         on macro parameter name.
22373         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22374         parentheses around reference to macro parameter.
22376 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22378         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22379         prototype.
22380         (ctype_startup): Use uint32_t in cast and sizeof for
22381         ctype->charnames.
22383 2013-09-11  Jia Liu  <proljc@gmail.com>
22385         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22386         __daddr_t_defined.
22387         [__FreeBSD__]: Likewise.
22389 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22392         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22393         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22394         (strchr): Remove __strchr_sse42 ifunc selection.
22395         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22396         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22398 2013-09-11  Will Newton  <will.newton@linaro.org>
22400         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22401         parameter to RES. Remove hardcoded 1000 value.
22402         * benchtests/bench-skeleton.c (main): Pass RES parameter
22403         to TIMING_INIT and multiply result by 1000.
22405 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22409 2013-09-11  Andreas Schwab  <schwab@suse.de>
22411         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22412         if not defined.
22413         (O_TMPFILE) [__USE_GNU]: Define.
22414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22415         Define.
22417 2013-09-11  Will Newton  <will.newton@linaro.org>
22419         [BZ #15857]
22420         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22421         does not overflow.
22423 2013-09-11  Will Newton  <will.newton@linaro.org>
22425         [BZ #15856]
22426         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22427         does not overflow.
22429 2013-09-11  Will Newton  <will.newton@linaro.org>
22431         [BZ #15855]
22432         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22433         does not overflow.
22435 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22437         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22438         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22439         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22440         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22441         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22443 2013-09-10  Allan McRae  <allan@archlinux.org>
22445         [BZ #15748]
22446         * manual/arith.texi (Parsing of Floats): Clarify
22447         cross-reference.
22449         [BZ #15849]
22450         * manual/install.texi (Running make install): Mention
22451         --enable-pt-chown.
22452         * INSTALL: Regenerated.
22454 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22456         * csu/init-first.c (_init): Remove the !SHARED condition around
22457         FPU control word initialization.
22458         * elf/dl-support.c (_dl_fpu_control): New variable.
22459         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22460         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22461         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22462         * math/test-fpucw-static.c: New file.
22463         * math/test-fpucw-ieee.c: New file.
22464         * math/test-fpucw-ieee-static.c: New file.
22465         * math/Makefile (tests): Add `test-fpucw-ieee' and
22466         `$(tests-static)'.
22467         (tests-static): New variable.
22468         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22469         dependency to...
22470         [($(build-shared),yes)]
22471         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22472         ... this.
22473         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22474         New dependency.
22476 2013-09-09  Allan McRae  <allan@archlinux.org>
22478         [BZ #15939]
22479         * manual/string.texi (Collation Functions): Fix typo in
22480         strcoll example.
22481         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22483         [BZ #15893]
22484         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22486         [BZ #15892]
22487         * libio/memstream.c (open_memstream): Fix memory leak.
22488         * libio/wmemstream.c (open_wmemstream): Likewise.
22490         [BZ #15895]
22491         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22493 2013-09-09  Will Newton  <will.newton@linaro.org>
22495         * malloc/Makefile: Add tst-realloc to tests.
22496         * malloc/tst-realloc.c: New file.
22498 2013-09-09  Allan McRae  <allan@archlinux.org>
22500         [BZ #15844]
22501         * COPYING: Update from GNU website to fix FSF address.
22502         * COPYING.LIB: Likewise.
22504 2013-09-06  David S. Miller  <davem@davemloft.net>
22506         * po/zh_TW.po: Update Chinese (traditional) translation from
22507         translation project.
22509 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22510             Joseph Myers  <joseph@codesourcery.com>
22512         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22513         "localeinfo.h".
22514         (obstack_chunk_alloc): New macro.
22515         (obstack_chunk_free): Likewise.
22516         (record_offset): New function.
22517         (init_locale_data): Likewise.
22518         (align_locale_data): Likewise.
22519         (add_locale_empty): Likewise.
22520         (add_locale_raw_data): Likewise.
22521         (add_locale_raw_obstack): Likewise.
22522         (add_locale_string): Likewise.
22523         (add_locale_wstring): Likewise.
22524         (add_locale_uint32): Likewise.
22525         (add_locale_uint32_array): Likewise.
22526         (add_locale_char): Likewise.
22527         (start_locale_structure): Likewise.
22528         (end_locale_structure): Likewise.
22529         (start_locale_prelude): Likewise.
22530         (end_locale_prelude): Likewise.
22531         (write_locale_data): Take locale_file structure rather than an
22532         iovec.
22533         * locale/programs/locfile.h: Include "obstack.h".
22534         (struct locale_file): Change to store locale file contents instead
22535         of header.
22536         (init_locale_data): New prototype.
22537         (align_locale_data): Likewise.
22538         (add_locale_empty): Likewise.
22539         (add_locale_raw_data): Likewise.
22540         (add_locale_raw_obstack): Likewise.
22541         (add_locale_string): Likewise.
22542         (add_locale_wstring): Likewise.
22543         (add_locale_uint32): Likewise.
22544         (add_locale_uint32_array): Likewise.
22545         (add_locale_char): Likewise.
22546         (start_locale_structure): Likewise.
22547         (end_locale_structure): Likewise.
22548         (start_locale_prelude): Likewise.
22549         (end_locale_prelude): Likewise.
22550         (write_locale_data): Update prototype.
22551         * locale/programs/3level.h (struct TABLE): Remove result field.
22552         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22553         Use new locale_file interface.
22554         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22555         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22556         * locale/programs/ld-address.c (address_output): Use new
22557         locale_file interface.
22558         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22559         NO_ADD_LOCALE.
22560         (collate_finish): Don't call collseq_table_finalize.
22561         (collate_output): Use new locale_file interface.
22562         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22563         in file.
22564         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22565         (TABLE): Move defines earlier in file.
22566         (ELEMENT): Likewise.
22567         (DEFAULT): Likewise.
22568         (wctrans_table_add): Move macro and inline function earlier in
22569         file.
22570         (struct wctype_table): Move type earlier in file.
22571         (add_locale_wctype_table): New static prototype.
22572         (struct locale_ctype_t): Use logical types instead of struct iovec
22573         pointers for members.
22574         (ctype_output): Use new locale_file interface.
22575         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22576         new locale_file interface.
22577         (allocate_arrays): Update for use of new locale_file interface.
22578         * locale/programs/ld-identification.c (identification_output): Use
22579         new locale_file interface.
22580         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22581         * locale/programs/ld-messages.c (messages_output): Likewise.
22582         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22583         * locale/programs/ld-name.c (name_output): Likewise.
22584         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22585         * locale/programs/ld-paper.c (paper_output): Likewise.
22586         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22587         * locale/programs/ld-time.c (time_output): Likewise.
22589 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22591         * benchtests/Makefile: Add memrchr benchmark.
22592         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22593         benchmark as memrchr.
22594         * benchtests/bench-memrchr-ifunc.c: New file.
22595         * benchtests/bench-memrchr.c: New file.
22597 2013-09-06   Will Newton  <will.newton@linaro.org>
22599         * benchtests/Makefile (string-bench): Add memcpy.
22601 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22602             Cong Wang  <amwang@redhat.com>
22604         [BZ #15850]
22605         * sysdeps/unix/sysv/linux/bits/in.h
22606         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22607         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22608         before __USE_KERNEL_IPV6_DEFS uses.
22609         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22610         IPPROTO_BEETPH.
22611         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22612         sockaddr_in6, or ipv6_mreq.
22614 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22616         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22617         memory access for final bytes in some large inputs.
22618         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22620 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22622         * string/test-memrchr.c: New file.
22623         * string/test-memrchr-ifunc.c: New file.
22624         * string/Makefile: Add new memrchr testcase.
22626 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22628         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22629         fanotify_init returns EPERM.
22631 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22633         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22634         errors.
22635         (top level): Treat second token from macro or constant entries for
22636         allowed headers as allowed.
22637         * include/complex.h: Condition internal declarations on
22638         [!_ISOMAC].
22639         * include/fenv.h: Condition include of <stdbool.h> and internal
22640         declarations on [!_ISOMAC].
22642 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22644         [BZ #15923]
22645         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22647 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22649         * configure.in (--enable-versioning): Remove configure option.
22650         (libc_cv_asm_symver_directive): Remove configure test.
22651         (libc_cv_ld_version_script_option): Likewise.
22652         (VERSIONING): Remove variable and AC_SUBST.
22653         (DO_VERSIONING): Remove AC_DEFINE.
22654         * configure: Regenerated.
22655         * config.h.in (DO_VERSIONING): Remove macro.
22656         * Makerules [$(versioning) = yes]: Change conditionals to
22657         [$(build-shared) = yes].
22658         * config.make.in (versioning): Remove variable.
22659         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22660         [$(build-shared) = yes].
22661         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22662         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22663         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22664         [$(build-shared) = yes].
22665         * extra-lib.mk [$(versioning) = yes]: Likewise.
22666         * hurd/Makefile [$(versioning) = yes]: Likewise.
22667         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22668         [SHARED].
22669         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22670         [SHARED].
22671         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22672         [SHARED && !NO_HIDDEN].
22673         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22674         [SHARED].
22675         [SHARED && DO_VERSIONING]: Likewise..
22676         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22677         [$(build-shared) = yes].
22678         * manual/install.texi (--disable-versioning): Remove
22679         documentation.
22680         * INSTALL: Regenerated.
22681         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22682         to [SHARED].
22683         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22684         [$(build-shared) = yes].
22685         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22686         * sysdeps/i386/i686/multiarch/strstr-c.c
22687         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22688         [SHARED && !NO_HIDDEN].
22689         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22690         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22691         * sysdeps/powerpc/powerpc32/dl-machine.c
22692         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22693         * sysdeps/powerpc/powerpc32/sysdep.h
22694         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22695         to [SHARED && PIC && !NO_HIDDEN].
22696         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22697         conditional to [SHARED].
22699 2013-09-04   Will Newton  <will.newton@linaro.org>
22701         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22702         * benchtests/bench-string.h: Include bench-timing.h instead
22703         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22704         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22705         call to HP_TIMING_DIFF_INIT.
22706         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22707         instead of hp-timing.h macros.
22708         * benchtests/bench-memchr.c: Likewise.
22709         * benchtests/bench-memcmp.c: Likewise.
22710         * benchtests/bench-memcpy.c: Likewise.
22711         * benchtests/bench-memmem.c: Likewise.
22712         * benchtests/bench-memmove.c: Likewise.
22713         * benchtests/bench-memset.c: Likewise.
22714         * benchtests/bench-rawmemchr.c: Likewise.
22715         * benchtests/bench-strcasecmp.c: Likewise.
22716         * benchtests/bench-strcasestr.c: Likewise.
22717         * benchtests/bench-strcat.c: Likewise.
22718         * benchtests/bench-strchr.c: Likewise.
22719         * benchtests/bench-strcmp.c: Likewise.
22720         * benchtests/bench-strcpy.c: Likewise.
22721         * benchtests/bench-strcpy_chk.c: Likewise.
22722         * benchtests/bench-strlen.c: Likewise.
22723         * benchtests/bench-strncasecmp.c: Likewise.
22724         * benchtests/bench-strncat.c: Likewise.
22725         * benchtests/bench-strncmp.c: Likewise.
22726         * benchtests/bench-strncpy.c: Likewise.
22727         * benchtests/bench-strnlen.c: Likewise.
22728         * benchtests/bench-strpbrk.c: Likewise.
22729         * benchtests/bench-strrchr.c: Likewise.
22730         * benchtests/bench-strspn.c: Likewise.
22731         * benchtests/bench-strstr.c: Likewise.
22733 2013-09-04  Will Newton  <will.newton@linaro.org>
22735         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22737 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22739         [BZ #15427]
22740         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22741         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22742         * math/libm-test.inc (lgamma_test_data): Add more tests.
22743         * sysdeps/i386/fpu/libm-test-ulps: Update.
22744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22746 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22748         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22750         Add ifunc.
22751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22752         Add strcmp-sse2-unaligned
22753         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22755 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22757         * Versions.def (libc): Add GLIBC_2.19.
22759 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22761         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22762         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22764 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22766         [BZ #14155]
22767         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22768         intermediate calculations in recurrence.
22769         (__ieee754_ynf): Likewise.
22770         * math/libm-test.inc (jn_test_data): Do not allow spurious
22771         underflow exception.  Add more tests.
22772         (yn_test_data): Add more tests.
22773         * sysdeps/i386/fpu/libm-test-ulps: Update.
22774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22776 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22778         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22780 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22782         * csu/init-first.c: Fix then/than typos.
22783         * locale/programs/ld-collate.c: Likewise.
22784         * locale/programs/linereader.h: Likewise.
22785         * manual/charset.texi: Likewise.
22786         * manual/filesys.texi: Likewise.
22787         * manual/stdio.texi: Likewise.
22788         * manual/string.texi: Likewise.
22789         * stdlib/fmtmsg.c: Likewise.
22790         * sysdeps/i386/stpncpy.S: Likewise.
22791         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22792         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22793         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22794         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22796 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22798         * elf/dl-open.c: Fix typos.
22799         * iconvdata/gbbig5.c: Likewise.
22800         * iconvdata/iso-2022-jp.c: Likewise.
22801         * iconv/gconv_int.h: Likewise.
22802         * iconv/loop.c: Likewise.
22803         * nis/rpcsvc/nis.h: Likewise.
22804         * resolv/ns_name.c: Likewise.
22805         * stdio-common/vfscanf.c: Likewise.
22806         * streams/stropts.h: Likewise.
22807         * sunrpc/rpc_thread.c: Likewise.
22808         * sysdeps/i386/strpbrk.S: Likewise.
22809         * sysdeps/ieee754/k_standard.c: Likewise.
22810         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22811         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22812         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22813         * sysdeps/mach/hurd/profil.c: Likewise.
22814         * sysdeps/s390/dl-procinfo.h: Likewise.
22815         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22816         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22817         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22818         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22819         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22821 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22823         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22826 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22828         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22829         aix specific files.
22830         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22831         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22832         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22833         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22834         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22835         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22836         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22837         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22839 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22840             Roland McGrath  <roland@hack.frob.com>
22842         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22843         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22845 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22847         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22848         __executable_start symbol instead of _start.
22850 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22852         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22853         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22854         Move macros to...
22855         * sysdeps/gnu/ldsodefs.h: ... this new file.
22857         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22858         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22859         instead of ELFOSABI_LINUX.
22861         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22862         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22863         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22864         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22865         Likewise.
22866         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22867         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22868         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22869         Likewise.
22870         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22871         (ibm_extended_long_double): Add ieee_nan member.
22872         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22873         (do_test): New function.
22875         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22876         TEST_TRUNC.
22877         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22878         functions, renamed from truncdfsf_test, trunctfsf_test,
22879         trunctfdf_test.
22880         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22881         functions.
22882         (do_test): Run all these.
22884 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22886         * argp/argp-help.c: Fix typos.
22887         * argp/argp-parse.c: Likewise.
22888         * debug/backtracesyms.c: Likewise.
22889         * elf/elf.h: Likewise.
22890         * malloc/malloc.c: Likewise.
22891         * nis/nis_print.c: Likewise.
22892         * resolv/res_comp.c: Likewise.
22893         * stdlib/stdlib.h: Likewise.
22894         * sunrpc/clnt_tcp.c: Likewise.
22895         * sunrpc/clnt_udp.c: Likewise.
22896         * sunrpc/clnt_unix.c: Likewise.
22897         * sysdeps/unix/bsd/ptsname.c: Likewise.
22898         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22899         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22901         Likewise.
22902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22903         Likewise.
22904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22905         Likewise.
22906         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22908 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22910         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22913 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22915         [BZ #15897]
22916         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22917         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22918         ($(objpfx)bug-dl-leaf): New rule.
22919         ($(objpfx)bug-dl-leaf.so): Likewise.
22920         ($(objpfx)bug-dl-leaf.out): Likewise.
22921         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22922         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22923         * dlfcn/bug-dl-leaf.c: New test.
22924         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22925         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22926         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22927         (dlclose): Likewise.
22928         (dlmopen): Likewise.
22930 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22932         * include/netdb.h [!_ISOMAC]:
22933         Don't include <tls.h>.
22934         (h_errno, __libc_h_errno): Move declaration and macros out of
22935         [_LIBC_REENTRANT].
22937         * include/resolv.h [_RESOLV_H_]:
22938         Don't include <tls.h>.
22939         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22940         * resolv/res_libc.c: Don't include <tls.h>.
22941         (_res): Use __attribute__ ((nocommon)) in place of
22942         __attribute__ ((section (".bss"))).
22944         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22945         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22947         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22949         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22950         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22952         * resolv/res_mkquery.c: Include <sys/time.h>.
22954         * inet/ifreq.c: Moved to ...
22955         * sysdeps/unix/ifreq.c: ... here.
22956         * inet/ifreq.c: New file, true stub version.
22958         * socket/sa_len.c: New file.
22959         * socket/Makefile (aux): Add it.
22960         * sysdeps/unix/sysv/linux/Makefile
22961         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22962         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22963         and #include <socket/sa_len.c>.
22964         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22965         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22967         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22968         * bits/socket.h: ... here.
22970         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22971         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22972         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22974 2013-08-27  Andreas Schwab  <schwab@suse.de>
22976         [BZ #15736]
22977         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22978         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22979         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22980         * string/test-strcasecmp.c (test_main): Run tests in several
22981         locales.
22982         * string/test-strncasecmp.c (test_main): Likewise.
22984         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22985         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22986         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22987         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22988         (__strncasecmp_ssse3) [PIC]: Likewise.
22990 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22992         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22994         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22995         instead of explicitly declaring xdecrypt.
22996         * nis/nss_nis/nis-publickey.c: Likewise.
22998 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23000         [BZ #15890]
23001         * nscd/aicache.c: Include res_hconf.h.
23002         (addhstaiX): Initialize res_hconf.
23004 2013-08-26  Andreas Schwab  <schwab@suse.de>
23006         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23007         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23009 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23011         * nscd/aicache.c (addhstaiX): Fix indentation.
23013 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23015         * configure.ac: Quote $build_pt_chown test.
23016         * configure: Regenerated.
23018 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23020         [BZ #15532]
23021         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23022         * math/s_cexpf.c (__cexpf): Likewise.
23023         * math/s_cexpl.c (__cexpl): Likewise.
23024         * math/libm-test.inc (cexp_test_data): Correct expected return
23025         value for NaN + i0.  Add another test.
23027 2013-08-22  David S. Miller  <davem@davemloft.net>
23029         * po/ca.po: Update Catalan translation from translation project.
23030         * po/uk.po: Add Ukrainian translations from translation project.
23032 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23034         [BZ #15797]
23035         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23036         is infinite, not alongside NaN test.
23037         * math/s_fdimf.c (__fdimf): Likewise.
23038         * math/s_fdiml.c (__fdiml): Likewise.
23039         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23040         errno is unchanged.
23042 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23044         * argp/argp-help.c: Fix typos.
23045         * crypt/speeds.c: Likewise.
23046         * csu/check_fds.c: Likewise.
23047         * elf/dl-load.c: Likewise.
23048         * elf/dl-open.c: Likewise.
23049         * elf/reldep3.c: Likewise.
23050         * elf/reldep.c: Likewise.
23051         * elf/sprof.c: Likewise.
23052         * iconv/iconv_charmap.c: Likewise.
23053         * iconv/skeleton.c: Likewise.
23054         * iconv/strtab.c: Likewise.
23055         * io/lockf64.c: Likewise.
23056         * libio/libioP.h: Likewise.
23057         * resolv/gai_notify.c: Likewise.
23058         * resolv/ns_name.c: Likewise.
23059         * resolv/ns_samedomain.c: Likewise.
23060         * resolv/res_send.c: Likewise.
23061         * stdlib/random.c: Likewise.
23062         * sunrpc/rpc/xdr.h: Likewise.
23063         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23064         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23065         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23066         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23067         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23068         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23069         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23070         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23071         * sysdeps/mach/hurd/check_fds.c: Likewise.
23072         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23073         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23074         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23075         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23076         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23077         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23078         * sysdeps/pthread/aio_notify.c: Likewise.
23079         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23080         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23081         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23082         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23083         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23085 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23087         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23088         version if bit_Slow_SSE4_2 is set.
23089         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23090         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23092 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23094         [BZ #15867]
23095         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23096         trampoline stack frame information.
23097         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23098         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23099         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23100         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23101         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23102         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23103         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23104         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23105         sa_flags value.
23106         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23107         interrupting a syscall and set with option SA_SIGINFO.
23109 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23111         [BZ #15531]
23112         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23113         argument is infinite.
23114         * math/s_cprojf.c (__cprojf): Likewise.
23115         * math/s_cprojl.c (__cprojl): Likewise.
23116         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23117         * math/libm-test.inc (cproj_test_data): Add more tests.
23119         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23121         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23122         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23123         size.  Use __ffs to determine corresponding shift.
23125 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23126             Roland McGrath  <roland@hack.frob.com>
23128         * Makefile (INSTALL): Remove trailing blank lines from output of
23129         makeinfo.
23131 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23133         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23134         Align 32 bit compat elf_greg to 8 bytes.
23136 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23138         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23140 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23142         * string/strcoll_l.c (coll_seq): New structure.
23143         (get_next_seq_cached): New function.
23144         (get_next_seq): New function.
23145         (do_compare): New function.
23146         (STRCOLL): Use GNU style definition.  Simplify implementation
23147         by using get_next_seq, get_next_seq_cached and do_compare.
23149 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23151         [BZ #14699]
23152         CVE-2013-4237
23153         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23154         member.
23155         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23156         member.
23157         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23158         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23159         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23160         conditional.
23161         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23162         GETDENTS_64BIT_ALIGNED.
23163         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23164         * manual/filesys.texi (Reading/Closing Directory): Document
23165         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23166         strongly.
23167         * manual/conf.texi (Limits for Files): Add portability note to
23168         NAME_MAX, PATH_MAX.
23169         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23171 2013-08-13  Andreas Schwab  <schwab@suse.de>
23173         [BZ #15749]
23174         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23175         of fabs.
23176         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23177         LDBL_MAX_EXP >= 16384]: Add tests for it.
23179 2013-08-12  David S. Miller  <davem@davemloft.net>
23181         * version.h (RELEASE): Set to "development".
23182         (VERSION): Set to "2.18.90".
23183         * NEWS: Add 2.19 section.
23185 2013-08-03  David S. Miller  <davem@davemloft.net>
23187         * po/ko.po: Update Korean translation from translation project.
23189 2013-08-01  David S. Miller  <davem@davemloft.net>
23191         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23192         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23193         Bilka.
23195 2013-07-30  David S. Miller  <davem@davemloft.net>
23197         * po/fr.po: Update French translation from translation project.
23199 2013-07-28  David S. Miller  <davem@davemloft.net>
23201         * po/cs.po: Update Czech translation from translation project.
23203         * po/sv.po: Update Swedish translation from translation project.
23205 2013-07-27  David S. Miller  <davem@davemloft.net>
23207         * po/eo.po: Update Esperanto translation from translation project.
23209         * po/vi.po: Update Vietnamese translation from translation project.
23211         * po/de.po: Update German translation from translation project.
23213 2013-07-26  David S. Miller  <davem@davemloft.net>
23215         * po/bg.po: Update Bulgarian translation from translation project.
23217         * po/nl.po: Update Dutch translation from translation project.
23218         * po/pl.po: Update Polish translation from translation project.
23219         * po/ru.po: Update Russian translation from translation project.
23221 2013-07-24  David S. Miller  <davem@davemloft.net>
23223         * po/libc.pot: Update.
23225 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23227         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23228         variable page size.
23229         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23230         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23231         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23233 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23235         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23237 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23238             Andreas Schwab  <schwab@suse.de>
23239             Roland McGrath  <roland@hack.frob.com>
23240             Joseph Myers  <joseph@codesourcery.com>
23241             Carlos O'Donell  <carlos@redhat.com>
23243         [BZ #15755]
23244         * config.h.in: Define HAVE_PT_CHOWN.
23245         * config.make.in (build-pt-chown): New variable.
23246         * configure.in (--enable-pt_chown): New configure option.
23247         * configure: Regenerate.
23248         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23249         build-pt-chown is enabled.
23250         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23251         pt_chown to fix pty ownership.
23252         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23253         CLOSE_ALL_FDS.
23254         * manual/install.texi (Configuring and compiling): Mention
23255         --enable-pt_chown. Add @findex for grantpt.
23256         * INSTALL: Regenerate.
23258 2013-07-20  David S. Miller  <davem@davemloft.net>
23260         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23261         difference between 32-bit and 64-bit.
23263 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23265         [BZ #15711]
23266         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23267         Avoid system header dependency with -ffreestanding.
23268         ($(objpfx)bits/syscall%d): Likewise.
23270 2013-07-13  David S. Miller  <davem@davemloft.net>
23272         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23273         underflows from atanl/atan2l due to bug 15319.
23274         (casinh_test_data): Likewise.
23276 2013-07-07  David S. Miller  <davem@davemloft.net>
23278         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23280 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23282         * sysdeps/i386/fpu/libm-test-ulps: Update.
23283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23285 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23287         * configure.in (--enable-lock-elision): Fix message text.
23288         * INSTALL: Regenerate.
23289         * configure: Regenerate.
23291 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23295 2013-07-03  Andreas Jaeger  <aj@suse.de>
23297         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23298         define.
23299         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23300         (ptrace_peeksiginfo_args): Add.
23301         (__ptrace_peeksiginfo_flags): Add.
23302         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23303         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23304         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23306 2013-07-03  Allan McRae  <allan@archlinux.org>
23308         * sysdeps/i386/fpu/libm-test-ulps: Update.
23310 2013-07-02  David S. Miller  <davem@davemloft.net>
23312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23314 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23318 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23320         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23323 2013-07-02  Andi Kleen <ak@linux.intel.com>
23325         * config.h.in (ENABLE_LOCK_ELISION): Add.
23326         * configure.in (--enable-lock-elision): Add option.
23327         * manual/install.texi: Document --enable lock elision.
23328         * configure: Regenerate
23329         * INSTALL: Regenerate.
23331 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23333         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23334         SSE4.2 strcasecmp for libc.a.
23335         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23337 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23339         [BZ #13304]
23340         * soft-fp/op-common.h (_FP_FMA): New macro.
23341         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23342         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23343         (_FP_MUL_MEAT_1_imm): ... here.
23344         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23345         (_FP_MUL_MEAT_1_wide): ... here.
23346         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23347         (_FP_MUL_MEAT_1_hard): ... here.
23348         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23349         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23350         (_FP_MUL_MEAT_2_wide): ... here.
23351         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23352         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23353         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23354         (_FP_MUL_MEAT_2_gmp): ... here.
23355         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23356         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23357         (_FP_MUL_MEAT_4_wide): ... here.
23358         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23359         (_FP_MUL_MEAT_4_gmp): ... here.
23360         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23361         (_FP_WFRACBITS_DW_S): Likewise.
23362         (_FP_WFRACXBITS_DW_S): Likewise.
23363         (_FP_HIGHBIT_DW_S): Likewise.
23364         (FP_FMA_S): Likewise.
23365         (_FP_FRAC_HIGH_DW_S): Likewise.
23366         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23367         (_FP_WFRACBITS_DW_D): Likewise.
23368         (_FP_WFRACXBITS_DW_D): Likewise.
23369         (_FP_HIGHBIT_DW_D): Likewise.
23370         (FP_FMA_D): Likewise.
23371         (_FP_FRAC_HIGH_DW_D): Likewise.
23372         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23373         (_FP_WFRACBITS_DW_E): Likewise.
23374         (_FP_WFRACXBITS_DW_E): Likewise.
23375         (_FP_HIGHBIT_DW_E): Likewise.
23376         (FP_FMA_E): Likewise.
23377         (_FP_FRAC_HIGH_DW_E): Likewise.
23378         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23379         (_FP_WFRACBITS_DW_Q): Likewise.
23380         (_FP_WFRACXBITS_DW_Q): Likewise.
23381         (_FP_HIGHBIT_DW_Q): Likewise.
23382         (FP_FMA_Q): Likewise.
23383         (_FP_FRAC_HIGH_DW_Q): Likewise.
23384         * soft-fp/fmasf4.c: New file.
23385         * soft-fp/fmadf4.c: Likewise.
23386         * soft-fp/fmatf4.c: Likewise.
23388 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23391         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23392         Silvermont.
23393         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23394         macro.
23395         (index_Slow_SSE4_2): Likewise.
23396         (index_Prefer_PMINUB_for_stringop): Likewise.
23397         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23398         bit_Slow_SSE4_2 is set.
23399         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23400         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23402 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23404         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23405         rtld_global._dl_hwcap2.
23406         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23407         POWER8.
23408         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23409         POWER8 feature descriptions defined in _dl_hwcap2.
23410         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23411         string handling for POWER8 feature bits.
23412         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23413         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23414         _dl_powerpc_cap_flags.
23415         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23416         * sysdeps/powerpc/rtld-global-offsets.sym
23417         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23418         _dl_hwcap2 in the rtld_global_ro structure.
23420 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23422         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23423         hardware capabilities in support of AT_HWCAP2.
23424         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23425         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23426         GLRO(dl_hwcap2).
23427         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23428         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23429         explicitly the unknown a_type display mechanism is used.
23430         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23431         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23432         struct member.
23433         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23434         to macro prototype for AT_HWCAP2 support.
23435         * sysdeps/i386/dl-procinfo.h: Likewise.
23436         * sysdeps/s390/dl-procinfo.h: Likewise.
23437         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23438         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23439         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23440         return -1 for unknown a_type display fallback.
23441         * sysdeps/sparc/dl-procinfo.h: Likewise.
23442         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23443         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23445 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23447         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23448         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23450 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23452         [BZ #12492]
23453         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23454         mprotect making __stack_prot writable.
23456 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23457             Joseph Myers  <joseph@codesourcery.com>
23459         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23460         as being properly aligned.
23462 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23464         * dlfcn/modstatic5.c: New file.
23465         * dlfcn/tststatic5.c: New file.
23466         * dlfcn/Makefile (tests): Add tststatic5.
23467         (tests-static): Likewise.
23468         (modules-names): Add modstatic5.
23469         (tststatic5-ENV): New variable.
23470         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23472         [BZ #15022]
23473         * elf/dl-support.c (_dl_main_map): New variable.
23474         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23475         (_dl_nns, _dl_load_adds): Set to 1.
23476         (_dl_initial_searchlist): Refer to _dl_main_map.
23477         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23478         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23479         call to _dl_get_origin.
23480         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23481         around call_map.
23482         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23483         * dlfcn/modstatic3.c: New file.
23484         * dlfcn/tststatic3.c: New file.
23485         * dlfcn/tststatic4.c: New file.
23486         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23487         (tests-static): Likewise.
23488         (modules-names): Add modstatic3.
23489         (tststatic3-ENV, tststatic4-ENV): New variables.
23490         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23491         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23493 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23495         * configure.in (CC): Require GCC version 4.4 or later.
23496         * configure: Regenerated.
23497         * manual/install.texi (Tools for Compilation): Update GCC version
23498         requirement.
23499         * INSTALL: Regenerated.
23501 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23503         [BZ #15674]
23504         * string/test-memcmp.c (check2): New.
23505         (main): Call check2.
23507         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23509 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23511         [BZ #15022]
23512         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23513         over to...
23514         (dl_open_worker) [!SHARED]: ... here.
23516 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23518         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23520 2013-06-25  Richard Henderson  <rth@redhat.com>
23522         * locale/programs/locarchive.c: Include <libc-internal.h>
23524 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23526         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23527         trailing whitespace removed.
23529 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23531         [BZ #10283]
23532         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23533         * locale/programs/locarchive.c: Include libc-mmap.h.
23534         (prepare_address_space): Take two new outputs (the mmap base and len).
23535         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23536         values.
23537         (create_archive): Declare new mmap base and len values for
23538         prepare_address_space, and store the result in ah.
23539         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23540         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23541         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23542         Declare new mmap base and len values for
23543         prepare_address_space, and store the result in new_ah.
23544         (open_archive): Declare new mmap base and len values for
23545         prepare_address_space, and store the result in ah.
23546         (close_archive): If ah->mmap_base is not NULL, use that and
23547         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23548         * sysdeps/generic/libc-mmap.h: New file.
23550 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23552         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23553         (ALIGN_UP): Likewise.
23554         (PTR_ALIGN_DOWN): Likewise.
23555         (PTR_ALIGN_UP): Likewise.
23557 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23559         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23560         entry mapped to PPC_PLATFORM_POWER8.
23561         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23562         POWER8.
23563         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23564         (_dl_string_platform): Add case for exporting platform position for
23565         POWER8.
23566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23567         search path to sysdeps/powerpc/powerpc32/power8 directory.
23568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23569         search path to sysdeps/powerpc/powerpc64/power8 directory.
23570         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23571         power7 directories.
23572         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23573         power7 directories.
23575 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23577         * INSTALL: Regenerate.
23579         * nscd/connections.c (nscd_init): Fix comment.
23581 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23583         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23585         [BZ #15667]
23586         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23587         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23589 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23591         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23592         DL_DST_REQ_STATIC.
23593         (DL_DST_REQ_STATIC): Remove macro.
23595 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23597         [BZ #7006]
23598         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23599         with a shift of 0 bits.
23601 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23603         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23604         $(tststatic-ENV).
23606 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23608         [BZ #15655]
23609         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23611 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23613         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23614         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23615         accepts -fno-tree-loop-distribute-patterns.
23616         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23617         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23618         recursive call.
23619         * string/memset.c (memset): Likewise.
23620         * string/test-memmove.c (simple_memmove): Disable loop transformation
23621         to library calls.
23622         * string/test-memset.c (simple_memset): Likewise.
23623         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23624         * benchtests/bench-memset.c (simple_memset): Likewise.
23625         * configure: Regenerated.
23627 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23629         * math/test-misc.c (main): Ignore fesetround failure when failures
23630         of subsequent rounding tests would be ignored.
23632         [BZ #15654]
23633         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23634         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23635         * math/fegetenv.c (__fegetenv): Return 0.
23636         * math/fegetexcept.c (fegetexcept): Return 0.
23637         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23638         FE_TONEAREST.
23639         * math/feholdexcpt.c (feholdexcept): Return 0.
23640         * math/fesetenv.c (__fesetenv): Return 0.
23641         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23642         argument FE_TONEAREST.
23643         * math/feupdateenv.c (__feupdateenv): Return 0.
23644         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23646 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23648         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23649         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23650         ($(objpfx)rtld-%.os rules): Use them.
23652 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23654         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23655         fields.
23657 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23659         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23660         length of target pattern, then descending length of dependency pattern.
23661         * configure.in (AWK): Require gawk 3.1.2 or newer.
23662         * manual/install.texi (Tools for Compilation): Say that we do.
23663         * configure: Regenerated.
23665         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23666         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23667         * scripts/sysd-rules.awk: ... this new script.
23668         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23669         than a glob-style pattern.
23671 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23673         * math/test-misc.c (main): Do not treat incorrectly rounded
23674         conversions as failure unless ROUNDING_TESTS passes.
23676 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23678         [BZ #15631]
23679         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23680         restore exception state around main square root computation, then
23681         check for inexactness explicitly.
23683         * math/libm-test.inc (fma_test_data): Add another test.
23685 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23687         * manual/threads.texi (Non-POSIX Extensions): New document
23688         node.  Document pthread_getattr_default_np and
23689         pthread_setattr_default_np.
23691         * Versions.def (libpthread): Add GLIBC_2.18.
23692         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23694         Likewise.
23695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23696         Likewise.
23697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23698         Likewise.
23699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23700         Likewise.
23701         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23702         Likewise.
23703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23704         Likewise.
23705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23706         Likewise.
23707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23708         Likewise.
23709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23710         Likewise.
23712 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23715         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23717 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23718             H.J. Lu  <hjl.tools@gmail.com>
23720         [BZ #15627]
23721         * sysdeps/x86_64/rtld-memset.c: Remove file.
23722         * sysdeps/x86_64/rtld-memset.S: New file.
23724 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23726         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23727         (test_in_one_mode): Take arguments for whether the rounding mode
23728         is supported for each floating-point type.
23729         (do_test): Pass new arguments to test_in_one_mode using
23730         ROUNDING_TESTS.
23732 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23734         * posix/tst-waitid.c (do_test): Distinguish different instances of
23735         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23736         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23737         before entering the kernel for waitpid.
23739 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23741         * NEWS: Fix note on clock function precision.  Text by Roland
23742         McGrath.
23744 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23746         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23747         it into place only when and if the sanity check passes.
23749 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23751         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23752         output for whether conversion result is exact.  Take argument
23753         indicating whether type is IBM long double.
23754         (round_for_all): Change need_exact field to ibm_ld.
23755         * stdlib/tst-strtod-round.c (struct exactness): New type.
23756         (struct test): Change bool ld_ok field to struct exactness exact.
23757         (TEST): Update all definitions for change to field.
23758         (tests): Regenerate array contents.
23759         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23760         field value.  Check for IBM long double here.
23761         (do_test): Update calls to test_in_one_mode.
23763 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23765         [BZ #12515]
23766         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23767         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23769 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23771         [BZ #15605]
23772         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23773         generated by the compiler on loop optimizations.
23774         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23775         general definitions.
23777 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23779         * math/bug-nextafter.c: Include <math-tests.h>.
23780         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23781         the relevant type.
23782         * math/bug-nexttoward.c: Include <math-tests.h>.
23783         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23784         the relevant type.
23785         * math/test-misc.c: Include <math-tests.h>.
23786         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23787         the relevant type.
23789 2013-06-12  Andreas Jaeger  <aj@suse.de>
23791         * po/ia.po: Update Interlingua translation from translation
23792         project.
23794 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23796         * include/fenv.h: Include stdbool.h.
23797         (struct rm_ctx): New structure.
23798         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23799         Define macro.
23800         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23801         (SET_RESTORE_ROUNDF): Likewise.
23802         (SET_RESTORE_ROUNDL): Likewise.
23803         (SET_RESTORE_ROUND_NOEX): Likewise.
23804         (SET_RESTORE_ROUND_NOEXF): Likewise.
23805         (SET_RESTORE_ROUND_NOEXL): Likewise.
23806         (SET_RESTORE_ROUND_53BIT): Likewise.
23807         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23808         (libc_feresetround_noexf_ctx): Likewise.
23809         (libc_feresetround_noexl_ctx): Likewise.
23810         (libc_feholdsetround_53bit_ctx): Likewise.
23811         (libc_feresetround_53bit_ctx): Likewise.
23812         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23813         (libc_feholdexcept_setround_sse_ctx): New function.
23814         (libc_fesetenv_sse_ctx): Likewise.
23815         (libc_feupdateenv_sse_ctx): Likewise.
23816         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23817         (libc_feholdexcept_setround_387_ctx): Likewise.
23818         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23819         (libc_feholdsetround_387_prec_ctx): Likewise.
23820         (libc_feholdsetround_387_ctx): Likewise.
23821         (libc_feholdsetround_387_53bit_ctx): Likewise.
23822         (libc_feholdsetround_sse_ctx): Likewise.
23823         (libc_feresetround_sse_ctx): Likewise.
23824         (libc_feresetround_387_ctx): Likewise.
23825         (libc_feupdateenv_387_ctx): Likewise.
23826         (libc_feholdexcept_setroundf_ctx): Define macro.
23827         (libc_fesetenvf_ctx): Likewise.
23828         (libc_feupdateenvf_ctx): Likewise.
23829         (libc_feholdsetroundf_ctx): Likewise.
23830         (libc_feresetroundf_ctx): Likewise.
23831         (libc_feholdexcept_setround_ctx): Likewise.
23832         (libc_fesetenv_ctx): Likewise.
23833         (libc_feupdateenv_ctx): Likewise.
23834         (libc_feholdsetround_ctx): Likewise.
23835         (libc_feresetround_ctx): Likewise.
23836         (libc_feholdexcept_setroundl_ctx): Likewise.
23837         (libc_feupdateenvl_ctx): Likewise.
23838         (libc_feholdsetroundl_ctx): Likewise.
23839         (libc_feresetroundl_ctx): Likewise.
23840         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23841         (libc_feresetround_53bit_ctx): Likewise.
23843 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23845         * locale/iso-639.def: Convert to UTF-8.
23847 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23849         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23850         (EXCEPTION_TESTS_double): Likewise.
23851         (EXCEPTION_TESTS_long_double): Likewise.
23852         (EXCEPTION_TESTS): Likewise.
23853         * math/libm-test.inc (test_exceptions): Only test exceptions if
23854         EXCEPTION_TESTS (FLOAT).
23856 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23858         * benchtests/Makefile (string-bench): Add strcpy_chk and
23859         stpcpy_chk.
23860         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23861         * benchtests/bench-stpcpy_chk.c: New file.
23862         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23863         * benchtests/bench-strcpy_chk.c: New file.
23864         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23865         code.
23866         (do_test): Likewise.
23868 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23870         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23871         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23872         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23873         with tabs where appropriate.
23874         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23875         dl-procinfo.h.
23876         [PPC_PLATFORM_PPC440]: Likewise.
23877         [PPC_PLATFORM_PPC464]: Likewise.
23878         [PPC_PLATFORM_PPC476]: Likewise.
23879         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23880         ppc464, and ppc476 platform strings merging from ports/
23881         dl-procinfo.h.
23883 2013-06-11  Andreas Schwab  <schwab@suse.de>
23885         [BZ #14991]
23886         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23887         (from_ucs4_idx): Regenerate.
23888         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23889         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23890         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23891         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23892         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23893         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23894         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23895         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23896         from FROM_LOOP and TO_LOOP specific macros.
23897         (BODY): Handle combining characters.
23898         * iconvdata/BIG5HKSCS.irreversible: Update.
23899         * iconvdata/BIG5HKSCS.precomposed: New file.
23900         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23901         characters.
23902         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23904 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23906         * include/sys/time.h: Fix indentation and add copyright header.
23908         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23909         (do_test): Likewise.
23910         * string/test-memchr.c (do_one_test): Likewise.
23911         (do_test): Likewise.
23912         * string/test-memcmp.c (do_one_test): Likewise.
23913         (do_test): Likewise.
23914         * string/test-memcpy.c (do_one_test): Likewise.
23915         (do_test): Likewise.
23916         * string/test-memmem.c (do_one_test): Likewise.
23917         (do_test): Likewise.
23918         (do_random_tests): Likewise.
23919         * string/test-memmove.c (do_one_test): Likewise.
23920         (do_test): Likewise.
23921         * string/test-memset.c (do_one_test): Likewise.
23922         (do_test): Likewise.
23923         * string/test-rawmemchr.c (do_one_test): Likewise.
23924         (do_test): Likewise.
23925         * string/test-strcasecmp.c (do_one_test): Likewise.
23926         (do_test): Likewise.
23927         * string/test-strcasestr.c (do_one_test): Likewise.
23928         (do_test): Likewise.
23929         * string/test-strcat.c (do_one_test): Likewise.
23930         (do_test): Likewise.
23931         * string/test-strchr.c (do_one_test): Likewise.
23932         (do_test): Likewise.
23933         * string/test-strcmp.c (do_one_test): Likewise.
23934         (do_test): Likewise.
23935         * string/test-strcpy.c (do_one_test): Likewise.
23936         (do_test): Likewise.
23937         * string/test-string.h: Likewise.
23938         (test_init): Likewise.
23939         * string/test-strlen.c (do_one_test): Likewise.
23940         (do_test): Likewise.
23941         * string/test-strncasecmp.c (do_one_test): Likewise.
23942         (do_test): Likewise.
23943         * string/test-strncat.c (do_one_test): Likewise.
23944         (do_test): Likewise.
23945         * string/test-strncmp.c (do_one_test): Likewise.
23946         (do_test_limit): Likewise.
23947         (do_test): Likewise.
23948         * string/test-strncpy.c (do_one_test): Likewise.
23949         (do_test): Likewise.
23950         * string/test-strnlen.c (do_one_test): Likewise.
23951         (do_test): Likewise.
23952         * string/test-strpbrk.c (do_one_test): Likewise.
23953         (do_test): Likewise.
23954         * string/test-strrchr.c (do_one_test): Likewise.
23955         (do_test): Likewise.
23956         * string/test-strspn.c (do_one_test): Likewise.
23957         (do_test): Likewise.
23958         * string/test-strstr.c (do_one_test): Likewise.
23959         (do_test): Likewise.
23961         * benchtests/Makefile (string-bench): Add string benchmarks.
23962         * benchtests/bench-bcopy-ifunc.c: New file.
23963         * benchtests/bench-bcopy.c: New file.
23964         * benchtests/bench-bzero-ifunc.c: New file.
23965         * benchtests/bench-bzero.c: New file.
23966         * benchtests/bench-memccpy-ifunc.c: New file.
23967         * benchtests/bench-memccpy.c: New file.
23968         * benchtests/bench-memchr-ifunc.c: New file.
23969         * benchtests/bench-memchr.c: New file.
23970         * benchtests/bench-memcmp-ifunc.c: New file.
23971         * benchtests/bench-memcmp.c: New file.
23972         * benchtests/bench-memmem-ifunc.c: New file.
23973         * benchtests/bench-memmem.c: New file.
23974         * benchtests/bench-memmove-ifunc.c: New file.
23975         * benchtests/bench-memmove.c: New file.
23976         * benchtests/bench-mempcpy-ifunc.c: New file.
23977         * benchtests/bench-mempcpy.c: New file.
23978         * benchtests/bench-memset-ifunc.c: New file.
23979         * benchtests/bench-memset.c: New file.
23980         * benchtests/bench-rawmemchr-ifunc.c: New file.
23981         * benchtests/bench-rawmemchr.c: New file.
23982         * benchtests/bench-stpcpy-ifunc.c: New file.
23983         * benchtests/bench-stpcpy.c: New file.
23984         * benchtests/bench-stpncpy-ifunc.c: New file.
23985         * benchtests/bench-stpncpy.c: New file.
23986         * benchtests/bench-strcasecmp-ifunc.c: New file.
23987         * benchtests/bench-strcasecmp.c: New file.
23988         * benchtests/bench-strcasestr-ifunc.c: New file.
23989         * benchtests/bench-strcasestr.c: New file.
23990         * benchtests/bench-strcat-ifunc.c: New file.
23991         * benchtests/bench-strcat.c: New file.
23992         * benchtests/bench-strchr-ifunc.c: New file.
23993         * benchtests/bench-strchr.c: New file.
23994         * benchtests/bench-strchrnul-ifunc.c: New file.
23995         * benchtests/bench-strchrnul.c: New file.
23996         * benchtests/bench-strcmp-ifunc.c: New file.
23997         * benchtests/bench-strcmp.c: New file.
23998         * benchtests/bench-strcpy-ifunc.c: New file.
23999         * benchtests/bench-strcpy.c: New file.
24000         * benchtests/bench-strcspn-ifunc.c: New file.
24001         * benchtests/bench-strcspn.c: New file.
24002         * benchtests/bench-strlen-ifunc.c: New file.
24003         * benchtests/bench-strlen.c: New file.
24004         * benchtests/bench-strncasecmp-ifunc.c: New file.
24005         * benchtests/bench-strncasecmp.c: New file.
24006         * benchtests/bench-strncat-ifunc.c: New file.
24007         * benchtests/bench-strncat.c: New file.
24008         * benchtests/bench-strncmp-ifunc.c: New file.
24009         * benchtests/bench-strncmp.c: New file.
24010         * benchtests/bench-strncpy-ifunc.c: New file.
24011         * benchtests/bench-strncpy.c: New file.
24012         * benchtests/bench-strnlen-ifunc.c: New file.
24013         * benchtests/bench-strnlen.c: New file.
24014         * benchtests/bench-strpbrk-ifunc.c: New file.
24015         * benchtests/bench-strpbrk.c: New file.
24016         * benchtests/bench-strrchr-ifunc.c: New file.
24017         * benchtests/bench-strrchr.c: New file.
24018         * benchtests/bench-strspn-ifunc.c: New file.
24019         * benchtests/bench-strspn.c: New file.
24020         * benchtests/bench-strstr-ifunc.c: New file.
24021         * benchtests/bench-strstr.c: New file.
24023         * benchtests/Makefile: Disable parallel execution of targets.
24024         (string-bench): Add memcpy.
24025         (benchset): New variable to store a list of benchmark sets.
24026         (bench-func): Renamed from bench.
24027         (bench-set): New target.
24028         (bench): Depend on bench-func and bench-set.
24029         * benchtests/README: Add section on benchmark sets.
24030         * benchtests/bench-memcpy-ifunc.c: New file.
24031         * benchtests/bench-memcpy.c: New file.
24032         * benchtests/bench-string.h: New file.
24034 2013-06-11  Andreas Schwab  <schwab@suse.de>
24036         [BZ #15577]
24037         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24038         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24039         values in the triple.
24040         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24041         terminator in the group key.
24043 2013-06-11  Andreas Jaeger  <aj@suse.de>
24045         * po/zh_TW.po: Update Chinese (traditional) translation from
24046         translation project.
24048 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24050         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24051         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24052         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24053         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24054         (clock_getcpuclockid): Likewise.
24055         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24056         Add weak_alias and libc_hidden_def.
24057         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24058         * rt/clock_gettime.c (clock_gettime): Rename to
24059         __clock_gettime.  Add weak_alias and libc_hidden_def.
24060         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24061         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24062         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24063         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24064         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24065         Likewise.
24066         * rt/clock_settime.c (clock_settime): Rename to
24067         __clock_settime.  Add weak_alias and libc_hidden_def.
24068         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24070 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24072         * mach/err_boot.sub: Remove trailing whitespace.
24073         * mach/err_ipc.sub: Likewise.
24074         * mach/err_mach.sub: Likewise.
24076         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24077         (ROUNDING_TESTS_double): Likewise.
24078         (ROUNDING_TESTS_long_double): Likewise.
24079         (ROUNDING_TESTS): Likewise.
24080         * math/libm-test.inc: Include <math-tests.h>.
24081         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24082         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24083         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24084         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24086 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24088         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24089         of assigning.
24091 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24093         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24094         otherwise empty TRANS lines.
24095         * sysdeps/gnu/errlist.c: Regenerated.
24097         * catgets/gencat.c (error_print): Use (void) in function
24098         definition.
24099         * crypt/crypt_util.c (__init_des): Likewise.
24100         * crypt/speeds.c (Stop): Likewise.
24101         (main): Likewise.
24102         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24103         * inet/ruserpass.c (token): Likewise.
24104         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24105         * intl/localealias.c (extend_alias_table): Likewise.
24106         * intl/plural-exp.c (init_germanic_plural): Likewise.
24107         * libio/fcloseall.c (__fcloseall): Likewise.
24108         * libio/genops.c (_IO_flush_all): Likewise.
24109         (_IO_flush_all_linebuffered): Likewise.
24110         (_IO_cleanup): Likewise.
24111         (_IO_iter_begin): Likewise.
24112         (_IO_iter_end): Likewise.
24113         (_IO_list_lock): Likewise.
24114         (_IO_list_unlock): Likewise.
24115         (_IO_list_resetlock): Likewise.
24116         * libio/getchar.c (getchar): Likewise.
24117         * libio/getchar_u.c (getchar_unlocked): Likewise.
24118         * libio/getwchar.c (getwchar): Likewise.
24119         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24120         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24121         * login/getpt.c (__getpt): Likewise.
24122         * login/tst-utmp.c (main): Likewise.
24123         * malloc/hooks.c (__malloc_check_init): Likewise.
24124         * malloc/malloc.c (__malloc_stats): Likewise.
24125         * malloc/mtrace.c (tr_break): Likewise.
24126         (mtrace): Likewise.
24127         (muntrace): Likewise.
24128         * misc/fstab.c (endfsent): Likewise.
24129         * misc/getclktck.c (__getclktck): Likewise.
24130         * misc/getdtsz.c (__getdtablesize): Likewise.
24131         * misc/gethostid.c (gethostid): Likewise.
24132         * misc/getpagesize.c (__getpagesize): Likewise.
24133         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24134         (__get_nprocs): Likewise.
24135         (__get_phys_pages): Likewise.
24136         (__get_avphys_pages): Likewise.
24137         * misc/getttyent.c (getttyent): Likewise.
24138         (setttyent): Likewise.
24139         (endttyent): Likewise.
24140         * misc/getusershell.c (getusershell): Likewise.
24141         (endusershell): Likewise.
24142         (setusershell): Likewise.
24143         (initshells): Likewise.
24144         * misc/hsearch.c (__hdestroy): Likewise.
24145         * misc/sync.c (sync): Likewise.
24146         * misc/syslog.c (closelog_internal): Likewise.
24147         (closelog): Likewise.
24148         * misc/ttyslot.c (ttyslot): Likewise.
24149         * misc/vhangup.c (vhangup): Likewise.
24150         * posix/fork.c (__fork): Likewise.
24151         * posix/getegid.c (__getegid): Likewise.
24152         * posix/geteuid.c (__geteuid): Likewise.
24153         * posix/getgid.c (__getgid): Likewise.
24154         * posix/getpid.c (__getpid): Likewise.
24155         * posix/getppid.c (__getppid): Likewise.
24156         * posix/getuid.c (__getuid): Likewise.
24157         * posix/pause.c (pause): Likewise.
24158         * posix/setpgrp.c (setpgrp): Likewise.
24159         * posix/setsid.c (__setsid): Likewise.
24160         * posix/test-vfork.c (noop): Likewise.
24161         * resolv/gethnamaddr.c (_endhtent): Likewise.
24162         (_gethtent): Likewise.
24163         (ht_endhostent): Likewise.
24164         (gethostent): Likewise.
24165         (dns_service): Likewise.
24166         * stdlib/drand48.c (drand48): Likewise.
24167         * stdlib/lrand48.c (lrand48): Likewise.
24168         * stdlib/mrand48.c (mrand48): Likewise.
24169         * stdlib/rand.c (rand): Likewise.
24170         * stdlib/random.c (__random): Likewise.
24171         * stdlib/setenv.c (clearenv): Likewise.
24172         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24173         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24174         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24175         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24176         (__get_nprocs): Likewise.
24177         (__get_phys_pages): Likewise.
24178         (__get_avphys_pages): Likewise.
24179         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24180         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24181         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24182         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24183         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24184         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24185         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24186         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24187         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24188         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24189         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24190         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24191         * sysdeps/posix/clock.c (clock): Likewise.
24192         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24193         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24194         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24195         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24196         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24197         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24198         (__get_nprocs_conf): Likewise.
24199         (__get_phys_pages): Likewise.
24200         (__get_avphys_pages): Likewise.
24201         * time/clock.c (clock): Likewise.
24202         * time/tzset.c (__tzname_max): Likewise.
24204 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24206         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24207         (__bswap_32): Do not use "register".
24208         * crypt/crypt.c (_ufc_doit_r): Likewise.
24209         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24210         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24211         * gmon/gmon.c (__monstartup): Likewise.
24212         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24213         * hurd/hurdmalloc.c (more_memory): Likewise.
24214         (malloc): Likewise.
24215         (free): Likewise.
24216         (realloc): Likewise.
24217         (malloc_fork_prepare): Likewise.
24218         (malloc_fork_parent): Likewise.
24219         (malloc_fork_child): Likewise.
24220         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24221         (_svcauth_des): Likewise.
24222         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24223         * inet/inet_net.c (inet_network): Likewise.
24224         * inet/inet_netof.c (inet_netof): Likewise.
24225         * inet/rcmd.c (__validuser2_sa): Likewise.
24226         * io/fts.c (fts_open): Likewise.
24227         (fts_load): Likewise.
24228         (fts_close): Likewise.
24229         (fts_read): Likewise.
24230         (fts_children): Likewise.
24231         (fts_build): Likewise.
24232         (fts_stat): Likewise.
24233         (fts_sort): Likewise.
24234         (fts_alloc): Likewise.
24235         (fts_lfree): Likewise.
24236         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24237         (_IO_file_xsgetn): Likewise.
24238         (_IO_file_xsgetn_mmap): Likewise.
24239         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24240         (_IO_cookie_write): Likewise.
24241         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24242         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24243         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24244         * malloc/obstack.c (_obstack_begin): Likewise.
24245         (_obstack_begin_1): Likewise.
24246         (_obstack_newchunk): Likewise.
24247         (_obstack_allocated_p): Likewise.
24248         (obstack_free): Likewise.
24249         (_obstack_memory_used): Likewise.
24250         * misc/getttyent.c (getttynam): Likewise.
24251         (getttyent): Likewise.
24252         (skip): Likewise.
24253         (value): Likewise.
24254         * misc/getusershell.c (initshells): Likewise.
24255         * misc/syslog.c (__vsyslog_chk): Likewise.
24256         * misc/ttyslot.c (ttyslot): Likewise.
24257         * nis/nis_hash.c (__nis_hash): Likewise.
24258         * posix/fnmatch_loop.c (FCT): Likewise.
24259         * posix/getconf.c (print_all): Likewise.
24260         (main): Likewise.
24261         * posix/getopt.c (exchange): Likewise.
24262         * posix/glob.c (globfree): Likewise.
24263         (prefix_array): Likewise.
24264         (__glob_pattern_type): Likewise.
24265         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24266         (NS_GET32): Likewise.
24267         (NS_PUT16): Likewise.
24268         (NS_PUT32): Likewise.
24269         * resolv/gethnamaddr.c (getanswer): Likewise.
24270         (gethostbyname2): Likewise.
24271         (gethostbyaddr): Likewise.
24272         (_gethtent): Likewise.
24273         (_gethtbyname2): Likewise.
24274         (_gethtbyaddr): Likewise.
24275         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24276         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24277         * resolv/res_init.c (__res_vinit): Likewise.
24278         (net_mask): Likewise.
24279         * resolv/res_mkquery.c (outchar): Likewise.
24280         (PRINT): Likewise.
24281         * stdio-common/printf_fp.c (outchar): Likewise.
24282         (PRINT): Likewise.
24283         * stdio-common/printf_fphex.c (outchar): Likewise.
24284         (PRINT): Likewise.
24285         * stdio-common/printf_size.c (outchar): Likewise.
24286         (PRINT): Likewise.
24287         * stdio-common/test_rdwr.c (main): Likewise.
24288         * stdio-common/tfformat.c (matches): Likewise.
24289         * stdio-common/vfprintf.c (outchar): Likewise.
24290         (printf_unknown): Likewise.
24291         (buffered_vfprintf): Likewise.
24292         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24293         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24294         (ReadFile): Likewise.
24295         * stdlib/qsort.c (SWAP): Likewise.
24296         (_quicksort): Likewise.
24297         * stdlib/setenv.c (__add_to_environ): Likewise.
24298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24299         * stdlib/strtol_l.c (__strtol_l): Likewise.
24300         * stdlib/tst-strtod.c (main): Likewise.
24301         * stdlib/tst-strtol.c (main): Likewise.
24302         * stdlib/tst-strtoll.c (main): Likewise.
24303         * string/bits/string2.h (__strcmp_cc): Likewise.
24304         (__strcmp_cg): Likewise.
24305         (__strcspn_c1): Likewise.
24306         (__strcspn_c2): Likewise.
24307         (__strcspn_c3): Likewise.
24308         (__strspn_c1): Likewise.
24309         (__strspn_c2): Likewise.
24310         (__strspn_c3): Likewise.
24311         (__strsep_1c): Likewise.
24312         (__strsep_2c): Likewise.
24313         (__strsep_3c): Likewise.
24314         * string/memccpy.c (__memccpy): Likewise.
24315         * string/stpcpy.c (__stpcpy): Likewise.
24316         * string/strcmp.c (strcmp): Likewise.
24317         * string/strrchr.c (strrchr): Likewise.
24318         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24319         Likewise.
24320         * sysdeps/mach/hurd/getcwd.c
24321         (_hurd_canonicalize_directory_name_internal): Likewise.
24322         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24323         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24324         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24325         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24326         Likewise, in both definitions.
24327         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24328         definitions.
24329         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24330         64] (__bswap_64): Likewise.
24331         * time/test_time.c (main): Likewise.
24332         * time/tzfile.c (__tzfile_read): Likewise.
24333         (__tzfile_compute): Likewise.
24334         * time/tzset.c (__tzset_parse_tz): Likewise.
24335         (tzset_internal): Likewise.
24336         (compute_change): Likewise.
24337         * wcsmbs/wcscat.c (__wcscat): Likewise.
24338         * wcsmbs/wcschr.c (wcschr): Likewise.
24339         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24340         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24341         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24342         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24343         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24344         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24345         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24346         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24347         * wcsmbs/wmemset.c (wmemset): Likewise.
24349 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24351         * scripts/config.guess: Update to version 2013-05-16.
24352         * scripts/config.sub: Update to version 2013-04-24.
24353         * scripts/install-sh: Update to version 2011-11-20.07.
24354         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24355         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24357 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24359         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24360         * elf/sln.c: Likewise.
24361         * hurd/hurd/ioctl.h: Likewise.
24362         * hurd/hurdmalloc.c: Likewise.
24363         * hurd/xattr.c: Likewise.
24364         * include/shlib-compat.h: Likewise.
24365         * inet/ruserpass.c: Likewise.
24366         * libio/iofgets_u.c: Likewise.
24367         * libio/iofgetws_u.c: Likewise.
24368         * locale/programs/ld-identification.c: Likewise.
24369         * locale/programs/ld-time.c: Likewise.
24370         * mach/msg-destroy.c: Likewise.
24371         * nss/nss_files/files-netgrp.c: Likewise.
24372         * resolv/res_data.c: Likewise.
24373         * soft-fp/op-1.h: Likewise.
24374         * soft-fp/op-2.h: Likewise.
24375         * soft-fp/op-4.h: Likewise.
24376         * soft-fp/op-common.h: Likewise.
24377         * stdio-common/printf_fphex.c: Likewise.
24378         * stdlib/strtod_l.c: Likewise.
24379         * sunrpc/rpc/clnt.h: Likewise.
24380         * sysdeps/generic/framestate.c: Likewise.
24381         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24382         * sysdeps/i386/bsd-setjmp.S: Likewise.
24383         * sysdeps/i386/__longjmp.S: Likewise.
24384         * sysdeps/i386/setjmp.S: Likewise.
24385         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24386         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24387         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24388         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24389         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24390         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24391         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24394         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24395         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24396         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24397         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24398         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24399         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24400         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24401         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24402         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24403         * sysdeps/ieee754/support.c: Likewise.
24404         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24405         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24406         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24407         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24408         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24409         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24410         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24411         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24412         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24413         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24414         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24415         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24416         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24417         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24418         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24419         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24420         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24423 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24425         * posix/transbug.c: Remove executable mode.
24427 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24429         * crypt/speeds.c: Remove trailing whitespace.
24430         * dlfcn/default.c: Likewise.
24431         * elf/ifuncdep2.c: Likewise.
24432         * elf/ifuncmain1.c: Likewise.
24433         * elf/ifuncmain1vis.c: Likewise.
24434         * elf/testobj.h: Likewise.
24435         * elf/tst-stackguard1.c: Likewise.
24436         * gmon/sys/gmon.h: Likewise.
24437         * hurd/hurdmsg.c: Likewise.
24438         * hurd/new-fd.c: Likewise.
24439         * hurd/ports-get.c: Likewise.
24440         * iconvdata/ibm1008_420.c: Likewise.
24441         * inet/tst-getni1.c: Likewise.
24442         * inet/tst-getni2.c: Likewise.
24443         * libio/ioungetc.c: Likewise.
24444         * libio/wfiledoalloc.c: Likewise.
24445         * manual/libm-err-tab.pl: Likewise.
24446         * math/w_dremf.c: Likewise.
24447         * misc/ftruncate.c: Likewise.
24448         * posix/bug-glob2.c: Likewise.
24449         * posix/tst-pcre.c: Likewise.
24450         * posix/wait4.c: Likewise.
24451         * resolv/README: Likewise.
24452         * resolv/res_debug.h: Likewise.
24453         * resolv/tst-inet_ntop.c: Likewise.
24454         * setjmp/bug269-setjmp.c: Likewise.
24455         * soft-fp/extended.h: Likewise.
24456         * soft-fp/op-1.h: Likewise.
24457         * soft-fp/op-2.h: Likewise.
24458         * soft-fp/op-4.h: Likewise.
24459         * soft-fp/op-8.h: Likewise.
24460         * soft-fp/testit.c: Likewise.
24461         * stdio-common/bug16.c: Likewise.
24462         * stdlib/random.c: Likewise.
24463         * sunrpc/rpcsvc/rquota.x: Likewise.
24464         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24465         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24466         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24467         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24468         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24469         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24470         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24471         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24472         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24473         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24474         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24475         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24476         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24477         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24478         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24479         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24480         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24481         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24482         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24483         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24484         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24485         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24486         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24487         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24488         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24489         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24490         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24491         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24492         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24493         * sysdeps/ieee754/s_lib_version.c: Likewise.
24494         * sysdeps/mach/hurd/check_fds.c: Likewise.
24495         * sysdeps/mach/hurd/getsockname.c: Likewise.
24496         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24497         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24498         * sysdeps/powerpc/bits/link.h: Likewise.
24499         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24500         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24501         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24502         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24503         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24504         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24505         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24506         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24507         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24508         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24509         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24510         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24511         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24512         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24513         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24514         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24515         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24516         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24517         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24518         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24519         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24520         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24521         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24522         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24523         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24524         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24525         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24526         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24527         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24528         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24529         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24530         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24531         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24532         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24533         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24534         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24535         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24536         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24537         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24538         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24539         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24540         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24541         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24542         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24543         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24544         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24545         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24546         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24547         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24548         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24551         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24552         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24553         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24554         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24555         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24556         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24557         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24558         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24559         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24560         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24561         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24562         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24563         * sysdeps/powerpc/sysdep.h: Likewise.
24564         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24565         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24566         * sysdeps/sh/dl-trampoline.S: Likewise.
24567         * sysdeps/sh/memset.S: Likewise.
24568         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24569         * sysdeps/sh/strlen.S: Likewise.
24570         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24571         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24572         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24573         * sysdeps/sparc/sparc32/rem.S: Likewise.
24574         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24575         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24576         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24577         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24578         * sysdeps/sparc/sparc32/urem.S: Likewise.
24579         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24580         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24581         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24582         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24583         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24584         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24585         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24586         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24587         * sysdeps/unix/bsd/times.c: Likewise.
24588         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24589         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24593         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24594         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24595         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24596         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24597         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24598         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24599         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24600         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24601         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24602         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24603         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24604         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24605         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24606         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24607         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24608         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24609         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24610         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24611         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24612         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24613         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24614         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24615         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24616         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24617         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24618         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24619         * sysdeps/x86_64/strcspn.S: Likewise.
24621 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24623         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24624         generated file.  Regenerate properly from gen-translit.pl.
24625         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24626         locale/C-translit.h.
24628 2013-06-05  Andreas Schwab  <schwab@suse.de>
24630         [BZ #15100]
24631         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24632         week as 6 instead of -1.
24633         * time/tst-strptime.c (day_tests): Add test case.
24635 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24637         * sysdeps/generic/math_private.h
24638         (libc_feholdexcept_setround_53bit): Replace with
24639         libc_feholdsetround_53bit.
24640         (libc_feupdateenv_53bit): Replace with
24641         libc_feresetround_53bit.
24642         (SET_RESTORE_ROUND_53BIT): Adjust.
24644 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24646         * string/test-strchrnul.c: Add copyright header.
24648         * posix/tst-getaddrinfo4.c: Increase test timeout.
24650 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24652         [BZ #15536]
24653         * math/libm-test.inc (MAX_EXP): Remove
24654         (MIN_EXP): Define.
24655         (ulp): Use MIN_EXP - MANT_DIG.
24656         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24658 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24660         * po/be.po: Revert last change.
24661         * po/zh_CN.po: Likewise.
24662         * po/header.pot: Likewise.
24664 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24666         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24667         link-libc-deps to empty as target-specific variable.
24668         * Makerules (link-libc-args): New variable.
24669         (libc-for-link): Likewise.
24670         (link-libc-deps): Likewise.
24671         (lib%.so): Depend on $(link-libc-deps).  Link with
24672         $(link-libc-args).
24673         (build-module): Link with $(link-libc-args).
24674         (build-module-asneeded): Likewise.
24675         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24676         list of objects.
24677         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24678         target-specific variable.
24679         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24680         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24681         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24682         libc.
24683         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24684         libc and ld.so.
24685         ($(objpfx)libpcprofile.so): Likewise.
24686         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24687         libc_nonshared.a.
24688         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24689         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24690         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24691         $(link-libc-deps).
24692         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24693         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24694         * login/Makefile ($(objpfx)libutil.so): Likewise.
24695         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24696         * math/Makefile ($(objpfx)libm.so): Likewise.
24697         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24698         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24699         variable instead of depending directly on libc.
24700         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24701         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24702         $(link-libc-deps).
24703         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24704         libc.
24705         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24706         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24707         ($(objpfx)libanl.so): Likewise.
24708         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24709         ld.so.
24710         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24711         $(link-libc-deps).
24712         * sysdeps/i386/fpu/Makefile: Remove file.
24713         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24714         ($(objpfx)libm.so): Remove dependency on ld.so.
24716 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24718         [BZ # 15553]
24719         * nis/yp_xdr.c (XDRMAXNAME): Define.
24720         (XDRMAXRECORD): Define.
24721         (xdr_domainname): Use XDRMAXNAME.
24722         (xdr_mapname): Likewise.
24723         (xdr_peername): Likewise.
24724         (xdr_keydat): Use XDRMAXRECORD.
24725         (xdr_valdat): Likewise.
24727 2013-05-30  Jeff Law  <law@redhat.com>
24729         [BZ #14256]
24730         * manual/errno.texi (ESTALE): Update to account for more than
24731         just NFS file systems.
24732         * sysdeps/gnu/errlist.c: Regenerated.
24734 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24736         [BZ #15465]
24737         * elf/Makefile (tests): Add tst-null-argv.
24738         (modules-names):  Add tst-null-argv-lib.
24739         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24740         (tst-null-argv-ENV): Set environment for tst-null-argv.
24741         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24742         (RTLD_PROGNAME): New macro.
24743         * elf/tst-null-argv.c: New test case.
24744         * elf/tst-null-argv-lib.c: Library for test case.
24745         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24746         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24747         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24748         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24749         * elf/dl-init.c (call_init): Likewise.
24750         (_dl_init): Likewise.
24751         * elf/dl-load.c (print_search_path): Likewise.
24752         (_dl_map_object): Likewise.
24753         * elf/dl-lookup.c (do_lookup_x): Likewise.
24754         (add_dependency): Likewise.
24755         (_dl_lookup_symbol_x): Likewise.
24756         (_dl_debug_bindings): Likewise.
24757         * elf/dl-open.c (_dl_show_scope): Likewise.
24758         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24759         * elf/dl-version.c (match_symbol): Likewise.
24760         (_dl_check_map_versions): Likewise.
24761         * elf/rtld.c (dl_main): Likewise.
24762         (print_unresolved): Use RTLD_PROGNAME.
24763         (print_missing_version): Likewise.
24764         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24765         (elf_machine_rela): Likewise.
24766         * sysdeps/powerpc/powerpc32/dl-machine.c
24767         (__process_machine_rela): Likewise.
24768         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24769         Likewise.
24770         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24771         Likewise.
24772         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24773         Likewise.
24774         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24775         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24776         Likewise.
24777         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24778         Likewise.
24779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24781 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24783         * po/be.po: Add descriptive title.
24784         * po/zh_CN.po: Likewise.
24785         * po/header.pot: Likewise.
24787 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24789         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24790         error message.
24791         (enlarge_archive): Likewise.
24793 2013-05-28  Ben North  <ben@redfrontdoor.org>
24795         * manual/arith.texi (frexp): It is the magnitude of the return
24796         value which lies in [0.5, 1), not the return value itself.
24798 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24802 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24804         * stdio-common/bug26.c (main): Correct fscanf template.
24806         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24807         declare _dl_skip_args.
24809         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24810         Don't declare.
24812         * manual/platform.texi: Add missing @end deftypefun.
24814 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24816         [BZ #15529]
24817         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24818         bit of mantissa of 2^16382.
24819         * math/libm-test.inc (hypot_test_data): Add more tests.
24821         * math/libm-test.inc: Add drem and pow10 to list of tested
24822         functions.
24823         (pow10_test): New function.
24824         (drem_test): Likewise.
24825         (drem_test_tonearest): Likewise.
24826         (drem_test_towardzero): Likewise.
24827         (drem_test_downward): Likewise.
24828         (drem_test_upward): Likewise.
24829         (main): Call the new functions.
24831         * math/libm-test.inc (finite_test_data): Remove.
24832         (finite_test): Run tests from isfinite_test_data.
24833         (gamma_test_data): Remove.
24834         (gamma_test): Run tests from lgamma_test_data.
24835         * sysdeps/i386/fpu/libm-test-ulps: Update.
24836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24838 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24840         * manual/platform.texi: Add PowerPC PPR function set documentation.
24841         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24842         implementation.
24844 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24846         * math/libm-test.inc (MAX_EXP): Define.
24847         (ULPDIFF): Define.
24848         (ulp): New function.
24849         (check_float_internal): Use ULPDIFF.
24850         (cpow_test): Disable failing test.
24851         (check_ulp): Test ulp() implemetnation.
24852         (main): Call check_ulp before starting tests.
24854 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24856         * math/gen-libm-test.pl (generate_testfile): Do not handle
24857         START_DATA and END_DATA.
24858         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24859         END_DATA.
24860         (acos_tonearest_test_data): Likewise.
24861         (acos_towardzero_test_data): Likewise.
24862         (acos_downward_test_data): Likewise.
24863         (acos_upward_test_data): Likewise.
24864         (acosh_test_data): Likewise.
24865         (asin_test_data): Likewise.
24866         (asin_tonearest_test_data): Likewise.
24867         (asin_towardzero_test_data): Likewise.
24868         (asin_downward_test_data): Likewise.
24869         (asin_upward_test_data): Likewise.
24870         (asinh_test_data): Likewise.
24871         (atan_test_data): Likewise.
24872         (atanh_test_data): Likewise.
24873         (atan2_test_data): Likewise.
24874         (cabs_test_data): Likewise.
24875         (cacos_test_data): Likewise.
24876         (cacosh_test_data): Likewise.
24877         (carg_test_data): Likewise.
24878         (casin_test_data): Likewise.
24879         (casinh_test_data): Likewise.
24880         (catan_test_data): Likewise.
24881         (catanh_test_data): Likewise.
24882         (cbrt_test_data): Likewise.
24883         (ccos_test_data): Likewise.
24884         (ccosh_test_data): Likewise.
24885         (ceil_test_data): Likewise.
24886         (cexp_test_data): Likewise.
24887         (cimag_test_data): Likewise.
24888         (clog_test_data): Likewise.
24889         (clog10_test_data): Likewise.
24890         (conj_test_data): Likewise.
24891         (copysign_test_data): Likewise.
24892         (cos_test_data): Likewise.
24893         (cos_tonearest_test_data): Likewise.
24894         (cos_towardzero_test_data): Likewise.
24895         (cos_downward_test_data): Likewise.
24896         (cos_upward_test_data): Likewise.
24897         (cosh_test_data): Likewise.
24898         (cosh_tonearest_test_data): Likewise.
24899         (cosh_towardzero_test_data): Likewise.
24900         (cosh_downward_test_data): Likewise.
24901         (cosh_upward_test_data): Likewise.
24902         (cpow_test_data): Likewise.
24903         (cproj_test_data): Likewise.
24904         (creal_test_data): Likewise.
24905         (csin_test_data): Likewise.
24906         (csinh_test_data): Likewise.
24907         (csqrt_test_data): Likewise.
24908         (ctan_test_data): Likewise.
24909         (ctan_tonearest_test_data): Likewise.
24910         (ctan_towardzero_test_data): Likewise.
24911         (ctan_downward_test_data): Likewise.
24912         (ctan_upward_test_data): Likewise.
24913         (ctanh_test_data): Likewise.
24914         (ctanh_tonearest_test_data): Likewise.
24915         (ctanh_towardzero_test_data): Likewise.
24916         (ctanh_downward_test_data): Likewise.
24917         (ctanh_upward_test_data): Likewise.
24918         (erf_test_data): Likewise.
24919         (erfc_test_data): Likewise.
24920         (exp_test_data): Likewise.
24921         (exp_tonearest_test_data): Likewise.
24922         (exp_towardzero_test_data): Likewise.
24923         (exp_downward_test_data): Likewise.
24924         (exp_upward_test_data): Likewise.
24925         (exp10_test_data): Likewise.
24926         (exp2_test_data): Likewise.
24927         (expm1_test_data): Likewise.
24928         (fabs_test_data): Likewise.
24929         (fdim_test_data): Likewise.
24930         (finite_test_data): Likewise.
24931         (floor_test_data): Likewise.
24932         (fma_test_data): Likewise.
24933         (fma_towardzero_test_data): Likewise.
24934         (fma_downward_test_data): Likewise.
24935         (fma_upward_test_data): Likewise.
24936         (fmax_test_data): Likewise.
24937         (fmin_test_data): Likewise.
24938         (fmod_test_data): Likewise.
24939         (fpclassify_test_data): Likewise.
24940         (frexp_test_data): Likewise.
24941         (gamma_test_data): Likewise.
24942         (hypot_test_data): Likewise.
24943         (ilogb_test_data): Likewise.
24944         (isfinite_test_data): Likewise.
24945         (isgreater_test_data): Likewise.
24946         (isgreaterequal_test_data): Likewise.
24947         (isinf_test_data): Likewise.
24948         (isless_test_data): Likewise.
24949         (islessequal_test_data): Likewise.
24950         (islessgreater_test_data): Likewise.
24951         (isnan_test_data): Likewise.
24952         (isnormal_test_data): Likewise.
24953         (issignaling_test_data): Likewise.
24954         (isunordered_test_data): Likewise.
24955         (j0_test_data): Likewise.
24956         (j1_test_data): Likewise.
24957         (jn_test_data): Likewise.
24958         (ldexp_test_data): Likewise.
24959         (lgamma_test_data): Likewise.
24960         (lrint_test_data): Likewise.
24961         (lrint_tonearest_test_data): Likewise.
24962         (lrint_towardzero_test_data): Likewise.
24963         (lrint_downward_test_data): Likewise.
24964         (lrint_upward_test_data): Likewise.
24965         (llrint_test_data): Likewise.
24966         (llrint_tonearest_test_data): Likewise.
24967         (llrint_towardzero_test_data): Likewise.
24968         (llrint_downward_test_data): Likewise.
24969         (llrint_upward_test_data): Likewise.
24970         (log_test_data): Likewise.
24971         (log10_test_data): Likewise.
24972         (log1p_test_data): Likewise.
24973         (log2_test_data): Likewise.
24974         (logb_test_data): Likewise.
24975         (logb_downward_test_data): Likewise.
24976         (lround_test_data): Likewise.
24977         (llround_test_data): Likewise.
24978         (modf_test_data): Likewise.
24979         (nearbyint_test_data): Likewise.
24980         (nextafter_test_data): Likewise.
24981         (nexttoward_test_data): Likewise.
24982         (pow_test_data): Likewise.
24983         (pow_tonearest_test_data): Likewise.
24984         (pow_towardzero_test_data): Likewise.
24985         (pow_downward_test_data): Likewise.
24986         (pow_upward_test_data): Likewise.
24987         (remainder_test_data): Likewise.
24988         (remainder_tonearest_test_data): Likewise.
24989         (remainder_towardzero_test_data): Likewise.
24990         (remainder_downward_test_data): Likewise.
24991         (remainder_upward_test_data): Likewise.
24992         (remquo_test_data): Likewise.
24993         (rint_test_data): Likewise.
24994         (rint_tonearest_test_data): Likewise.
24995         (rint_towardzero_test_data): Likewise.
24996         (rint_downward_test_data): Likewise.
24997         (rint_upward_test_data): Likewise.
24998         (round_test_data): Likewise.
24999         (scalb_test_data): Likewise.
25000         (scalbn_test_data): Likewise.
25001         (scalbln_test_data): Likewise.
25002         (signbit_test_data): Likewise.
25003         (sin_test_data): Likewise.
25004         (sin_tonearest_test_data): Likewise.
25005         (sin_towardzero_test_data): Likewise.
25006         (sin_downward_test_data): Likewise.
25007         (sin_upward_test_data): Likewise.
25008         (sincos_test_data): Likewise.
25009         (sinh_test_data): Likewise.
25010         (sinh_tonearest_test_data): Likewise.
25011         (sinh_towardzero_test_data): Likewise.
25012         (sinh_downward_test_data): Likewise.
25013         (sinh_upward_test_data): Likewise.
25014         (sqrt_test_data): Likewise.
25015         (tan_test_data): Likewise.
25016         (tan_tonearest_test_data): Likewise.
25017         (tan_towardzero_test_data): Likewise.
25018         (tan_downward_test_data): Likewise.
25019         (tan_upward_test_data): Likewise.
25020         (tanh_test_data): Likewise.
25021         (tgamma_test_data): Likewise.
25022         (trunc_test_data): Likewise.
25023         (y0_test_data): Likewise.
25024         (y1_test_data): Likewise.
25025         (yn_test_data): Likewise.
25026         (significand_test_data): Likewise.
25028         * math/gen-libm-test.pl (@functions): Remove variable.
25029         (generate_testfile): Don't handle START and END lines.
25030         * math/libm-test.inc (START): New macro.
25031         (END): Likewise.
25032         (END_COMPLEX): Likewise.
25033         (acos_test): Use END macro without arguments.
25034         (acos_test_tonearest): Likewise.
25035         (acos_test_towardzero): Likewise.
25036         (acos_test_downward): Likewise.
25037         (acos_test_upward): Likewise.
25038         (acosh_test): Likewise.
25039         (asin_test): Likewise.
25040         (asin_test_tonearest): Likewise.
25041         (asin_test_towardzero): Likewise.
25042         (asin_test_downward): Likewise.
25043         (asin_test_upward): Likewise.
25044         (asinh_test): Likewise.
25045         (atan_test): Likewise.
25046         (atanh_test): Likewise.
25047         (atan2_test): Likewise.
25048         (cabs_test): Likewise.
25049         (cacos_test): Use END_COMPLEX macro without arguments.
25050         (cacosh_test): Likewise.
25051         (carg_test): Use END macro without arguments.
25052         (casin_test): Use END_COMPLEX macro without arguments.
25053         (casinh_test): Likewise.
25054         (catan_test): Likewise.
25055         (catanh_test): Likewise.
25056         (cbrt_test): Use END macro without arguments.
25057         (ccos_test): Use END_COMPLEX macro without arguments.
25058         (ccosh_test): Likewise.
25059         (ceil_test): Use END macro without arguments.
25060         (cexp_test): Use END_COMPLEX macro without arguments.
25061         (cimag_test): Use END macro without arguments.
25062         (clog_test): Use END_COMPLEX macro without arguments.
25063         (clog10_test): Likewise.
25064         (conj_test): Likewise.
25065         (copysign_test): Use END macro without arguments.
25066         (cos_test): Likewise.
25067         (cos_test_tonearest): Likewise.
25068         (cos_test_towardzero): Likewise.
25069         (cos_test_downward): Likewise.
25070         (cos_test_upward): Likewise.
25071         (cosh_test): Likewise.
25072         (cosh_test_tonearest): Likewise.
25073         (cosh_test_towardzero): Likewise.
25074         (cosh_test_downward): Likewise.
25075         (cosh_test_upward): Likewise.
25076         (cpow_test): Use END_COMPLEX macro without arguments.
25077         (cproj_test): Likewise.
25078         (creal_test): Use END macro without arguments.
25079         (csin_test): Use END_COMPLEX macro without arguments.
25080         (csinh_test): Likewise.
25081         (csqrt_test): Likewise.
25082         (ctan_test): Likewise.
25083         (ctan_test_tonearest): Likewise.
25084         (ctan_test_towardzero): Likewise.
25085         (ctan_test_downward): Likewise.
25086         (ctan_test_upward): Likewise.
25087         (ctanh_test): Likewise.
25088         (ctanh_test_tonearest): Likewise.
25089         (ctanh_test_towardzero): Likewise.
25090         (ctanh_test_downward): Likewise.
25091         (ctanh_test_upward): Likewise.
25092         (erf_test): Use END macro without arguments.
25093         (erfc_test): Likewise.
25094         (exp_test): Likewise.
25095         (exp_test_tonearest): Likewise.
25096         (exp_test_towardzero): Likewise.
25097         (exp_test_downward): Likewise.
25098         (exp_test_upward): Likewise.
25099         (exp10_test): Likewise.
25100         (exp2_test): Likewise.
25101         (expm1_test): Likewise.
25102         (fabs_test): Likewise.
25103         (fdim_test): Likewise.
25104         (finite_test): Likewise.
25105         (floor_test): Likewise.
25106         (fma_test): Likewise.
25107         (fma_test_towardzero): Likewise.
25108         (fma_test_downward): Likewise.
25109         (fma_test_upward): Likewise.
25110         (fmax_test): Likewise.
25111         (fmin_test): Likewise.
25112         (fmod_test): Likewise.
25113         (fpclassify_test): Likewise.
25114         (frexp_test): Likewise.
25115         (gamma_test): Likewise.
25116         (hypot_test): Likewise.
25117         (ilogb_test): Likewise.
25118         (isfinite_test): Likewise.
25119         (isgreater_test): Likewise.
25120         (isgreaterequal_test): Likewise.
25121         (isinf_test): Likewise.
25122         (isless_test): Likewise.
25123         (islessequal_test): Likewise.
25124         (islessgreater_test): Likewise.
25125         (isnan_test): Likewise.
25126         (isnormal_test): Likewise.
25127         (issignaling_test): Likewise.
25128         (isunordered_test): Likewise.
25129         (j0_test): Likewise.
25130         (j1_test): Likewise.
25131         (jn_test): Likewise.
25132         (ldexp_test): Likewise.
25133         (lgamma_test): Likewise.
25134         (lrint_test): Likewise.
25135         (lrint_test_tonearest): Likewise.
25136         (lrint_test_towardzero): Likewise.
25137         (lrint_test_downward): Likewise.
25138         (lrint_test_upward): Likewise.
25139         (llrint_test): Likewise.
25140         (llrint_test_tonearest): Likewise.
25141         (llrint_test_towardzero): Likewise.
25142         (llrint_test_downward): Likewise.
25143         (llrint_test_upward): Likewise.
25144         (log_test): Likewise.
25145         (log10_test): Likewise.
25146         (log1p_test): Likewise.
25147         (log2_test): Likewise.
25148         (logb_test): Likewise.
25149         (logb_test_downward): Likewise.
25150         (lround_test): Likewise.
25151         (llround_test): Likewise.
25152         (modf_test): Likewise.
25153         (nearbyint_test): Likewise.
25154         (nextafter_test): Likewise.
25155         (nexttoward_test): Likewise.
25156         (pow_test): Likewise.
25157         (pow_test_tonearest): Likewise.
25158         (pow_test_towardzero): Likewise.
25159         (pow_test_downward): Likewise.
25160         (pow_test_upward): Likewise.
25161         (remainder_test): Likewise.
25162         (remainder_test_tonearest): Likewise.
25163         (remainder_test_towardzero): Likewise.
25164         (remainder_test_downward): Likewise.
25165         (remainder_test_upward): Likewise.
25166         (remquo_test): Likewise.
25167         (rint_test): Likewise.
25168         (rint_test_tonearest): Likewise.
25169         (rint_test_towardzero): Likewise.
25170         (rint_test_downward): Likewise.
25171         (rint_test_upward): Likewise.
25172         (round_test): Likewise.
25173         (scalb_test): Likewise.
25174         (scalbn_test): Likewise.
25175         (scalbln_test): Likewise.
25176         (signbit_test): Likewise.
25177         (sin_test): Likewise.
25178         (sin_test_tonearest): Likewise.
25179         (sin_test_towardzero): Likewise.
25180         (sin_test_downward): Likewise.
25181         (sin_test_upward): Likewise.
25182         (sincos_test): Likewise.
25183         (sinh_test): Likewise.
25184         (sinh_test_tonearest): Likewise.
25185         (sinh_test_towardzero): Likewise.
25186         (sinh_test_downward): Likewise.
25187         (sinh_test_upward): Likewise.
25188         (sqrt_test): Likewise.
25189         (tan_test): Likewise.
25190         (tan_test_tonearest): Likewise.
25191         (tan_test_towardzero): Likewise.
25192         (tan_test_downward): Likewise.
25193         (tan_test_upward): Likewise.
25194         (tanh_test): Likewise.
25195         (tgamma_test): Likewise.
25196         (trunc_test): Likewise.
25197         (y0_test): Likewise.
25198         (y1_test): Likewise.
25199         (yn_test): Likewise.
25200         (significand_test): Likewise.
25202 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25204         [BZ #15381]
25205         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25207 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25209         [BZ #14894]
25210         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25211         __ppc_mdoio and __ppc_mdoom.
25212         * manual/platform.texi: Document new functions __ppc_yield,
25213         __ppc_mdoio and __ppc_mdoom.
25215 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25217         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25218         (main): Mention "tls" pseudo-hwcap is legacy.
25219         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25221 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25223         * math/gen-libm-test.pl (parse_args): Output only string of
25224         arguments as text for test name, not full call or descriptions of
25225         tests for extra outputs.
25226         (generate_testfile): Do not pass function name to parse_args.
25227         Generate this_func variable from START.
25228         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25229         field to arg_str.
25230         (struct test_ff_f_data): Likewise.
25231         (test_ff_f_data_nexttoward): Likewise.
25232         (struct test_fi_f_data): Likewise.
25233         (struct test_fl_f_data): Likewise.
25234         (struct test_if_f_data): Likewise.
25235         (struct test_fff_f_data): Likewise.
25236         (struct test_c_f_data): Likewise.
25237         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25238         (struct test_fF_f1_data): Likewise.
25239         (struct test_ffI_f1_data): Likewise.
25240         (struct test_c_c_data): Rename test_name field to arg_str.
25241         (struct test_cc_c_data): Likewise.
25242         (struct test_f_i_data): Likewise.
25243         (struct test_ff_i_data): Likewise.
25244         (struct test_f_l_data): Likewise.
25245         (struct test_f_L_data): Likewise.
25246         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25247         and extra2_name.
25248         (COMMON_TEST_SETUP): New macro.
25249         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25250         (COMMON_TEST_CLEANUP): Likewise.
25251         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25252         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25253         macros.
25254         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25255         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25256         macros.
25257         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25258         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25259         cleanup macros.
25260         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25261         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25262         macros.
25263         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25264         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25265         macros.
25266         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25267         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25268         cleanup macros.
25269         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25270         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25271         cleanup macros.
25272         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25273         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25274         cleanup macros.
25275         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25276         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25277         macros.
25278         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25279         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25280         macros.
25281         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25282         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25283         macros.
25284         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25285         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25286         cleanup macros.
25287         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25288         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25289         cleanup macros.
25290         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25291         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25292         macros.
25293         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25294         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25295         cleanup macros.
25296         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25297         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25298         macros.
25299         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25300         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25301         macros.
25302         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25303         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25304         cleanup macros.
25305         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25307 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25309         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25310         to _sifields.sigfault.
25311         (si_addr_lsb): Define new macro.
25312         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25314         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25316 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25318         [BZ #15441]
25319         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25320         returns -1.
25321         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25322         null return -1.
25323         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25324         loading the domain.
25326 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25328         * math/gen-libm-test.pl (parse_args): Do not include expected
25329         result in test name.
25330         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25331         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25332         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25333         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25334         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25337 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25339         * benchtests/Makefile: Sort function entries.
25341         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25342         tanh, asinh, acosh, atanh.
25343         * benchtests/acos-inputs: New file.
25344         * benchtests/acosh-inputs: New file.
25345         * benchtests/asin-inputs: New file.
25346         * benchtests/asinh-inputs: New file.
25347         * benchtests/atanh-inputs: New file.
25348         * benchtests/cosh-inputs: New file.
25349         * benchtests/log-inputs: New file.
25350         * benchtests/sinh-inputs: New file.
25351         * benchtests/tanh-inputs: New file.
25353 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25355         [BZ #15339]
25356         * posix/tst-getaddrinfo4.c: New test.
25357         * posix/Makefile (tests): Add it.
25359 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25361         [BZ #15339]
25362         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25363         when no services were used.
25364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25365         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25367 2013-05-21  Andreas Schwab  <schwab@suse.de>
25369         [BZ #15014]
25370         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25371         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25372         successful.
25373         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25374         redundant variable declarations and reallocation of buffer when
25375         parsing as IPv6 address.  Always set NSS status when called from
25376         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25377         buffer too small.  Correct computation of needed size.
25378         * nss/Makefile (tests): Add test-digits-dots.
25379         * nss/test-digits-dots.c: New test.
25381 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25383         * benchtests/Makefile: Remove instructions for adding
25384         benchmark tests.
25385         * benchtests/README: New file to explain how to execute and
25386         enhance the benchmark tests.
25388 2013-05-21  Andreas Schwab  <schwab@suse.de>
25390         [BZ #15493]
25391         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25392         * setjmp/tst-sigsetjmp.c: New test.
25394 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25396         * sysdeps/x86_64/memset.S (memset): New implementation.
25397         (__bzero): Likewise.
25398         (__memset_tail): New function.
25400 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25402         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25403         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25404         __memcpy_sse2_unaligned ifunc selection.
25405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25406         Add memcpy-sse2-unaligned.S.
25407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25408         Add: __memcpy_sse2_unaligned.
25410 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25412         [BZ #15490]
25413         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25414         math_force_eval before restoring floating-point envrionment.
25415         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25416         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25417         Likewise.
25418         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25419         <math_private.h>.
25420         (__nearbyintl): Use math_force_eval before restoring
25421         floating-point environment.
25422         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25424         * math/gen-libm-test.pl (special_functions): Remove.
25425         (parse_args): Don't handle TEST_extra.  Handle functions with no
25426         return value.
25427         * math/libm-test.inc (struct test_sincos_data): Replace with
25428         struct test_fFF_11_data.
25429         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25430         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25431         (sincos_test_data): Change element type to struct
25432         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25433         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25434         RUN_TEST_LOOP_sincos.
25435         * math/README.libm-test: Don't mention special handling of
25436         individual functions.
25437         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25438         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25439         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25440         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25441         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25444         * math/gen-libm-test.pl (get_variable): Remove function.
25445         (parse_args): Don't show pointer parameters to call in test
25446         names.  Use "extra output N" in test names for extra outputs
25447         rather than naming variables.
25449 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25451         [BZ #15488]
25452         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25453         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25454         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25455         double tests.
25456         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25457         disable.
25458         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25459         check_long_double.
25461         * math/gen-libm-test.pl (@tests): Remove variable.
25462         ($count): Likewise.
25463         (new_test): Remove function.
25464         (show_exceptions): New function.
25465         (special_functions): Use show_exceptions instead of new_test.
25466         (parse_args): Likewise.
25467         (generate_testfile): Pass only function name in generated call to
25468         print_max_error or print_complex_max_error.
25469         (get_ulps): Do not handle complex tests specially.
25470         (output_test): Rename to ...
25471         (get_all_ulps_for_test): ... this.  Return a string rather than
25472         printing to a file.  Require ulps to be present.
25473         (output_ulps): Generate arrays rather than #defines.
25474         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25475         (struct ulp_data): New type.
25476         (BUILD_COMPLEX_ULP): Remove macro.
25477         (compare_ulp_data): New function.
25478         (find_ulps): Likewise.
25479         (find_test_ulps): Likewise.
25480         (find_function_ulps): Likewise.
25481         (find_complex_function_ulps): Likewise.
25482         (print_max_error): Determine allowed ulps using
25483         find_function_ulps.
25484         (print_complex_max_error): Determine allowed ulps using
25485         find_complex_function_ulps.
25486         (check_float_internal): Determine max ulps using find_test_ulps.
25487         (check_float): Do not take max_ulp parameter.  Update call to
25488         check_float_internal.
25489         (check_complex): Likewise.
25490         (check_int): Do not take max_ulp parameter.
25491         (check_long): Likewise.
25492         (check_bool): Likewise.
25493         (check_longlong): Likewise.
25494         (struct test_f_f_data): Remove max_ulp field.
25495         (struct test_ff_f_data): Likewise.
25496         (struct test_ff_f_data_nexttoward): Likewise.
25497         (struct test_fi_f_data): Likewise.
25498         (struct test_fl_f_data): Likewise.
25499         (struct test_if_f_data): Likewise.
25500         (struct test_fff_f_data): Likewise.
25501         (struct test_c_f_data): Likewise.
25502         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25503         (struct test_fF_f1_data): Likewise.
25504         (struct test_ffI_f1_data): Likewise.
25505         (struct test_c_c_data): Remove max_ulp field.
25506         (struct test_cc_c_data): Likewise.
25507         (struct test_f_i_data): Likewise.
25508         (struct test_ff_i_data): Likewise.
25509         (struct test_f_l_data): Likewise.
25510         (struct test_f_L_data): Likewise.
25511         (struct test_sincos_data): Likewise.
25512         (RUN_TEST_f_f): Do not handle ulps.
25513         (RUN_TEST_LOOP_f_f): Likewise.
25514         (RUN_TEST_2_f): Likewise.
25515         (RUN_TEST_LOOP_2_f): Likewise.
25516         (RUN_TEST_fff_f): Likewise.
25517         (RUN_TEST_LOOP_fff_f): Likewise.
25518         (RUN_TEST_c_f): Likewise.
25519         (RUN_TEST_LOOP_c_f): Likewise.
25520         (RUN_TEST_f_f1): Likewise.
25521         (RUN_TEST_LOOP_f_f1): Likewise.
25522         (RUN_TEST_fF_f1): Likewise.
25523         (RUN_TEST_LOOP_fF_f1): Likewise.
25524         (RUN_TEST_fI_f1): Likewise.
25525         (RUN_TEST_LOOP_fI_f1): Likewise.
25526         (RUN_TEST_ffI_f1): Likewise.
25527         (RUN_TEST_LOOP_ffI_f1): Likewise.
25528         (RUN_TEST_c_c): Likewise.
25529         (RUN_TEST_LOOP_c_c): Likewise.
25530         (RUN_TEST_cc_c): Likewise.
25531         (RUN_TEST_LOOP_cc_c): Likewise.
25532         (RUN_TEST_f_i): Likewise.
25533         (RUN_TEST_LOOP_f_i): Likewise.
25534         (RUN_TEST_f_i_tg): Likewise.
25535         (RUN_TEST_LOOP_f_i_tg): Likewise.
25536         (RUN_TEST_ff_i_tg): Likewise.
25537         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25538         (RUN_TEST_f_b): Likewise.
25539         (RUN_TEST_LOOP_f_b): Likewise.
25540         (RUN_TEST_f_b_tg): Likewise.
25541         (RUN_TEST_LOOP_f_b_tg): Likewise.
25542         (RUN_TEST_f_l): Likewise.
25543         (RUN_TEST_LOOP_f_l): Likewise.
25544         (RUN_TEST_f_L): Likewise.
25545         (RUN_TEST_LOOP_f_L): Likewise.
25546         (RUN_TEST_sincos): Likewise.
25547         (RUN_TEST_LOOP_sincos): Likewise.
25549 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25551         [BZ #15480]
25552         [BZ #15485]
25553         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25554         main case of finite arguments, set rounding mode to FE_TONEAREST
25555         and discard exceptions.
25556         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25557         exceptions.
25558         (remainder_tonearest_test_data): New variable.
25559         (remainder_test_tonearest): New function.
25560         (remainder_towardzero_test_data): New variable.
25561         (remainder_test_towardzero): New function.
25562         (remainder_downward_test_data): New variable.
25563         (remainder_test_downward): New function.
25564         (remainder_upward_test_data): New variable.
25565         (remainder_test_upward): New function.
25566         (main): Call the new test functions.
25568         * math/libm-test.inc (struct test_f_f1_data): Remove field
25569         extra_init.
25570         (struct test_fF_f1_data): Likewise.
25571         (struct test_ffI_f1_data): Likewise.
25572         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25573         based on value of EXTRA_EXPECTED.
25574         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25575         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25576         EXTRA_VAR based on value of EXTRA_EXPECTED.
25577         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25578         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25579         EXTRA_VAR based on value of EXTRA_EXPECTED.
25580         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25581         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25582         EXTRA_VAR based on value of EXTRA_EXPECTED.
25583         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25584         * math/gen-libm-test.pl (parse_args): Don't output initializers
25585         for extra output values.
25587         * math/libm-test.inc (check_int): Expect result to be exactly
25588         equal to expected value and do not handle ulps.
25589         (check_long): Likewise.
25590         (check_longlong): Likewise.
25592         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25593         exceptions.
25594         (cimag_test_data): Likewise.
25595         (conj_test_data): Likewise.
25596         (copysign_test_data): Likewise.
25597         (cproj_test_data): Likewise.
25598         (creal_test_data): Likewise.
25599         (fabs_test_data): Likewise.
25600         (fdim_test_data): Likewise.
25601         (finite_test_data): Likewise.
25602         (floor_test_data): Likewise.
25603         (fmax_test_data): Likewise.
25604         (fmin_test_data): Likewise.
25605         (fmod_test_data): Likewise.
25606         (fpclassify_test_data): Likewise.
25607         (frexp_test_data): Likewise.
25608         (ilogb_test_data): Likewise.
25609         (isfinite_test_data): Likewise.
25610         (isgreater_test_data): Likewise.
25611         (isgreaterequal_test_data): Likewise.
25612         (isinf_test_data): Likewise.
25613         (isless_test_data): Likewise.
25614         (islessequal_test_data): Likewise.
25615         (islessgreater_test_data): Likewise.
25616         (isnan_test_data): Likewise.
25617         (isnormal_test_data): Likewise.
25618         (issignaling_test_data): Likewise.
25619         (isunordered_test_data): Likewise.
25620         (ldexp_test_data): Likewise.
25621         (lrint_test_data): Likewise.
25622         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25623         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25624         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25625         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25626         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25627         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25628         test input.
25629         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25630         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25631         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25632         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25633         that test input.
25634         (lrint_downward_test_data): Test for "inexact" exceptions.
25635         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25636         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25637         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25638         test input.
25639         (lrint_upward_test_data): Test for "inexact" exceptions.
25640         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25641         test input.
25642         (llrint_test_data): Test for "inexact" exceptions.
25643         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25644         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25645         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25646         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25647         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25648         (llrint_downward_test_data): Test for "inexact" exceptions.
25649         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25650         (llrint_upward_test_data): Test for "inexact" exceptions.
25651         (logb_test_data): Likewise.
25652         (logb_downward_test_data): Likewise.
25653         (nextafter_test_data): Likewise.
25654         (nexttoward_test_data): Likewise.
25655         (remainder_test_data): Likewise.
25656         (remquo_test_data): Likewise.
25657         (scalbn_test_data): Likewise.
25658         (scalbln_test_data): Likewise.
25659         (signbit_test_data): Likewise.
25660         (sqrt_test_data): Likewise.
25661         (significand_test_data): Likewise.
25663 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25665         [BZ #15424]
25666         * benchtests/bench-modf.c (struct args): Mark arg0 as
25667         volatile.
25668         * scripts/bench.pl: Mark members of struct args as volatile.
25670 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25672         [BZ # 15497]
25673         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25674         negative infinity on POWER6 or lower.
25675         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25677 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25679         [BZ #15442]
25680         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25681         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25682         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25683         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25684         (_FP_SETQNAN): New macro.
25685         (_FP_SETQNAN_SEMIRAW): Likewise.
25686         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25687         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25688         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25689         (FP_EXTEND): Use _FP_FRAC_SNANP.
25690         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25691         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25692         into account.
25693         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25694         New macro.
25695         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25696         Likewise.
25698 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25700         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25701         with DIVIDE_BY_ZERO_EXCEPTION.
25702         (gamma_test_data): Likewise.
25703         (lgamma_test_data): Likewise.
25704         (log_test_data): Likewise.
25705         (log10_test_data): Likewise.
25706         (log2_test_data): Likewise.
25707         (tgamma_test_data): Likewise.
25709         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25710         (acos_test_tonearest): Likewise.
25711         (acos_test_towardzero): Likewise.
25712         (acos_test_downward): Likewise.
25713         (acos_test_upward): Likewise.
25714         (acosh_test): Likewise.
25715         (asin_test): Likewise.
25716         (asin_test_tonearest): Likewise.
25717         (asin_test_towardzero): Likewise.
25718         (asin_test_downward): Likewise.
25719         (asin_test_upward): Likewise.
25720         (asinh_test): Likewise.
25721         (atan_test): Likewise.
25722         (atanh_test): Likewise.
25723         (atan2_test): Likewise.
25724         (cabs_test): Likewise.
25725         (cacos_test): Likewise.
25726         (cacosh_test): Likewise.
25727         (casin_test): Likewise.
25728         (casinh_test): Likewise.
25729         (catan_test): Likewise.
25730         (catanh_test): Likewise.
25731         (cbrt_test): Likewise.
25732         (ccos_test): Likewise.
25733         (ccosh_test): Likewise.
25734         (cexp_test): Likewise.
25735         (clog_test): Likewise.
25736         (clog10_test): Likewise.
25737         (cos_test): Likewise.
25738         (cos_test_tonearest): Likewise.
25739         (cos_test_towardzero): Likewise.
25740         (cos_test_downward): Likewise.
25741         (cos_test_upward): Likewise.
25742         (cosh_test): Likewise.
25743         (cosh_test_tonearest): Likewise.
25744         (cosh_test_towardzero): Likewise.
25745         (cosh_test_downward): Likewise.
25746         (cosh_test_upward): Likewise.
25747         (cpow_test): Likewise.
25748         (csin_test): Likewise.
25749         (csinh_test): Likewise.
25750         (csqrt_test): Likewise.
25751         (ctan_test): Likewise.
25752         (ctan_test_tonearest): Likewise.
25753         (ctan_test_towardzero): Likewise.
25754         (ctan_test_downward): Likewise.
25755         (ctan_test_upward): Likewise.
25756         (ctanh_test): Likewise.
25757         (ctanh_test_tonearest): Likewise.
25758         (ctanh_test_towardzero): Likewise.
25759         (ctanh_test_downward): Likewise.
25760         (ctanh_test_upward): Likewise.
25761         (erf_test): Likewise.
25762         (erfc_test): Likewise.
25763         (exp_test): Likewise.
25764         (exp_test_tonearest): Likewise.
25765         (exp_test_towardzero): Likewise.
25766         (exp_test_downward): Likewise.
25767         (exp_test_upward): Likewise.
25768         (exp10_test): Likewise.
25769         (exp2_test): Likewise.
25770         (expm1_test): Likewise.
25771         (fmod_test): Likewise.
25772         (gamma_test): Likewise.
25773         (hypot_test): Likewise.
25774         (j0_test): Likewise.
25775         (j1_test): Likewise.
25776         (jn_test): Likewise.
25777         (lgamma_test): Likewise.
25778         (log_test): Likewise.
25779         (log10_test): Likewise.
25780         (log1p_test): Likewise.
25781         (log2_test): Likewise.
25782         (logb_test_downward): Likewise.
25783         (pow_test): Likewise.
25784         (pow_test_tonearest): Likewise.
25785         (pow_test_towardzero): Likewise.
25786         (pow_test_downward): Likewise.
25787         (pow_test_upward): Likewise.
25788         (remainder_test): Likewise.
25789         (remquo_test): Likewise.
25790         (sin_test): Likewise.
25791         (sin_test_tonearest): Likewise.
25792         (sin_test_towardzero): Likewise.
25793         (sin_test_downward): Likewise.
25794         (sin_test_upward): Likewise.
25795         (sincos_test): Likewise.
25796         (sinh_test): Likewise.
25797         (sinh_test_tonearest): Likewise.
25798         (sinh_test_towardzero): Likewise.
25799         (sinh_test_downward): Likewise.
25800         (sinh_test_upward): Likewise.
25801         (sqrt_test): Likewise.
25802         (tan_test): Likewise.
25803         (tan_test_tonearest): Likewise.
25804         (tan_test_towardzero): Likewise.
25805         (tan_test_downward): Likewise.
25806         (tan_test_upward): Likewise.
25807         (tanh_test): Likewise.
25808         (tgamma_test): Likewise.
25809         (y0_test): Likewise.
25810         (y1_test): Likewise.
25811         (yn_test): Likewise.
25813         * math/gen-libm-test.pl (adjust_arg): Remove function.
25814         (special_function): Remove argument $in_func.  Only handle
25815         generating output for tables of tests, not inside functions.
25816         (parse_args): Likewise.
25817         (generate_testfile): Remove variable $in_func.  Update call to
25818         parse_args.
25819         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25820         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25821         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25822         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25823         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25824         (MAX_VALUE_INIT): Rename macro to max_value.
25825         (MIN_VALUE_INIT): Rename macro to min_value.
25826         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25827         (plus_zero): Remove variable.
25828         (minus_zero): Likewise.
25829         (plus_infty): Likewise.
25830         (minus_infty): Likewise.
25831         (qnan_value): Likewise.
25832         (max_value): Likewise.
25833         (min_value): Likewise.
25834         (min_subnorm_value): Likewise.
25836 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25838         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25839         uint64_t or uint32_t usage.
25840         * crypt/sha256-block.c: Likewise.
25841         * crypt/sha256-crypt.c: Likewise.
25842         * crypt/sha256.c: Likewise.
25843         * crypt/sha512-block.c: Likewise.
25844         * crypt/sha512-crypt.c: Likewise.
25845         * crypt/sha512.c: Likewise.
25846         * debug/backtrace-tst.c: Likewise.
25847         * debug/pcprofiledump.c: Likewise.
25848         * elf/cache.c: Likewise.
25849         * elf/dl-cache.c: Likewise.
25850         * elf/dl-misc.c: Likewise.
25851         * elf/dl-profile.c: Likewise.
25852         * elf/dl-support.c: Likewise.
25853         * elf/ldconfig.c: Likewise.
25854         * elf/sprof.c: Likewise.
25855         * iconv/dummy-repertoire.c: Likewise.
25856         * iconv/iconv_charmap.c: Likewise.
25857         * iconv/skeleton.c: Likewise.
25858         * iconvdata/8bit-generic.c: Likewise.
25859         * iconvdata/cp737.h: Likewise.
25860         * iconvdata/cp775.h: Likewise.
25861         * iconvdata/ibm1008.h: Likewise.
25862         * iconvdata/ibm1025.h: Likewise.
25863         * iconvdata/ibm1046.h: Likewise.
25864         * iconvdata/ibm1097.h: Likewise.
25865         * iconvdata/ibm1112.h: Likewise.
25866         * iconvdata/ibm1122.h: Likewise.
25867         * iconvdata/ibm1123.h: Likewise.
25868         * iconvdata/ibm1124.h: Likewise.
25869         * iconvdata/ibm1129.h: Likewise.
25870         * iconvdata/ibm1130.h: Likewise.
25871         * iconvdata/ibm1132.h: Likewise.
25872         * iconvdata/ibm1133.h: Likewise.
25873         * iconvdata/ibm1137.h: Likewise.
25874         * iconvdata/ibm1140.h: Likewise.
25875         * iconvdata/ibm1141.h: Likewise.
25876         * iconvdata/ibm1142.h: Likewise.
25877         * iconvdata/ibm1143.h: Likewise.
25878         * iconvdata/ibm1144.h: Likewise.
25879         * iconvdata/ibm1145.h: Likewise.
25880         * iconvdata/ibm1146.h: Likewise.
25881         * iconvdata/ibm1147.h: Likewise.
25882         * iconvdata/ibm1148.h: Likewise.
25883         * iconvdata/ibm1149.h: Likewise.
25884         * iconvdata/ibm1153.h: Likewise.
25885         * iconvdata/ibm1154.h: Likewise.
25886         * iconvdata/ibm1155.h: Likewise.
25887         * iconvdata/ibm1156.h: Likewise.
25888         * iconvdata/ibm1157.h: Likewise.
25889         * iconvdata/ibm1158.h: Likewise.
25890         * iconvdata/ibm1160.h: Likewise.
25891         * iconvdata/ibm1161.h: Likewise.
25892         * iconvdata/ibm1162.h: Likewise.
25893         * iconvdata/ibm1163.h: Likewise.
25894         * iconvdata/ibm1164.h: Likewise.
25895         * iconvdata/ibm1166.h: Likewise.
25896         * iconvdata/ibm1167.h: Likewise.
25897         * iconvdata/ibm12712.h: Likewise.
25898         * iconvdata/ibm1390.h: Likewise.
25899         * iconvdata/ibm1399.h: Likewise.
25900         * iconvdata/ibm16804.h: Likewise.
25901         * iconvdata/ibm4517.h: Likewise.
25902         * iconvdata/ibm4899.h: Likewise.
25903         * iconvdata/ibm4909.h: Likewise.
25904         * iconvdata/ibm4971.h: Likewise.
25905         * iconvdata/ibm5347.h: Likewise.
25906         * iconvdata/ibm803.h: Likewise.
25907         * iconvdata/ibm856.h: Likewise.
25908         * iconvdata/ibm901.h: Likewise.
25909         * iconvdata/ibm902.h: Likewise.
25910         * iconvdata/ibm9030.h: Likewise.
25911         * iconvdata/ibm9066.h: Likewise.
25912         * iconvdata/ibm921.h: Likewise.
25913         * iconvdata/ibm922.h: Likewise.
25914         * iconvdata/ibm9448.h: Likewise.
25915         * iconvdata/isiri-3342.h: Likewise.
25916         * iconvdata/jis0201.h: Likewise.
25917         * include/link.h: Likewise.
25918         * include/netdb.h: Likewise.
25919         * inet/check_native.c: Likewise.
25920         * inet/check_pf.c: Likewise.
25921         * inet/getipv4sourcefilter.c: Likewise.
25922         * inet/getnameinfo.c: Likewise.
25923         * inet/getsourcefilter.c: Likewise.
25924         * inet/htonl.c: Likewise.
25925         * inet/setipv4sourcefilter.c: Likewise.
25926         * inet/setsourcefilter.c: Likewise.
25927         * inet/test-inet6_opt.c: Likewise.
25928         * inet/tst-network.c: Likewise.
25929         * locale/C-collate.c: Likewise.
25930         * locale/C-ctype.c: Likewise.
25931         * locale/C-time.c: Likewise.
25932         * locale/C-translit.h: Likewise.
25933         * locale/loadarchive.c: Likewise.
25934         * locale/programs/3level.h: Likewise.
25935         * locale/programs/charmap.c: Likewise.
25936         * locale/programs/charmap.h: Likewise.
25937         * locale/programs/ld-address.c: Likewise.
25938         * locale/programs/ld-collate.c: Likewise.
25939         * locale/programs/ld-ctype.c: Likewise.
25940         * locale/programs/ld-identification.c: Likewise.
25941         * locale/programs/ld-measurement.c: Likewise.
25942         * locale/programs/ld-messages.c: Likewise.
25943         * locale/programs/ld-monetary.c: Likewise.
25944         * locale/programs/ld-name.c: Likewise.
25945         * locale/programs/ld-numeric.c: Likewise.
25946         * locale/programs/ld-paper.c: Likewise.
25947         * locale/programs/ld-telephone.c: Likewise.
25948         * locale/programs/ld-time.c: Likewise.
25949         * locale/programs/linereader.c: Likewise.
25950         * locale/programs/locale.c: Likewise.
25951         * locale/programs/locarchive.c: Likewise.
25952         * locale/programs/locfile.h: Likewise.
25953         * locale/programs/repertoire.c: Likewise.
25954         * locale/programs/simple-hash.c: Likewise.
25955         * locale/programs/simple-hash.h: Likewise.
25956         * malloc/memusage.c: Likewise.
25957         * malloc/memusagestat.c: Likewise.
25958         * nis/nis_defaults.c: Likewise.
25959         * nis/nis_hash.c: Likewise.
25960         * nis/nis_print.c: Likewise.
25961         * nis/nis_xdr.c: Likewise.
25962         * nscd/connections.c: Likewise.
25963         * nscd/hstcache.c: Likewise.
25964         * nscd/nscd_gethst_r.c: Likewise.
25965         * nscd/nscd_getserv_r.c: Likewise.
25966         * nscd/nscd_helper.c: Likewise.
25967         * nscd/servicescache.c: Likewise.
25968         * nss/makedb.c: Likewise.
25969         * nss/nss_db/db-XXX.c: Likewise.
25970         * nss/nss_db/db-initgroups.c: Likewise.
25971         * nss/nss_db/db-netgrp.c: Likewise.
25972         * nss/nss_files/files-network.c: Likewise.
25973         * nss/nss_files/files-parse.c: Likewise.
25974         * posix/bug-regex5.c: Likewise.
25975         * posix/fnmatch_loop.c: Likewise.
25976         * posix/regcomp.c: Likewise.
25977         * posix/regexec.c: Likewise.
25978         * posix/tst-rfc3484-2.c: Likewise.
25979         * posix/tst-rfc3484-3.c: Likewise.
25980         * posix/tst-rfc3484.c: Likewise.
25981         * resolv/nss_dns/dns-canon.c: Likewise.
25982         * resolv/nss_dns/dns-network.c: Likewise.
25983         * resolv/res_init.c: Likewise.
25984         * resolv/res_mkquery.c: Likewise.
25985         * resolv/tst-aton.c: Likewise.
25986         * stdlib/cxa_atexit.c: Likewise.
25987         * stdlib/cxa_finalize.c: Likewise.
25988         * stdlib/gen-fpioconst.c: Likewise.
25989         * stdlib/strtol_l.c: Likewise.
25990         * string/tst-endian.c: Likewise.
25991         * sunrpc/auth_des.c: Likewise.
25992         * sunrpc/clnt_udp.c: Likewise.
25993         * sunrpc/rtime.c: Likewise.
25994         * sunrpc/svcauth_des.c: Likewise.
25995         * sunrpc/xdr.c: Likewise.
25996         * sunrpc/xdr_intXX_t.c: Likewise.
25997         * sunrpc/xdr_rec.c: Likewise.
25998         * sysdeps/generic/ldconfig.h: Likewise.
25999         * sysdeps/generic/ldsodefs.h: Likewise.
26000         * sysdeps/generic/memusage.h: Likewise.
26001         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26002         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26003         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26004         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26006         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26007         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26008         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26009         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26010         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26011         * sysdeps/posix/getaddrinfo.c: Likewise.
26012         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26013         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26014         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26015         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26016         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26017         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26018         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26019         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26020         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26021         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26022         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26023         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26024         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26025         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26026         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26027         * sysdeps/x86_64/dl-tls.h: Likewise.
26028         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26029         * time/alt_digit.c: Likewise.
26030         * time/era.c: Likewise.
26031         * wcsmbs/tst-c16c32-1.c: Likewise.
26033 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26035         * math/libm-test.inc (struct test_sincos_data): New type.
26036         (RUN_TEST_LOOP_sincos): New macro.
26037         (sincos_test_data): New variable.
26038         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26040 2013-05-16  Richard Henderson  <rth@redhat.com>
26042         * math/atest-exp2.c (LIMB64): New macro.
26043         (CONSTSZ): New macro.
26044         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26045         (hexdig): Move ...
26046         (print_mpn_fp): ... to function scope.
26047         (read_mpn_hex): Remove.
26048         (get_log2): Remove.
26049         (exp2_mpn): Use mp_log2.
26050         (main): Use mp_exp1.
26052 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26054         * math/libm-test.inc: Remove comment about not testing "inexact"
26055         exceptions.
26056         (INEXACT_EXCEPTION): New macro.
26057         (NO_INEXACT_EXCEPTION): Likewise.
26058         (INVALID_EXCEPTION_OK): Update value.
26059         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26060         (OVERFLOW_EXCEPTION_OK): Likewise.
26061         (UNDERFLOW_EXCEPTION_OK): Likewise.
26062         (IGNORE_ZERO_INF_SIGN): Likewise.
26063         (ERRNO_UNCHANGED): Likewise.
26064         (ERRNO_EDOM): Likewise.
26065         (ERRNO_ERANGE): Likewise.
26066         (test_exceptions): Handle testing "inexact" exceptions.
26067         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26068         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26069         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26070         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26071         INEXACT_EXCEPTION.
26072         (rint_towardzero_test_data): Likewise.
26073         (rint_downward_test_data): Likewise.
26074         (rint_upward_test_data): Likewise.
26076         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26077         with OVERFLOW_EXCEPTION.
26078         (exp10_test_data): Likewise.
26079         (exp2_test_data): Likewise.
26080         (expm1_test_data): Likewise.
26081         (lgamma_test_data): Likewise.
26082         (pow_test_data): Likewise.
26083         (tgamma_test_data): Likewise.
26084         (yn_test_data): Remove duplicate test of overflow.
26086         * math/libm-test.inc (struct test_cc_c_data): New type.
26087         (RUN_TEST_LOOP_cc_c): New macro.
26088         (cpow_test_data): New variable.
26089         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26091         * math/libm-test.inc (struct test_f_L_data): New type.
26092         (RUN_TEST_LOOP_f_L): New macro.
26093         (llrint_test_data): New variable.
26094         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26095         (llrint_tonearest_test_data): New variable.
26096         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26097         (llrint_towardzero_test_data): New variable.
26098         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26099         (llrint_downward_test_data): New variable.
26100         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26101         (llrint_upward_test_data): New variable.
26102         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26103         (llround_test_data): New variable.
26104         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26106 2013-05-13  Peter Collingbourne  <pcc@google.com>
26108         * math/atest-exp2.c (get_log2): Remove const attribute.
26110 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26112         * math/libm-test.inc (struct test_f_l_data): New type.
26113         (RUN_TEST_LOOP_f_l): New macro.
26114         (lrint_test_data): New variable.
26115         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26116         (lrint_tonearest_test_data): New variable.
26117         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26118         (lrint_towardzero_test_data): New variable.
26119         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26120         (lrint_downward_test_data): New variable.
26121         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26122         (lrint_upward_test_data): New variable.
26123         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26124         (lround_test_data): New variable.
26125         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26127 2013-05-15  Peter Collingbourne  <pcc@google.com>
26129         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26130         (EXTRACT_WORDS64) Use where appropriate.
26131         (INSERT_WORDS64) Likewise.
26133         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26134         constraints with x constraints.
26135         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26137         * malloc/obstack.c (_obstack_compat): Add initializer.
26139 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26141         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26142         si_trapno and add si_addr_lsb to _sifields.sigfault.
26143         (si_trapno): Remove macro.
26144         (si_addr_lsb): Define new macro.
26145         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26147 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26149         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26150         instead of TEST_f_l.
26151         (llrint_test_tonearest): Likewise.
26152         (llrint_test_towardzero): Likewise.
26153         (llrint_test_downward): Likewise.
26154         (llrint_test_upward): Likewise.
26155         (llround_test): Likewise.
26157         * math/libm-test.inc (struct test_f_i_data): Add comment.
26158         (RUN_TEST_LOOP_f_b): New macro.
26159         (RUN_TEST_LOOP_f_b_tg): Likewise.
26160         (finite_test_data): New variable.
26161         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26162         (isfinite_test_data): New variable.
26163         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26164         (isinf_test_data): New variable.
26165         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26166         (isnan_test_data): New variable.
26167         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26168         (isnormal_test_data): New variable.
26169         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26170         (issignaling_test_data): New variable.
26171         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26172         (signbit_test_data): New variable.
26173         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26175         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26176         with INVALID_EXCEPTION.
26177         (acosh_test_data): Likewise.
26178         (asin_test_data): Likewise.
26179         (atanh_test_data): Likewise.
26180         (fmod_test_data): Likewise.
26181         (log_test_data): Likewise.
26182         (log10_test_data): Likewise.
26183         (log2_test_data): Likewise.
26184         (pow_test_data): Likewise.
26185         (sqrt_test_data): Likewise.
26186         (y0_test_data): Likewise.
26187         (y1_test_data): Likewise.
26188         (yn_test_data): Likewise.
26190         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26191         function contents.
26193         * math/libm-test.inc (struct test_ff_i_data): New type.
26194         (RUN_TEST_LOOP_ff_i_tg): New macro.
26195         (isgreater_test_data): New variable.
26196         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26197         (isgreaterequal_test_data): New variable.
26198         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26199         (isless_test_data): New variable.
26200         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26201         (islessequal_test_data): New variable.
26202         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26203         (islessgreater_test_data): New variable.
26204         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26205         (isunordered_test_data): New variable.
26206         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26208 2013-05-14  David S. Miller  <davem@davemloft.net>
26210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26212 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26214         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26216         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26217         extra_test to int.
26218         (struct test_f_i_data): Change type of max_ulp to int.
26220         * math/libm-test.inc (test_ffI_f1_data): New type.
26221         (RUN_TEST_LOOP_ffI_f1): New macro.
26222         (remquo_test_data): New variable.
26223         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26225         * setjmp/tst-setjmp-fp.c: New file.
26226         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26227         (link-libm): New variable.
26228         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26230         * math/libm-test.inc (struct test_f_i_data): New type.
26231         (RUN_TEST_LOOP_f_i): New macro.
26232         (RUN_TEST_LOOP_f_i_tg): Likewise.
26233         (fpclassify_test_data): New variable.
26234         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26235         (ilogb_test_data): New variable.
26236         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26238         * math/libm-test.inc (scalbln_test): Correct function name in END
26239         call.
26241         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26242         (RUN_TEST_LOOP_fI_f1): New macro.
26243         (frexp_test_data): New variable.
26244         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26246         * math/libm-test.inc (struct test_fF_f1_data): New type.
26247         (RUN_TEST_LOOP_fF_f1): New macro.
26248         (modf_test_data): New variable.
26249         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26251         * math/libm-test.inc (struct test_f_f1_data): New type.
26252         (RUN_TEST_LOOP_f_f1): New macro.
26253         (gamma_test_data): New variable.
26254         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26255         (lgamma_test_data): New variable.
26256         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26258 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26260         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26261         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26262         (main): Comment "tls" pseudo-hwcap.
26264 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26266         * math/libm-test.inc (struct test_fl_f_data): New type.
26267         (RUN_TEST_LOOP_fl_f): New variable.
26268         (scalbln_test_data): New variable.
26269         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26271         * math/libm-test.inc (struct test_fi_f_data): New type.
26272         (RUN_TEST_LOOP_fi_f): New macro.
26273         (ldexp_test_data): New variable.
26274         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26275         (scalbn_test_data): New variable.
26276         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26278         * math/libm-test.inc (struct test_c_f_data): New type.
26279         (RUN_TEST_LOOP_c_f): New macro.
26280         (cabs_test_data): New variable.
26281         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26282         (carg_test_data): New variable.
26283         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26284         (cimag_test_data): New variable.
26285         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26286         (creal_test_data): New variable.
26287         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26289         * math/libm-test.inc (struct test_if_f_data): New type.
26290         (RUN_TEST_LOOP_if_f): New macro.
26291         (jn_test_data): New variable.
26292         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26293         (yn_test_data): New variable.
26294         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26296         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26298 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26300         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26301         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26303 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26305         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26306         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26307         (bench-deps): Add bench-timing.h.
26308         * benchtests-bench-skeleton.c: Include bench-timing.h.
26309         (main): Use TIMING_* macros instead of clock_gettime.
26310         * benchtests/bench-timing.h: New file.
26312         [BZ #14582]
26313         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26314         Renamed from _LIB_VERSION.
26315         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26317 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26319         * math/libm-test.inc (struct test_fff_f_data): New type.
26320         (RUN_TEST_LOOP_fff_f): New macro.
26321         (fma_test_data): New variable.
26322         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26323         (fma_towardzero_test_data): New variable.
26324         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26325         (fma_downward_test_data): New variable.
26326         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26327         (fma_upward_test_data): New variable.
26328         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26330         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26331         (struct test_c_c_data): New type.
26332         (RUN_TEST_LOOP_c_c): New macro.
26333         (cacos_test_data): New variable.
26334         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26335         (cacosh_test_data): New variable.
26336         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26337         (casin_test_data): New variable.
26338         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26339         (casinh_test_data): New variable.
26340         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26341         (catan_test_data): New variable.
26342         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26343         (catanh_test_data): New variable.
26344         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26345         (ccos_test_data): New variable.
26346         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26347         (ccosh_test_data): New variable.
26348         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26349         (cexp_test_data): New variable.
26350         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26351         (clog_test_data): New variable.
26352         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26353         (clog10_test_data): New variable.
26354         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26355         (conj_test_data): New variable.
26356         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26357         (cproj_test_data): New variable.
26358         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26359         (csin_test_data): New variable.
26360         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26361         (csinh_test_data): New variable.
26362         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26363         (csqrt_test_data): New variable.
26364         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26365         (ctan_test_data): New variable.
26366         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26367         (ctan_tonearest_test_data): New variable.
26368         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26369         (ctan_towardzero_test_data): New variable.
26370         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26371         (ctan_downward_test_data): New variable.
26372         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26373         (ctan_upward_test_data): New variable.
26374         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26375         (ctanh_test_data): New variable.
26376         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26377         (ctanh_tonearest_test_data): New variable.
26378         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26379         (ctanh_towardzero_test_data): New variable.
26380         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26381         (ctanh_downward_test_data): New variable.
26382         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26383         (ctanh_upward_test_data): New variable.
26384         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26385         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26386         of BUILD_COMPLEX.
26388         * math/libm-test.inc (struct test_ff_f_data): New type.
26389         (struct test_ff_f_data_nexttoward): Likewise.
26390         (RUN_TEST_LOOP_2_f): New macro.
26391         (RUN_TEST_LOOP_ff_f): Likewise.
26392         (atan2_test_data): New variable.
26393         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26394         (copysign_test_data): New variable.
26395         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26396         (fdim_test_data): New variable.
26397         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26398         (fmax_test_data): New variable.
26399         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26400         (fmin_test_data): New variable.
26401         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26402         (fmod_test_data): New variable.
26403         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26404         (hypot_test_data): New variable.
26405         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26406         (nextafter_test_data): New variable.
26407         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26408         (nexttoward_test_data): New variable.
26409         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26410         (pow_test_data): New variable.
26411         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26412         (pow_tonearest_test_data): New variable.
26413         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26414         (pow_towardzero_test_data): New variable.
26415         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26416         (pow_downward_test_data): New variable.
26417         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26418         (pow_upward_test_data): New variable.
26419         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26420         (remainder_test_data): New variable.
26421         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26422         (scalb_test_data): New variable.
26423         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26424         * sysdeps/i386/fpu/libm-test-ulps: Update.
26426 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26428         * math/libm-test.inc (fma_test): Use max_value instead of local
26429         variable fltmax.
26430         (nextafter_test): Likewise.
26432         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26433         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26434         (acos_downward_test_data): New variable.
26435         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26436         (acos_upward_test_data): New variable.
26437         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26438         (acosh_test_data): New variable.
26439         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26440         (asin_test_data): New variable.
26441         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26442         (asin_tonearest_test_data): New variable.
26443         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26444         (asin_towardzero_test_data): New variable.
26445         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26446         (asin_downward_test_data): New variable.
26447         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26448         (asin_upward_test_data): New variable.
26449         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26450         (asinh_test_data): New variable.
26451         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26452         (atan_test_data): New variable.
26453         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26454         (atanh_test_data): New variable.
26455         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26456         (cbrt_test_data): New variable.
26457         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26458         (ceil_test_data): New variable.
26459         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26460         (cos_test_data): New variable.
26461         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26462         (cos_tonearest_test_data): New variable.
26463         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26464         (cos_towardzero_test_data): New variable.
26465         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26466         (cos_downward_test_data): New variable.
26467         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26468         (cos_upward_test_data): New variable.
26469         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26470         (cosh_test_data): New variable.
26471         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26472         (cosh_tonearest_test_data): New variable.
26473         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26474         (cosh_towardzero_test_data): New variable.
26475         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26476         (cosh_downward_test_data): New variable.
26477         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26478         (cosh_upward_test_data): New variable.
26479         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26480         (erf_test_data): New variable.
26481         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26482         (erfc_test_data): New variable.
26483         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26484         (exp_test_data): New variable.
26485         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26486         (exp_tonearest_test_data): New variable.
26487         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26488         (exp_towardzero_test_data): New variable.
26489         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26490         (exp_downward_test_data): New variable.
26491         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26492         (exp_upward_test_data): New variable.
26493         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26494         (exp10_test_data): New variable.
26495         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26496         (exp2_test_data): New variable.
26497         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26498         (expm1_test_data): New variable.
26499         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26500         (fabs_test_data): New variable.
26501         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26502         (floor_test_data): New variable.
26503         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26504         (j0_test_data): New variable.
26505         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26506         (j1_test_data): New variable.
26507         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26508         (log_test_data): New variable.
26509         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26510         (log10_test_data): New variable.
26511         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26512         (log1p_test_data): New variable.
26513         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26514         (log2_test_data): New variable.
26515         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26516         (logb_test_data): New variable.
26517         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26518         (logb_downward_test_data): New variable.
26519         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26520         (nearbyint_test_data): New variable.
26521         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26522         (rint_test_data): New variable.
26523         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26524         (rint_tonearest_test_data): New variable.
26525         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26526         (rint_towardzero_test_data): New variable.
26527         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26528         (rint_downward_test_data): New variable.
26529         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26530         (rint_upward_test_data): New variable.
26531         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26532         (round_test_data): New variable.
26533         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26534         (sin_test_data): New variable.
26535         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26536         (sin_tonearest_test_data): New variable.
26537         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26538         (sin_towardzero_test_data): New variable.
26539         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26540         (sin_downward_test_data): New variable.
26541         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26542         (sin_upward_test_data): New variable.
26543         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26544         (sinh_test_data): New variable.
26545         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26546         (sinh_tonearest_test_data): New variable.
26547         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26548         (sinh_towardzero_test_data): New variable.
26549         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26550         (sinh_downward_test_data): New variable.
26551         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26552         (sinh_upward_test_data): New variable.
26553         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26554         (sqrt_test_data): New variable.
26555         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26556         (tan_test_data): New variable.
26557         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26558         (tan_tonearest_test_data): New variable.
26559         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26560         (tan_towardzero_test_data): New variable.
26561         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26562         (tan_downward_test_data): New variable.
26563         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26564         (tan_upward_test_data): New variable.
26565         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26566         (tanh_test_data): New variable.
26567         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26568         (tgamma_test_data): New variable.
26569         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26570         (trunc_test_data): New variable.
26571         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26572         (y0_test_data): New variable.
26573         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26574         (y1_test_data): New variable.
26575         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26576         (significand_test_data): New variable.
26577         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26579 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26581         [BZ #12387]
26582         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26584 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26586         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26588 2013-05-10  Andreas Jaeger  <aj@suse.de>
26590         [BZ #15448]
26591         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26592         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26594 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26596         * math/gen-libm-test.pl (adjust_arg): New function.
26597         (special_functions): Handle generating output in both functions
26598         and arrays.
26599         (parse_args): Likewise.
26600         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26601         $in_func argument to parse_args.
26602         * math/libm-test.inc (struct test_f_f_data): New type.
26603         (IF_ROUND_INIT_): New macro.
26604         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26605         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26606         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26607         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26608         (ROUND_RESTORE_): Likewise.
26609         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26610         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26611         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26612         (ROUND_RESTORE_FE_UPWARD): Likewise.
26613         (RUN_TEST_LOOP_f_f): New macro.
26614         (acos_test_data): New variable.
26615         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26616         (acos_tonearest_test_data): New variable.
26617         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26619 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26621         * benchtests/bench-skeleton.c (startup): Fix coding style.
26623 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26625         [BZ #6809]
26626         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26627         negative infinity argument.
26628         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26629         negative infinity argument.
26630         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26631         negative infinity argument.
26632         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26633         domain errors.
26635 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26637         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26638         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26639         * iconv/iconv_prog.c (main): Likewise.
26640         * locale/programs/charmap-dir.c (charmap_readdir)
26641         (fopen_uncompressed): Likewise.
26642         * locale/programs/locfile.c (siblings_uncached)
26643         (write_locale_data): Use lstat64 instead of lstat.
26644         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26645         stat.
26647 2013-05-10  Andreas Jaeger  <aj@suse.de>
26649         [BZ #15395]
26650         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26651         localization.
26652         Include <locale.h>.
26654 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26656         * elf/dl-close.c (_dl_close_worker): Add comments.
26658 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26660         [BZ #15359]
26661         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26662         high part of pi/2.
26663         (__ieee754_rem_pio2l): Update comments.
26665         [BZ #15429]
26666         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26667         high part of pi/2.
26668         (__ieee754_rem_pio2l): Update comments.
26670         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26671         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26673         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26674         M_PI_4l.
26676         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26677         (M_PI_34_LOG10El): Likewise.
26678         (M_PI2_LOG10El): Likewise.
26679         (M_PI4_LOG10El): Likewise.
26680         (M_PI_LOG10El): Likewise.
26682 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26686 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26688         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26689         (MINUS_ZERO_INIT): Likewise.
26690         (PLUS_INFTY_INIT): Likewise.
26691         (MINUS_INFTY_INIT): Likewise.
26692         (QNAN_VALUE_INIT): Likewise.
26693         (MAX_VALUE_INIT): Likewise.
26694         (MIN_VALUE_INIT): Likewise.
26695         (MIN_SUBNORM_VALUE_INIT): Likewise.
26696         (plus_zero): Initialize with PLUS_ZERO_INIT.
26697         (minus_zero): Initialize with MINUS_ZERO_INIT.
26698         (plus_infty): Initialize with PLUS_INFTY_INIT.
26699         (minus_infty): Initialize with MINUS_INFTY_INIT.
26700         (qnan_value): Initialize with QNAN_VALUE_INIT.
26701         (max_value): Initialize with MAX_VALUE_INIT.
26702         (min_value): Initialize with MIN_VALUE_INIT.
26703         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26705         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26706         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26707         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26708         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26710         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26711         (RUN_TEST_2_f): Likewise.
26712         (RUN_TEST_ff_f): Likewise.
26713         (RUN_TEST_fi_f): Likewise.
26714         (RUN_TEST_fl_f): Likewise.
26715         (RUN_TEST_fff_f): Likewise.
26716         (RUN_TEST_c_f): Likewise.
26717         (RUN_TEST_f_f1): Likewise.
26718         (RUN_TEST_fF_f1): Likewise.
26719         (RUN_TEST_fI_f1): Likewise.
26720         (RUN_TEST_ffI_f1): Likewise.
26721         (RUN_TEST_c_c): Likewise.
26722         (RUN_TEST_cc_c): Likewise.
26723         (RUN_TEST_f_i): Likewise.
26724         (RUN_TEST_f_i_tg): Likewise.
26725         (RUN_TEST_ff_i_tg): Likewise.
26726         (RUN_TEST_f_b): Likewise.
26727         (RUN_TEST_f_b_tg): Likewise.
26728         (RUN_TEST_f_l): Likewise.
26729         (RUN_TEST_f_L): Likewise.
26730         (RUN_TEST_sincos): Likewise.
26731         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26732         whether to show exceptions.  Do not include ");\n" in return
26733         value.
26734         (special_functions): Output call to RUN_TEST_sincos instead of
26735         check_float calls.  Update calls to new_test.
26736         (parse_args): Output call to single RUN_TEST_* macro instead of
26737         check_* calls and other assignments.  Update calls to new_test.
26739         [BZ #2546]
26740         [BZ #2560]
26741         [BZ #5159]
26742         [BZ #15426]
26743         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26744         input to result for tgamma overflow.
26745         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26746         (gamma_coeff): New variable.
26747         (NCOEFF): New macro.
26748         (gamma_positive): New function.
26749         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26750         underflow here.  Use gamma_positive instead of exp (lgamma) for
26751         other arguments.
26752         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26753         (gamma_coeff): New variable.
26754         (NCOEFF): New macro.
26755         (gammaf_positive): New function.
26756         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26757         underflow here.  Use gamma_positive instead of exp (lgamma) for
26758         other arguments.
26759         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26760         (gamma_coeff): New variable.
26761         (NCOEFF): New macro.
26762         (gammal_positive): New function.
26763         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26764         underflow here.  Use gamma_positive instead of exp (lgamma) for
26765         other arguments.
26766         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26767         (gamma_coeff): New variable.
26768         (NCOEFF): New macro.
26769         (gammal_positive): New function.
26770         (__ieee754_gammal_r): Handle positive infinity, overflow and
26771         underflow here.  Handle NaN the same as positive infinity.  Remove
26772         check x < 0xffffffff for negative integers.  Use gamma_positive
26773         instead of exp (lgamma) for other arguments.
26774         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26775         (gamma_coeff): New variable.
26776         (NCOEFF): New macro.
26777         (gammal_positive): New function.
26778         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26779         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26780         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26781         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26782         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26783         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26784         * sysdeps/generic/math_private.h (__gamma_productf): New
26785         prototype.
26786         (__gamma_product): Likewise.
26787         (__gamma_productl): Likewise.
26788         * math/Makefile (libm-calls): Add gamma_product.
26789         * math/libm-test.inc (tgamma_test): Add more tests.
26790         * sysdeps/i386/fpu/libm-test-ulps: Update.
26791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26793 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26795         * benchtests/bench-skeleton.c (main): Preheat CPU.
26797 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26799         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26801 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26803         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26804         and _dl_skip_args_internal.
26806 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26808         * manual/message.texi (Message Translation): Talk about users.
26809         Message to key mapping impacts design.
26811 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26813         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26815         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26817         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26818         * sysdeps/wordsize-64/glob64.c: ... here.
26820         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26821         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26822         New macros.
26824         * debug/getlogin_r_chk.c: Moved to ...
26825         * login/getlogin_r_chk.c: ... here.
26826         * debug/Makefile (routines): Move getlogin_r_chk to ...
26827         * login/Makefile (routines): ... here.
26828         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26829         * login/Versions (libc: GLIBC_2.4): ... here.
26831         * io/poll.c (__poll): Renamed from poll.
26832         Add libc_hidden_def.
26833         (poll): Define as weak alias.
26835         * debug/ptsname_r_chk.c: Moved to ...
26836         * login/ptsname_r_chk.c: ... here.
26837         * debug/Makefile (routines): Move ptsname_r_chk to ...
26838         * login/Makefile (routines): ... here.
26839         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26840         * login/Versions (libc: GLIBC_2.4): ... here.
26842         * posix/getlogin.c: Moved to ...
26843         * login/getlogin.c: ... here.
26844         * posix/getlogin_r.c: Moved to ...
26845         * login/getlogin_r.c: ... here.
26846         * posix/getlogin_r.c: Moved to ...
26847         * login/getlogin_r.c: ... here.
26848         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26849         * login/Makefile (routines): ... here.
26850         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26851         * login/Versions (libc: GLIBC_2.0): ... here.
26853         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26854         (setrlimit): Define as weak alias.
26856         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26857         Call __ names for open, ftruncate, and close.
26858         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26859         (truncate): Define as weak alias.
26861 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26863         * math/gen-libm-test.pl (parse_args): Initialize x before each
26864         test of frexp, modf and remquo.
26866         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26867         test signgam value.
26869 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26871         [BZ #15418]
26872         [BZ #15419]
26873         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26874         internal tests.
26875         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26877 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26879         * elf/dl-writev.h: New file.
26880         * elf/dl-misc.c: Include it.
26881         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26882         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26884 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26886         * math/libm-test.inc (noXFails): Remove variable.
26887         (noXPasses): Likewise.
26888         (BUILD_COMPLEX_INT): Remove macro.
26889         (print_screen): Remove xfail argument.
26890         (print_screen_max_error): Likewise.
26891         (update_stats): Likewise.
26892         (print_max_error): Likewise.  Update calls to other affected
26893         functions.
26894         (print_complex_max_error): Likewise.
26895         (test_single_exception): Update calls to print_screen.
26896         (test_single_errno): Likewise.
26897         (check_float_internal): Remove xfail argument.  Update calls to
26898         other affected functions.
26899         (check_float): Likewise.
26900         (check_complex): Likewise.
26901         (check_int): Likewise.
26902         (check_long): Likewise.
26903         (check_bool): Likewise.
26904         (check_longlong): Likewise.
26905         (main): Don't print noXFails and noXPasses.
26906         * math/gen-libm-test.pl (top level): Don't mention expected
26907         failure handling in comment.
26908         (new_test): Don't handle expected failures.
26909         (parse_args): Don't mention expected failure handling in comment.
26910         (generate_testfile): Don't handle expected failures.
26911         (parse_ulps): Likewise.
26912         (print_ulps_file): Likewise.
26913         (get_failure): Remove function.
26914         (output_test): Don't handle expected failures.
26915         * make/README.libm-test: Don't mention expected failure handling.
26917         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26918         (minus_zero): Likewise.
26919         (plus_infty): Likewise.
26920         (minus_infty): Likewise.
26921         (qnan_value): Likewise.
26922         (max_value): Likewise.
26923         (min_value): Likewise.
26924         (min_subnorm_value): Likewise.
26925         (initialize): Do not initialize those variables dynamically.
26927 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26929         * io/open.c (__open_2): Moved to ...
26930         * io/open_2.c: ... this new file.
26931         * io/open64.c (__open64_2): Moved to ...
26932         * io/open64_2.c: ... this new file.
26933         * io/openat.c (__openat_2): Moved to ...
26934         * io/openat_2.c: ... this new file.
26935         * io/openat64.c (__openat64_2): Moved to ...
26936         * io/openat64_2.c: ... this new file.
26937         * io/Makefile (routines): Add them.
26938         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26939         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26940         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26941         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26942         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26943         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26944         (__openat64): Add hidden_ver.
26945         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26946         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26948         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26949         Separately conditionalize setting of GLRO(dl_sysinfo) so
26950         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26951         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26953 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26955         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26956         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26957         definition.
26958         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26959         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26960         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26961         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26962         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26964 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26966         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26967         test signgam value.
26969         * math/libm-test.inc (hypot_test): Do not use
26970         IGNORE_ZERO_INF_SIGN.
26972 2013-05-03  Andreas Jaeger  <aj@suse.de>
26974         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26975         Linux 3.9.
26976         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26977         (PF_MAX): Adjust for VSOCK change.
26979 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26983 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26985         [BZ #15264]
26986         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26987         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26988         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26990 2013-05-02  David S. Miller  <davem@davemloft.net>
26992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26994 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26996         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26998 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27000         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27002 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27004         [BZ #14952]
27005         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27006         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27007         Use __attribute__ ((__gnu_inline__)).
27008         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27009         Don't use __attribute__ ((__gnu_inline__)).
27011 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27013         [BZ #15423]
27014         * math/s_catan.c (__catan): Handle small real or imaginary part of
27015         input specially to avoid spurious underflow.
27016         * math/s_catanf.c (__catanf): Likewise.
27017         * math/s_catanh.c (__catanh): Likewise.
27018         * math/s_catanhf.c (__catanhf): Likewise.
27019         * math/s_catanhl.c (__catanhl): Likewise.
27020         * math/s_catanl.c (__catanl): Likewise.
27021         * math/libm-test.inc (catan_test): Add more tests.
27022         (catanh_test): Likewise.
27023         * sysdeps/i386/fpu/libm-test-ulps: Update.
27024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27026 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27030 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27032         [BZ #15416]
27033         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27034         accurately for denominator in atan2.
27035         * math/s_catanf.c (__catanf): Likewise.
27036         * math/s_catanh.c (__catanh): Likewise.
27037         * math/s_catanhf.c (__catanhf): Likewise.
27038         * math/s_catanhl.c (__catanhl): Likewise.
27039         * math/s_catanl.c (__catanl): Likewise.
27040         * math/libm-test.inc (catan_test): Add more tests.
27041         (catanh_test): Likewise.
27042         * sysdeps/i386/fpu/libm-test-ulps: Update.
27043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27045 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27047         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27049         * benchtests/Makefile (bench): Remove slow benchmarks.
27050         * benchtests/atan-inputs: Add slow benchmark inputs.
27051         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27052         (BENCH_FUNC): Accept variant offset.
27053         (VARIANT): Define.
27054         * benchtests/bench-skeleton.c (main): Run benchmark for each
27055         variant.
27056         * benchtests/cos-inputs: Add slow benchmark inputs.
27057         * benchtests/exp-inputs: Likewise.
27058         * benchtests/pow-inputs: Likewise.
27059         * benchtests/sin-inputs: Likewise.
27060         * benchtests/slowatan-inputs: Remove.
27061         * benchtests/slowatan.c: Remove.
27062         * benchtests/slowcos-inputs: Remove.
27063         * benchtests/slowcos.c: Remove.
27064         * benchtests/slowexp-inputs: Remove.
27065         * benchtests/slowexp.c: Remove.
27066         * benchtests/slowpow-inputs: Remove.
27067         * benchtests/slowpow.c: Remove.
27068         * benchtests/slowsin-inputs: Remove.
27069         * benchtests/slowsin.c: Remove.
27070         * benchtests/slowtan-inputs: Remove.
27071         * benchtests/slowtan.c: Remove.
27072         * benchtests/tan-inputs: Add slow benchmark inputs.
27073         * scripts/bench.pl: Parse comments and directives.
27075         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27076         in CPPFLAGS.
27077         ($(objpfx)bench-%.c): Remove *-ITER.
27078         * benchtests/bench-modf.c: Remove definition of ITER.
27079         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27080         (main): Loop for DURATION seconds instead of fixed number of
27081         iterations.
27082         * scripts/bench.pl: Don't expect iterations in parameters.
27084 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27086         * io/fchdir.c (__fchdir): Renamed from fchdir.
27087         (fchdir): Define as weak alias.
27089 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27091         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27092         (ERRNO_EDOM): Likewise.
27093         (ERRNO_ERANGE): Likewise.
27094         (noErrnoTests): New variable.
27095         (init_max_error): Set errno to 0.
27096         (test_single_errno): New function.
27097         (test_errno): Likewise.
27098         (check_float_internal): Call test_errno.  Set errno to 0.
27099         (check_complex): Refer to errno tests in comment.
27100         (check_int): Call test_errno.  Set errno to 0.
27101         (check_long): Likewise.
27102         (check_bool): Likewise.
27103         (check_longlong): Likewise.
27104         (cos_test): Use ERRNO_* flags for errno tests instead of
27105         check_int.
27106         (expm1_test): Likewise.
27107         (fmod_test): Likewise.
27108         (ilogb_test): Likewise.
27109         (lgamma_test): Likewise.
27110         (pow_test): Likewise.
27111         (remainder_test): Likewise.
27112         (sin_test): Likewise.
27113         (tan_test): Likewise.
27114         (yn_test): Likewise.
27115         (initialize): Set errno to 0.
27116         (main): Print number of errno tests.
27117         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27119 2013-04-29  Andreas Jaeger  <aj@suse.de>
27121         [BZ #15084]
27122         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27123         and RES_USEVC.
27125         [BZ #15085]
27126         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27127         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27128         unimplemented.
27130         [BZ #15380]
27131         * stdlib/random.c (__initstate): Return NULL if
27132         __initstate fails.
27134         [BZ #15086]
27135         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27136         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27137         RES_SNGLKUPREOP.
27139 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27143 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27145         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27146         of individual tests.
27147         (casin_test): Likewise.
27148         (casinh_test): Likewise.
27150 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27152         [BZ #15409]
27153         * math/s_catan.c (__catan): Handle arguments with large real or
27154         imaginary part separately without squaring.
27155         * math/s_catanf.c (__catanf): Likewise.
27156         * math/s_catanh.c (__catanh): Likewise.
27157         * math/s_catanhf.c (__catanhf): Likewise.
27158         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27159         and redefine.
27160         (__catanhl): Handle arguments with large real or imaginary part
27161         separately without squaring.
27162         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27163         and redefine.
27164         (__catanl): Handle arguments with large real or imaginary part
27165         separately without squaring.
27166         * math/libm-test.inc (catan_test): Add more tests.
27167         (catanh_test): Likewise.
27168         * sysdeps/i386/fpu/libm-test-ulps: Update.
27169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27171 2013-04-27  Andreas Jaeger  <aj@suse.de>
27173         [BZ #15007]
27174         * stdlib/stdlib.h: Update guards for qecvt.
27175         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27176         <stdlib.h>.
27178 2013-04-27  Allan McRae  <allan@archlinux.org>
27180         * sysdeps/i386/fpu/libm-test-ulps: Update.
27182 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27184         [BZ #15406]
27185         * math/s_catan.c: Include <float.h>.
27186         (__catan): Ensure underflow exception occurs for underflowed
27187         result.
27188         * math/s_catanf.c: Include <float.h>.
27189         (__catanf): Ensure underflow exception occurs for underflowed
27190         result.
27191         * math/s_catanh.c: Include <float.h>.
27192         (__catanh): Ensure underflow exception occurs for underflowed
27193         result.
27194         * math/s_catanhf.c: Include <float.h>.
27195         (__catanhf): Ensure underflow exception occurs for underflowed
27196         result.
27197         * math/s_catanhl.c: Include <float.h>.
27198         (__catanhl): Ensure underflow exception occurs for underflowed
27199         result.
27200         * math/s_catanl.c: Include <float.h>.
27201         (__catanl): Ensure underflow exception occurs for underflowed
27202         result.
27203         * math/libm-test.inc (catan_test): Add more tests.
27204         (catanh_test): Likewise.
27206         [BZ #15405]
27207         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27208         underflowed result.
27209         * math/s_ccoshf.c (__ccoshf): Likewise.
27210         * math/s_ccoshl.c (__ccoshl): Likewise.
27211         * math/s_csin.c (__csin): Likewise.
27212         * math/s_csinf.c (__csinf): Likewise.
27213         * math/s_csinh.c (__csinh): Likewise.
27214         * math/s_csinhf.c (__csinhf): Likewise.
27215         * math/s_csinhl.c (__csinhl): Likewise.
27216         * math/s_csinl.c (__csinl): Likewise.
27217         * math/libm-test.inc (ccos_test): Add more tests.
27218         (ccosh_test): Likewise.
27219         (csin_test): Likewise.
27220         (csinh_test): Likewise.
27222 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27224         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27225         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27226         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27227         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27228         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27229         powerpc/power5+/fpu folders.
27230         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27233 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27237 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27239         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27240         additions to variable.
27241         [$(config-machine) = x86_64] (modules-names): Likewise.
27242         ($(objpfx)tst-audit3): Remove dependency.
27243         ($(objpfx)tst-audit3.out): Likewise.
27244         ($(objpfx)tst-audit4): Likewise.
27245         ($(objpfx)tst-audit4.out): Likewise.
27246         ($(objpfx)tst-audit5): Likewise.
27247         ($(objpfx)tst-audit5.out): Likewise.
27248         ($(objpfx)tst-audit6): Likewise.
27249         ($(objpfx)tst-audit6.out): Likewise.
27250         ($(objpfx)tst-audit7): Likewise.
27251         ($(objpfx)tst-audit7.out): Likewise.
27252         (tst-audit3-ENV): Remove variable.
27253         (tst-audit4-ENV): Likewise.
27254         (tst-audit5-ENV): Likewise.
27255         (tst-audit6-ENV): Likewise.
27256         (tst-audit7-ENV): Likewise.
27257         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27258         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27259         addition to variable.
27260         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27261         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27262         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27263         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27264         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27265         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27266         tst-audit3, tst-audit4 and tst-audit5.
27267         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27268         tst-audit6 and tst-audit7.
27269         [$(subdir) = elf] (modules-names): Add audit modules for those
27270         tests.
27271         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27272         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27273         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27274         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27275         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27276         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27277         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27278         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27279         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27280         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27281         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27282         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27283         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27284         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27285         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27286         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27287         Likewise.
27288         [$(subdir) = elf && $(config-cflags-avx) = yes]
27289         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27290         [$(subdir) = elf && $(config-cflags-avx) = yes]
27291         (CFLAGS-tst-auditmod4a.c): Likewise.
27292         [$(subdir) = elf && $(config-cflags-avx) = yes]
27293         (CFLAGS-tst-auditmod4b.c): Likewise.
27294         [$(subdir) = elf && $(config-cflags-avx) = yes]
27295         (CFLAGS-tst-auditmod6b.c): Likewise.
27296         [$(subdir) = elf && $(config-cflags-avx) = yes]
27297         (CFLAGS-tst-auditmod6c.c): Likewise.
27298         [$(subdir) = elf && $(config-cflags-avx) = yes]
27299         (CFLAGS-tst-auditmod7b.c): Likewise.
27300         * elf/tst-audit3.c: Move to ...
27301         * sysdeps/x86_64/tst-audit3.c: ... here.
27302         * elf/tst-audit4.c: Move to ...
27303         * sysdeps/x86_64/tst-audit4.c: ... here.
27304         * elf/tst-audit5.c: Move to ...
27305         * sysdeps/x86_64/tst-audit5.c: ... here.
27306         * elf/tst-audit6.c: Move to ...
27307         * sysdeps/x86_64/tst-audit6.c: ... here.
27308         * elf/tst-audit7.c: Move to ...
27309         * sysdeps/x86_64/tst-audit7.c: ... here.
27310         * elf/tst-auditmod3a.c: Move to ...
27311         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27312         * elf/tst-auditmod3b.c: Move to ...
27313         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27314         * elf/tst-auditmod4a.c: Move to ...
27315         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27316         * elf/tst-auditmod4b.c: Move to ...
27317         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27318         * elf/tst-auditmod5a.c: Move to ...
27319         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27320         * elf/tst-auditmod5b.c: Move to ...
27321         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27322         * elf/tst-auditmod6a.c: Move to ...
27323         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27324         * elf/tst-auditmod6b.c: Move to ...
27325         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27326         * elf/tst-auditmod6c.c: Move to ...
27327         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27328         * elf/tst-auditmod7a.c: Move to ...
27329         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27330         * elf/tst-auditmod7b.c: Move to ...
27331         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27333 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27335         [BZ #15366]
27336         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27337         define unconditionally.
27338         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27339         define unconditionally.
27340         (INT8_C, INT16_C, etc.): Likewise.
27342 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27344         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27345         __ehdr_start with hidden visibility.
27347         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27349 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27351         * math/libm-test.inc (cos_test): Use accurate hex constants.
27352         (sincost_test): Likewise.
27354 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27356         * math/libm-test.inc (catan_test): Add more tests.
27357         (catanh_test): Likewise.
27359         * math/s_catanf.c (__catanf): Use suffixed floating-point
27360         constants.
27361         * math/s_catanhf.c (__catanhf): Likewise.
27362         * math/s_catanhl.c (__catanhl): Likewise.
27363         * math/s_catanl.c (__catanl): Likewise.
27365         [BZ #15394]
27366         * math/s_catan.c (__catan): Calculate imaginary part of result
27367         with log1p not log unless computing log of number close to 0.
27368         * math/s_catanf.c (__catanf): Likewise.
27369         * math/s_catanl.c (__catanl): Likewise.
27370         * math/s_catanh.c (__catanh): Calculate real part of result with
27371         log1p not log unless computing log of number close to 0.
27372         * math/s_catanhf.c (__catanhf): Likewise.
27373         * math/s_catanhl.c (__catanhl): Likewise.
27374         * math/libm-test.inc (catan_test): Add more tests.
27375         (catanh_test): Likewise.
27376         * sysdeps/i386/fpu/libm-test-ulps: Update.
27377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27379 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27381         * benchtests/Makefile: Mention files in which fast and slow
27382         paths of math functions are implemented.
27384 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27386         * sysdeps/posix/timespec_get.c: New file.
27388 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27390         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27391         POWER.
27392         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27393         for POWER.
27394         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27395         powerpc/power5/fpu folders.
27396         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27397         * benchtests/Makefile: Add modf testcase.
27398         * benchtests/bench-modf.c: New file: Benchmark test for mo
27400 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27402         [BZ #14888]
27403         * time/Makefile (tests): Add tst-strptime-whitespace.
27404         * time/strptime_l.c (get_number): Use ISSPACE.
27405         (__strptime_internal): Likewise.
27406         * time/tst-strptime-whitespace.c: New test case.
27408 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27410         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27411         member.
27412         (_nss_files_init): Set it here.
27414 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27416         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27417         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27418         unsigned.
27420 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27422         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27424 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27426         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27427         size just once.
27429 2013-04-21  David S. Miller  <davem@davemloft.net>
27431         * po/ru.po: Update Russion translation from translation project.
27433 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27435         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27436         and setfsgid.
27438 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27440         * configure.in: Remove i386 configure warning. Remove i386 case.
27441         * configure: Regenerate.
27442         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27443         Add example to error message.
27444         * sysdeps/i386/configure: Regenerate.
27446 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27448         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27449         slowtan.
27450         * benchtests/cos-inputs: New file.
27451         * benchtests/slowcos-inputs: New file.
27452         * benchtests/slowcos.c: New file.
27453         * benchtests/slowtan-inputs: New file.
27454         * benchtests/slowtan.c: New file.
27455         * benchtests/tan-inputs: New file.
27457 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27459         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27460         considered kosher.
27462 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27464         * benchtests/Makefile: Include cppflags-iterator.mk to add
27465         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27467         * Makefile.in (bench-clean): New target.
27468         * benchtests/Makefile (bench-clean): Likewise.
27470 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27472         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27474 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27476         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27478 2013-04-15  Andreas Schwab  <schwab@suse.de>
27480         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27481         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27482         * nscd/pwdcache.c (cache_addpw): Likewise.
27483         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27484         more than recsize.
27486 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27488         * benchtests/Makefile (bench): Write all output to
27489         bench-out.tmp together.
27491 2013-04-15  Andreas Schwab  <schwab@suse.de>
27493         * nscd/nscd.c (main): Don't fork again after closing files.
27495 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27497         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27499         * benchtests/Rules (bench-deps): Collect dependencies into a
27500         single variable.  Add Makefile to dependencies.
27501         ($(objpfx)bench-%.c): Depend on bench-deps.
27503 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27504             Xavier Roche  <roche+kml2@exalead.com>
27506         [BZ #15361]
27507         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27508         just that it's a file descriptor.
27509         * manual/llio.texi (Synchronizing AIO Operations): Update description
27510         for EBADF error from aio_fsync.
27512 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27514         * Rules (bench): Move target definition...
27515         * benchtests/Makefile: ... here.
27517 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27519         * math/libm-test.inc (cos_test): Fix PI/2 test.
27520         (sincos_test): Likewise.
27521         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27522         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27524 2013-04-11  Andreas Schwab  <schwab@suse.de>
27526         [BZ #13988]
27527         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27528         accept exponent character only when digits were seen.
27529         * stdio-common/Makefile (tests): Add bug26.
27530         * stdio-common/bug26.c: New file.
27532         [BZ #14293]
27533         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27534         non-freeable.
27536 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27538         * Makeconfig (rtld-prefix): Define built linker prefix.
27539         * Rules (run-bench): Use it.
27540         * math/Makefile (run-regen-ulps): Likewise.
27542         * Rules (bench): Remove eval.
27544 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27545             Roland McGrath  <roland@hack.frob.com>
27546             Ondrej Bilka  <neleai@seznam.cz>
27548         [BZ #15346]
27549         * time/getdate.c: Include ctype.h and alloca.h.
27550         (__getdate_r): Trim leading and trailing spaces of input.
27551         * time/tst-getdate.c (tests): Add tests with leading and
27552         trailing spaces.
27554 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27556         [BZ #14280]
27557         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27558         when computing value.
27560 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27562         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27563         Use testrun.sh to run libm tests.
27565         [BZ #15309]
27566         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27568 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27570         [BZ #15264]
27571         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27573 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27575         * Makefile.in (regen-ulps): New target.
27576         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27577         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27578         [ifneq (no,$(PERL)] (regen-ulps): New target.
27579         [ifeq (no,$(PERL)] (regen-ulps): New target.
27580         * math/libm-test.inc (ulps_file_name): Define.
27581         (output_dir): New variable.
27582         (options): Add "output-dir" option.
27583         (parse_opt): Handle 'o' case.
27584         (main): If output_dir is non-NULL use it as a prefix
27585         otherwise use "".
27586         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27588 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27590         [BZ #10060, #10062]
27591         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27592         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27593         fail configure if __sync_val_compare_and_swap is not inlined.
27594         * sysdeps/i386/configure: Regenerate.
27595         * configure.in: Build for i686 when configured for i386.
27596         * configure: Regenerate.
27597         * README: Remove i386 reference.
27599 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27601         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27602         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27604 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27606         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27607         (lmsnanval): New variables.
27608         (F): Add conversion tests.
27609         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27610         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27612         * stdio-common/tstdiomisc.c (F): Properly collect individual
27613         tests' results.
27615         [BZ #14686, #15336]
27616         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27617         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27618         Instead, use input NaN values or generate a qNaN by arithmetic
27619         operation.  Also fix bugs to comply with the standard.
27620         * math/libm-test.inc (remainder_test): Add more tests.
27622         [BZ #15335, #15342]
27623         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27624         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27625         input NaN values or generate a qNaN by arithmetic operation.
27627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27628         unreachable code.
27630         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27631         definitions.
27633 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27635         [BZ #14478]
27636         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27637         underflowed result.
27638         * math/s_cexpf.c (__cexpf): Likewise.
27639         * math/s_cexpl.c (__cexpl): Likewise.
27640         * math/libm-test.inc (cexp_test): Add more tests.
27642 2013-04-03  Andreas Schwab  <schwab@suse.de>
27644         [BZ #15330]
27645         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27646         order arrays from heap if bigger than alloca cutoff.
27648 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27650         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27651         (SNAN_TESTS_double): Refer to GCC PR56831.
27652         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27653         GCC PR56828.
27655 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27657         * Rules (bench): Move bench.out after the run is complete.
27659         * Rules (bench): Echo currently running benchmark.
27661         * benchtests/Makefile (bench): Add atan and slowatan.
27662         * benchtests/atan-inputs: New file.
27663         * benchtests/slowatan-inputs: New file.
27664         * benchtests/slowatan.c: New file.
27666         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27667         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27668         its value.
27670         [BZ #15305]
27671         * sysdeps/unix/sysv/linux/kernel-features.h
27672         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27673         __ASSUME_XFS_RESTRICTED_CHOWN.
27674         * sysdeps/unix/sysv/linux/pathconf.c
27675         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27676         Save and restore errno.
27678 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27680         [BZ #15327]
27681         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27682         arguments using __kernel_casinh.
27683         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27684         arguments using __kernel_casinhf.
27685         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27686         arguments using __kernel_casinhl.
27687         * math/libm-test.inc (cacosh_test): Add more tests.
27688         * sysdeps/i386/fpu/libm-test-ulps: Update.
27689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27691 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27693         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27696         * bench/Makefile (bench): Add sin and slowsin.
27697         * benchtests/sin-inputs: New file.
27698         * benchtests/slowsin-inputs: New file.
27699         * benchtests/slowsin.c: New file.
27701         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27702         (bench): Add slowexp and slowpow.
27703         (exp-ITER): Increase iterations.
27704         (pow-ITER): Likewise.
27705         * benchtests/exp-inputs: Change input.
27706         * benchtests/pow-inputs: Likewise.
27707         * benchtests/slowexp-inputs: New file.
27708         * benchtests/slowexp.c: New file.
27709         * benchtests/slowpow-inputs: New file.
27710         * benchtests/slowpow.c: New file.
27712 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27714         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27715         instructions.
27716         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27717         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27718         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27719         * benchtests/Makefile: Add rint benchtest.
27720         * benchtests/rint-inputs: Input for rint benchtest.
27722 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27724         * Versions.def (libm): Add GLIBC_2.18.
27725         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27726         hidden libm prototypes.
27727         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27728         * math/Makefile (libm-calls): Add s_issignaling.
27729         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27730         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27731         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27732         declaration.
27733         * math/math.h [__USE_GNU] (issignaling): New macro.
27734         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27735         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27736         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27737         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27738         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27739         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27740         * manual/arith.texi (issignaling): New section.
27741         * manual/libm-err-tab.pl (@all_functions): Update comment.
27742         * math/gen-libm-test.pl (parse_args): Apply special handling for
27743         issignaling.
27744         * math/libm-test.inc (print_float, issignaling_test): New
27745         functions.
27746         (check_float_internal): Add issignaling checks.
27747         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27748         default definition.
27749         * sysdeps/powerpc/math-tests.h: New file.
27750         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27751         tests.
27752         * math/test-snan.c (TEST_FUNC): Likewise.
27754 2013-03-30  David S. Miller  <davem@davemloft.net>
27756         * po/de.po: Update from translation team.
27758 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27760         [BZ #10357]
27761         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27762         imaginary part less than 1.0 and real part less than 0.5
27763         specially.
27764         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27765         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27766         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27767         (cacos_test): Add more tests.
27768         (casin_test): Likewise.
27769         (casinh_test): Likewise.
27770         * sysdeps/i386/fpu/libm-test-ulps: Update.
27771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27773 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27775         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27776         ONE with its value.
27778         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27779         (__pow_mp): Replace ONE and MONE with their values.
27780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27782         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27783         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27784         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27785         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27787         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27789         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27790         (__pow_mp): Replace ZERO and MZERO with their values.
27791         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27792         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27793         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27795         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27796         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27797         (__sqr): Likewise.
27799         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27801         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27803 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27805         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27806         Declare with __attribute__ ((weak)).
27807         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27808         Call __call_tls_dtors only if it's not NULL.
27810 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27812         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27813         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27814         magic __ehdr_start linker symbol if it's defined.
27815         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27816         them up here if it was already done.
27818         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27819         (_dl_aux_init): Use const in cast when setting it.
27820         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27821         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27822         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27824         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27825         Declare them here.
27826         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27827         * csu/libc-tls.c: Nor here.
27828         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27830         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27831         (__libc_message): Never call vsyslog.
27833 2013-03-28  Alan Modra  <amodra@gmail.com>
27835         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27836         Define as empty.
27837         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27838         Likewise.
27840 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27842         [BZ #15214]
27843         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27844         underflow.
27845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27847 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27849         [BZ #15304]
27850         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27851         Don't add gid passed as argument.
27853         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27855 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27857         [BZ #15307]
27858         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27859         imaginary part between 1.0 and 1.5 and real part less than 0.5
27860         specially.
27861         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27862         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27863         * math/libm-test.inc (cacos_test): Add more tests.
27864         (casin_test): Likewise.
27865         (casinh_test): Likewise.
27866         * sysdeps/i386/fpu/libm-test-ulps: Update.
27867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27869 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27871         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27872         constants.
27873         (norm): Likewise.
27874         (denorm): Likewise.
27875         (__dbl_mp): Likewise.
27876         (add_magnitudes): Likewise.
27877         (sub_magnitudes): Likewise.
27878         (__add): Likewise.
27879         (__sub): Likewise.
27880         (__mul): Likewise.
27881         (__sqr): Likewise.
27882         (__inv): Likewise.
27883         (__dvd): Likewise.
27885         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27886         commented code.
27887         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27888         (__dubcos): Likewise.
27889         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27890         (__ieee754_acos): Likewise.
27891         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27892         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27893         (__exp1): Likewise.
27894         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27896         (log1): Likewise.
27897         (my_log2): Likewise.
27898         (checkint): Likewise.
27899         * sysdeps/ieee754/dbl-64/e_remainder.c
27900         (__ieee754_remainder): Likewise.
27901         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27902         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27903         (bsloww): Likewise.
27904         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27906         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27907         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27908         MANTISSA_STORE_T to store computations on mantissa.  Use
27909         macros for rounding and division.
27910         (denorm): Likewise.
27911         (__dbl_mp): Likewise.
27912         (add_magnitudes): Likewise.
27913         (sub_magnitudes): Likewise.
27914         (__mul): Likewise.
27915         (__sqr): Likewise.
27916         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27917         powers of two in terms of TWOPOW macro.
27918         (mp_no): Make type of mantissa as MANTISSA_T.
27919         [!RADIXI]: Define RADIXI.
27920         [!TWO52]: Define TWO52.
27921         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27923 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27925         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27926         llroundl symbol when building for PPC32.
27928 2013-03-24  Mark H Weaver  <mhw@netris.org>
27930         * manual/arith.texi (Normalization Functions): Fix prototypes for
27931         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27933 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27935         [BZ #13889]
27936         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27937         high value to check if expl overflow.
27938         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27939         to check for underflow and overflow.
27940         * math/libm-test.inc: Add exp test.
27942 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27944         [BZ #11120]
27945         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27946         with NOT_IN_libc.
27948 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27950         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27951         symbol.
27953 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27955         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27956         wrap blocks consisting of several statements.
27958         * sysdeps/generic/math-tests.h: New file.
27959         * sysdeps/i386/fpu/math-tests.h: Likewise.
27960         * math/test-snan.c: Include it.
27961         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27963 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27965         [BZ #15285]
27966         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27967         (__ieee754_j0l): Do not improve calculations using cos of twice
27968         input for inputs above LDBL_MAX / 2.0L.
27969         (__ieee754_y0l): Likewise.
27970         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27971         (__ieee754_j1l): Do not improve calculations using cos of twice
27972         input for inputs above LDBL_MAX / 2.0L.
27973         (__ieee754_y1l): Likewise.
27974         * math/libm-test.inc (j0_test): Add another test.
27975         (j1_test): Likewise.
27976         (y0_test): Likewise.
27977         (y1_test): Likewise.
27978         * sysdeps/i386/fpu/libm-test-ulps: Update.
27980 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27982         * Rules ($(objpfx)bench-%.c): Include code from a C source
27983         file.
27985 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27987         [BZ #15287]
27988         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27989         imaginary part 1.0 and real part less than 0.5 specially.
27990         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27991         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27992         * math/libm-test.inc (cacos_test): Add more tests.
27993         (casin_test): Likewise.
27994         (casinh_test): Likewise.
27995         * sysdeps/i386/fpu/libm-test-ulps: Update.
27996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27998 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28000         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28001         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28003 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28005         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28006         * config.make.in (config-cflags-sse4): Remove variable.
28007         (config-cflags-avx): Likewise.
28008         (config-cflags-sse2avx): Likewise.
28009         (config-cflags-novzeroupper): Likewise.
28010         (config-asflags-i686): Likewise.
28011         (have-mfma4): Likewise.
28012         (have-as-vis3): Likewise.
28013         (MIG): Likewise.
28014         * configure.in (MIG): Do not AC_SUBST.
28015         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28016         (libc_cv_cc_sse4): Do not AC_SUBST.
28017         (libc_cv_cc_avx): Likewise.
28018         (libc_cv_cc_sse2avx): Likewise.
28019         (libc_cv_cc_novzeroupper): Likewise.
28020         (libc_cv_cc_fma4): Likewise.
28021         (libc_cv_as_i686): Likewise.
28022         (libc_cv_sparc_as_vis3): Likewise.
28023         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28024         LIBC_CONFIG_VAR.
28025         (config-asflags-i686): Likewise.
28026         (config-cflags-avx): Likewise.
28027         (config-cflags-sse2avx): Likewise.
28028         (have-mfma4): Likewise.
28029         (config-cflags-novzeroupper): Likewise.
28030         * sysdeps/mach/configure.in (MIG): Likewise.
28031         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28032         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28033         LIBC_CONFIG_VAR.
28034         (config-cflags-avx): Likewise.
28035         (config-cflags-sse2avx): Likewise.
28036         (have-mfma4): Likewise.
28037         (config-cflags-novzeroupper): Likewise.
28038         * configure: Regenerated.
28039         * sysdeps/i386/configure: Likewise.
28040         * sysdeps/mach/configure: Likewise.
28041         * sysdeps/sparc/configure: Likewise.
28042         * sysdeps/x86_64/configure: Likewise.
28044 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28046         [BZ #14812]
28047         * locale/programs/localedef.c (options): Put N_ translation marker
28048         on argument names, not just descriptions.
28050 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28052         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28054 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28056         [BZ #14176]
28057         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28059 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28061         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28062         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28063         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28064         [!BEFORE_ABORT] (before_abort): New function.
28065         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28066         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28067         (writev_for_fatal): New function.
28068         (WRITEV_FOR_FATAL): New macro; call that.
28069         (backtrace_and_maps): New function.
28070         (BEFORE_ABORT): New macro; call that.
28071         (struct str_list): Type removed.
28072         (__libc_message, __libc_fatal): Functions removed.
28073         Include <sysdeps/posix/libc_fatal.c> instead.
28075 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28077         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28078         constants.
28079         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28080         double constants.
28082 2013-03-19  Andreas Schwab  <schwab@suse.de>
28084         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28085         * sysdeps/gnu/configure: Regenerate.
28087         * configure.in: Substitute libc_cv_rtlddir.
28088         * configure: Regenerate.
28089         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28090         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28091         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28092         * elf/Makefile (install-others, CFLAGS-interp.c)
28093         (ldso_install, common-ldd-rewrite): Likewise.
28094         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28095         $(inst_slibdir)/$(rtld-installed-name).
28096         * scripts/rellns-sh: Add -p option.
28097         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28098         for source.
28100 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28102         * manual/nptl.texi: Renamed to ...
28103         * manual/threads.texi: ... this.
28104         * manual/Makefile (chapters): Update.
28106 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28108         [BZ #14812]
28109         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28110         on argument names, not just descriptions.
28111         * malloc/memusagestat.c (options): Likewise.
28112         * nss/getent.c (options): Likewise.
28114 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28116         [BZ #14812]
28117         * iconv/iconv_prog.c (options): Put N_ translation marker
28118         on argument names, not just descriptions.
28119         * iconv/iconvconfig.c (options): Likewise.
28121 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28123         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28124         implementation which is faster on all x86_64 architectures.
28125         Tested on AMD, Intel Nehalem, SNB, IVB.
28126         * sysdeps/x86_64/strnlen.S: Likewise.
28128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28129         Remove all multiarch strlen and strnlen versions.
28130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28131         Remove strlen and strnlen related parts.
28133         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28134         Inline strlen part.
28135         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28137         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28138         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28139         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28140         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28141         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28142         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28144 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28146         * manual/memory.texi (Malloc Tunable Parameters):
28147         Sort parameters alphabetically. Add comments for missing entries.
28149 2013-03-17  David S. Miller  <davem@davemloft.net>
28151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28153 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28155         [BZ #15283]
28156         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28157         for arguments at most half maximum finite value.
28158         * math/libm-test.inc (j0_test): Add more tests.
28159         (j1_test): Likewise.
28160         (y0_test): Likewise.
28161         (y1_test): Likewise.
28162         * sysdeps/i386/fpu/libm-test-ulps: Update.
28163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165         [BZ #14155]
28166         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28167         1 / x and functions P and Q for arguments above 0x1p256L.
28168         (__ieee754_y0l): Likewise.
28169         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28170         (__ieee754_y1l): Likewise.
28171         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28172         (j1_test): Likewise.
28173         (y0_test): Likewise.
28174         (y1_test): Likewise.
28176 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28178         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28179         variable.
28181 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28183         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28184         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28185         zero since it's initialized to EXEC_PAGESIZE.
28187         * sysdeps/unix/sysv/linux/ldsodefs.h
28188         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28189         * sysdeps/generic/ldsodefs.h: ... here.
28191 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28193         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28195         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28196         math/test-snan.c.
28197         * math/test-snan.c: Renamed from
28198         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28199         * math/Makefile (tests): Add test-snan.
28200         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28201         test-powerpc-snan.
28203         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28204         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28205         functions.
28206         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28207         __builtin_nan family of functions.
28208         * math/libm-test.inc (initialize): Initialize qnan_value with
28209         __builtin_nan family of functions.
28210         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28211         Remove variables.
28212         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28213         Remove functions.
28214         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28215         storage class.  Initialize qNaN_var and sNaN_var with
28216         __builtin_nan and __builtin_nans families of functions,
28217         respectively.
28219         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28220         (sqrt_test): Remove duplicate test with qNaN input.
28221         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28222         (round_test, signbit_test, significand_test): Note missing +/-Inf
28223         as well as qNaN tests.
28225         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28226         qNaN_var.  Fix a few strings, too.
28227         * math/libm-test.inc (nan_value): Rename to qnan_value.
28228         * math/gen-libm-test.pl (%beautify): Adjust to that.
28229         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28230         * math/test-misc.c (main): Likewise.
28231         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28232         to __qnan_bytes, and __qnan_union, respectively.
28233         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28234         Likewise.
28235         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28236         and lqnanval, respectively.
28237         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28238         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28239         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28240         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28242         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28243         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28244         doubles.
28246         * math/test-misc.c (main): Fix copy'n'pastos.
28247         * misc/tst-efgcvt.c (special): Likewise.
28249         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28250         Remove declarations.
28252 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28254         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28255         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28256         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28257         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28259 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28261         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28262         macro to return vdso values correctly in IFUNC implementations.
28263         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28264         Optimization by using IFUNC.
28266 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28267             Richard Henderson  <rth@redhat.com>
28268             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28270         * Makefile.in (bench): New target.
28271         * NEWS: Mention the benchmark framework.
28272         * Rules (bench): Likewise.
28273         (binaries-bench): Generate binaries for functions to
28274         benchmark.
28275         * benchtests/Makefile: New makefile for benchmark tests.
28276         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28277         programs.
28278         * benchtests/exp-inputs: New input file for EXP function.
28279         * benchtests/pow-inputs: New input file for POW function.
28280         * scripts/bench.pl: New script to generate source files for
28281         benchmark programs.
28283 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28285         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28286         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28287         computations on mantissa.  Use macros for rounding and
28288         division.
28289         (denorm): Likewise.
28290         (__dbl_mp): Likewise.
28291         (add_magnitudes): Likewise.
28292         (sub_magnitudes): Likewise.
28293         (__mul): Likewise.
28294         (__sqr): Likewise.
28295         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28296         powers of two in terms of TWOPOW macro.
28297         (mp_no): Make type of mantissa as MANTISSA_T.
28298         [!RADIXI]: Define RADIXI.
28299         [!TWO52]: Define TWO52.
28300         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28302         * manual/nptl.texi (cindex): Modify threads to pthreads.
28304 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28306         * sysdeps/x86_64/preconfigure: Regenerated.
28308 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28310         [BZ #14155]
28311         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28312         0x1p28 and above.
28313         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28314         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28315         0x1p28 and above.
28316         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28317         * math/libm-test.inc (j0_test): Do not allow one spurious
28318         underflow exception.
28319         (y1_test): Likewise.
28321 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28323         * manual/Makefile (chapters): Add nptl.
28324         * manual/debug.texi (Debugging Support): Add link to Threads
28325         chapter.
28326         * manual/nptl.texi: New file.
28328         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28330 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28332         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28333         for non-NULL pointer before the memory validity test. Pointed
28334         out by Holger Brunck <holger.brunck@keymile.com>.
28336 2013-03-13  Andreas Schwab  <schwab@suse.de>
28338         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28339         instead of .os.
28341 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28343         * timezone/zic.c: Update from tzcode 2013b.
28345 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28347         * manual/install.texi (Configuring and compiling):
28348         Mention i686 and i586.
28349         * INSTALL: Regenerate.
28351 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28353         * sysdeps/init_array/elf-init.c: New file.
28354         * csu/elf-init.c
28355         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28356         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28358         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28359         __gmon_start__ as global, but as static with a .preinit_array pointer.
28360         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28361         * sysdeps/init_array/crti.S: New file, empty except for comments.
28362         * sysdeps/init_array/crtn.S: Likewise.
28364 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28366         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28367         definining bcopy.
28368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28369         Remove Prefer_SSE_for_memop.
28370         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28371         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28372         HAS_PREFER_SSE_FOR_MEMOP.
28373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28374         memset-x86-64.
28375         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28376         Remove bzero, memset ifunc support.
28377         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28378         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28379         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28380         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28382 2013-03-11  Andreas Schwab  <schwab@suse.de>
28384         [BZ #15234]
28385         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28386         by SHLIB_COMPAT.
28387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28388         (GLIBC_2.16): Remove pthread_atfork.
28390 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28392         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28393         (ptestcases.h): Likewise.
28395 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28397         * Makeconfig ($(common-objpfx)config.status): Depend on
28398         sysdeps/*/preconfigure{,.in} too.
28400 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28402         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28403         (__free_hook): Use void * instead of __malloc_ptr_t.
28404         (__malloc_hook): Likewise.
28405         (__realloc_hook): Likewise.
28406         (__memalign_hook): Likewise.
28407         (__after_morecore_hook): Likewise.
28408         * malloc/arena.c (save_malloc_hook): Likewise.
28409         (save_free_hook): Likewise.
28410         * malloc/hooks.c (malloc_hook_ini): Likewise.
28411         (realloc_hook_ini): Likewise.
28412         (memalign_hook_ini): Likewise.
28413         * malloc/malloc.c (malloc_hook_ini): Likewise.
28414         (realloc_hook_ini): Likewise.
28415         (memalign_hook_ini): Likewise.
28416         (__free_hook): Likewise.
28417         (__malloc_hook): Likewise.
28418         (__realloc_hook): Likewise.
28419         (__memalign_hook): Likewise.
28420         (__libc_malloc): Likewise.
28421         (__libc_free): Likewise.
28422         (__libc_realloc): Likewise.
28423         (__libc_memalign): Likewise.
28424         (__libc_valloc): Likewise.
28425         (__libc_pvalloc): Likewise.
28426         (__libc_calloc): Likewise.
28427         (__posix_memalign): Likewise.
28428         * malloc/morecore.c (__sbrk): Likewise.
28429         (__default_morecore): Likewise.
28431         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28433         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28434         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28435         __malloc_ptrdiff_t.
28437         * malloc/malloc.h (__malloc_size_t): Remove macro.
28438         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28439         __malloc_size_t.
28440         (old_memalign_hook): Likewise.
28441         (old_realloc_hook): Likewise.
28442         (struct hdr): Likewise.
28443         (flood): Likewise.
28444         (mallochook): Likewise.
28445         (memalignhook): Likewise.
28446         (reallochook): Likewise.
28447         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28448         (tr_old_realloc_hook): Likewise.
28449         (tr_old_memalign_hook): Likewise.
28450         (tr_mallochook): Likewise.
28451         (tr_reallochook): Likewise.
28452         (tr_memalignhook): Likewise.
28454 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28457         default_ldbl_pack and using as default implementation.
28458         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28459         implementation.
28460         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28461         redundant definition.
28462         (ldbl_insert_mantissa): Likewise.
28463         (ldbl_canonicalize): Likewise.
28464         (ldbl_nearbyint): Likewise.
28465         (ldbl_pack): Rename to ldbl_pack_ppc.
28466         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28467         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28468         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28470 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28473         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28474         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28475         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28477         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28478         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28479         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28481 2013-03-07  Andreas Jaeger  <aj@suse.de>
28483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28484         bits/mman-linux.h.
28486 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28488         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28489         Include mpa.h and declare __MPEXP.
28490         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28491         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28492         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28493         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28494         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28495         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28496         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28498         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28499         (__slowpow): Use long double EXPL and LOGL functions to
28500         compute POW.
28501         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28502         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28503         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28504         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28505         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28506         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28508         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28509         intermediate variable to calculate exponent.
28510         (__sqr): Likewise.
28511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28512         Likewise.
28513         (__sqr): Likewise.
28515         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28516         [!NO__SQR]: Define __sqr.
28517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28518         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28519         sysdeps/ieee754/dbl-64/mpa.c.
28520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28522         [BZ #12723]
28523         * posix/Makefile (tests): Add tst-pathconf.
28524         * posix/tst-pathconf.c: New test case.
28525         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28526         _PC_PIPE_BUF.
28527         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28529 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28531         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28533 2013-03-06  Andreas Jaeger  <aj@suse.de>
28535         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28536         definition via __MAP_ANONYMOUS.
28538         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28539         it's not part of Linux headers.
28541         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28542         (MAP_HUGE_MASK): Define.
28544         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28545         Define.
28546         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28547         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28548         Define.
28549         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28550         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28551         Define.
28552         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28553         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28554         Define.
28555         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28557         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28558         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28559         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28560         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28561         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28562         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28564         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28565         Handle f2fs.
28567         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28568         Handle f2fs and efivarfs.
28570         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28571         f2fs.
28573         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28574         (EFIVARFS_MAGIC): Add.
28575         (F2FS_LINK_MAX): Add.
28577 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28579         * stdio-common/vfprintf.c: Replace __builtin_expect with
28580         __glibc_unlikely.
28582 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28584         [BZ #13550]
28585         * sysdeps/generic/bp-sym.h: Remove file.
28586         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28587         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28588         <bp-sym.h> and <bp-asm.h>.
28589         (__longjmp): Don't use BP_SYM.
28590         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28591         and <bp-asm.h>.
28592         (memcpy): Don't use BP_SYM.
28593         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28594         <bp-sym.h> and <bp-asm.h>.
28595         (memcpy): Don't use BP_SYM.
28596         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28597         <bp-asm.h>.
28598         (memcpy): Don't use BP_SYM.
28599         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28600         <bp-asm.h>.
28601         (memset): Don't use BP_SYM.
28602         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28603         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28604         (__bzero): Don't use BP_SYM.
28605         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28606         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28607         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28608         <bp-sym.h> and <bp-asm.h>.
28609         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28610         pointers.
28611         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28612         <bp-sym.h> and <bp-asm.h>.
28613         (memcpy): Don't use BP_SYM.
28614         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28615         <bp-sym.h> and <bp-asm.h>.
28616         (memset): Don't use BP_SYM.
28617         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28618         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28619         (__bzero): Don't use BP_SYM.
28620         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28621         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28622         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28623         <bp-sym.h> and <bp-asm.h>.
28624         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28625         pointers.
28626         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28627         <bp-sym.h> and <bp-asm.h>.
28628         (memcpy): Don't use BP_SYM.
28629         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28630         <bp-sym.h> and <bp-asm.h>.
28631         (memset): Don't use BP_SYM.
28632         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28633         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28634         (__bzero): Don't use BP_SYM.
28635         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28636         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28637         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28638         <bp-sym.h> and <bp-asm.h>.
28639         (__memchr): Don't use BP_SYM.
28640         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28641         <bp-sym.h> and <bp-asm.h>.
28642         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28643         pointers.
28644         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28645         <bp-sym.h> and <bp-asm.h>.
28646         (memcpy): Don't use BP_SYM.
28647         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28648         <bp-sym.h> and <bp-asm.h>.
28649         (__mempcpy): Don't use BP_SYM.
28650         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28651         <bp-sym.h> and <bp-asm.h>.
28652         (__memrchr): Don't use BP_SYM.
28653         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28654         <bp-sym.h> and <bp-asm.h>.
28655         (memset): Don't use BP_SYM.
28656         (__bzero): Likewise.
28657         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28658         <bp-sym.h> and <bp-asm.h>.
28659         (__rawmemchr): Don't use BP_SYM.
28660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28661         <bp-sym.h> and <bp-asm.h>.
28662         (__STRCMP): Don't use BP_SYM.
28663         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28664         <bp-sym.h> and <bp-asm.h>.
28665         (strchr): Don't use BP_SYM.
28666         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28667         <bp-sym.h> and <bp-asm.h>.
28668         (__strchrnul): Don't use BP_SYM.
28669         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28670         <bp-sym.h> and <bp-asm.h>.
28671         (strlen): Don't use BP_SYM.
28672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28673         <bp-sym.h> and <bp-asm.h>.
28674         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28675         pointers.
28676         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28677         <bp-sym.h> and <bp-asm.h>.
28678         (__strnlen): Don't use BP_SYM.
28679         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28680         <bp-sym.h> and <bp-asm.h>.
28681         (__GI__setjmp): Don't use BP_SYM.
28682         (_setjmp): Likewise.
28683         (__sigsetjmp): Likewise.
28684         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28685         (L(start_addresses)): Don't use BP_SYM.
28686         (_start): Likewise.
28687         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28688         <bp-asm.h>.
28689         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28690         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28691         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28692         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28693         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28694         <bp-asm.h>.
28695         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28696         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28697         about bounded pointers.
28698         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28699         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28700         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28701         <bp-asm.h>.
28702         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28703         about bounded pointers.  Remove GKM FIXME comments.
28704         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28705         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28706         <bp-asm.h>.
28707         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28708         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28709         Remove GKM FIXME comments.
28710         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28711         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28712         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28713         <bp-asm.h>.
28714         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28715         about bounded pointers.  Remove GKM FIXME comment.
28716         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28717         and <bp-asm.h>.
28718         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28719         pointers.
28720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28721         <bp-sym.h> and <bp-asm.h>.
28722         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28724         <bp-sym.h> and <bp-asm.h>.
28725         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28726         comment.
28728 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28730         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28731         call free(NULL).
28733 2013-03-05  David S. Miller  <davem@davemloft.net>
28735         * po/es.po: Update from translation team.
28737 2013-03-05  Andreas Jaeger  <aj@suse.de>
28739         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28740         <bits/mman-linux.h>.
28741         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28742         is fine.
28743         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28744         <bits/mman-linux.h> to end of file.
28745         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28746         is fine.
28747         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28748         <bits/mman-linux.h> to end of file.
28749         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28750         is fine.
28751         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28752         <bits/mman-linux.h> to end of file.
28754         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28755         (MCL_CURRENT, MCL_FUTURE): Define here.
28757 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28759         [BZ #15232]
28760         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28761         attribute_hidden.
28762         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28764 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28766         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28767         fourth parameter needed for rt_sigprocmask syscall.
28768         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28769         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28770         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28771         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28772         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28773         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28775 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28777         [BZ #13550]
28778         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28779         comment about bounded pointers.
28780         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28781         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28783 2013-03-04  Andreas Jaeger  <aj@suse.de>
28785         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28786         common definitions.
28788         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28789         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28790         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28791         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28792         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28793         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28795 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28797         [BZ #15055]
28798         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28799         __ieee754_sqrl instead of __sqrl.
28801 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28803         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28804         * sysdeps/powerpc/fpu_control.h: ... here.
28805         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28806         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28807         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28808         * sysdeps/powerpc/bits/mathinline.h: ... here.
28810 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28812         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28813         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28814         to just [NEED_DL_SYSINFO_DSO].
28815         * elf/dl-support.c: Likewise.
28816         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28817         * elf/rtld.c (dl_main): Likewise.
28818         * elf/setup-vdso.h (setup_vdso): Likewise.
28819         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28820         * sysdeps/unix/sysv/linux/dl-sysdep.c
28821         (_dl_discover_osversion): Likewise.
28823 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28825         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28826         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28828 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28830         * NEWS: Mention libm performance improvements and non-x86 PI
28831         futex support.
28833         * csu/libc-start.c (__pthread_initialize_minimal): Change
28834         function arguments.
28835         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28837 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28839         [BZ #13550]
28840         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28841         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28842         <bp-sym.h> and <bp-asm.h>.
28843         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28844         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28845         and <bp-asm.h>.
28846         (memcpy): Don't use BP_SYM.
28847         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28848         <bp-asm.h>.
28849         (__mpn_add_n): Don't use BP_SYM.
28850         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28851         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28852         and <bp-asm.h>.
28853         (__mpn_addmul_1): Don't use BP_SYM.
28854         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28855         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28856         <bp-sym.h>.
28857         (_setjmp): Don't use BP_SYM.
28858         (__novmx_setjmp): Likewise.
28859         (__GI__setjmp): Likewise.
28860         (__vmx_setjmp): Likewise.
28861         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28862         <bp-sym.h>.
28863         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28864         (__bzero): Don't use BP_SYM.
28865         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28866         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28867         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28868         <bp-sym.h> and <bp-asm.h>.
28869         (memcpy): Don't use BP_SYM.
28870         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28871         <bp-sym.h> and <bp-asm.h>.
28872         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28873         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28874         <bp-sym.h> and <bp-asm.h>.
28875         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28876         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28877         <bp-asm.h>.
28878         (__mpn_lshift): Don't use BP_SYM.
28879         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28880         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28881         <bp-asm.h>.
28882         (memset): Don't use BP_SYM.
28883         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28884         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28885         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28886         <bp-asm.h>.
28887         (__mpn_mul_1): Don't use BP_SYM.
28888         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28889         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28890         <bp-sym.h> and <bp-asm.h>.
28891         (memcmp): Don't use BP_SYM.
28892         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28893         <bp-sym.h> and <bp-asm.h>.
28894         (memcpy): Don't use BP_SYM.
28895         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28896         <bp-sym.h> and <bp-asm.h>.
28897         (memset): Don't use BP_SYM.
28898         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28899         <bp-sym.h> and <bp-asm.h>.
28900         (strncmp): Don't use BP_SYM.
28901         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28902         <bp-sym.h> and <bp-asm.h>.
28903         (memcpy): Don't use BP_SYM.
28904         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28905         <bp-sym.h> and <bp-asm.h>.
28906         (memset): Don't use BP_SYM.
28907         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28908         <bp-sym.h> and <bp-asm.h>.
28909         (__memchr): Don't use BP_SYM.
28910         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28911         <bp-sym.h> and <bp-asm.h>.
28912         (memcmp): Don't use BP_SYM.
28913         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28914         <bp-sym.h> and <bp-asm.h>.
28915         (memcpy): Don't use BP_SYM.
28916         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28917         <bp-sym.h> and <bp-asm.h>.
28918         (__mempcpy): Don't use BP_SYM.
28919         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28920         <bp-sym.h> and <bp-asm.h>.
28921         (__memrchr): Don't use BP_SYM.
28922         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28923         <bp-sym.h> and <bp-asm.h>.
28924         (memset): Don't use BP_SYM.
28925         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28926         <bp-sym.h> and <bp-asm.h>.
28927         (__rawmemchr): Don't use BP_SYM.
28928         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28929         <bp-sym.h> and <bp-asm.h>.
28930         (__STRCMP): Don't use BP_SYM.
28931         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28932         <bp-sym.h> and <bp-asm.h>.
28933         (strchr): Don't use BP_SYM.
28934         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28935         <bp-sym.h> and <bp-asm.h>.
28936         (__strchrnul): Don't use BP_SYM.
28937         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28938         <bp-sym.h> and <bp-asm.h>.
28939         (strlen): Don't use BP_SYM.
28940         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28941         <bp-sym.h> and <bp-asm.h>.
28942         (strncmp): Don't use BP_SYM.
28943         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28944         <bp-sym.h> and <bp-asm.h>.
28945         (__strnlen): Don't use BP_SYM.
28946         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28947         <bp-asm.h>.
28948         (__mpn_rshift): Don't use BP_SYM.
28949         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28950         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28951         <bp-sym.h> and <bp-asm.h>.
28952         (__sigsetjmp): Don't use BP_SYM.
28953         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28954         (L(start_addresses)): Don't use BP_SYM.
28955         (_start): Likewise.
28956         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28957         <bp-asm.h>.
28958         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28959         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28960         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28961         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28962         <bp-asm.h>.
28963         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28964         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28965         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28966         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28967         <bp-asm.h>.
28968         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28969         comments.
28970         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28971         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28972         <bp-asm.h>.
28973         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28974         FIXME comments.
28975         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28976         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28977         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28978         <bp-asm.h>.
28979         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28980         comment.
28981         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28982         and <bp-asm.h>.
28983         (strncmp): Don't use BP_SYM,
28984         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28985         <bp-asm.h>.
28986         (__mpn_sub_n): Don't use BP_SYM.
28987         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28988         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28989         and <bp-asm.h>.
28990         (__mpn_submul_1): Don't use BP_SYM.
28991         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28993         <bp-sym.h> and <bp-asm.h>.
28994         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28996         <bp-sym.h> and <bp-asm.h>.
28997         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28998         comment.
29000 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29003         Use ZK to minimize writes to Z.
29004         (sub_magnitudes): Simplify code a bit.
29005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29006         Use ZK to minimize writes to Z.
29007         (sub_magnitudes): Simplify code a bit.
29009 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29011         * csu/gmon-start.c: Add special exception to license text.
29013 2013-02-27  Richard Henderson  <rth@redhat.com>
29015         * scripts/config.guess: Update from config.git.
29016         * scripts/config.sub: Likewise.
29018 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29020         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29022         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29024         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29026         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29028         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29030 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29032         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29033         [$(build-shared = yes].
29035 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29037         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29038         (__mul): Reduce iterations for calculating mantissa.
29040         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29041         MPTWO.
29042         (__mpranred): Likewise.
29044         [BZ #15160]
29045         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29046         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29048 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29050         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29051         Define __attribute__.
29053 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29055         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29056         unused.
29057         * posix/regex_internal.h (__attribute): Remove.
29058         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29059         (re_string_context_at): Likewise.
29060         (bitset_not): Use __attribute__ and mark function as possibly
29061         unused.
29062         (bitset_merge): Likewise.
29063         (bitset_mask): Likewise.
29064         (re_string_char_size_at): Likewise.
29065         (re_string_wchar_at): Likewise.
29066         (re_string_elem_size_at): Likewise.
29068 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29070         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29071         code.
29072         (cc32): Likewise.
29074         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29075         (__acr): Likewise.
29076         (__cpy): Likewise.
29077         (norm): Likewise.
29078         (denorm): Likewise.
29079         (__dbl_mp): Likewise.
29080         (add_magnitudes): Likewise.
29081         (sub_magnitudes): Likewise.
29082         (__mul): Likewise.
29083         (__inv): Likewise.
29085         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29086         style.
29088         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29089         style.
29091         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29092         code.
29094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29095         up changes with default code.
29096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29097         Likewise.
29099 2013-02-24  Allan McRae  <allan@archlinux.org>
29101         * manual/socket.texi (The Internet Namespace): Order menu items
29102         to match that in the file.
29104         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29105         node listing of the info page menu.
29107 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29109         [BZ #13550]
29110         * sysdeps/i386/bp-asm.h: Remove file.
29111         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29112         (PARMS): Do not use macros from bp-asm.h.
29113         (S1): Likewise.
29114         (S2): Likewise.
29115         (SIZE): Likewise.
29116         (__mpn_add_n): Do not use BP_SYM
29117         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29118         "bp-asm.h".
29119         (PARMS): Do not use macros from bp-asm.h.
29120         (S1): Likewise.
29121         (SIZE): Likewise.
29122         (__mpn_addmul_1): Do not use BP_SYM
29123         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29124         "bp-asm.h".
29125         (PARMS): Do not use macros from bp-asm.h.
29126         (SIGMSK): Likewise.
29127         (_setjmp): Likewise.  Do not use BP_SYM.
29128         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29129         "bp-asm.h".
29130         (PARMS): Do not use macros from bp-asm.h.
29131         (SIGMSK): Likewise.
29132         (setjmp): Likewise.  Do not use BP_SYM.
29133         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29134         "bp-asm.h".
29135         (PARMS): Do not use macros from bp-asm.h.
29136         (__frexp): Do not use BP_SYM.
29137         (frexp): Likewise.
29138         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29139         "bp-asm.h".
29140         (PARMS): Do not use macros from bp-asm.h.
29141         (__frexpf): Do not use BP_SYM.
29142         (frexpf): Likewise.
29143         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29144         "bp-asm.h".
29145         (PARMS): Do not use macros from bp-asm.h.
29146         (__frexpl): Do not use BP_SYM.
29147         (frexpl): Likewise.
29148         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29149         "bp-asm.h".
29150         (PARMS): Do not use macros from bp-asm.h.
29151         (__remquo): Do not use BP_SYM.
29152         (remquo): Likewise.
29153         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29154         "bp-asm.h".
29155         (PARMS): Do not use macros from bp-asm.h.
29156         (__remquof): Do not use BP_SYM.
29157         (remquof): Likewise.
29158         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29159         "bp-asm.h".
29160         (PARMS): Do not use macros from bp-asm.h.
29161         (__remquol): Do not use BP_SYM.
29162         (remquol): Likewise.
29163         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29164         "bp-asm.h".
29165         (PARMS): Do not use macros from bp-asm.h.
29166         (DEST): Likewise.
29167         (SRC): Likewise.
29168         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29169         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29170         "bp-asm.h".
29171         (PARMS): Do not use macros from bp-asm.h.
29172         (strlen): Do not use BP_SYM.
29173         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29174         "bp-asm.h".
29175         (PARMS): Do not use macros from bp-asm.h.
29176         (S1): Likewise.
29177         (S2): Likewise.
29178         (SIZE): Likewise.
29179         (__mpn_add_n): Do not use BP_SYM.
29180         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29181         "bp-asm.h".
29182         (PARMS): Do not use macros from bp-asm.h.
29183         (S1): Likewise.
29184         (SIZE): Likewise.
29185         (__mpn_addmul_1): Do not use BP_SYM.
29186         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29187         weak_alias.
29188         (bzero): Likewise.
29189         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29190         "bp-asm.h".
29191         (PARMS): Do not use macros from bp-asm.h.
29192         (S): Likewise.
29193         (SIZE): Likewise.
29194         (__mpn_lshift): Do not use BP_SYM.
29195         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29196         "bp-asm.h".
29197         (PARMS): Do not use macros from bp-asm.h.
29198         (DEST): Likewise.
29199         (SRC): Likewise.
29200         (LEN): Likewise.
29201         (memcpy): Likewise.  Do not use BP_SYM.
29202         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29203         libc_hidden_def and weak_alias.
29204         (mempcpy): Do not use BP_SYM in weak_alias.
29205         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29206         "bp-asm.h".
29207         (PARMS): Do not use macros from bp-asm.h.
29208         (DEST): Likewise.
29209         (LEN): Likewise.
29210         [!BZERO_P] (CHR): Likewise.
29211         (memset): Likewise.  Do not use BP_SYM.
29212         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29213         "bp-asm.h".
29214         (PARMS): Do not use macros from bp-asm.h.
29215         (S1): Likewise.
29216         (SIZE): Likewise.
29217         (__mpn_mul_1): Do not use BP_SYM.
29218         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29219         "bp-asm.h".
29220         (PARMS): Do not use macros from bp-asm.h.
29221         (S): Likewise.
29222         (SIZE): Likewise.
29223         (__mpn_rshift): Do not use BP_SYM.
29224         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29225         "bp-asm.h".
29226         (PARMS): Do not use macros from bp-asm.h.
29227         (STR): Likewise.
29228         (CHR): Likewise.
29229         (strchr): Likewise.  Do not use BP_SYM.
29230         (index): Do not use BP_SYM in weak_alias.
29231         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29232         "bp-asm.h".
29233         (PARMS): Do not use macros from bp-asm.h.
29234         (DEST): Likewise.
29235         (SRC): Likewise.
29236         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29237         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29238         "bp-asm.h".
29239         (PARMS): Do not use macros from bp-asm.h.
29240         (strlen): Do not use BP_SYM.
29241         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29242         "bp-asm.h".
29243         (PARMS): Do not use macros from bp-asm.h.
29244         (S1): Likewise.
29245         (S2): Likewise.
29246         (SIZE): Likewise.
29247         (__mpn_sub_n): Do not use BP_SYM.
29248         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29249         "bp-asm.h".
29250         (PARMS): Do not use macros from bp-asm.h.
29251         (S1): Likewise.
29252         (SIZE): Likewise.
29253         (__mpn_submul_1): Do not use BP_SYM.
29254         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29255         "bp-asm.h".
29256         (PARMS): Do not use macros from bp-asm.h.
29257         (S1): Likewise.
29258         (S2): Likewise.
29259         (SIZE): Likewise.
29260         (__mpn_add_n): Do not use BP_SYM.
29261         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29262         weak_alias.
29263         (bzero): Likewise.
29264         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29265         "bp-asm.h".
29266         (PARMS): Do not use macros from bp-asm.h.
29267         (BLK2): Likewise.
29268         (LEN): Likewise.
29269         (memcmp): Do not use BP_SYM.
29270         (bcmp): Do not use BP_SYM in weak_alias.
29271         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29272         "bp-asm.h".
29273         (PARMS): Do not use macros from bp-asm.h.
29274         (DEST): Likewise.
29275         (SRC): Likewise.
29276         (LEN): Likewise.
29277         (memcpy): Likewise.  Do not use BP_SYM.
29278         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29279         "bp-asm.h".
29280         (PARMS): Do not use macros from bp-asm.h.
29281         (DEST): Likewise.
29282         (SRC): Likewise.
29283         (LEN): Likewise.
29284         (memmove): Likewise.  Do not use BP_SYM.
29285         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29286         "bp-asm.h".
29287         (PARMS): Do not use macros from bp-asm.h.
29288         (DEST): Likewise.
29289         (SRC): Likewise.
29290         (LEN): Likewise.
29291         (__mempcpy): Likewise.  Do not use BP_SYM.
29292         (mempcpy): Do not use BP_SYM in weak_alias.
29293         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29294         "bp-asm.h".
29295         (PARMS): Do not use macros from bp-asm.h.
29296         (DEST): Likewise.
29297         (LEN): Likewise.
29298         [!BZERO_P] (CHR): Likewise.
29299         (memset): Likewise.  Do not use BP_SYM.
29300         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29301         "bp-asm.h".
29302         (PARMS): Do not use macros from bp-asm.h.
29303         (STR2): Likewise.
29304         (strcmp): Do not use BP_SYM.
29305         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29306         "bp-asm.h".
29307         (PARMS): Do not use macros from bp-asm.h.
29308         (STR): Likewise.
29309         (DELIM): Likewise.
29310         [USE_AS_STRTOK_R] (SAVE): Likewise.
29311         (FUNCTION): Likewise.  Do not use BP_SYM.
29312         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29313         aliases.
29314         (strtok_r): Likewise.
29315         (__GI___strtok_r): Likewise.
29316         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29317         (PARMS): Do not use macros from bp-asm.h.
29318         (S): Likewise.
29319         (SIZE): Likewise.
29320         (__mpn_lshift): Do not use BP_SYM.
29321         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29322         (PARMS): Do not use macros from bp-asm.h.
29323         (STR): Likewise.
29324         (CHR): Likewise.
29325         (__memchr): Do not use BP_SYM.
29326         (memchr): Do not use BP_SYM in weak_alias.
29327         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29328         (PARMS): Do not use macros from bp-asm.h.
29329         (BLK2): Likewise.
29330         (LEN): Likewise.
29331         (memcmp): Do not use BP_SYM.
29332         (bcmp): Do not use BP_SYM in weak_alias.
29333         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29334         (PARMS): Do not use macros from bp-asm.h.
29335         (S1): Likewise.
29336         (SIZE): Likewise.
29337         (__mpn_mul_1): Do not use BP_SYM.
29338         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29339         "bp-asm.h".
29340         (PARMS): Do not use macros from bp-asm.h.
29341         (STR): Likewise.
29342         (CHR): Likewise.
29343         (__rawmemchr): Do not use BP_SYM.
29344         (rawmemchr): Do not use BP_SYM in weak_alias.
29345         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29346         (PARMS): Do not use macros from bp-asm.h.
29347         (S): Likewise.
29348         (SIZE): Likewise.
29349         (__mpn_rshift): Do not use BP_SYM.
29350         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29351         (PARMS): Do not use macros from bp-asm.h.
29352         (SIGMSK): Likewise.
29353         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29354         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29355         (_start): Do not use BP_SYM.
29356         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29357         (PARMS): Do not use macros from bp-asm.h.
29358         (DEST): Likewise.
29359         (SRC): Likewise.
29360         (__stpcpy): Likewise.  Do not use BP_SYM.
29361         (stpcpy): Do not use BP_SYM in weak_alias.
29362         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29363         "bp-asm.h".
29364         (PARMS): Do not use macros from bp-asm.h.
29365         (DEST): Likewise.
29366         (SRC): Likewise.
29367         (LEN): Likewise.
29368         (__stpncpy): Likewise.  Do not use BP_SYM.
29369         (stpncpy): Do not use BP_SYM in weak_alias.
29370         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29371         (PARMS): Do not use macros from bp-asm.h.
29372         (STR): Likewise.
29373         (CHR): Likewise.
29374         (strchr): Likewise.  Do not use BP_SYM.
29375         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29376         "bp-asm.h".
29377         (PARMS): Do not use macros from bp-asm.h.
29378         (STR): Likewise.
29379         (CHR): Likewise.
29380         (__strchrnul): Likewise.  Do not use BP_SYM.
29381         (strchrnul): Do not use BP_SYM in weak_alias.
29382         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29383         "bp-asm.h".
29384         (PARMS): Do not use macros from bp-asm.h.
29385         (STOP): Likewise.
29386         (strcspn): Do not use BP_SYM.
29387         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29388         "bp-asm.h".
29389         (PARMS): Do not use macros from bp-asm.h.
29390         (STR): Likewise.
29391         (STOP): Likewise.
29392         (strpbrk): Likewise.  Do not use BP_SYM.
29393         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29394         "bp-asm.h".
29395         (PARMS): Do not use macros from bp-asm.h.
29396         (STR): Likewise.
29397         (CHR): Likewise.
29398         (strrchr): Likewise.  Do not use BP_SYM.
29399         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29400         (PARMS): Do not use macros from bp-asm.h.
29401         (SKIP): Likewise.
29402         (strspn): Do not use BP_SYM.
29403         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29404         (PARMS): Do not use macros from bp-asm.h.
29405         (STR): Likewise.
29406         (DELIM): Likewise.
29407         (SAVE): Likewise.
29408         (FUNCTION): Likewise.  Do not use BP_SYM.
29409         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29410         aliases.
29411         (strtok_r): Likewise.
29412         (__GI___strtok_r): Likewise.
29413         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29414         (PARMS): Do not use macros from bp-asm.h.
29415         (S1): Likewise.
29416         (S2): Likewise.
29417         (SIZE): Likewise.
29418         (__mpn_sub_n): Do not use BP_SYM.
29419         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29420         "bp-asm.h".
29421         (PARMS): Do not use macros from bp-asm.h.
29422         (S1): Likewise.
29423         (SIZE): Likewise.
29424         (__mpn_submul_1): Do not use BP_SYM.
29425         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29426         <bp-sym.h>.
29427         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29428         and <bp-asm.h>.
29429         (PARMS): Do not use macros from bp-asm.h.
29430         (FLAGS): Likewise.
29431         (PTID): Likewise.
29432         (TLS): Likewise.
29433         (CTID): Likewise.
29434         (__clone): Do not use BP_SYM.
29435         (clone): Do not use BP_SYM in weak_alias.
29436         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29437         and <bp-asm.h>.
29438         (PARMS): Do not use macros from bp-asm.h.
29439         (LEN): Likewise.
29440         (__mmap64): Do not use BP_SYM.
29441         (mmap64): Do not use BP_SYM in weak_alias.
29442         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29443         <bp-sym.h> and <bp-asm.h>.
29444         (PARMS): Do not use macros from bp-asm.h.
29445         (__posix_fadvise64_l64): Do not use BP_SYM.
29446         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29447         (PARMS): Do not use macros from bp-asm.h.
29448         (NSOPS): Likewise.
29449         (semtimedop): Do not use BP_SYM.
29450         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29451         and <bp-asm.h>.
29453 2013-02-21  Allan McRae  <allan@archlinux.org>
29455         * manual/message.texi (Charset conversion in gettext):
29456         Move @end statement to beginning of line.
29458 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29461         static.
29462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29463         Likewise.
29465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29466         (denorm): Likewise.
29467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29470 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29472         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29473         tail-call to the resolved function if pltexit isn't needed.
29475 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29478         or Y being zero as being unlikely.
29479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29480         Likewise.
29482 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29484         * manual/nss.texi (System Databases and Name Service Switch):
29485         Remove frobnicate @pxref.
29487 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29489         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29490         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29492 2013-02-20  Petr Machata  <pmachata@redhat.com>
29494         * elf/elf.h (R_ARM_TARGET1): New macro.
29495         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29496         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29497         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29498         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29499         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29500         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29501         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29502         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29503         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29504         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29505         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29506         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29507         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29508         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29509         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29510         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29511         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29512         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29513         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29514         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29515         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29516         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29517         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29518         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29519         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29520         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29521         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29522         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29523         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29524         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29525         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29526         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29527         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29528         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29529         (R_ARM_THM_GOT_BREL12): Likewise.
29530         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29531         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29532         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29533         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29534         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29535         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29536         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29537         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29538         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29540 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29542         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29543         __attribute_used__ to __attribute__ ((unused)).
29545 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29547         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29548         powerpc mpa.c.
29549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29550         comment formatting.
29551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29553 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29555         [BZ #13550]
29556         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29557         Remove macro.
29558         (ENTER): Remove both macro definitions.
29559         (LEAVE): Likewise.
29560         (CHECK_BOUNDS_LOW): Likewise.
29561         (CHECK_BOUNDS_HIGH): Likewise.
29562         (CHECK_BOUNDS_BOTH): Likewise.
29563         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29564         (RETURN_BOUNDED_POINTER): Likewise.
29565         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29566         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29567         (POP_ERRNO_LOCATION_RETURN): Likewise.
29568         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29569         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29570         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29571         macros.
29572         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29573         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29574         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29575         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29576         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29577         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29578         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29579         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29580         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29581         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29582         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29583         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29584         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29585         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29586         removed macros.
29587         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29588         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29589         macros.
29590         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29591         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29592         * sysdeps/i386/i586/memset.S (memset): Likewise.
29593         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29594         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29595         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29596         macros.
29597         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29598         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29599         Change uses of L(2) to L(out).
29600         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29601         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29602         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29603         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29604         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29605         removed macros.
29606         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29607         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29608         macros.
29609         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29610         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29611         (RETURN): Do not use macro LEAVE.
29612         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29613         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29614         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29615         * sysdeps/i386/i686/memset.S (memset): Likewise.
29616         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29617         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29618         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29619         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29620         Likewise.
29621         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29622         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29623         L(1_2) and L(1_3) into L(1).
29624         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29625         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29626         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29627         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29628         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29629         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29630         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29631         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29632         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29633         macros.
29634         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29635         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29636         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29637         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29638         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29639         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29640         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29641         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29642         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29643         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29644         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29645         * sysdeps/i386/strspn.S (strspn): Likewise.
29646         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29647         conditional code.
29648         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29649         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29650         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29651         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29652         L(1_3) into L(1_1).
29653         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29654         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29655         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29656         macros.
29657         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29659 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29661         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29662         macro.
29664 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29666         * math/atest-exp.c (exp_mpn): Remove ROUND.
29667         * math/atest-exp2.c (exp_mpn): Likewise.
29668         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29670         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29671         * stdlib/tst-tls-atexit-lib.c: Likewise.
29672         * stdlib/tst-tls-atexit.c: Likewise.
29674 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29676         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29677         and __attribute_alloc_size__.
29679 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29681         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29682         __attribute_alloc_size__.
29683         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29684         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29686 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29688         * include/programs/xmalloc.h: New file.
29689         * catgets/gencat.c: Include it.
29690         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29691         * elf/pldd.c: Likewise.
29692         * iconv/iconv_charmap.c: Likewise.
29693         * iconv/iconvconfig.c: Likewise.
29694         * iconv/strtab.c: Likewise.
29695         * locale/programs/locale.c: Likewise.
29696         * locale/programs/localedef.h: Likewise.
29697         * locale/programs/simple-hash.c: Likewise.
29698         * nscd/nscd.h: Likewise.
29699         * nss/makedb.c: Likewise.
29700         * sysdeps/generic/ldconfig.h: Likewise.
29702 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29704         * Versions.def: Add GLIBC_2.18.
29705         * include/link.h (struct link_map): New member l_tls_dtor_count.
29706         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29707         (__call_tls_dtors): Likewise.
29708         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29709         __cxa_thread_atexit_impl.
29710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29711         Likewise.
29712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29713         Likewise.
29714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29715         Likewise.
29716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29717         Likewise.
29718         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29720         Likewise.
29721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29722         Likewise.
29723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29725         Likewise.
29726         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29727         (tests): Add test case tst-tls-atexit.
29728         (modules-names): Add shared library for tst-tls-atexit.
29729         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29730         (GLIBC_PRIVATE): Add __call_tls_dtors.
29731         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29732         for libstdc++.
29733         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29734         * stdlib/tst-tls-atexit.c: New test case.
29735         * stdlib/tst-tls-atexit-lib.c: New test case.
29737         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29739         * elf/Versions (ld): Add _dl_find_dso_for_object.
29740         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29741         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29742         (dl_open_worker): Use _dl_find_dso_for_object.
29743         * elf/dl-sym.c (do_sym): Likewise.
29744         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29746 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29748         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29749         Syntactic changes only.
29750         (_dl_runtime_profile): Do a tail-call to the resolved function.
29752 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29754         [BZ #13550]
29755         * sysdeps/x86_64/bp-asm.h: Remove file.
29756         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29757         <bp-sym.h> and <bp-asm.h>.
29758         (__clone): Do not use BP_SYM.
29759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29760         <bp-sym.h> and <bp-asm.h>.
29761         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29762         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29763         "bp-asm.h".
29764         (_setjmp): Do not use BP_SYM.
29765         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29766         "bp-asm.h".
29767         (setjmp): Do not use BP_SYM.
29768         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29769         libc_hidden_def.
29770         (mempcpy): Do not use BP_SYM in weak_alias.
29771         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29772         "bp-asm.h".
29773         (strchr): Do not use BP_SYM.
29774         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29775         "bp-asm.h".
29776         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29777         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29778         (_start): Do not use BP_SYM.
29779         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29780         "bp-asm.h".
29781         (strcat): Do not use BP_SYM.
29782         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29783         "bp-asm.h".
29784         (STRCMP): Do not use BP_SYM.
29785         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29786         "bp-asm.h".
29787         (STRCPY): Do not use BP_SYM.
29788         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29789         "bp-asm.h".
29790         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29791         "bp-asm.h".
29792         (FUNCTION): Do not use BP_SYM.
29793         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29794         weak_alias.
29795         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29797 2013-02-17  Andreas Jaeger  <aj@suse.de>
29799         * time/Versions: Sort entries.
29800         * string/Versions: Likewise.
29801         * resolv/Versions: Likewise.
29802         * posix/Versions: Likewise.
29803         * iconv/Versions: Likewise.
29804         * elf/Versions: Likewise.
29805         * wcsmbs/Versions: Likewise.
29807 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29809         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29810         loop termination condition.
29812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29813         variable to calculate EZ.
29814         (__sqr): Likewise.
29816         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29817         the lower precision input.
29819 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29821         [BZ #13550]
29822         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29823         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29824         (run-via-rtld-prefix): Do not handle %-bp tests.
29825         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29826         (all-object-suffixes): Remove .ob.
29827         (bppfx): Remove variable.
29828         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29829         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29830         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29831         [$(build-bounded) = yes] (libtype.ob): Likewise.
29832         * Makerules (elide-routines.ob): Remove variable.
29833         (do-tests-clean): Do not handle *-bp.out.
29834         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29835         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29836         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29837         (tests): Do not include $(tests-bp.out).
29838         (xtests): Do not include $(xtests-bp.out).
29839         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29840         [$(build-bounded) = yes] ($(addprefix
29841         $(objpfx),$(binaries-bounded))): Remove rule.
29842         ($(objpfx)%-bp.out): Remove rule.
29843         * config.make.in (build-bounded): Remove variable.
29844         * crypt/Makefile [$(build-bounded) = yes]
29845         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29846         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29847         append to variable.
29848         [$(build-bounded) = yes] (install-lib): Likewise.
29849         [$(build-bounded) = yes] (generated): Likewise.
29850         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29851         Remove rule.
29852         * intl/Makefile [$(build-bounded) = yes]
29853         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29854         * math/Makefile [$(build-bounded) = yes]
29855         ($(tests:%=$(objpfx)%-bp): Likewise.
29856         * misc/Makefile [$(build-bounded) = yes]
29857         ($(objpfx)tst-tsearch-bp): Likewise.
29858         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29859         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29860         Remove dependency.
29861         * string/Makefile (o-objects.ob): Remove variable.
29862         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29863         (CFLAGS-.ob): Remove variable.
29864         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29865         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29866         both definitions of variable.
29867         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29868         (ASFLAGS-.ob): Remove variable.
29870 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29872         [BZ #13550]
29873         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29874         Remove __BOUNDED_POINTERS__ from condition.
29875         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29876         * string/bits/string2.h [!__NO_STRING_INLINES &&
29877         !__BOUNDED_POINTERS__]: Likewise.
29878         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29879         Likewise.
29880         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29881         Remove conditional code.
29882         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29883         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29884         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29885         condition.
29887         [BZ #13550]
29888         * csu/libc-start.c: Do not include <bp-sym.h>.
29889         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29890         * elf/dl-open.c: Do not include <bp-sym.h>.
29891         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29892         * math/fegetenv.c: Do not include <bp-sym.h>.
29893         (fegetenv): Do not use BP_SYM in versioned symbols.
29894         * nptl/sysdeps/pthread/bits/libc-lockP.h
29895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29896         <bp-sym.h>.
29897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29898         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29900         (__pthread_mutex_destroy): Likewise.
29901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29902         (__pthread_mutex_lock): Likewise.
29903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29904         (__pthread_mutex_trylock): Likewise.
29905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29906         (__pthread_mutex_unlock): Likewise.
29907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29908         (__pthread_mutexattr_init): Likewise.
29909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29910         (__pthread_mutexattr_destroy): Likewise.
29911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29912         (__pthread_mutexattr_settype): Likewise.
29913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29914         (__pthread_rwlock_init): Likewise.
29915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29916         (__pthread_rwlock_destroy): Likewise.
29917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29918         (__pthread_rwlock_rdlock): Likewise.
29919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29920         (__pthread_rwlock_tryrdlock): Likewise.
29921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29922         (__pthread_rwlock_wrlock): Likewise.
29923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29924         (__pthread_rwlock_trywrlock): Likewise.
29925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29926         (__pthread_rwlock_unlock): Likewise.
29927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29928         (__pthread_key_create): Likewise.
29929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29930         (__pthread_setspecific): Likewise.
29931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29932         (__pthread_getspecific): Likewise.
29933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29934         Likewise.
29935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29936         (_pthread_cleanup_push_defer): Likewise.
29937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29938         (_pthread_cleanup_pop_restore): Likewise.
29939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29940         (pthread_setcancelstate): Likewise.
29941         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29942         <bp-sym.h>.
29943         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29944         (memchr): Do not use BP_SYM in weak_alias.
29945         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29946         (fegetenv): Do not use BP_SYM in versioned symbols.
29947         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29948         (fesetenv): Do not use BP_SYM in versioned symbols.
29949         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29950         (feupdateenv): Do not use BP_SYM in versioned symbols.
29951         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29952         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29953         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29954         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29955         (open64): Do not use BP_SYM in weak_alias.
29956         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29957         (fegetenv): Do not use BP_SYM in versioned symbols.
29958         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29959         (fesetenv): Do not use BP_SYM in versioned symbols.
29960         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29961         (feupdateenv): Do not use BP_SYM in versioned symbols.
29962         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29963         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29964         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29965         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29966         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29967         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29968         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29969         <bp-sym.h>.
29970         (__libc_start_main): Do not use BP_SYM.
29972 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29975         redundant return line.
29976         (norm): Likewise.
29977         (denorm): Likewise.
29978         (dbl_mp): Likewise.
29979         (sub_magnitudes): Likewise.
29980         (__add): Likewise.
29981         (__sub): Likewise.
29982         (__mul): Likewise.
29983         (__inv): Likewise.
29984         (__dvd): Likewise.
29985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29986         (norm): Likewise.
29987         (denorm): Likewise.
29988         (dbl_mp): Likewise.
29989         (sub_magnitudes): Likewise.
29990         (__add): Likewise.
29991         (__sub): Likewise.
29992         (__mul): Likewise.
29993         (__inv): Likewise.
29994         (__dvd): Likewise.
29996         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29997         instead of __mul.
29998         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29999         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30000         (cc32): Likewise.
30002         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30003         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30005         of __mul for squares.
30006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30007         function
30008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30009         Likewise.
30010         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30011         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30013 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30015         [BZ #13550]
30016         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30017         code.
30018         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30019         prototype or function definition.  Rename ubp_* variables and
30020         parameters.  Remove argv definitions conditional on
30021         [__BOUNDED_POINTERS__].
30022         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30023         * elf/dl-runtime.c (_dl_fixup): Likewise.
30024         * include/set-hooks.h (RUN_HOOK): Likewise.
30025         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30026         definition.
30027         * string/strcpy.c (strcpy): Do not use __unbounded.
30028         * sysdeps/generic/frame.h (struct layout): Likewise.
30029         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30030         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30031         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30032         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30033         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30034         (__backtrace): Likewise.
30035         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30036         use __ptrvalue.
30037         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30038         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30039         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30040         Likewise.
30041         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30042         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30043         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30044         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30045         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30046         Do not use __unbounded.
30047         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30048         Rename __unboundedrlimits parameter to rlimits in prototype.
30049         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30050         Do not use __unbounded.
30051         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30052         not use __ptrvalue.
30053         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30054         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30055         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30056         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30057         __ptrvalue or __unbounded.
30058         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30059         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30060         use __unbounded.
30061         (__new_msgctl): Do not use __ptrvalue.
30062         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30063         __unbounded.
30064         (__libc_msgrcv): Do not use __ptrvalue.
30065         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30066         startup_info): Do not use __unbounded.
30067         (__libc_start_main): Likewise.  Rename ubp_* variables and
30068         parameters.  Remove argv definitions conditional on
30069         [__BOUNDED_POINTERS__].
30070         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30071         __ptrvalue.
30072         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30073         use __unbounded.
30074         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30075         or __ptrvalue.
30076         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30077         use __unbounded.
30078         (__new_shmctl): Do not use __ptrvalue.
30079         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30080         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30081         Likewise.
30082         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30083         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30084         (__libc_sigaction): Likewise.
30085         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30086         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30087         Likewise.
30088         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30090 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30092         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30094         * string/mempcpy.c: Implement by calling memcpy.
30096 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30100         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30101         evaluation.
30103         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30104         values in the mantissa.
30106         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30107         minimize writes to Z.
30108         (sub_magnitudes): Simplify code a bit.
30110 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30112         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30113         from the message.  The linker prefixes all warnings with that already.
30115 2013-02-12  Andreas Schwab  <schwab@suse.de>
30117         [BZ #15078]
30118         * posix/regexec.c (extend_buffers): Add parameter min_len.
30119         (check_matching): Pass minimum needed length.
30120         (clean_state_log_if_needed): Likewise.
30121         (get_subexp): Likewise.
30122         * posix/Makefile (tests): Add bug-regex34.
30123         (bug-regex34-ENV): Define.
30124         * posix/bug-regex34.c: New file.
30126         [BZ #11561]
30127         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30128         elements compare against the byte sequence of it, not its name.
30129         * posix/Makefile (tests): Add bug-regex35.
30130         (bug-regex35-ENV): Define.
30131         * posix/bug-regex35.c: New file.
30133 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30135         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30136         comment.
30137         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30138         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30139         (CHECK_EOL): Add undef.
30141 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30143         * bits/stdlib-bsearch.h: New file.
30144         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30145         * stdlib/stdlib.h: Likewise.
30147 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30149         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30150         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30151         declaration.
30152         * manual/search.texi (Array Search Function): Add missing const in
30153         lfind prototype.
30154         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30155         declaration to use rlim_t.
30156         (Basic Scheduling Functions): Remove erroneous const from
30157         sched_getparam prototype.  Remove erroneous * from
30158         sched_get_priority_max and sched_get_priority_min prototypes.
30159         (Resource Usage): Fix summary @comment on vtimes to refer to
30160         sys/vtimes.h rather than vtimes.h.
30161         Add missing *s in vtimes prototype.
30162         (Limits on Resources): Fix ulimit prototype to return long int.
30163         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30164         prototypes to use long int rather than double.
30165         (BSD Random): Fix initstate and setstate to use char *, not void *.
30166         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30167         prototype to make second argument 'struct aiocb64 *const[]'.
30168         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30169         (Status of AIO Operations): Remove erroneous const in aio_return and
30170         aio_return64 prototypes.
30171         (Synchronizing I/O): Fix sync prototype to return void.
30172         * manual/startup.texi (Suboptions): Remove an erroneous const in
30173         getsubopt prototype.
30174         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30175         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30176         use size_t rather than int.
30177         (Scanning All Users): Likewise for getpwent_r.
30178         (Setting Groups): Add missing const to setgroups prototype.
30179         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30180         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30181         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30182         'const void *' rather than 'const char *'.
30183         (Host Address Functions): Likewise for inet_ntop.
30184         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30185         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30186         ssize_t for return value.
30187         (Sending Data): Likewise for send, sendto, sendmsg.
30188         (Socket Option Functions): Add a missing const in setsockopt prototype.
30189         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30190         use wchar_t for the argument.
30191         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30192         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30193         take no arguments.
30194         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30195         double/float/long double for second argument.
30196         Fix return types of significand, significandf, significandl.
30197         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30198         argument in fchmod prototype.
30199         (File Owner): Use uid_t and gid_t in fchown prototype.
30200         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30201         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30202         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30203         use 'const struct dirent **' as argument types to CMP function pointer
30204         argument.
30205         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30206         (File Times): Fix summary magic @comment for struct utimbuf and utime
30207         to refer to utime.h, not time.h.
30208         * manual/string.texi (Argz Functions): Add missing const in
30209         argz_extract and argz_next prototypes.
30210         (Finding Tokens in a String): Likewise for basename.
30211         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30212         (Copying and Concatenation): Fix typo in wmemmove prototype.
30213         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30214         (Signal Stack): Remove erroneous const in sigstack prototype.
30215         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30216         prototype.
30217         (Simple Calendar Time): Likewise for stime.
30218         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30219         prototype.
30220         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30221         say sys/sysctl.h instead.
30222         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30223         and vsyslog prototypes.
30225 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30227         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30228         Remove.
30230 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30232         * misc/sys/mman.h: Fix typo in mremap comment.
30234 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30236         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30237         the '\0' terminator.
30239 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30241         [BZ #13550]
30242         * debug/segfault.c: Don't include <bp-checks.h>.
30243         * sysdeps/generic/bp-checks.h: Remove file.
30244         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30245         (__GETDENTS): Don't use CHECK_N.
30246         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30247         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30248         (__getgroups): Don't use CHECK_N.
30249         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30250         (setgroups): Don't use CHECK_N.
30251         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30252         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30253         (__libc_msgrcv): Don't use CHECK_N.
30254         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30255         (__libc_msgsnd): Don't use CHECK_N.
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30257         <bp-checks.h>.
30258         (__libc_pread): Don't use CHECK_N.
30259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30260         include <bp-checks.h>.
30261         (__libc_pread64): Don't use CHECK_N.
30262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30263         include <bp-checks.h>.
30264         (__libc_pwrite): Don't use CHECK_N.
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30266         include <bp-checks.h>.
30267         (__libc_pwrite64): Don't use CHECK_N.
30268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30269         <bp-checks.h>.
30270         (__libc_pread): Don't use CHECK_N.
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30272         include <bp-checks.h>.
30273         (__libc_pread64): Don't use CHECK_N.
30274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30275         include <bp-checks.h>.
30276         (__libc_pwrite): Don't use CHECK_N.
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30278         include <bp-checks.h>.
30279         (__libc_pwrite64): Don't use CHECK_N.
30280         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30281         (do_pread): Don't use CHECK_N.
30282         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30283         (do_pread64): Don't use CHECK_N.
30284         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30285         (do_pwrite): Don't use CHECK_N.
30286         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30287         (do_pwrite64): Don't use CHECK_N.
30288         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30289         (__libc_readv): Don't use CHECK_N.
30290         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30291         (semop): Don't use CHECK_N.
30292         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30293         <bp-checks.h>.
30294         (semtimedop): Don't use CHECK_N.
30295         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30296         (__libc_pread): Don't use CHECK_N.
30297         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30298         <bp-checks.h>.
30299         (__libc_pread64): Don't use CHECK_N.
30300         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30301         <bp-checks.h>.
30302         (__libc_pwrite): Don't use CHECK_N.
30303         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30304         <bp-checks.h>.
30305         (__libc_pwrite64): Don't use CHECK_N.
30306         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30307         <bp-checks.h>.
30308         (__libc_msgrcv): Don't use CHECK_N.
30309         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30310         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30311         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30312         (__libc_writev): Don't use CHECK_N.
30314 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30316         * string/strcpy.c: Removed unused variable.
30318         * Makeconfig (+sysdep-includes): Define with := rather than =.
30319         Use an existing include/ subdir of each sysdeps dir before it.
30321 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30323         * nscd/connection.c (register_traced_file): Comment function.
30324         [HAVE_INOTIFY] (union __inev): Define.
30325         [HAVE_INOTIFY] (inotify_check_files): New function.
30326         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30327         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30328         clear_db_cache.
30329         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30331 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30333         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30334         loaded if not already and that a failure is permanent.
30336 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30338         [BZ #15006]
30339         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30340         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30342 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30344         [BZ #13550]
30345         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30346         (CHECK_1_NULL_OK): Likewise.
30347         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30348         (__fxstat): Do not use CHECK_1.
30349         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30350         <bp-checks.h>.
30351         (___fxstat64): Do not use CHECK_1.
30352         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30353         <bp-checks.h>.
30354         (__fxstatat): Do not use CHECK_1.
30355         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30356         <bp-checks.h>.
30357         (__fxstatat64): Do not use CHECK_1.
30358         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30359         <bp-checks.h>.
30360         (__fxstat): Do not use CHECK_1.
30361         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30362         <bp-checks.h>.
30363         (__fxstatat): Do not use CHECK_1.
30364         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30365         <bp-checks.h>.
30366         (__getresgid): Do not use CHECK_1.
30367         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30368         <bp-checks.h>.
30369         (__getresuid): Do not use CHECK_1.
30370         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30371         <bp-checks.h>.
30372         (__lxstat): Do not use CHECK_1.
30373         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30374         <bp-checks.h>.
30375         (__old_msgctl): Do not use CHECK_1.
30376         (__new_msgctl): Likewise.
30377         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30378         <bp-checks.h>.
30379         (__new_setrlimit): Do not use CHECK_1.
30380         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30381         <bp-checks.h>.
30382         (__old_shmctl): Do not use CHECK_1.
30383         (__new_shmctl): Likewise.
30384         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30385         <bp-checks.h>.
30386         (__xstat): Do not use CHECK_1.
30387         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30388         (__lxstat): Do not use CHECK_1.
30389         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30390         <bp-checks.h>.
30391         (___lxstat64): Do not use CHECK_1.
30392         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30393         (__old_msgctl): Do not use CHECK_1.
30394         (__new_msgctl): Likewise.
30395         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30396         <bp-checks.h>.
30397         (__gettimeofday): Do not use CHECK_1.
30398         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30399         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30400         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30401         <bp-checks.h>.
30402         (__gettimeofday): Do not use CHECK_1.
30403         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30404         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30405         (__new_shmctl): Do not use CHECK_1.
30406         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30407         <bp-checks.h>.
30408         (do_sigtimedwait): Do not use CHECK_1.
30409         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30410         <bp-checks.h>.
30411         (do_sigwaitinfo): Do not use CHECK_1.
30412         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30413         <bp-checks.h>.
30414         (msgctl): Do not use CHECK_1.
30415         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30416         <bp-checks.h>.
30417         (shmctl): Do not use CHECK_1.
30418         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30419         (ustat): Do not use CHECK_1.
30420         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30421         <bp-checks.h>.
30422         (__fxstat): Do not use CHECK_1.
30423         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30424         <bp-checks.h>.
30425         (__fxstatat): Do not use CHECK_1.
30426         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30427         <bp-checks.h>.
30428         (__lxstat): Do not use CHECK_1.
30429         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30430         <bp-checks.h>.
30431         (__xstat): Do not use CHECK_1.
30432         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30433         (__xstat): Do not use CHECK_1.
30434         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30435         (___xstat64): Do not use CHECK_1.
30437         [BZ #13550]
30438         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30439         definitions.
30440         (CHECK_BOUNDS_HIGH): Likewise.
30441         * string/strcpy.c: Do not include <bp-checks.h>.
30442         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30444 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30446         * nscd/nscd-client.h (__nscd_drop_map_ref):
30447         Add __attribute__ ((unused)).
30448         * nis/nss-nisplus.h (niserr2nss): Likewise.
30450         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30451         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30453         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30454         Remove inline keyword.
30455         * include/rounding-mode.h (round_away): Likewise.
30456         * libio/wfileops.c (adjust_wide_data): Likewise.
30457         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30458         (__m128i_strloadu_tolower): Likewise.
30459         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30460         (__m128i_strloadu_tolower): Likewise.
30461         * time/mktime.c (ydhms_diff): Likewise.
30462         * locale/elem-hash.h (elem_hash): Likewise.
30463         * locale/setlocale.c (setdata): Likewise.
30464         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30465         (re_string_wchar_at): Likewise.
30466         (bitset_not, bitset_merge, bitset_mask): Likewise.
30467         [!(__GNUC__ > 3)] (inline): Remove macro.
30468         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30469         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30470         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30471         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30472         * string/memcmp.c (memcmp_bytes): Likewise.
30473         * locale/programs/locarchive.c (compute_hashval): Likewise.
30474         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30475         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30476         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30477         * nss/getent.c (print_rpc, print_protocols): Likewise.
30478         (print_passwd, print_group, print_aliases): Likewise.
30479         * nis/nss-nisplus.h (niserr2nss): Likewise.
30480         * nscd/connections.c (restart_p): Likewise.
30481         Change return type to bool.
30483 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30485         * Makeconfig (all-Depend-files): Add existing
30486         $(sorted-subdirs:=/Depend) files.
30487         (all-subdirs): Remove nss.
30488         * sysdeps/unix/inet/Subdirs: Add it here instead.
30489         * hesiod/Depend: New file.
30491         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30492         instead of calling alloca.
30494         * io/lseek.c (__lseek): Rename to __libc_lseek.
30495         Define __lseek as an alias.
30497         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30499 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30501         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30502         else clause and remove check for non-standard endianness.
30504 2013-02-04  David S. Miller  <davem@davemloft.net>
30506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30508 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30510         [BZ #13550]
30511         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30512         (__ubp_memchr): Remove prototype.
30513         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30514         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30515         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30516         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30517         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30518         Remove alias.
30519         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30520         (__ubp_memchr): Likewise.
30521         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30522         (__ubp_memchr): Likewise.
30523         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30524         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30525         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30526         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30527         CHECK_STRING.
30528         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30529         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30530         (__getcwd): Do not use CHECK_STRING.
30531         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30532         <bp-checks.h>.
30533         (__real_chown): Do not use CHECK_STRING.
30534         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30535         <bp-checks.h>.
30536         (fchownat): Do not use CHECK_STRING.
30537         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30538         CHECK_STRING.
30539         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30540         <bp-checks.h>.
30541         (__lchown): Do not use CHECK_STRING.
30542         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30543         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30544         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30545         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30547         include <bp-checks.h>.
30548         (truncate64): Do not use CHECK_STRING.
30549         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30550         <bp-checks.h>.
30551         (__real_chown): Do not use CHECK_STRING.
30552         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30553         <bp-checks.h>.
30554         (__lchown): Do not use CHECK_STRING.
30555         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30556         <bp-checks.h>.
30557         (__chown): Do not use CHECK_STRING.
30558         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30559         <bp-checks.h>.
30560         (truncate64): Do not use CHECK_STRING.
30561         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30562         Likewise.
30563         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30564         (__xmknod): Do not use CHECK_STRING.
30565         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30566         <bp-checks.h>.
30567         (__xmknodat): Do not use CHECK_STRING.
30568         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30569         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30571 2013-02-04  Andreas Schwab  <schwab@suse.de>
30573         [BZ #14142]
30574         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30575         * include/netdb.h: Likewise for h_errno.
30576         * elf/tst-stackguard1.c: Include <tls.h>.
30578 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30580         * elf/link.h (struct link_map): Extend the l_addr comment.
30581         * include/link.h (struct link_map): Likewise.
30583 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30585         [BZ #13550]
30586         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30587         (BOUNDED_1): Remove macro.
30588         * debug/backtrace.c: Don't include <bp-checks.h>.
30589         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30590         (__backtrace): Likewise.
30591         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30592         <bp-checks.h>.
30593         (__backtrace): Don't use BOUNDED_1.
30594         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30595         <bp-checks.h>.
30596         (__backtrace): Don't use BOUNDED_1.
30597         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30598         (__backtrace): Don't use BOUNDED_1.
30599         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30600         (shmat): Don't use BOUNDED_N.
30602 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30604         [BZ #13550]
30605         * sysdeps/generic/bp-start.h: Remove file.
30606         * csu/libc-start.c: Don't include <bp-start.h>.
30607         (LIBC_START_MAIN): Set up __environ directly instead of using
30608         INIT_ARGV_and_ENVIRON.
30609         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30610         <bp-start.h>.
30612         [BZ #13550]
30613         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30614         definitions.
30615         (CHECK_FCNTL): Likewise.
30616         (CHECK_N_PAGES): Likewise.
30618         [BZ #13550]
30619         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30620         definitions.
30621         (CHECK_SIGSET_NULL_OK): Likewise.
30622         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30623         <bp-checks.h>.
30624         (sigpending): Don't use CHECK_SIGSET.
30625         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30626         <bp-checks.h>.
30627         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30628         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30629         <bp-checks.h>.
30630         (do_sigsuspend): Don't use CHECK_SIGSET.
30631         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30632         use CHECK_SIGSET.
30633         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30634         (do_sigwait): Don't use CHECK_SIGSET.
30635         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30636         use CHECK_SIGSET.
30637         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30638         include <bp-checks.h>.
30639         (sigpending): Don't use CHECK_SIGSET.
30640         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30641         include <bp-checks.h>.
30642         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30643         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30644         <bp-checks.h>.
30645         (sigpending): Don't use CHECK_SIGSET.
30646         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30647         <bp-checks.h>.
30648         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30650         [BZ #13550]
30651         * sysdeps/generic/bp-semctl.h: Remove file.
30652         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30653         <bp-checks.h> and <bp-semctl.h>.
30654         (__old_semctl): Don't use CHECK_SEMCTL.
30655         (__new_semctl): Likewise.
30656         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30657         and <bp-semctl.h>.
30658         (__old_semctl): Don't use CHECK_SEMCTL.
30659         (__new_semctl): Likewise.
30660         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30661         <bp-checks.h> and <bp-semctl.h>.
30662         (__old_semctl): Don't use CHECK_SEMCTL.
30663         (__new_semctl): Likewise.
30664         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30665         <bp-checks.h> and <bp-semctl.h>.
30666         (semctl): Don't use CHECK_SEMCTL.
30668         [BZ #13550]
30669         * Makerules (elide-bp-thunks): Remove variable.
30670         (elide-routines.oS): Don't use $(elide-bp-thunks).
30671         (elide-routines.os): Likewise.
30672         (elide-routines.o): Likewise.
30673         (elide-routines.op): Likewise.
30674         (elide-routines.og): Likewise.
30675         (objects): Don't use $(bp-thunks).
30676         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30677         include.
30678         (common-generated): Do not add s-proto-bp.d.
30679         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30680         (int): Likewise.
30681         (typ): Likewise.
30682         Do not generate makefile rules for bounded-pointer thunks.
30683         * sysdeps/generic/bp-thunks.h: Remove file.
30684         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30685         * sysdeps/unix/s-proto-bp.S: Likewise.
30687         [BZ #15062]
30688         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30689         parts of result separately when argument is not close to line from
30690         -i to i and one part of argument is small.
30691         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30692         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30693         * math/libm-test.inc (cacos_test): Add more tests.
30694         (casin_test): Likewise.
30695         (casinh_test): Likewise.
30696         * sysdeps/i386/fpu/libm-test-ulps: Update.
30697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30699 2013-01-31  David S. Miller  <davem@davemloft.net>
30701         * po/de.po: Update from translation team.
30703 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30705         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30707 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30709         * configure.in (_AC_PROG_CC_C89): New definition.
30710         * configure: Regenerate.
30712         * configure.in (AC_PROG_CPP): New definition.
30713         * configure: Regenerate.
30715 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30717         * debug/tst-backtrace.h: New file.
30718         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30719         (ret): Remove variable.
30720         (x): Likewise.
30721         (FAIL): Remove macro.
30722         (NO_INLINE): Likewise.
30723         (fn1): Use match function instead of strstr.
30724         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30725         (ret): Remove variable.
30726         (x): Likewise.
30727         (FAIL): Remove macro.
30728         (NO_INLINE): Likewise.
30729         (fn): Use match function instead of strstr.
30730         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30731         (ret): Remove variable.
30732         (x): Likewise.
30733         (FAIL): Remove macro.
30734         (NO_INLINE): Likewise.
30735         (handle_signal): Use match function instead of strstr.
30736         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30737         (ret): Remove variable.
30738         (x): Likewise.
30739         (FAIL): Remove macro.
30740         (NO_INLINE): Likewise.
30741         (handle_signal): Use match function instead of strstr.
30743 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30745         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30747 2013-01-23  David S. Miller  <davem@davemloft.net>
30749         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30750         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30751         argument of CAS if possible.
30752         * sysdeps/sparc/sparc64/bits/atomic.h
30753         (__arch_compare_and_exchange_val_32_acq): Likewise.
30754         (__arch_compare_and_exchange_val_64_acq): Likewise.
30756 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30758         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30759         * sysdeps/posix/ulimit.c: ... this.
30760         Include <limits.h>.
30761         * sysdeps/unix/bsd/ulimit.c: Remove file.
30763 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30765         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30766         (LDFLAGS-tst-array5): Likewise.
30768 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30770         [BZ #15036]
30771         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30772         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30773         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30774         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30776 2013-01-21  David S. Miller  <davem@davemloft.net>
30778         * sysdeps/sparc/backtrace.c: New file.
30779         * sysdeps/sparc/sparc32/backtrace.h: New file.
30780         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30781         * sysdeps/sparc/sparc64/backtrace.h: New file.
30782         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30783         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30784         -funwind-tables.
30786 2013-01-21  Andreas Schwab  <schwab@suse.de>
30788         [BZ #15020]
30789         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30790         closed its stdout.
30792 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30795         "mpa2.h".
30796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30798 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30799             Mark Mitchell  <mark@codesourcery.com>
30800             Tom de Vries  <tom@codesourcery.com>
30801             Paul Pluzhnikov  <ppluzhnikov@google.com>
30803         * debug/tst-backtrace2.c: New file.
30804         * debug/tst-backtrace3.c: Likewise.
30805         * debug/tst-backtrace4.c: Likewise.
30806         * debug/tst-backtrace5.c: Likewise.
30807         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30808         (CFLAGS-tst-backtrace3.c): Likewise.
30809         (CFLAGS-tst-backtrace4.c): Likewise.
30810         (CFLAGS-tst-backtrace5.c): Likewise.
30811         (LDFLAGS-tst-backtrace2): Likewise.
30812         (LDFLAGS-tst-backtrace3): Likewise.
30813         (LDFLAGS-tst-backtrace4): Likewise.
30814         (LDFLAGS-tst-backtrace5): Likewise.
30815         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30816         tst-backtrace4 and tst-backtrace5.
30818 2013-01-18  Anton Blanchard  <anton@samba.org>
30819             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30821         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30822         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30823         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30824         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30826         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30827         "+r" and remove output regs list as redundant.  Add explicit inline
30828         asm to specify register of return val to work around compiler codegen
30829         bug.  Remove (int) cast on return value.  Add return type parameter to
30830         use in macro so that this macro does not truncate return value for
30831         64-bit values.
30832         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30833         pass to INTERNAL_VSYSCALL_NCS.
30834         (INLINE_VSYSCALL): Add 'long int' as return type to
30835         INTERNAL_VSYSCALL_NCS macro invocation.
30836         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30837         INTERNAL_VSYSCALL_NCS macro invocation.
30838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30840 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30842         [BZ #14496]
30843         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30844         Fix application of SIMD FP exception mask.
30846         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30847         mp_no from a power of two.
30848         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30849         __mpexp_twomm1.  Use __pow_mp.
30851         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30852         multiplication.
30854 2013-01-17  David S. Miller  <davem@davemloft.net>
30856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30858 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30860         [BZ #15023]
30861         * include/complex.h: Condition contents on [!_COMPLEX_H].
30862         (__kernel_casinhf): New prototype.
30863         (__kernel_casinh): Likewise.
30864         (__kernel_casinhl): Likewise.
30865         * math/Makefile (libm_calls): Add k_casinh.
30866         * math/k_casinh.c: New file.
30867         * math/k_casinhf.c: Likewise.
30868         * math/k_casinhl.c: Likewise.
30869         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30870         finite nonzero arguments.
30871         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30872         finite nonzero arguments.
30873         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30874         finite nonzero arguments.
30875         * math/s_casinh.c: Do not include <float.h>.
30876         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30877         * math/s_casinhf.c: Do not include <float.h>.
30878         (__casinhf): Move code for finite nonzero arguments to
30879         k_casinhf.c.
30880         * math/s_casinhl.c: Do not include <float.h>.
30881         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30882         redefine.
30883         (__casinhl): Move code for finite nonzero arguments to
30884         k_casinhl.c.
30885         * math/libm-test.inc (cacos_test): Add more tests.
30886         * sysdeps/i386/fpu/libm-test-ulps: Update.
30887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30889 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30891         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30892         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30893         [!HAVE_MREMAP]: Remove [defined linux] case.
30894         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30896 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30898         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30900 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30902         * elf/elf.h (R_386_SIZE32): New relocation.
30903         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30904         R_386_SIZE32.
30905         (elf_machine_rela): Likewise.
30906         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30907         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30909 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30911         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30912         (FP_FAST_FMA): Do not define.
30913         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30914         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30915         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30916         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30917         !_SOFT_FLOAT]: Likewise.
30918         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30919         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30920         value.
30921         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30922         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30923         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30924         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30925         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30926         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30927         file.
30929 2013-01-16  Andreas Schwab  <schwab@suse.de>
30931         [BZ #14327]
30932         * include/stdlib.h (__mktemp): Add declaration.
30933         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30934         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30936 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30938         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30939         definitions.
30940         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30941         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30942         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30943         definitions here.
30944         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30945         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30946         definitions.
30947         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30948         and ONE.
30949         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30950         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30951         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30952         definitions.
30953         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30954         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30955         definitions.
30956         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30958         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30960 2013-01-15  David S. Miller  <davem@davemloft.net>
30962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30963         trunc{,f} to libm-sysdep_routes.
30964         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30966         file.
30967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30969         file.
30970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30971         file.
30972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30974         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30975         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30976         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30977         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30978         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30979         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30982         nearbyint{,f} to libm-sysdep_routes.
30983         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30985         New file.
30986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30987         file.
30988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30989         New file.
30990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30991         file.
30992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30994         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30995         file.
30996         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30997         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30998         file.
30999         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31000         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31001         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31003         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31004         libc_feholdexcept and libc_fesetenv.
31006 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31008         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31010 2013-01-14  David S. Miller  <davem@davemloft.net>
31012         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31013         (SPARC_ASM_VIS2_IFUNC): Likewise.
31014         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31016         use of 'siam' instruction.
31017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31018         Likewise.
31019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31020         Likewise.
31021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31022         Likewise.
31023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31028         file.
31029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31030         file.
31031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31032         file.
31033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31034         file.
31035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31040         new VIS2 routines.
31041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31044         Likewise.
31045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31050         routines to libm-sysdep_routines.
31051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31054         fdim/fdimf to libm-sysdep_routines.
31055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31056         file.
31057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31059         file.
31060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31063         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31064         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31065         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31066         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31068 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31070         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31071         to optimize copies.
31073         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31078         local variable MPTWO.
31079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31080         Likewise.
31082 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31084         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31085         GLOB_NOESCAPE.
31087 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31089         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31091 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31093         * manual/pattern.texi (glob_t): Document gl_flags.
31094         (glob64_t): Likewise.
31096 2013-01-11  David S. Miller  <davem@davemloft.net>
31098         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31099         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31100         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31101         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31102         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31103         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31104         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31105         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31106         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31107         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31108         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31109         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31110         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31112         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31113         sparc V9 rather than using V8 code.
31114         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31115         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31117         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31118         Move to...
31119         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31120         Here.
31122 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31124         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31125         not in the main loop.
31126         * configure: Regenerated.
31128 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31130         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31131         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31132         to just #else.
31133         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31134         [!__GLIBC_HAVE_LONG_LONG] case.
31135         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31136         condition to just #else.
31137         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31138         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31139         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31140         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31141         unconditional.
31142         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31143         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31144         #elif condition to just #else.
31145         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31146         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31147         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31148         #elif condition to just #else.
31150 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31152         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31153         (EF_MIPS_ARCH_64): Fix value.
31154         (EF_MIPS_ARCH_32R2): New.
31155         (EF_MIPS_ARCH_64R2): New.
31157 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31159         * Makeconfig (+link-pie-before-libc): New.
31160         (+link-pie-after-libc): Likewise.
31161         (+link-pie-tests): Likewise.
31162         (+link-pie): Rewritten.
31163         (link-before-libc): Remove $(config-LDFLAGS).
31164         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31165         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31166         (config-LDFLAGS): Renamed to ...
31167         (rtld-LDFLAGS): This.
31168         (rtld-tests-LDFLAGS): New macro.
31169         (link-libc-rpath-link): Likewise.
31170         (link-libc-tests-rpath-link): Likewise.
31171         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31172         (link-libc): Prepand $(link-libc-rpath-link).
31173         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31174         (test-program-prefix): New macro.
31175         (test-via-rtld-prefix): Likewise.
31176         (test-program-cmd): Likewise.
31177         (host-test-program-cmd): Likewise.
31178         * Makefile ($(common-objpfx)testrun.sh): Replace
31179         $(run-program-prefix) with $(test-program-prefix).
31180         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31181         $(rtld-LDFLAGS).
31182         ($(common-objpfx)shlib.lds): Likewise.
31183         (build-module-helper): Likewise.
31184         ($(common-objpfx)format.lds): Likewise.
31185         * Rules (binaries-pie-tests): New.
31186         (binaries-pie-notests): Likewise.
31187         (binaries-pie): Rewritten.
31188         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31189         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31190         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31191         (make-test-out): Replace $(host-built-program-cmd) with
31192         $(host-test-program-cmd).
31193         * config.make.in (build-hardcoded-path-in-tests): New variable.
31194         * configure.in (--enable-hardcoded-path-in-tests): New configure
31195         option.
31196         (hardcoded_path_in_tests): New AC_SUBST.
31197         * configure: Regenerated.
31198         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31199         $(built-program-cmd) with $(test-program-cmd).
31200         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31201         (test_program_cmd): This.
31202         * elf/Makefile ($(objpfx)order.out): Run test with
31203         $(test-program-prefix).
31204         ($(objpfx)order2.out): Likewise.
31205         ($(objpfx)tst-initorder.out): Likewise.
31206         ($(objpfx)tst-initorder2.out): Likewise.
31207         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31208         $(test-program-cmd).
31209         ($(objpfx)tst-array1-static.out): Likewise.
31210         ($(objpfx)tst-array2.out): Likewise.
31211         ($(objpfx)tst-array3.out): Likewise.
31212         ($(objpfx)tst-array4.out): Likewise.
31213         ($(objpfx)tst-array5.out): Likewise.
31214         ($(objpfx)tst-array5-static.out): Likewise.
31215         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31216         $(test-program-cmd).
31217         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31218         $(run-program-prefix) with $(test-program-prefix).
31219         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31220         (test_program_prefix): This.
31221         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31222         $(run-program-prefix) with $(test-program-prefix).
31223         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31224         (test_program_prefix): This.
31225         * iconvdata/tst-tables.sh: Likewise.
31226         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31227         $(run-program-prefix) with $(test-program-prefix).
31228         ($(objpfx)tst-translit.out): Likewise.
31229         ($(objpfx)tst-gettext2.out): Likewise.
31230         ($(objpfx)tst-gettext4.out): Likewise.
31231         ($(objpfx)tst-gettext6.out): Likewise.
31232         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31233         (test_program_prefix): This.
31234         * intl/tst-gettext2.sh: Likewise.
31235         * intl/tst-gettext4.sh  Likewise.
31236         * intl/tst-gettext6.sh: Likewise.
31237         * intl/tst-translit.sh: Likewise.
31238         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31239         with $(test-program-cmd).
31240         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31241         $(run-program-prefix) with $(test-program-prefix).
31242         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31243         (test_program_prefix): This.
31244         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31245         $(run-program-prefix) with $(test-program-prefix).
31246         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31247         (test_program_prefix): This.
31248         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31249         * posix/Makefile ($(objpfx)globtest.out): Replace
31250         $(run-via-rtld-prefix) and $(test-wrapper) with
31251         $(test-program-prefix) and $(test-via-rtld-prefix).
31252         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31253         $(test-program-prefix).
31254         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31255         $(host-test-program-cmd).
31256         (tst-spawn-ARGS): Likewise.
31257         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31258         $(test-program-prefix).
31259         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31260         (test_via_rtld_prefix): This.
31261         (test_wrapper): Renamed to ...
31262         (test_program_prefix): This.
31263         (run_program_prefix): Replaced by test_program_prefix.
31264         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31265         (test_program_prefix): This.
31266         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31267         with $(host-test-program-cmd).
31268         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31269         $(run-program-prefix) with $(test-program-prefix).
31270         ($(objpfx)tst-printf.out): Likewise.
31271         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31272         $(test-program-cmd).
31273         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31274         (test_program_prefix): This.
31275         * stdio-common/tst-unbputc.sh: Likewise.
31276         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31277         $(run-program-prefix) with $(test-program-prefix).
31278         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31279         (test_program_prefix): This.
31280         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31281         $(built-program-cmd) with $(test-program-cmd).
31283 2013-01-11  Andreas Jaeger  <aj@suse.de>
31285         [BZ #15003]
31286         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31287         value. Sync with Linux 3.7.
31289 2013-01-10  David S. Miller  <davem@davemloft.net>
31291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31292         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31293         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31295 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31297         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31298         never set.
31299         * configure: Regenerated.
31301 2013-01-10  David S. Miller  <davem@davemloft.net>
31303         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31304         sparc V9 rather than using V8 code.
31305         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31306         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31308 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31310         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31311         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31312         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31313         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31314         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31315         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31316         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31317         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31318         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31319         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31320         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31321         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31322         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31323         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31324         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31325         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31326         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31327         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31328         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31329         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31330         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31331         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31332         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31333         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31334         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31335         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31336         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31338 2013-01-10  David S. Miller  <davem@davemloft.net>
31340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31342 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31344         * posix/Makefile (tests-static): New variable.
31345         (tests): Add $(tests-static).
31346         (tst-exec-static-ARGS): New variable.
31347         (tst-spawn-static-ARGS): Likewise.
31348         * posix/tst-exec-static.c: New file.
31349         * posix/tst-spawn-static.c: Likewise.
31350         * posix/tst-exec.c: Support run directly.
31351         * posix/tst-spawn.c: Likewise.
31353 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31355         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31356         long.
31357         * math/bits/mathcalls.h (llrint): Likewise.
31358         (llround): Likewise.
31359         * stdlib/stdlib.h (struct drand48_data): Likewise.
31360         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31361         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31362         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31363         Likewise.
31364         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31365         Likewise.
31366         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31367         (elf_greg_t): Likewise.
31368         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31369         (__jmp_buf): Likewise.
31370         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31371         definitions.
31372         (llrint): Likewise, for all definitions.
31373         (llrintl): Likewise.
31375         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31376         Remove [__GNUC__] condition.
31377         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31378         condition to just [__USE_ISOC99].
31379         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31381 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31383         [BZ #14200]
31384         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31385         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31386         defined.
31387         (_POSIX_V6_ILP32_OFF32): Likewise.
31388         (_XBS5_ILP32_OFF32): Likewise.
31389         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31390         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31392 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31394         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31396         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31397         doubles __mpexp_twomm1.  Adjust usage.
31398         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31399         Remove.
31401 2013-01-10  Andreas Schwab  <schwab@suse.de>
31403         [BZ #14964]
31404         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31405         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31407 2013-01-09  David S. Miller  <davem@davemloft.net>
31409         [BZ #15003]
31410         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31411         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31412         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31413         (TCP_FASTOPEN): Define.
31414         (tcp_repair_opt): New structure.
31415         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31416         enum values.
31417         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31418         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31419         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31420         (tcp_cookie_transactions): New structure.
31422 2013-01-09  Anton Blanchard  <anton@samba.org>
31424         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31425         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31426         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31427         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31429 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31431         * include/features.h (__USE_ANSI): Remove.
31433 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31435         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31437         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31439 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31441         * sysdeps/s390/fpu/libm-test-ulps: Update.
31443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31445         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31446         (__acr): Likewise.
31447         (__cpy): Likewise.
31448         (norm): Likewise.
31449         (denorm): Likewise.
31450         (__mp_dbl): Likewise.
31451         (__dbl_mp): Likewise.
31452         (add_magnitudes): Likewise.
31453         (sub_magnitudes): Likewise.
31454         (__add): Likewise.
31455         (__sub): Likewise.
31456         (__mul): Likewise.
31457         (__inv): Likewise.
31458         (__dvd): Likewise.
31459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31460         (__acr): Likewise.
31461         (__cpy): Likewise.
31462         (norm): Likewise.
31463         (denorm): Likewise.
31464         (__mp_dbl): Likewise.
31465         (__dbl_mp): Likewise.
31466         (add_magnitudes): Likewise.
31467         (sub_magnitudes): Likewise.
31468         (__add): Likewise.
31469         (__sub): Likewise.
31470         (__mul): Likewise.
31471         (__inv): Likewise.
31472         (__dvd): Likewise.
31473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31474         (__acr): Likewise.
31475         (__cpy): Likewise.
31476         (norm): Likewise.
31477         (denorm): Likewise.
31478         (__mp_dbl): Likewise.
31479         (__dbl_mp): Likewise.
31480         (add_magnitudes): Likewise.
31481         (sub_magnitudes): Likewise.
31482         (__add): Likewise.
31483         (__sub): Likewise.
31484         (__mul): Likewise.
31485         (__inv): Likewise.
31486         (__dvd): Likewise.
31488 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31490         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31491         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31492         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31493         2 && __USE_EXTERN_INLINES]: Likewise.
31495 2013-01-08  Andreas Jaeger  <aj@suse.de>
31497         [BZ# 14985]
31498         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31499         Remove.
31500         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31501         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31503 2013-01-07  Anton Blanchard  <anton@samba.org>
31505         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31506         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31507         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31508         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31509         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31510         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31511         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31512         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31514         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31515         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31516         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31517         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31518         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31519         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31520         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31521         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31522         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31523         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31524         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31525         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31526         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31528         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31529         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31530         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31531         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31532         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31533         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31534         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31535         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31537         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31538         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31539         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31540         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31541         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31542         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31543         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31544         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31545         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31546         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31547         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31549 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31551         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31552         (__MALLOC_PMT): Likewise.
31553         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31554         [__GNUC__], only on [_LIBC].
31555         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31556         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31557         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31558         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31559         forward declaration.
31560         (realloc_hook_ini): Likewise.
31561         (memalign_hook_ini): Likewise.
31562         (__libc_memalign): Do not use __MALLOC_PMT in variable
31563         declaration.
31564         (__libc_valloc): Likewise.
31565         (__libc_pvalloc): Likewise.
31566         (__libc_calloc): Likewise.
31567         (__posix_memalign): Likewise.
31569         [BZ #14996]
31570         * math/s_casinh.c: Include <float.h>.
31571         (__casinh): Do not do computation with squaring and square root
31572         for large arguments.
31573         * math/s_casinhf.c: Include <float.h>.
31574         (__casinhf): Do not do computation with squaring and square root
31575         for large arguments.
31576         * math/s_casinhl.c: Include <float.h>.
31577         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31578         (__casinhl): Do not do computation with squaring and square root
31579         for large arguments.
31580         * math/libm-test.inc (casin_test): Add more tests.
31581         (casinh_test): Likewise.
31582         * sysdeps/i386/fpu/libm-test-ulps: Update.
31583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31585 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31587         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31588         (__x86_64_raw_data_cache_size): Likewise.
31589         (__x86_64_data_cache_size_half): Likewise.
31590         (__x86_64_raw_data_cache_size_half): Likewise.
31591         (__x86_64_shared_cache_size): Likewise.
31592         (__x86_64_raw_shared_cache_size): Likewise.
31593         (__x86_64_shared_cache_size_half): Likewise.
31594         (__x86_64_raw_shared_cache_size_half): Likewise.
31595         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31596         to ...
31597         (__x86_data_cache_size): This.
31598         (__x86_64_raw_data_cache_size): Renamed to ...
31599         (__x86_raw_data_cache_size): This.
31600         (__x86_64_data_cache_size_half): Renamed to ...
31601         (__x86_data_cache_size_half): This.
31602         (__x86_64_raw_data_cache_size_half): Renamed to ...
31603         (__x86_raw_data_cache_size_half): This.
31604         (__x86_64_shared_cache_size): Renamed to ...
31605         (__x86_shared_cache_size): This.
31606         (__x86_64_raw_shared_cache_size): Renamed to ...
31607         (__x86_raw_shared_cache_size): This.
31608         (__x86_64_shared_cache_size_half): Renamed to ...
31609         (__x86_shared_cache_size_half): This.
31610         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31611         (__x86_raw_shared_cache_size_half): This.
31612         * sysdeps/x86_64/memcpy.S: Updated.
31613         * sysdeps/x86_64/memset.S: Likewise.
31614         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31615         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31616         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31618 2013-01-04  David S. Miller  <davem@davemloft.net>
31620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31622 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31624         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31625         1 to avoid redefinition warning.
31626         (__USE_GNU): Don't define.
31627         (init_signaling_nan): Protoize.
31629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31631 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31633         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31635         (__cpymn): Likewise.
31636         (norm): Remove commented code.
31637         (denorm): Likewise.
31638         (__mp_dbl): Likewise.
31639         (__inv): Likewise.
31640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31641         (__cpymn): Likewise.
31642         (norm): Remove commented code.
31643         (denorm): Likewise.
31644         (__mp_dbl): Likewise.
31645         (__inv): Likewise.
31647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31648         mp_no value for 1.0 and 2.0.
31649         (norm): Use RADIXI instead of radixi.d.
31650         (denorm): Likewise.
31651         (__mul): Use 0.0 instead of zero.d.
31652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31653         mp_no value for 1.0 and 2.0.
31654         (norm): Use RADIXI instead of radixi.d.
31655         (denorm): Likewise.
31656         (__mul): Use 0.0 instead of zero.d.
31658 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31660         [BZ #14994]
31661         * math/s_casinh.c (__casinh): Reduce finite argument to first
31662         quadrant then set signs of results at the end.
31663         * math/s_casinhf.c (__casinhf): Likewise.
31664         * math/s_casinhl.c (__casinhl): Likewise.
31665         * math/libm-test.inc (casin_test): Add more tests.
31666         (casinh_test): Likewise.
31667         * sysdeps/i386/fpu/libm-test-ulps: Update.
31668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31670 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31672         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31674         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31676         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31677         declarations.
31678         (denorm): Likewise.
31679         (__mp_dbl): Likewise.
31680         (__inv): Likewise.
31682         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31683         and adjust the header comment.
31685         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31686         variable name from declaration.
31688 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31691         Initialize COMMON_CPUID_INDEX_7 element.
31692         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31693         (CPUID_RTM): Likewise.
31694         (HAS_RTM): Likewise.
31695         (COMMON_CPUID_INDEX_7): New enum.
31697 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31699         [BZ #14981]
31700         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31701         size is zero, record memory as freed.
31703 2013-01-03  Andreas Jaeger  <aj@suse.de>
31705         * po/ia.po: Add new Interlingua translation.
31707 2012-01-03  Allan McRae  <allan@archlinux.org>
31709         * locale/programs/localedef.c: Fix description of '--posix' flag.
31711 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31713         * NEWS: Update dates in second copyright notice.
31714         * README: Update copyright dates in example.
31715         * manual/libc.texinfo: Update copyright dates.
31716         * scripts/test-installation.pl: Update copyright date in --version
31717         output.
31719         * hurd/ctty-input.c: Fix copyright notice formatting.
31720         * hurd/ctty-output.c: Likewise.
31721         * hurd/dtable.c: Likewise.
31722         * hurd/hurd-raise.c: Likewise.
31723         * hurd/hurdprio.c: Likewise.
31724         * hurd/msgportdemux.c: Likewise.
31725         * misc/sys/file.h: Likewise.
31726         * misc/sys/ioctl.h: Likewise.
31727         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31728         * sysdeps/mach/hurd/chdir.c: Likewise.
31729         * sysdeps/mach/hurd/fchdir.c: Likewise.
31730         * sysdeps/mach/hurd/rename.c: Likewise.
31731         * sysdeps/mach/hurd/rmdir.c: Likewise.
31732         * sysdeps/mach/hurd/seekdir.c: Likewise.
31733         * sysdeps/mach/hurd/setsid.c: Likewise.
31734         * sysdeps/posix/wait3.c: Likewise.
31736         * All files with FSF copyright notices: Update copyright dates
31737         using scripts/update-copyrights.
31738         * intl/plural.c: Regenerated.
31739         * locale/programs/charmap-kw.h: Likewise.
31740         * locale/programs/locfile-kw.h: Likewise.
31742 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31744         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31745         four values.
31747         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31748         calculation loop and add branch prediction.
31750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31751         check access beyond bounds of m1np.
31753         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31754         MPTWO.
31755         (__inv): Remove local variable MPTWO to use the global
31756         constant.
31757         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31759         variable MPTWO.
31760         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31761         MP3HALFS static const.
31763 2013-01-01  David S. Miller  <davem@davemloft.net>
31765         * po/ca.po: Update from translation team.
31767 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31769         * scripts/update-copyrights: New file.
31770         * Makeconfig: Reformat copyright notice.
31771         * ctype/ctype.h: Likewise.
31772         * debug/swprintf_chk.c: Likewise.
31773         * elf/dl-cache.c: Likewise.
31774         * elf/dl-debug.c: Likewise.
31775         * elf/dl-object.c: Likewise.
31776         * grp/initgroups.c: Likewise.
31777         * hurd/Makefile: Likewise.
31778         * hurd/hurd/signal.h: Likewise.
31779         * hurd/hurdfault.c: Likewise.
31780         * hurd/hurdioctl.c: Likewise.
31781         * hurd/hurdlookup.c: Likewise.
31782         * hurd/intr-msg.c: Likewise.
31783         * iconv/gconv_open.c: Likewise.
31784         * libio/swprintf.c: Likewise.
31785         * locale/lc-ctype.c: Likewise.
31786         * locale/nl_langinfo.c: Likewise.
31787         * mach/Machrules: Likewise.
31788         * mach/Makefile: Likewise.
31789         * malloc/obstack.h: Likewise.
31790         * manual/Makefile: Likewise.
31791         * manual/tsort.awk: Likewise.
31792         * misc/bits/stab.def: Likewise.
31793         * nis/nis_print_group_entry.c: Likewise.
31794         * nis/nis_table.c: Likewise.
31795         * nis/nss_compat/compat-pwd.c: Likewise.
31796         * nis/nss_compat/compat-spwd.c: Likewise.
31797         * po/Makefile: Likewise.
31798         * posix/fnmatch.c: Likewise.
31799         * posix/regex.h: Likewise.
31800         * resolv/Makefile: Likewise.
31801         * resolv/nss_dns/dns-network.c: Likewise.
31802         * resolv/res_hconf.c: Likewise.
31803         * scripts/gen-sorted.awk: Likewise.
31804         * soft-fp/soft-fp.h: Likewise.
31805         * stdio-common/printf.h: Likewise.
31806         * stdlib/monetary.h: Likewise.
31807         * stdlib/random.c: Likewise.
31808         * stdlib/random_r.c: Likewise.
31809         * sysdeps/generic/Makefile: Likewise.
31810         * sysdeps/gnu/Makefile: Likewise.
31811         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31812         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31813         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31815         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31816         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31817         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31818         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31819         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31820         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31821         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31822         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31823         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31824         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31825         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31826         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31827         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31828         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31829         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31831         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31832         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31833         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31834         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31835         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31836         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31837         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31838         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31839         * sysdeps/mach/hurd/errnos.awk: Likewise.
31840         * sysdeps/mach/hurd/fork.c: Likewise.
31841         * sysdeps/mach/hurd/getcwd.c: Likewise.
31842         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31843         * sysdeps/mach/hurd/mmap.c: Likewise.
31844         * sysdeps/mach/hurd/utimes.c: Likewise.
31845         * sysdeps/mach/hurd/xmknod.c: Likewise.
31846         * sysdeps/posix/profil.c: Likewise.
31847         * sysdeps/posix/readdir_r.c: Likewise.
31848         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31849         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31850         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31851         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31853         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31854         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31855         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31857         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31858         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31859         * sysdeps/pthread/lio_listio.c: Likewise.
31860         * sysdeps/sparc/dl-procinfo.h: Likewise.
31861         * sysdeps/unix/i386/sysdep.S: Likewise.
31862         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31863         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31864         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31865         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31867         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31868         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31869         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31870         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31871         * sysdeps/wordsize-32/divdi3.c: Likewise.
31872         * time/sys/time.h: Likewise.
31873         * wcsmbs/Makefile: Likewise.
31875 2013-01-01  David S. Miller  <davem@davemloft.net>
31877         * po/fr.po: Update from translation team.
31879         * catgets/gencat.c: Update copyright year.
31880         * csu/version.c: Likewise.
31881         * debug/catchsegv.sh: Likewise.
31882         * debug/pcprofiledump.c: Likewise.
31883         * debug/xtrace.sh: Likewise.
31884         * elf/ldconfig.c: Likewise.
31885         * elf/ldd.bash.in: Likewise.
31886         * elf/pldd.c: Likewise.
31887         * elf/sotruss.ksh: Likewise.
31888         * elf/sprof.c: Likewise.
31889         * iconv/iconv_prog.c: Likewise.
31890         * iconv/iconvconfig.c: Likewise.
31891         * locale/programs/locale.c: Likewise.
31892         * locale/programs/localedef.c: Likewise.
31893         * login/programs/pt_chown.c: Likewise.
31894         * malloc/memusage.sh: Likewise.
31895         * malloc/memusagestat.c: Likewise.
31896         * malloc/mtrace.pl: Likewise.
31897         * nscd/nscd.c: Likewise.
31898         * nss/getent.c: Likewise.
31899         * nss/makedb.c: Likewise.
31900         * posix/getconf.c: Likewise.
31902 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31904         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31905         numbers.
31907 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31909         * math/bits/mathcalls.h (modf): Use __nonnull.
31911 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31913         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31914         (split): Use macro CN instead of the bare value.
31915         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31916         could be used.
31917         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31918         instead of the bare value.
31919         (power1): Likewise.
31921 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31923         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31924         __ATAN_TWOM.
31925         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31927         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31928         their values.
31929         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31930         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31931         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31932         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31934 2012-12-28  Andreas Jaeger  <aj@suse.de>
31936         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31937         values are from Linux 3.7.
31939         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31940         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31942 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31944         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31945         TRUE case.
31947         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31948         (norm): Likewise.
31949         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31950         variables with preprocessor constants.
31951         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31952         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31953         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31955 2012-12-27  Bruno Haible  <bruno@clisp.org>
31957         [BZ #14317]
31958         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31959         only if needed.
31961 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31964         and use variable directly.
31965         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31967         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31968         MPONE.
31969         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31970         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31971         variable MPONE.
31972         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31974         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31975         include directive.  Remove local variable MPONE.
31976         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31977         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31978         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31980 2012-12-25  David S. Miller  <davem@davemloft.net>
31982         * version.h (RELEASE): Set to "development".
31983         (VERSION): Set to "2.17.90".
31984         * NEWS: Add 2.18 section.
31986 2012-12-21  David S. Miller  <davem@davemloft.net>
31988         * po/hr.po: Update from translation team.
31990 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31992         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31994 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31996         * NEWS:  Mention new memcpy for MIPS.
31998 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32000         * manual/contrib.texi (Contributors): Spelling correction.
32002 2012-12-15  David S. Miller  <davem@davemloft.net>
32004         * po/ru.po: Update from translation team.
32006 2012-12-13  David S. Miller  <davem@davemloft.net>
32008         * NEWS: Mention IFUNC testsuite enhancements.
32010         * po/pl.po: Update from translation team.
32011         * po/bg.po: Likewise.
32013         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32014         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32016 2012-12-11  David S. Miller  <davem@davemloft.net>
32018         * po/sv.po: Update from translation team.
32020         * po/vi.po: Update from translation team.
32022         * po/cs.po: Update from translation team.
32024         * po/de.po: Update from translation team.
32025         * po/eo.po: Likewise.
32026         * po/nl.po: Likewise.
32028 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32030         [BZ #14246]
32031         * manual/argp.texi (Argp Helper Functions): Move node to follow
32032         Argp Parsing State.
32034         [BZ #14872]
32035         * manual/conf.texi (Limits on File System Capacity): Mention if
32036         terminating null is included in the max size.
32038 2012-12-10  Andreas Jaeger  <aj@suse.de>
32040         * po/cs.po: Update from translation team.
32042 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32044         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32045         void pointer and cast to uintptr_t.
32046         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32047         path.
32048         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32049         * sysdeps/s390/s390-64/memset.S: Likewise.
32051 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32053         [BZ #14833]
32054         * menual/message.texi (Message Translation): Fix typos.
32055         (Helper programs for gettext): Likewise.
32057 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32059         [BZ #14898]
32060         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32061         Change to -1.
32063 2012-12-07  David S. Miller  <davem@davemloft.net>
32065         * po/libc.pot: Update.
32067 2012-12-07  Richard Henderson  <rth@redhat.com>
32069         [BZ #10114]
32070         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32071         normal/normal case to before the switch.
32072         (_FP_DIV): Likewise.
32074 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32075             Mike Frysinger  <vapier@gentoo.org>
32077         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32078         check for __NR_fadvise64_64.
32080 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32082         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32083         0, not just to plain "0" as a statement.
32084         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32085         with cw.
32087 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32089         * NEWS: Use sourceware.org in Bugzilla URL.
32091 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32094         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32096         * stdio-common/tst-put-error.c (do_test): Add newline to the
32097         padded test to ensure flush.
32099 2012-12-05  Jeff Law  <law@redhat.com>
32101         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32103 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32105         * README: Don't refer to ports add-on as distributed separately.
32106         Mention AArch64 in list of systems supported in the ports add-on.
32108         * LICENSES: Add more non-FSF copyright and license notices.
32110         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32111         ((unused)).
32113         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32115         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32116         10000 as width of padded output.
32118 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32120         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32122         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32123         variable LX with __attribute__ ((unused)).
32124         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32125         Likewise.
32126         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32128         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32129         with __attribute__ ((unused)).
32131 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32133         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32135 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32137         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32138         (CFLAGS-nldbl-acos.c): New variable.
32139         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32140         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32141         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32142         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32143         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32144         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32145         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32146         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32147         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32148         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32149         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32150         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32151         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32152         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32153         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32154         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32155         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32156         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32157         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32158         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32159         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32160         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32161         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32162         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32163         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32164         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32165         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32166         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32167         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32168         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32169         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32170         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32171         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32172         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32173         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32174         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32175         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32176         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32177         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32178         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32179         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32180         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32181         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32182         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32183         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32184         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32185         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32186         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32187         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32188         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32189         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32190         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32191         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32192         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32193         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32194         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32195         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32196         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32197         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32198         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32199         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32200         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32201         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32202         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32203         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32204         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32205         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32206         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32207         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32208         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32209         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32210         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32211         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32212         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32213         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32214         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32215         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32216         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32217         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32218         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32219         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32220         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32221         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32222         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32223         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32224         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32225         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32226         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32227         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32228         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32229         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32230         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32231         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32232         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32233         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32234         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32235         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32238         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32240         [BZ #14914]
32241         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32242         whole low double instead of just low 47 bits when splitting values
32243         into two parts.
32245 2012-12-03  Allan McRae  <allan@archlinux.org>
32247         * manual/stdio.texi (Predefined Printf Handlers): Remove
32248         @hsep and @vsep usage.
32250 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32252         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32253         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32255 2012-12-03  Jeff Law  <law@redhat.com>
32257         * time/sys/time.h (settimeofday): Do not mark TV argument
32258         as __nonnull.
32260 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32262         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32263         when currently writing and seek to current position when not.
32264         * libio/Makefile (tests): Remove bug-fclose1.
32265         * libio/bug-fclose1.c: Delete.
32267 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32269         * manual/arith.texi (feenableexcept): Fix typo.
32270         (fedisableexcept): Likewise.
32272 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32274         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32275         second, differently-typed declaration, rather than a cast.
32277 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32279         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32280         * include/rpc/svc.h: ... here.
32282 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32284         [BZ #13013]
32285         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32286         depending n and resplen2 to catch cases where answer
32287         equals answerp2.
32289 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32291         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32292         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32294 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32296         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32298 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32300         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32302 2012-11-28  Jeff Law  <law@redhat.com>
32304         [BZ #13761]
32305         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32306         dataset_temporary.  Track alloca usage into alloca_used.
32307         If dataset is large allocate and release it via malloc/free.
32309 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32311         [BZ #14197]
32312         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32314 2012-11-28  David S. Miller  <davem@davemloft.net>
32316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32318 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32320         [BZ #14803]
32321         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32322         of pi/2 rounded to nearest to 64 bits.
32323         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32324         nearest to 64 bits.
32325         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32326         bits.
32328 2012-11-28  Jeff Law <law@redhat.com>
32329             Martin Osvald <mosvald@redhat.com>
32331         [BZ #14889]
32332         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32333         * sunrpc/svc.c: Include time.h.
32334         (__svc_accept_failed): New function.
32335         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32336         any reason other than EINTR, call __svc_accept_failed.
32337         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32338         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32340 2012-11-28  Andreas Schwab  <schwab@suse.de>
32342         * scripts/abilist.awk: Also handle indirect functions in .opd
32343         section.
32345 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32347         [BZ #13881]
32348         * sysdeps/x86/fpu/powl_helper.c: New file.
32349         * sysdeps/x86/fpu/Makefile: Likewise.
32350         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32351         (p3): New object.
32352         (__ieee754_powl): Use __powl_helper for finite arguments except
32353         integer exponents below 8.
32354         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32355         (p3): New object.
32356         (__ieee754_powl): Use __powl_helper for finite arguments except
32357         integer exponents below 8.
32358         * math/libm-test.inc (pow_test): Add more tests and enable some
32359         previously disabled tests.
32360         * sysdeps/i386/fpu/libm-test-ulps: Update.
32361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32363 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32364             Carlos O'Donell  <carlos_odonell@mentor.com>
32366         * nss/makedb.c (is_prime): Assert that input is odd and greater
32367         than 4.  Note that fact in a comment too.
32368         (next_prime): Add 4 to input.
32370 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32372         [BZ #11741]
32373         * libio/Makefile (tests): Add test case tst-fwrite-error.
32374         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32375         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32376         * libio/tst-fwrite-error.c: New test case.
32378 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32380         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32381         before casting to void *.
32382         * include/libc-internal.h (__pointer_type): New macro.
32383         (__integer_if_pointer_type_sub): Likewise.
32384         (__integer_if_pointer_type): Likewise.
32385         (cast_to_integer): Likewise.
32386         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32387         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32388         before casting to atomic64_t.
32389         (atomic_exchange_acq): Likewise.
32390         (__arch_exchange_and_add_body): Likewise.
32391         (__arch_add_body): Likewise.
32392         (atomic_add_negative): Likewise.
32393         (atomic_add_zero): Likewise.
32395 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32397         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32398         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32399         (add_fdes): Likewise.
32400         (linear_search_fdes): Likewise.
32401         (binary_search_unencoded_fdes): Likewise.
32403 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32405         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32407 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32409         * configure.in: Autodetect C++ header directories.
32410         * configure: Regenerated.
32412 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32414         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32416 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32420 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32422         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32423         LDBL_MANT_DIG == 106]: Disable some tests.
32424         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32425         Likewise.
32426         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32427         Likewise.
32429         [BZ #14871]
32430         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32431         input for small inputs.  Return +/- pi/2 for large inputs.
32432         * math/libm-test.inc (atan_test): Add more tests.
32434         * sysdeps/generic/unwind-dw2-fde-glibc.c
32435         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32436         __attribute__ ((unused)).
32438         [BZ #14645]
32439         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32440         x * y if x and y are nonzero and z is zero.
32442         [BZ #14811]
32443         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32444         nonzero exponents with absolute value below 0x1p-117 to +/-
32445         0x1p-117.
32447         [BZ #14869]
32448         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32449         up arguments below 2**-450, not just those below 2**-500.
32450         * math/libm-test.inc (hypot_test): Add another test.
32452         [BZ #14868]
32453         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32454         Return a+b for ratio over 2**120, not 2**60.
32455         * math/libm-test.inc (hypot_test): Add another test.
32457         * math/libm-test.inc (clog_test): Use
32458         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32459         (clog10_test): Likewise.
32461         [BZ #6778]
32462         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32464 2012-11-22  Andreas Schwab  <schwab@suse.de>
32466         * sysdeps/i386/fpu/libm-test-ulps: Update.
32468 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32470         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32471         printf output with newline.
32473 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32475         [BZ #14865]
32476         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32477         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32478         -z nodlopen, -z initfirst and -z execstack support.
32479         * configure: Regenerated.
32481         * elf/elf.h (DF_1_NODIRECT): New macro.
32482         (DF_1_IGNMULDEF): Likewise.
32483         (DF_1_NOKSYMS): Likewise.
32484         (DF_1_NOHDR): Likewise.
32485         (DF_1_EDITED): Likewise.
32486         (DF_1_NORELOC): Likewise.
32487         (DF_1_SYMINTPOSE): Likewise.
32488         (DF_1_GLOBAUDIT): Likewise.
32489         (DF_1_SINGLETON): Likewise.
32490         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32491         DT_1_SUPPORTED_MASK bits.
32492         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32494 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32496         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32498 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32500         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32501         macro.
32503         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32504         (sendmmsg): Move declarations...
32505         * socket/sys/socket.h: ... here.
32506         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32507         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32508         include it from...
32509         * socket/recvmmsg.c: ... this new file.
32510         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32511         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32512         definition of __sendmmsg hidden.
32513         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32514         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32515         Move ENOSYS stub into and include it from...
32516         * socket/sendmmsg.c: ... this new file.
32517         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32518         (sysdep_routines): Move recvmmsg and sendmmsg...
32519         * socket/Makefile (routines): ... here.
32520         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32521         (GLIBC_PRIVATE): Add __sendmmsg.
32522         * include/sys/socket.h (__sendmmsg): Add declarations.
32523         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32524         sendmmsg.
32526 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32528         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32529         variable I1 with __attribute__ ((unused)).
32530         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32532 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32534         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32535         DUMMY variables with __attribute__ ((unused)).
32537         * bits/byteswap.h: Include <bits/types.h>.
32538         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32540 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32542         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32543         string_t.  Do not manually set errno.
32544         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32545         length with __strnlen.  Make sure to both set errno and return it on
32546         failure.
32548 2012-11-19  David S. Miller  <davem@davemloft.net>
32550         With help from Joseph Myers.
32551         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32552         very large arguments properly.
32553         * math/libm-test.inc (atan_test): New tests.
32554         (atan2_test): New tests.
32555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32558 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32560         [BZ #14856]
32561         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32562         Define to 3.
32564         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32565         [POSIX] (EADDRNOTAVAIL): Likewise.
32566         [POSIX] (EAFNOSUPPORT): Likewise.
32567         [POSIX] (EALREADY): Likewise.
32568         [POSIX] (ECONNABORTED): Likewise.
32569         [POSIX] (ECONNREFUSED): Likewise.
32570         [POSIX] (ECONNRESET): Likewise.
32571         [POSIX] (EDESTADDRREQ): Likewise.
32572         [POSIX] (EDQUOT): Likewise.
32573         [POSIX] (EHOSTUNREACH): Likewise.
32574         [POSIX] (EIDRM): Likewise.
32575         [POSIX] (EISCONN): Likewise.
32576         [POSIX] (ELOOP): Likewise.
32577         [POSIX] (EMULTIHOP): Likewise.
32578         [POSIX] (ENETDOWN): Likewise.
32579         [POSIX] (ENETUNREACH): Likewise.
32580         [POSIX] (ENOBUFS): Likewise.
32581         [POSIX] (ENODATA): Likewise.
32582         [POSIX] (ENOLINK): Likewise.
32583         [POSIX] (ENOMSG): Likewise.
32584         [POSIX] (ENOPROTOOPT): Likewise.
32585         [POSIX] (ENOSR): Likewise.
32586         [POSIX] (ENOSTR): Likewise.
32587         [POSIX] (ENOTCONN): Likewise.
32588         [POSIX] (ENOTSOCK): Likewise.
32589         [POSIX] (EOPNOTSUPP): Likewise.
32590         [POSIX] (EOVERFLOW): Likewise.
32591         [POSIX] (EPROTO): Likewise.
32592         [POSIX] (EPROTONOSUPPORT): Likewise.
32593         [POSIX] (EPROTOTYPE): Likewise.
32594         [POSIX] (ESTALE): Likewise.
32595         [POSIX] (ETIME): Likewise.
32596         [POSIX] (ETXTBSY): Likewise.
32597         [POSIX] (EWOULDBLOCK): Likewise.
32598         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32599         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32600         [POSIX] (SEEK_CUR): Likewise.
32601         [POSIX] (SEEK_END): Likewise.
32602         [POSIX || UNIX98] (mode_t): Do not require.
32603         [POSIX] (off_t): Likewise.
32604         [POSIX] (pid_t): Likewise.
32605         [POSIX] (sys/stat.h): Do not allow header.
32606         [POSIX] (unistd.h): Likewise.
32607         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32608         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32609         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32610         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32611         require.
32612         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32613         sigevent): Specify elements.
32614         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32615         entry.
32616         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32617         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32619         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32620         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32621         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32622         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32623         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32624         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32625         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32626         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32627         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32628         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32629         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32630         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32631         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32632         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32633         Likewise.
32634         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32635         Likewise.
32636         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32637         Likewise.
32638         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32639         Likewise.
32640         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32641         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32642         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32643         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32644         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32645         Specify lower bound on value.
32646         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32647         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32648         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32649         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32650         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32651         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32652         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32653         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32654         value.
32655         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32656         as optional.
32657         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32658         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32659         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32660         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32661         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32662         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32663         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32664         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32665         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32666         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32667         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32668         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32669         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32670         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32671         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32672         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32673         entry.
32674         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32675         optional.
32676         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32677         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32678         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32679         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32680         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32681         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32682         Likewise.
32683         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32684         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32685         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32686         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32687         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32688         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32689         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32690         as optional.
32691         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32692         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32693         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32694         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32695         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32696         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32697         specify as optional.
32698         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32699         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32700         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32701         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32702         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32703         [XPG3] (NL_LANGMAX): Likewise.
32704         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32705         [POSIX || XPG3] (NL_NMAX): Likewise.
32706         [POSIX || XPG3] (NL_SETMAX): Likewise.
32707         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32708         [XPG3] (NZERO): Likewise.
32709         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32710         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32711         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32712         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32713         (REG_ERANGE): Expect.
32714         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32715         optional-constant.
32716         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32717         Use (void) in prototype.
32718         [POSIX] (*_t): Allow.
32719         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32720         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32721         (WRDE_BADVAL): Expect.
32723         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32724         expect.
32725         [XPG3 || XPG4] (O_RSYNC): Likewise.
32726         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32727         Likewise.
32728         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32729         [XPG3 || XPG4] (sigqueue): Likewise.
32730         [XPG3 || XPG4] (sigtimedwait): Likewise.
32731         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32732         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32733         [XPG3 || XPG4] (vsnprintf): Likewise.
32734         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32735         Likewise.
32736         [XPG3 || XPG4] (blksize_t): Likewise.
32737         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32738         Likewise.
32739         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32740         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32741         [XPG3 || XPG4] (struct itimerspec): Likewise.
32742         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32743         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32744         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32745         [XPG3 || XPG4] (clockid_t): Likewise.
32746         [XPG3 || XPG4] (timer_t): Likewise.
32747         [XPG3 || XPG4] (clock_getres): Likewise.
32748         [XPG3 || XPG4] (clock_gettime): Likewise.
32749         [XPG3 || XPG4] (clock_settime): Likewise.
32750         [XPG3 || XPG4] (nanosleep): Likewise.
32751         [XPG3 || XPG4] (timer_create): Likewise.
32752         [XPG3 || XPG4] (timer_delete): Likewise.
32753         [XPG3 || XPG4] (timer_gettime): Likewise.
32754         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32755         [XPG3 || XPG4] (timer_settime): Likewise.
32756         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32757         [XPG3 || XPG4] (getlogin_r): Likewise.
32758         [XPG3 || XPG4] (pread): Likewise.
32759         [XPG3 || XPG4] (pthread_atfork): Likewise.
32760         [XPG3 || XPG4] (pwrite): Likewise.
32762         [BZ #14835]
32763         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32764         <bits/siginfo.h>.
32766 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32768         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32769         finalizing MALLSTREAM.
32771         * sysdeps/mach/hurd/syncfs.c: New file.
32773 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32775         [BZ #14719]
32776         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32777         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32778         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32779         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32780         (_nss_dns_gethostbyname4_r): Likewise.
32781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32782         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32784 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32786         [BZ #13763]
32787         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32789 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32791         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32792         * elf/cache.c (print_entry): Print ",AArch64" for
32793         FLAG_AARCH64_LIB64
32795         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32796         * elf/cache.c (print_entry): Print ",hard-float" for
32797         FLAG_ARM_LIBHF.
32799 2012-11-18  David S. Miller  <davem@davemloft.net>
32801         With help from Joseph Myers.
32802         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32803         cutoff to 2**-13.
32804         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32805         cutoff to 2**-25.
32806         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32807         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32808         small.
32809         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32810         * math/libm-test.inc (y0_test): New tests.
32811         (y1_test): New tests.
32812         * sysdeps/i386/fpu/libm-test-ulps: Update.
32813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32816 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32818         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32819         64-bit targets.
32820         * configure: Regenerated.
32822 2012-11-17  David S. Miller  <davem@davemloft.net>
32824         [BZ #14811]
32825         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32826         nonzero exponents with absolute value below 0x1p-128 to +/-
32827         0x1p-128.
32829 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32831         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32833         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32835         * posix/getconf-speclist.c: New file.
32836         * posix/posix-envs.def: Likewise.
32837         * posix/confstr.c (START_ENV_GROUP): New macro.
32838         (END_ENV_GROUP): Likewise.
32839         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32840         (KNOWN_PRESENT_ENV_STRING): Likewise.
32841         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32842         (UNKNOWN_ENVIRONMENT): Likewise.
32843         (confstr): Include posix-envs.def instead of handling
32844         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32845         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32846         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32847         (END_ENV_GROUP): Likewise.
32848         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32849         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32850         (UNKNOWN_ENVIRONMENT): Likewise.
32851         (__sysconf): Include posix-envs.def instead of handling associated
32852         cases directly here.
32853         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32854         preprocessing getconf-speclist.c rather than running getconf or
32855         generating empty file.
32857 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32859         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32861 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32863         [BZ #14672]
32864         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32866 2012-11-16  David S. Miller  <davem@davemloft.net>
32868         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32869         smaller than LDBL_EPSILON/2.0L, just return xm1.
32871 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32873         * elf/tst-array1.c (init): Set constructor priority to 1000.
32874         (fini): Set destructor priority to 1000.
32875         * elf/tst-array2dep.c: Likewise.
32877 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32879         [BZ #11741]
32880         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32881         (_IO_new_file_xsputn): Also return EOF if none of the input
32882         data was written when overflow failed.
32883         * libio/iopadn.c (_IO_padn): Likewise.
32884         * libio/iowpadn.c (_IO_wpadn): Likewise.
32885         * stdio-common/tst-put-error.c: Add copyright notice.
32886         (do_test): Add case for printing padded string.
32887         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32888         _IO_padn returned error.
32889         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32890         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32891         return EOF.
32893 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32895         * libio/libioP.h: Add comment note that the references to C++
32896         bits are now obsolete.
32898 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32900         * math/libm-test.inc (check_complex): Use asprintf.
32902 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32904         * debug/pcprofiledump.c (print_version): Update copyright year.
32905         * malloc/memusagestat.c (print_version): Likewise.
32907 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32909         [BZ #14831]
32910         * elf/Makefile (tests): Add tst-audit8.
32911         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32912         ($(objpfx)tst-audit8.out): New target.
32913         (tst-audit8-ENV): New variable.
32914         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32915         audit if l_reloc_result is NULL.
32916         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32917         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32918         * elf/tst-audit8.c: New file.
32920 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32922         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32923         * misc/Makefile (CFLAGS-select.c): Define.
32924         * posix/Makefile (CFLAGS-pause.c): Define.
32926 2012-11-13  David S. Miller  <davem@davemloft.net>
32928         * crypt/Makefile: Move test targets after toplevel Rules
32929         inclusion.  Grab any necessary sysdep routines when linking.
32930         * crypt/md5.c (md5_process_block): Remove define, we will always
32931         name it __md5_process_block.
32932         (md5_finish_ctx): Update md5_process_block call.
32933         (md5_stream): Likewise.
32934         (md5_process_bytes): Likewise.
32935         (md5_process_block): Rename to __md5_process_block and move to ...
32936         * crypt/md5-block.c: ... here.
32937         * crypt/sha256.c (sha256_process_block): Move to ...
32938         * crypt/sha256-block.c: ... here.
32939         * crypt/sha512.c (sha512_process_block): Move to ...
32940         * crypt/sha512-block.c: ... here.
32941         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32942         path.
32943         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32944         * sysdeps/sparc/sparc64/multiarch/Makefile
32945         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32946         crypt subdir.
32947         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32948         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32949         multiarch changes.
32950         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32951         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32952         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32953         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32954         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32955         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32956         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32957         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32958         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32959         file.
32960         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32961         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32962         file.
32963         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32965 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32967         * timezone/tzselect.ksh: Update from tzcode git revision
32968         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32969         * timezone/zdump.c: Likewise.
32970         * timezone/zic.c: Likewise.
32971         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32972         in TZVERSION setting, not $(PKGVERSION).
32973         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32974         REPORT_BUGS_TO settings.
32976         [BZ #14838]
32977         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32978         macro.
32980 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32982         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32983         detection to immediately after _FP_ROUND().
32984         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32985         bits are 0.
32987 2012-11-11  David S. Miller  <davem@davemloft.net>
32989         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32990         inttypes.h
32991         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32992         __close rather than their public counterparts.
32994 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32996         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32997         file.
32998         [UNIX98] (sem_timedwait): Do not expect.
32999         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33000         [XPG4 || UNIX98] (sockatmark): Do not expect.
33001         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33002         (clock_getcpuclockid): Do not expect.
33003         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33004         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33005         Do not expect.
33006         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33007         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33008         [UNIX98] (vwscanf): Likewise.
33009         [UNIX98] (vswscanf): Likewise.
33011 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33013         * timezone/version.h: Remove file.
33014         * timezone/README: Do not refer to version.h.
33015         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33016         $(objpfx)version.h.
33017         ($(objpfx)zdump.o): Likewise.
33018         ($(objpfx)version.h): New target.
33020         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33021         2012i.
33022         * timezone/README: Don't mention modification to tzselect.ksh.
33023         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33024         work on unmodified tzselect.ksh.  Substitute version numbers in
33025         tzselect.ksh.
33027         * Makefile (format-me): Remove.
33028         (INSTALL): Adjust indentation.  Use commands directly instead of
33029         using $(format-me).
33031         * aclocal.m4 (ACX_PKGVERSION): New macro.
33032         (ACX_BUGURL): Likewise.
33033         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33034         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33035         (REPORT_BUGS_TO): Likewise.
33036         * configure: Regenerated.
33037         * config.h.in (PKGVERSION): New macro.
33038         (REPORT_BUGS_TO): Likewise.
33039         * config.make.in (PKGVERSION): New variable.
33040         (PKGVERSION_TEXI): Likewise.
33041         (REPORT_BUGS_TO): Likewise.
33042         (REPORT_BUGS_TEXI): Likewise.
33043         * Makefile (format-me): Use -I$(common-objpfx)manual.
33044         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33045         ($(common-objpfx)manual/%): New target.
33046         (manual/%): Remove target.
33047         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33048         (print_version): Use PKGVERSION.
33049         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33050         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33051         and REPORT_BUGS_TO.
33052         ($(objpfx)xtrace): Likewise.
33053         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33054         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33055         (print_version): Use PKGVERSION.
33056         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33057         (do_version): Use PKGVERSION.
33058         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33059         REPORT_BUGS_TO.
33060         (common-ldd-rewrite): Likewise.
33061         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33062         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33063         (print_version): Use PKGVERSION.
33064         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33065         * elf/pldd.c (argp_program_bug_address): Remove variable.
33066         (more_help): New function.
33067         (argp): Use more_help.
33068         (print_version): Use PKGVERSION.
33069         * elf/sln.c (main): Use PKGVERSION.
33070         (usage): Use REPORT_BUGS_TO.
33071         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33072         (top level): Use PKGVERSION.
33073         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33074         (print_version): Use PKGVERSION.
33075         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33076         (print_version): Use PKGVERSION.
33077         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33078         (print_version): Use PKGVERSION.
33079         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33080         (print_version): Use PKGVERSION.
33081         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33082         (print_version): Use PKGVERSION.
33083         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33084         (print_version): Use PKGVERSION.
33085         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33086         and BUGURL.
33087         ($(objpfx)memusage): Likewise.
33088         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33089         (do_version): Use PKGVERSION.
33090         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33091         (print_version): Use PKGVERSION.
33092         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33093         ($PKGVERSION): New variable.
33094         ($REPORT_BUGS_TO): Likewise.
33095         (usage): Use $REPORT_BUGS_TO.
33096         (top level): Use $PKGVERSION.
33097         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33098         ($(objpfx)pkgvers.texi): New rule.
33099         ($(objpfx)stamp-pkgvers): Likewise.
33100         * manual/install.texi: Include pkgvers.texi.
33101         (--with-pkgversion): Document new configure option.
33102         (--with-bugurl): Likewise.
33103         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33104         than necessarily for this particular distribution.  Use
33105         REPORT_BUGS_TO for where to report bugs.
33106         * INSTALL: Regenerated.
33107         * manual/libc.texinfo: Include pkgvers.texi.
33108         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33109         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33110         (print_version): Use PKGVERSION.
33111         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33112         (print_version): Use PKGVERSION.
33113         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33114         (print_version): Use PKGVERSION.
33115         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33116         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33117         macro.
33118         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33119         (print_version): Use PKGVERSION.
33120         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33121         (print_version): Use PKGVERSION.
33122         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33123         and PKGVERSION.
33125         * timezone/checktab.awk: Update from tzcode 2012i.
33126         * timezone/ialloc.c: Likewise.
33127         * timezone/private.h: Likewise.
33128         * timezone/scheck.c: Likewise.
33129         * timezone/tzfile.h: Likewise.
33130         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33131         (TZVERSION): Hardcode tzcode version number.
33132         * timezone/zdump.c: Update from tzcode 2012i.
33133         * timezone/zic.c: Likewise.
33134         * timezone/version.h: New file.
33135         * timezone/README: Describe version.h.  Update upstream location.
33137         [BZ #14824]
33138         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33139         (mktemp): Enable declaration.
33140         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33142         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33143         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33144         Likewise.
33145         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33146         Likewise.
33147         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33148         Likewise.
33149         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33150         Likewise.
33151         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33152         Likewise.
33153         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33154         Likewise.
33156         [BZ #14821]
33157         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33158         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33159         for copies of such integer values.
33160         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33161         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33163 2012-11-09  Andreas Jaeger  <aj@suse.de>
33165         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33166         definitions and declarations that are provided by
33167         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33169 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33171         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33172         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33173         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33174         definition.
33176 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33178         * elf/elf.h: Update comment before AArch64 relocations.
33180 2012-11-07  David S. Miller  <davem@davemloft.net>
33182         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33183         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33184         (__start_context): Declare.
33185         (__makecontext_ret): Delete.
33186         (__makecontext): Hook up __start_context instead of
33187         __makecontext_ret.
33188         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33189         (sysdep_routines): Add __start_context when in stdlib.
33191 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33193         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33194         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33195         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33196         hardcoded "nm".
33197         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33198         (READELF): New variable.  Use it instead of hardcoded "readelf".
33200 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33202         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33203         * sysdeps/x86/Makefile: Here.
33204         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33205         * sysdeps/x86/tst-xmmymm.sh: This.
33207 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33209         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33210         expectations.
33211         [UNIX98] (pthread_barrier_t): Do not expect.
33212         [UNIX98] (pthread_barrierattr_t): Likewise.
33213         [UNIX98] (pthread_spinlock_t): Likewise.
33214         [UNIX98] (pthread_barrier_destroy): Likewise.
33215         [UNIX98] (pthread_barrier_init): Likewise.
33216         [UNIX98] (pthread_barrier_wait): Likewise.
33217         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33218         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33219         [UNIX98] (pthread_barrierattr_init): Likewise.
33220         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33221         [UNIX98] (pthread_getcpuclockid): Likewise.
33222         [UNIX98] (pthread_mutex_timedlock): Likewise.
33223         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33224         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33225         [UNIX98] (pthread_sigmask): Likewise.
33226         [UNIX98] (pthread_spin_destroy): Likewise.
33227         [UNIX98] (pthread_spin_init): Likewise.
33228         [UNIX98] (pthread_spin_lock): Likewise.
33229         [UNIX98] (pthread_spin_trylock): Likewise.
33230         [UNIX98] (pthread_spin_unlock): Likewise.
33231         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33232         Do not expect.
33233         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33234         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33235         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33236         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33237         [XPG3 || XPG4] (pthread_key_t): Likewise.
33238         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33239         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33240         [XPG3 || XPG4] (pthread_once_t): Likewise.
33241         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33242         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33243         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33244         [XPG3 || XPG4] (pthread_t): Likewise.
33246         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33247         not expect.
33248         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33250         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33251         Change function return type to int.
33253         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33254         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33255         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33256         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33257         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33258         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33259         [!POSIX] (posix_madvise): Likewise.
33260         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33261         && !UNIX98].
33262         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33263         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33264         (mode_t): Likewise.
33265         (posix_mem_offset): Likewise.
33266         (posix_typed_mem_get_info): Likewise.
33267         (posix_typed_mem_open): Likewise.
33269         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33270         Change condition to [XOPEN2K8].
33272         * conform/conformtest.pl: Preprocess allow-header data with -x c
33273         instead of from stdin.
33274         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33275         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33276         [C99-based standards] (cerfc): Likewise.
33277         [C99-based standards] (cexp2): Likewise.
33278         [C99-based standards] (cexpm1): Likewise.
33279         [C99-based standards] (clog10): Likewise.
33280         [C99-based standards] (clog1p): Likewise.
33281         [C99-based standards] (clog2): Likewise.
33282         [C99-based standards] (clgamma): Likewise.
33283         [C99-based standards] (ctgamma): Likewise.
33284         [C99-based standards] (cerff): Likewise.
33285         [C99-based standards] (cerfcf): Likewise.
33286         [C99-based standards] (cexp2f): Likewise.
33287         [C99-based standards] (cexpm1f): Likewise.
33288         [C99-based standards] (clog10f): Likewise.
33289         [C99-based standards] (clog1pf): Likewise.
33290         [C99-based standards] (clog2f): Likewise.
33291         [C99-based standards] (clgammaf): Likewise.
33292         [C99-based standards] (ctgammaf): Likewise.
33293         [C99-based standards] (cerfl): Likewise.
33294         [C99-based standards] (cerfcl): Likewise.
33295         [C99-based standards] (cexp2l): Likewise.
33296         [C99-based standards] (cexpm1l): Likewise.
33297         [C99-based standards] (clog10l): Likewise.
33298         [C99-based standards] (clog1pl): Likewise.
33299         [C99-based standards] (clog2l): Likewise.
33300         [C99-based standards] (clgammal): Likewise.
33301         [C99-based standards] (ctgammal): Likewise.
33302         * conform/data/inttypes.h-data [C99-based standards]: Include
33303         stdint.h-data.  Remove all expectations for stdint.h contents.
33304         [C99-based standards] (PRI*): Do not allow.
33305         [C99-based standards] (SCN*): Likewise.
33306         [C99-based standards] (*_t): Likewise.
33307         [C99-based-standards] (PRId8): Expect macro.
33308         [C99-based-standards] (PRIi8): Likewise.
33309         [C99-based-standards] (PRIo8): Likewise.
33310         [C99-based-standards] (PRIu8): Likewise.
33311         [C99-based-standards] (PRIx8): Likewise.
33312         [C99-based-standards] (PRIX8): Likewise.
33313         [C99-based-standards] (SCNd8): Likewise.
33314         [C99-based-standards] (SCNi8): Likewise.
33315         [C99-based-standards] (SCNo8): Likewise.
33316         [C99-based-standards] (SCNu8): Likewise.
33317         [C99-based-standards] (SCNx8): Likewise.
33318         [C99-based-standards] (PRIdLEAST8): Likewise.
33319         [C99-based-standards] (PRIiLEAST8): Likewise.
33320         [C99-based-standards] (PRIoLEAST8): Likewise.
33321         [C99-based-standards] (PRIuLEAST8): Likewise.
33322         [C99-based-standards] (PRIxLEAST8): Likewise.
33323         [C99-based-standards] (PRIXLEAST8): Likewise.
33324         [C99-based-standards] (SCNdLEAST8): Likewise.
33325         [C99-based-standards] (SCNiLEAST8): Likewise.
33326         [C99-based-standards] (SCNoLEAST8): Likewise.
33327         [C99-based-standards] (SCNuLEAST8): Likewise.
33328         [C99-based-standards] (SCNxLEAST8): Likewise.
33329         [C99-based-standards] (PRIdFAST8): Likewise.
33330         [C99-based-standards] (PRIiFAST8): Likewise.
33331         [C99-based-standards] (PRIoFAST8): Likewise.
33332         [C99-based-standards] (PRIuFAST8): Likewise.
33333         [C99-based-standards] (PRIxFAST8): Likewise.
33334         [C99-based-standards] (PRIXFAST8): Likewise.
33335         [C99-based-standards] (SCNdFAST8): Likewise.
33336         [C99-based-standards] (SCNiFAST8): Likewise.
33337         [C99-based-standards] (SCNoFAST8): Likewise.
33338         [C99-based-standards] (SCNuFAST8): Likewise.
33339         [C99-based-standards] (SCNxFAST8): Likewise.
33340         [C99-based-standards] (PRId16): Likewise.
33341         [C99-based-standards] (PRIi16): Likewise.
33342         [C99-based-standards] (PRIo16): Likewise.
33343         [C99-based-standards] (PRIu16): Likewise.
33344         [C99-based-standards] (PRIx16): Likewise.
33345         [C99-based-standards] (PRIX16): Likewise.
33346         [C99-based-standards] (SCNd16): Likewise.
33347         [C99-based-standards] (SCNi16): Likewise.
33348         [C99-based-standards] (SCNo16): Likewise.
33349         [C99-based-standards] (SCNu16): Likewise.
33350         [C99-based-standards] (SCNx16): Likewise.
33351         [C99-based-standards] (PRIdLEAST16): Likewise.
33352         [C99-based-standards] (PRIiLEAST16): Likewise.
33353         [C99-based-standards] (PRIoLEAST16): Likewise.
33354         [C99-based-standards] (PRIuLEAST16): Likewise.
33355         [C99-based-standards] (PRIxLEAST16): Likewise.
33356         [C99-based-standards] (PRIXLEAST16): Likewise.
33357         [C99-based-standards] (SCNdLEAST16): Likewise.
33358         [C99-based-standards] (SCNiLEAST16): Likewise.
33359         [C99-based-standards] (SCNoLEAST16): Likewise.
33360         [C99-based-standards] (SCNuLEAST16): Likewise.
33361         [C99-based-standards] (SCNxLEAST16): Likewise.
33362         [C99-based-standards] (PRIdFAST16): Likewise.
33363         [C99-based-standards] (PRIiFAST16): Likewise.
33364         [C99-based-standards] (PRIoFAST16): Likewise.
33365         [C99-based-standards] (PRIuFAST16): Likewise.
33366         [C99-based-standards] (PRIxFAST16): Likewise.
33367         [C99-based-standards] (PRIXFAST16): Likewise.
33368         [C99-based-standards] (SCNdFAST16): Likewise.
33369         [C99-based-standards] (SCNiFAST16): Likewise.
33370         [C99-based-standards] (SCNoFAST16): Likewise.
33371         [C99-based-standards] (SCNuFAST16): Likewise.
33372         [C99-based-standards] (SCNxFAST16): Likewise.
33373         [C99-based-standards] (PRId32): Likewise.
33374         [C99-based-standards] (PRIi32): Likewise.
33375         [C99-based-standards] (PRIo32): Likewise.
33376         [C99-based-standards] (PRIu32): Likewise.
33377         [C99-based-standards] (PRIx32): Likewise.
33378         [C99-based-standards] (PRIX32): Likewise.
33379         [C99-based-standards] (SCNd32): Likewise.
33380         [C99-based-standards] (SCNi32): Likewise.
33381         [C99-based-standards] (SCNo32): Likewise.
33382         [C99-based-standards] (SCNu32): Likewise.
33383         [C99-based-standards] (SCNx32): Likewise.
33384         [C99-based-standards] (PRIdLEAST32): Likewise.
33385         [C99-based-standards] (PRIiLEAST32): Likewise.
33386         [C99-based-standards] (PRIoLEAST32): Likewise.
33387         [C99-based-standards] (PRIuLEAST32): Likewise.
33388         [C99-based-standards] (PRIxLEAST32): Likewise.
33389         [C99-based-standards] (PRIXLEAST32): Likewise.
33390         [C99-based-standards] (SCNdLEAST32): Likewise.
33391         [C99-based-standards] (SCNiLEAST32): Likewise.
33392         [C99-based-standards] (SCNoLEAST32): Likewise.
33393         [C99-based-standards] (SCNuLEAST32): Likewise.
33394         [C99-based-standards] (SCNxLEAST32): Likewise.
33395         [C99-based-standards] (PRIdFAST32): Likewise.
33396         [C99-based-standards] (PRIiFAST32): Likewise.
33397         [C99-based-standards] (PRIoFAST32): Likewise.
33398         [C99-based-standards] (PRIuFAST32): Likewise.
33399         [C99-based-standards] (PRIxFAST32): Likewise.
33400         [C99-based-standards] (PRIXFAST32): Likewise.
33401         [C99-based-standards] (SCNdFAST32): Likewise.
33402         [C99-based-standards] (SCNiFAST32): Likewise.
33403         [C99-based-standards] (SCNoFAST32): Likewise.
33404         [C99-based-standards] (SCNuFAST32): Likewise.
33405         [C99-based-standards] (SCNxFAST32): Likewise.
33406         [C99-based-standards] (PRId64): Likewise.
33407         [C99-based-standards] (PRIi64): Likewise.
33408         [C99-based-standards] (PRIo64): Likewise.
33409         [C99-based-standards] (PRIu64): Likewise.
33410         [C99-based-standards] (PRIx64): Likewise.
33411         [C99-based-standards] (PRIX64): Likewise.
33412         [C99-based-standards] (SCNd64): Likewise.
33413         [C99-based-standards] (SCNi64): Likewise.
33414         [C99-based-standards] (SCNo64): Likewise.
33415         [C99-based-standards] (SCNu64): Likewise.
33416         [C99-based-standards] (SCNx64): Likewise.
33417         [C99-based-standards] (PRIdLEAST64): Likewise.
33418         [C99-based-standards] (PRIiLEAST64): Likewise.
33419         [C99-based-standards] (PRIoLEAST64): Likewise.
33420         [C99-based-standards] (PRIuLEAST64): Likewise.
33421         [C99-based-standards] (PRIxLEAST64): Likewise.
33422         [C99-based-standards] (PRIXLEAST64): Likewise.
33423         [C99-based-standards] (SCNdLEAST64): Likewise.
33424         [C99-based-standards] (SCNiLEAST64): Likewise.
33425         [C99-based-standards] (SCNoLEAST64): Likewise.
33426         [C99-based-standards] (SCNuLEAST64): Likewise.
33427         [C99-based-standards] (SCNxLEAST64): Likewise.
33428         [C99-based-standards] (PRIdFAST64): Likewise.
33429         [C99-based-standards] (PRIiFAST64): Likewise.
33430         [C99-based-standards] (PRIoFAST64): Likewise.
33431         [C99-based-standards] (PRIuFAST64): Likewise.
33432         [C99-based-standards] (PRIxFAST64): Likewise.
33433         [C99-based-standards] (PRIXFAST64): Likewise.
33434         [C99-based-standards] (SCNdFAST64): Likewise.
33435         [C99-based-standards] (SCNiFAST64): Likewise.
33436         [C99-based-standards] (SCNoFAST64): Likewise.
33437         [C99-based-standards] (SCNuFAST64): Likewise.
33438         [C99-based-standards] (SCNxFAST64): Likewise.
33439         [C99-based-standards] (PRIdMAX): Likewise.
33440         [C99-based-standards] (PRIiMAX): Likewise.
33441         [C99-based-standards] (PRIoMAX): Likewise.
33442         [C99-based-standards] (PRIuMAX): Likewise.
33443         [C99-based-standards] (PRIxMAX): Likewise.
33444         [C99-based-standards] (PRIXMAX): Likewise.
33445         [C99-based-standards] (SCNdMAX): Likewise.
33446         [C99-based-standards] (SCNiMAX): Likewise.
33447         [C99-based-standards] (SCNoMAX): Likewise.
33448         [C99-based-standards] (SCNuMAX): Likewise.
33449         [C99-based-standards] (SCNxMAX): Likewise.
33450         [C99-based-standards] (PRIdPTR): Likewise.
33451         [C99-based-standards] (PRIiPTR): Likewise.
33452         [C99-based-standards] (PRIoPTR): Likewise.
33453         [C99-based-standards] (PRIuPTR): Likewise.
33454         [C99-based-standards] (PRIxPTR): Likewise.
33455         [C99-based-standards] (PRIXPTR): Likewise.
33456         [C99-based-standards] (SCNdPTR): Likewise.
33457         [C99-based-standards] (SCNiPTR): Likewise.
33458         [C99-based-standards] (SCNoPTR): Likewise.
33459         [C99-based-standards] (SCNuPTR): Likewise.
33460         [C99-based-standards] (SCNxPTR): Likewise.
33461         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33462         allow.
33463         * conform/data/stdint.h-data: Update comments to clarify
33464         requirements.
33465         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33466         type.
33467         [C99-based standards] (INT8_MAX): Likewise.
33468         [C99-based standards] (INT16_MIN): Likewise.
33469         [C99-based standards] (INT16_MAX): Likewise.
33470         [C99-based standards] (INT32_MIN): Likewise.
33471         [C99-based standards] (INT32_MAX): Likewise.
33472         [C99-based standards] (INT64_MIN): Likewise.
33473         [C99-based standards] (INT64_MAX): Likewise.
33474         [C99-based standards] (UINT8_MAX): Likewise.
33475         [C99-based standards] (UINT16_MAX): Likewise.
33476         [C99-based standards] (UINT32_MAX): Likewise.
33477         [C99-based standards] (UINT64_MAX): Likewise.
33478         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33479         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33480         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33481         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33482         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33483         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33484         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33485         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33486         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33487         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33488         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33489         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33490         [C99-based standards] (INT_FAST8_MIN): Likewise.
33491         [C99-based standards] (INT_FAST8_MAX): Likewise.
33492         [C99-based standards] (INT_FAST16_MIN): Likewise.
33493         [C99-based standards] (INT_FAST16_MAX): Likewise.
33494         [C99-based standards] (INT_FAST32_MIN): Likewise.
33495         [C99-based standards] (INT_FAST32_MAX): Likewise.
33496         [C99-based standards] (INT_FAST64_MIN): Likewise.
33497         [C99-based standards] (INT_FAST64_MAX): Likewise.
33498         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33499         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33500         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33501         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33502         [C99-based standards] (INTPTR_MIN): Likewise.
33503         [C99-based standards] (INTPTR_MAX): Likewise.
33504         [C99-based standards] (UINTPTR_MAX): Likewise.
33505         [C99-based standards] (INTMAX_MIN): Likewise.
33506         [C99-based standards] (INTMAX_MAX): Likewise.
33507         [C99-based standards] (UINTMAX_MAX): Likewise.
33508         [C99-based standards] (PTRDIFF_MIN): Likewise.
33509         [C99-based standards] (PTRDIFF_MAX): Likewise.
33510         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33511         [C99-based standards] (SIZE_MAX): Likewise.
33512         [C99-based standards] (WCHAR_MAX): Likewise.
33513         [C99-based standards] (WINT_MAX): Likewise.
33514         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33515         constraint on value.
33516         [C99-based standards] (WCHAR_MIN): Likewise.
33517         [C99-based standards] (WINT_MIN): Likewise.
33518         [C99-based standards] (*_t): Allow.
33519         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33520         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33521         Include math.h-data and complex.h-data.  Remove all expectations
33522         of math.h and complex.h contents.
33523         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33524         at end of line.
33525         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33526         (struct tm): Expect tag.
33527         [C99-based-standards] (wcstof): Expect function.
33528         [C99-based-standards] (wcstold): Likewise.
33529         [C99-based-standards] (wcstoll): Likewise.
33530         [C99-based-standards] (wcstoull): Likewise.
33531         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33532         macro-int-constant.  Specify type.
33533         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33534         constraint on value.
33535         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33536         Specify type.
33537         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33538         Specify value.
33539         [ISO C standards]: Do not allow headers.
33540         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33541         wcs[abcdefghijklmnopqrstuvwxyz]*.
33542         [ISO C standards] (*_t): Do not allow.
33543         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33544         Expect function.
33545         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33546         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33547         Specify type.
33548         [ISO C standards]: Do not allow headers.
33549         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33550         is[abcdefghijklmnopqrstuvwxyz]*.
33551         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33552         to[abcdefghijklmnopqrstuvwxyz]*.
33553         [ISO C standards] (*_t): Do not allow.
33554         * conform/data/stdalign.h-data: New file.
33555         * conform/data/stdbool.h-data: Likewise.
33556         * conform/data/stdnoreturn.h-data: Likewise.
33558 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33560         [BZ #14815]
33561         * manual/filesys.texi (Directory Entries): Typo fix.
33562         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33564 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33566         * elf/elf.h (EM_AARCH64): New macro.
33567         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33568         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33569         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33570         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33571         (R_AARCH64_TLSDESC): Likewise.
33572         (NT_ARM_TLS): Likewise.
33573         (NT_ARM_HW_BREAK): Likewise.
33574         (NT_ARM_HW_WATCH): Likewise.
33576 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33578         [BZ #14811]
33579         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33580         (__ieee754_powl): Saturate nonzero exponents with absolute value
33581         below 0x1p-79 to +/- 0x1p-79.
33582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33583         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33584         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33585         nonzero exponents with absolute value below 0x1p-32 to +/-
33586         0x1p-32.
33587         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33588         (__ieee754_powl): Saturate nonzero exponents with absolute value
33589         below 0x1p-79 to +/- 0x1p-79.
33590         * math/libm-test.inc (pow_test): Add more tests.
33592 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33594         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33595         _dl_s390_cap_flags with kernel. Increase string length.
33596         (_dl_s390_platforms): Add z196 and zEC12.
33598 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33600         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33601         Change XOPEN21K to XOPEN2K.
33603 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33605         * string/memmove.c: Use memcpy when possible.
33607 2012-11-06  Andreas Jaeger  <aj@suse.de>
33609         * po/eo.po: Update from translation team.
33611 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33613         [BZ #14793]
33614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33615         exponent and small x and y exponents, scale x or y up.  Increase
33616         by 2 the exponent used in scaling up.
33617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33618         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33619         * math/libm-test.inc (fma_test): Add more tests.
33620         (fma_test_towardzero): Likewise.
33621         (fma_test_downward): Likewise.
33622         (fma_test_upward): Likewise.
33624 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33626         [BZ #14805]
33627         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33628         fenv_t *.
33630         [BZ #14801]
33631         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33632         namespace for names of struct fields.
33633         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33634         fenv_t fields.
33635         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33636         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33638 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33640         [BZ #3665]
33641         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33643 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33645         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33646         PTR_DEMANGLE.
33648         [BZ #5246]
33649         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33650         PTR_DEMANGLE.
33652 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33654         [BZ #14797]
33655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33656         definitely overflow as x * y not x * y + z.
33657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33659         * math/libm-test.inc (fma_test): Add more tests.
33660         (fma_test_towardzero): Likewise.
33661         (fma_test_downward): Likewise.
33662         (fma_test_upward): Likewise.
33664 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33666         [BZ #157]
33668         * include/stub-tag.h: Remove file.
33669         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33670         '#include' of it.
33671         * manual/maint.texi (Porting): Don't reference it.
33672         * Makerules ($(objpfx)stubs): Likewise.
33673         * dirent/closedir.c: Don't include <stub-tag.h>.
33674         * dirent/dirfd.c: Likewise.
33675         * dirent/fdopendir.c: Likewise.
33676         * dirent/getdents.c: Likewise.
33677         * dirent/getdents64.c: Likewise.
33678         * dirent/opendir.c: Likewise.
33679         * dirent/readdir.c: Likewise.
33680         * dirent/readdir64.c: Likewise.
33681         * dirent/readdir64_r.c: Likewise.
33682         * dirent/readdir_r.c: Likewise.
33683         * dirent/rewinddir.c: Likewise.
33684         * dirent/seekdir.c: Likewise.
33685         * dirent/telldir.c: Likewise.
33686         * gmon/profil.c: Likewise.
33687         * grp/setgroups.c: Likewise.
33688         * inet/if_index.c: Likewise.
33689         * io/access.c: Likewise.
33690         * io/chdir.c: Likewise.
33691         * io/chmod.c: Likewise.
33692         * io/chown.c: Likewise.
33693         * io/close.c: Likewise.
33694         * io/dup.c: Likewise.
33695         * io/dup2.c: Likewise.
33696         * io/dup3.c: Likewise.
33697         * io/euidaccess.c: Likewise.
33698         * io/faccessat.c: Likewise.
33699         * io/fchdir.c: Likewise.
33700         * io/fchmod.c: Likewise.
33701         * io/fchmodat.c: Likewise.
33702         * io/fchown.c: Likewise.
33703         * io/fchownat.c: Likewise.
33704         * io/fcntl.c: Likewise.
33705         * io/flock.c: Likewise.
33706         * io/fstatfs.c: Likewise.
33707         * io/fstatfs64.c: Likewise.
33708         * io/fstatvfs.c: Likewise.
33709         * io/fstatvfs64.c: Likewise.
33710         * io/futimens.c: Likewise.
33711         * io/fxstat.c: Likewise.
33712         * io/fxstat64.c: Likewise.
33713         * io/fxstatat.c: Likewise.
33714         * io/fxstatat64.c: Likewise.
33715         * io/getcwd.c: Likewise.
33716         * io/isatty.c: Likewise.
33717         * io/lchmod.c: Likewise.
33718         * io/lchown.c: Likewise.
33719         * io/link.c: Likewise.
33720         * io/linkat.c: Likewise.
33721         * io/lseek.c: Likewise.
33722         * io/lseek64.c: Likewise.
33723         * io/lxstat64.c: Likewise.
33724         * io/mkdir.c: Likewise.
33725         * io/mkdirat.c: Likewise.
33726         * io/mkfifo.c: Likewise.
33727         * io/mkfifoat.c: Likewise.
33728         * io/open.c: Likewise.
33729         * io/open64.c: Likewise.
33730         * io/openat.c: Likewise.
33731         * io/openat64.c: Likewise.
33732         * io/pipe.c: Likewise.
33733         * io/pipe2.c: Likewise.
33734         * io/poll.c: Likewise.
33735         * io/posix_fadvise.c: Likewise.
33736         * io/posix_fadvise64.c: Likewise.
33737         * io/posix_fallocate.c: Likewise.
33738         * io/posix_fallocate64.c: Likewise.
33739         * io/read.c: Likewise.
33740         * io/readlink.c: Likewise.
33741         * io/readlinkat.c: Likewise.
33742         * io/rmdir.c: Likewise.
33743         * io/sendfile.c: Likewise.
33744         * io/sendfile64.c: Likewise.
33745         * io/statfs.c: Likewise.
33746         * io/statfs64.c: Likewise.
33747         * io/statvfs.c: Likewise.
33748         * io/statvfs64.c: Likewise.
33749         * io/symlink.c: Likewise.
33750         * io/symlinkat.c: Likewise.
33751         * io/ttyname.c: Likewise.
33752         * io/ttyname_r.c: Likewise.
33753         * io/umask.c: Likewise.
33754         * io/unlink.c: Likewise.
33755         * io/unlinkat.c: Likewise.
33756         * io/utime.c: Likewise.
33757         * io/utimensat.c: Likewise.
33758         * io/write.c: Likewise.
33759         * io/xmknod.c: Likewise.
33760         * io/xmknodat.c: Likewise.
33761         * io/xstat.c: Likewise.
33762         * io/xstat64.c: Likewise.
33763         * login/getpt.c: Likewise.
33764         * login/grantpt.c: Likewise.
33765         * login/unlockpt.c: Likewise.
33766         * math/e_acoshl.c: Likewise.
33767         * math/e_acosl.c: Likewise.
33768         * math/e_asinl.c: Likewise.
33769         * math/e_atan2l.c: Likewise.
33770         * math/e_atanhl.c: Likewise.
33771         * math/e_coshl.c: Likewise.
33772         * math/e_expl.c: Likewise.
33773         * math/e_fmodl.c: Likewise.
33774         * math/e_gammal_r.c: Likewise.
33775         * math/e_hypotl.c: Likewise.
33776         * math/e_j0l.c: Likewise.
33777         * math/e_j1l.c: Likewise.
33778         * math/e_jnl.c: Likewise.
33779         * math/e_lgammal_r.c: Likewise.
33780         * math/e_log10l.c: Likewise.
33781         * math/e_log2l.c: Likewise.
33782         * math/e_logl.c: Likewise.
33783         * math/e_powl.c: Likewise.
33784         * math/e_rem_pio2l.c: Likewise.
33785         * math/e_sinhl.c: Likewise.
33786         * math/e_sqrtl.c: Likewise.
33787         * math/fclrexcpt.c: Likewise.
33788         * math/fedisblxcpt.c: Likewise.
33789         * math/feenablxcpt.c: Likewise.
33790         * math/fegetenv.c: Likewise.
33791         * math/fegetexcept.c: Likewise.
33792         * math/fegetround.c: Likewise.
33793         * math/feholdexcpt.c: Likewise.
33794         * math/fesetenv.c: Likewise.
33795         * math/fesetround.c: Likewise.
33796         * math/feupdateenv.c: Likewise.
33797         * math/fgetexcptflg.c: Likewise.
33798         * math/fraiseexcpt.c: Likewise.
33799         * math/fsetexcptflg.c: Likewise.
33800         * math/ftestexcept.c: Likewise.
33801         * math/k_cosl.c: Likewise.
33802         * math/k_rem_pio2l.c: Likewise.
33803         * math/k_sinl.c: Likewise.
33804         * math/k_tanl.c: Likewise.
33805         * math/s_asinhl.c: Likewise.
33806         * math/s_atanl.c: Likewise.
33807         * math/s_cbrtl.c: Likewise.
33808         * math/s_erfl.c: Likewise.
33809         * math/s_expm1l.c: Likewise.
33810         * math/s_log1pl.c: Likewise.
33811         * math/s_tanhl.c: Likewise.
33812         * misc/acct.c: Likewise.
33813         * misc/brk.c: Likewise.
33814         * misc/chflags.c: Likewise.
33815         * misc/chroot.c: Likewise.
33816         * misc/fchflags.c: Likewise.
33817         * misc/fgetxattr.c: Likewise.
33818         * misc/flistxattr.c: Likewise.
33819         * misc/fremovexattr.c: Likewise.
33820         * misc/fsetxattr.c: Likewise.
33821         * misc/fsync.c: Likewise.
33822         * misc/ftruncate.c: Likewise.
33823         * misc/futimes.c: Likewise.
33824         * misc/futimesat.c: Likewise.
33825         * misc/getdomain.c: Likewise.
33826         * misc/getdtsz.c: Likewise.
33827         * misc/gethostid.c: Likewise.
33828         * misc/gethostname.c: Likewise.
33829         * misc/getloadavg.c: Likewise.
33830         * misc/getpagesize.c: Likewise.
33831         * misc/getsysstats.c: Likewise.
33832         * misc/getxattr.c: Likewise.
33833         * misc/gtty.c: Likewise.
33834         * misc/ioctl.c: Likewise.
33835         * misc/lgetxattr.c: Likewise.
33836         * misc/listxattr.c: Likewise.
33837         * misc/llistxattr.c: Likewise.
33838         * misc/lremovexattr.c: Likewise.
33839         * misc/lsetxattr.c: Likewise.
33840         * misc/lutimes.c: Likewise.
33841         * misc/madvise.c: Likewise.
33842         * misc/mincore.c: Likewise.
33843         * misc/mlock.c: Likewise.
33844         * misc/mlockall.c: Likewise.
33845         * misc/mmap.c: Likewise.
33846         * misc/mprotect.c: Likewise.
33847         * misc/msync.c: Likewise.
33848         * misc/munlock.c: Likewise.
33849         * misc/munlockall.c: Likewise.
33850         * misc/munmap.c: Likewise.
33851         * misc/preadv.c: Likewise.
33852         * misc/preadv64.c: Likewise.
33853         * misc/ptrace.c: Likewise.
33854         * misc/pwritev.c: Likewise.
33855         * misc/pwritev64.c: Likewise.
33856         * misc/readv.c: Likewise.
33857         * misc/reboot.c: Likewise.
33858         * misc/remap_file_pages.c: Likewise.
33859         * misc/removexattr.c: Likewise.
33860         * misc/revoke.c: Likewise.
33861         * misc/select.c: Likewise.
33862         * misc/setdomain.c: Likewise.
33863         * misc/setegid.c: Likewise.
33864         * misc/seteuid.c: Likewise.
33865         * misc/sethostid.c: Likewise.
33866         * misc/sethostname.c: Likewise.
33867         * misc/setregid.c: Likewise.
33868         * misc/setreuid.c: Likewise.
33869         * misc/setxattr.c: Likewise.
33870         * misc/sstk.c: Likewise.
33871         * misc/stty.c: Likewise.
33872         * misc/swapoff.c: Likewise.
33873         * misc/swapon.c: Likewise.
33874         * misc/sync.c: Likewise.
33875         * misc/syncfs.c: Likewise.
33876         * misc/syscall.c: Likewise.
33877         * misc/truncate.c: Likewise.
33878         * misc/ualarm.c: Likewise.
33879         * misc/usleep.c: Likewise.
33880         * misc/ustat.c: Likewise.
33881         * misc/utimes.c: Likewise.
33882         * misc/vhangup.c: Likewise.
33883         * misc/writev.c: Likewise.
33884         * posix/_exit.c: Likewise.
33885         * posix/alarm.c: Likewise.
33886         * posix/execve.c: Likewise.
33887         * posix/fexecve.c: Likewise.
33888         * posix/fork.c: Likewise.
33889         * posix/fpathconf.c: Likewise.
33890         * posix/getaddrinfo.c: Likewise.
33891         * posix/getegid.c: Likewise.
33892         * posix/geteuid.c: Likewise.
33893         * posix/getgid.c: Likewise.
33894         * posix/getgroups.c: Likewise.
33895         * posix/getlogin.c: Likewise.
33896         * posix/getlogin_r.c: Likewise.
33897         * posix/getpgid.c: Likewise.
33898         * posix/getpid.c: Likewise.
33899         * posix/getppid.c: Likewise.
33900         * posix/getresgid.c: Likewise.
33901         * posix/getresuid.c: Likewise.
33902         * posix/getsid.c: Likewise.
33903         * posix/getuid.c: Likewise.
33904         * posix/glob64.c: Likewise.
33905         * posix/nanosleep.c: Likewise.
33906         * posix/pathconf.c: Likewise.
33907         * posix/pause.c: Likewise.
33908         * posix/posix_madvise.c: Likewise.
33909         * posix/pread.c: Likewise.
33910         * posix/pread64.c: Likewise.
33911         * posix/pwrite.c: Likewise.
33912         * posix/pwrite64.c: Likewise.
33913         * posix/sched_getaffinity.c: Likewise.
33914         * posix/sched_getp.c: Likewise.
33915         * posix/sched_gets.c: Likewise.
33916         * posix/sched_primax.c: Likewise.
33917         * posix/sched_primin.c: Likewise.
33918         * posix/sched_rr_gi.c: Likewise.
33919         * posix/sched_setaffinity.c: Likewise.
33920         * posix/sched_setp.c: Likewise.
33921         * posix/sched_sets.c: Likewise.
33922         * posix/sched_yield.c: Likewise.
33923         * posix/setgid.c: Likewise.
33924         * posix/setlogin.c: Likewise.
33925         * posix/setpgid.c: Likewise.
33926         * posix/setresgid.c: Likewise.
33927         * posix/setresuid.c: Likewise.
33928         * posix/setsid.c: Likewise.
33929         * posix/setuid.c: Likewise.
33930         * posix/sleep.c: Likewise.
33931         * posix/spawni.c: Likewise.
33932         * posix/sysconf.c: Likewise.
33933         * posix/times.c: Likewise.
33934         * posix/wait.c: Likewise.
33935         * posix/wait3.c: Likewise.
33936         * posix/wait4.c: Likewise.
33937         * posix/waitpid.c: Likewise.
33938         * resolv/gai_sigqueue.c: Likewise.
33939         * resource/getpriority.c: Likewise.
33940         * resource/getrlimit.c: Likewise.
33941         * resource/getrusage.c: Likewise.
33942         * resource/nice.c: Likewise.
33943         * resource/setpriority.c: Likewise.
33944         * resource/setrlimit.c: Likewise.
33945         * resource/ulimit.c: Likewise.
33946         * rt/aio_cancel.c: Likewise.
33947         * rt/aio_fsync.c: Likewise.
33948         * rt/aio_read.c: Likewise.
33949         * rt/aio_sigqueue.c: Likewise.
33950         * rt/aio_suspend.c: Likewise.
33951         * rt/aio_write.c: Likewise.
33952         * rt/clock_getres.c: Likewise.
33953         * rt/clock_gettime.c: Likewise.
33954         * rt/clock_nanosleep.c: Likewise.
33955         * rt/clock_settime.c: Likewise.
33956         * rt/lio_listio.c: Likewise.
33957         * rt/mq_close.c: Likewise.
33958         * rt/mq_getattr.c: Likewise.
33959         * rt/mq_notify.c: Likewise.
33960         * rt/mq_open.c: Likewise.
33961         * rt/mq_receive.c: Likewise.
33962         * rt/mq_send.c: Likewise.
33963         * rt/mq_setattr.c: Likewise.
33964         * rt/mq_timedreceive.c: Likewise.
33965         * rt/mq_timedsend.c: Likewise.
33966         * rt/mq_unlink.c: Likewise.
33967         * rt/shm_open.c: Likewise.
33968         * rt/shm_unlink.c: Likewise.
33969         * rt/timer_create.c: Likewise.
33970         * rt/timer_delete.c: Likewise.
33971         * rt/timer_getoverr.c: Likewise.
33972         * rt/timer_gettime.c: Likewise.
33973         * rt/timer_settime.c: Likewise.
33974         * setjmp/__longjmp.c: Likewise.
33975         * setjmp/setjmp.c: Likewise.
33976         * signal/kill.c: Likewise.
33977         * signal/killpg.c: Likewise.
33978         * signal/raise.c: Likewise.
33979         * signal/sigaction.c: Likewise.
33980         * signal/sigaltstack.c: Likewise.
33981         * signal/sigblock.c: Likewise.
33982         * signal/sigignore.c: Likewise.
33983         * signal/sigintr.c: Likewise.
33984         * signal/signal.c: Likewise.
33985         * signal/sigpause.c: Likewise.
33986         * signal/sigpending.c: Likewise.
33987         * signal/sigqueue.c: Likewise.
33988         * signal/sigreturn.c: Likewise.
33989         * signal/sigset.c: Likewise.
33990         * signal/sigsetmask.c: Likewise.
33991         * signal/sigstack.c: Likewise.
33992         * signal/sigsuspend.c: Likewise.
33993         * signal/sigtimedwait.c: Likewise.
33994         * signal/sigvec.c: Likewise.
33995         * signal/sigwait.c: Likewise.
33996         * signal/sigwaitinfo.c: Likewise.
33997         * signal/sysv_signal.c: Likewise.
33998         * socket/accept.c: Likewise.
33999         * socket/accept4.c: Likewise.
34000         * socket/bind.c: Likewise.
34001         * socket/connect.c: Likewise.
34002         * socket/getpeername.c: Likewise.
34003         * socket/getsockname.c: Likewise.
34004         * socket/getsockopt.c: Likewise.
34005         * socket/isfdtype.c: Likewise.
34006         * socket/listen.c: Likewise.
34007         * socket/recv.c: Likewise.
34008         * socket/recvfrom.c: Likewise.
34009         * socket/recvmsg.c: Likewise.
34010         * socket/send.c: Likewise.
34011         * socket/sendmsg.c: Likewise.
34012         * socket/sendto.c: Likewise.
34013         * socket/setsockopt.c: Likewise.
34014         * socket/shutdown.c: Likewise.
34015         * socket/sockatmark.c: Likewise.
34016         * socket/socket.c: Likewise.
34017         * socket/socketpair.c: Likewise.
34018         * stdio-common/ctermid.c: Likewise.
34019         * stdio-common/cuserid.c: Likewise.
34020         * stdio-common/remove.c: Likewise.
34021         * stdio-common/rename.c: Likewise.
34022         * stdio-common/renameat.c: Likewise.
34023         * stdio-common/tempname.c: Likewise.
34024         * stdlib/getcontext.c: Likewise.
34025         * stdlib/makecontext.c: Likewise.
34026         * stdlib/setcontext.c: Likewise.
34027         * stdlib/swapcontext.c: Likewise.
34028         * stdlib/system.c: Likewise.
34029         * streams/fattach.c: Likewise.
34030         * streams/fdetach.c: Likewise.
34031         * streams/getmsg.c: Likewise.
34032         * streams/getpmsg.c: Likewise.
34033         * streams/putmsg.c: Likewise.
34034         * streams/putpmsg.c: Likewise.
34035         * sysdeps/unix/bsd/getpt.c: Likewise.
34036         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34037         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34038         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34040         Likewise.
34041         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34042         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34043         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34044         * sysvipc/msgctl.c: Likewise.
34045         * sysvipc/msgget.c: Likewise.
34046         * sysvipc/msgrcv.c: Likewise.
34047         * sysvipc/msgsnd.c: Likewise.
34048         * sysvipc/semctl.c: Likewise.
34049         * sysvipc/semget.c: Likewise.
34050         * sysvipc/semop.c: Likewise.
34051         * sysvipc/semtimedop.c: Likewise.
34052         * sysvipc/shmat.c: Likewise.
34053         * sysvipc/shmctl.c: Likewise.
34054         * sysvipc/shmdt.c: Likewise.
34055         * sysvipc/shmget.c: Likewise.
34056         * termios/tcdrain.c: Likewise.
34057         * termios/tcflow.c: Likewise.
34058         * termios/tcflush.c: Likewise.
34059         * termios/tcgetattr.c: Likewise.
34060         * termios/tcgetpgrp.c: Likewise.
34061         * termios/tcsendbrk.c: Likewise.
34062         * termios/tcsetattr.c: Likewise.
34063         * termios/tcsetpgrp.c: Likewise.
34064         * time/adjtime.c: Likewise.
34065         * time/clock.c: Likewise.
34066         * time/getitimer.c: Likewise.
34067         * time/gettimeofday.c: Likewise.
34068         * time/setitimer.c: Likewise.
34069         * time/settimeofday.c: Likewise.
34070         * time/stime.c: Likewise.
34071         * time/time.c: Likewise.
34073 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34075         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34076         /usr/old/bin.
34078         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34079         instead of spaces.
34080         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34082 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34084         [BZ #14796]
34085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34086         FE_TONEAREST before applying Dekker multiplication and Knuth
34087         addition.  Clear inexact exceptions and check for exact zero
34088         results afterwards.
34089         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34090         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34091         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34092         * math/libm-test.inc (fma_test): Add more tests.
34093         (fma_test_towardzero): Likewise.
34094         (fma_test_downward): Likewise.
34095         (fma_test_upward): Likewise.
34096         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34097         function.
34098         (libc_fesetround): New macro.
34099         (libc_fesetroundf): Likewise.
34100         (libc_fesetroundl): Likewise.
34101         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34102         function.
34103         (libc_fesetround_387): Likewise.
34104         (libc_fesetroundf): New macro.
34105         (libc_fesetround): Likewise.
34106         (libc_fesetroundl): Likewise.
34107         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34108         function.
34109         (libc_fesetroundf): New macro.
34110         (libc_fesetround): Likewise.
34111         (libc_fesetroundl): Likewise.
34112         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34113         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34114         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34115         libm_hidden_ver.
34116         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34117         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34118         libm_hidden_def.
34119         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34120         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34121         libm_hidden_ver.
34122         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34123         libm_hidden_def.
34125         [BZ #3439]
34126         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34127         integer constant usable in #if and use that to give value to enum
34128         constant.
34129         (FE_DIVBYZERO): Likewise.
34130         (FE_UNDERFLOW): Likewise.
34131         (FE_OVERFLOW): Likewise.
34132         (FE_INVALID): Likewise.
34133         (FE_INVALID_SNAN): Likewise.
34134         (FE_INVALID_ISI): Likewise.
34135         (FE_INVALID_IDI): Likewise.
34136         (FE_INVALID_ZDZ): Likewise.
34137         (FE_INVALID_IMZ): Likewise.
34138         (FE_INVALID_COMPARE): Likewise.
34139         (FE_INVALID_SOFTWARE): Likewise.
34140         (FE_INVALID_SQRT): Likewise.
34141         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34142         (FE_TONEAREST): Likewise.
34143         (FE_TOWARDZERO): Likewise.
34144         (FE_UPWARD): Likewise.
34145         (FE_DOWNWARD): Likewise.
34146         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34147         (FE_DIVBYZERO): Likewise.
34148         (FE_OVERFLOW): Likewise.
34149         (FE_UNDERFLOW): Likewise.
34150         (FE_INEXACT): Likewise.
34151         (FE_TONEAREST): Likewise.
34152         (FE_DOWNWARD): Likewise.
34153         (FE_UPWARD): Likewise.
34154         (FE_TOWARDZERO): Likewise.
34155         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34156         (FE_UNDERFLOW): Likewise.
34157         (FE_OVERFLOW): Likewise.
34158         (FE_DIVBYZERO): Likewise.
34159         (FE_INVALID): Likewise.
34160         (FE_TONEAREST): Likewise.
34161         (FE_TOWARDZERO): Likewise.
34162         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34163         (FE_OVERFLOW): Likewise.
34164         (FE_UNDERFLOW): Likewise.
34165         (FE_DIVBYZERO): Likewise.
34166         (FE_INEXACT): Likewise.
34167         (FE_TONEAREST): Likewise.
34168         (FE_TOWARDZERO): Likewise.
34169         (FE_UPWARD): Likewise.
34170         (FE_DOWNWARD): Likewise.
34171         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34172         (FE_DIVBYZERO): Likewise.
34173         (FE_OVERFLOW): Likewise.
34174         (FE_UNDERFLOW): Likewise.
34175         (FE_INEXACT): Likewise.
34176         (FE_TONEAREST): Likewise.
34177         (FE_DOWNWARD): Likewise.
34178         (FE_UPWARD): Likewise.
34179         (FE_TOWARDZERO): Likewise.
34181 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34183         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34185 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34187         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34188         commands.  Quote $PWD.
34189         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34190         -x" by "export".
34191         (remove_newlines): Remove.
34193 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34195         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34196         * stdlib/stdlib.h (atof): Moved to ...
34197         * include/bits/stdlib-float.h: Here.  New file.
34198         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34199         * stdlib/bits/stdlib-float.h: New file.
34200         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34201         -mno-sse -mno-mmx.
34202         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34203         <xmmintrin.h>.
34205 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34207         * conform/conformtest.pl (@headers): Add fenv.h.
34208         * conform/data/fenv.h-data: New file.
34209         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34210         include of <math/fenv.h>.
34212         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34213         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34214         && !UNIX98].  Enables tests for XOPEN2K8.
34215         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34216         POSIX2008]: Likewise.
34218         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34219         (struct rusage): Do not expect type or its members.
34221         [BZ #3439]
34222         * math/math.h (FP_NAN): Define macro to integer constant usable in
34223         #if and use that to give value to enum constant.
34224         (FP_INFINITE): Likewise.
34225         (FP_ZERO): Likewise.
34226         (FP_SUBNORMAL): Likewise.
34227         (FP_NORMAL): Likewise.
34229 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34231         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34232         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34233         arguments.
34235 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34237         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34238         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34239         autoconf-time if not.
34240         * configure.in: Remove AC_PREREQ.
34242 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34244         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34245         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34246         of the internal implementation.
34248 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34250         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34251         except include of <misc/sys/syslog.h>.
34253 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34256         function returns with a NULL context exit with zero.
34258 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34260         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34262 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34264         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34265         (run_program_cmd): This.
34266         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34267         (tst_langinfo): New variable.  Use it.
34269 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34271         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34272         floating point opcodes.
34274 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34276         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34277         variable.
34279         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34281         * sysdeps/mach/hurd/powerpc: Remove directory.
34282         * sysdeps/mach/powerpc: Likewise.
34284 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34286         * scripts/check-local-headers.sh: Ignore c++ headers.
34288 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34290         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34291         __libc_cleanup_region_start argument.
34293 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34295         [BZ #14784]
34296         [BZ #14785]
34297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34298         x * y using scaling, not as x * y + z.
34299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34301         * math/libm-test.inc (fma_test): Add more tests.
34302         (fma_test_towardzero): Likewise.
34303         (fma_test_downward): Likewise.
34304         (fma_test_upward): Likewise.
34306 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34308         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34310 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34312         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34313         New variable.
34315 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34317         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34319 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34322         Fix sort order.
34323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34324         Likewise.
34326 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34329         Fix the order of the list for glibc 2.17.
34330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34331         Likewise.
34333 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34337 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34339         [BZ #14610]
34340         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34341         for low part of x being zero before using __atanl (y).
34342         * math/libm-test.inc (atan2_test): Add another test.
34344         * manual/install.texi (Configuring and compiling): Document
34345         general use of test-wrapper and test-wrapper-env.
34346         * INSTALL: Regenerated.
34348         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34349         (__fma): Do not extract and scale down low bits on after-rounding
34350         systems when result rounded to normal precision would have normal
34351         exponent.
34352         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34353         (__fmal): Do not extract and scale down low bits on after-rounding
34354         systems when result rounded to normal precision would have normal
34355         exponent.
34356         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34357         (__fmal): Do not extract and scale down low bits on after-rounding
34358         systems when result rounded to normal precision would have normal
34359         exponent.
34360         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34361         macro.
34362         (fma_test): Add more tests.
34363         (fma_test_towardzero): Likewise.
34364         (fma_test_downward): Likewise.
34365         (fma_test_upward): Likewise.
34367 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34369         * sysdeps/i386/tininess.h: Renamed to ...
34370         * sysdeps/x86/tininess.h: This.
34371         * sysdeps/x86_64/tininess.h: Removed.
34373 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34375         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34376         input.  Use $(build-program-cmd).
34377         ($(objpfx)tst-array1-static.out): Likewise.
34378         ($(objpfx)tst-array2.out): Likewise.
34379         ($(objpfx)tst-array3.out): Likewise.
34380         ($(objpfx)tst-array4.out): Likewise.
34381         ($(objpfx)tst-array5.out): Likewise.
34382         ($(objpfx)tst-array5-static.out): Likewise.
34384 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34386         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34387         if defined.
34389         * nss/nsswitch.h (nss_interface_function): Provide new
34390         macro for use with NSS functions.
34391         * grp/initgroups.c: Use new macro.
34392         * nss/getXXbyYY.c: Likewise.
34393         * nss/getXXbyYY_r.c: Likewise.
34394         * nss/getXXent.c: Likewise.
34395         * nss/getXXent_r.c: Likewise.
34396         * sysdeps/posix/getaddrinfo.c: Likewise.
34398 2012-10-30  Andreas Jaeger  <aj@suse.de>
34400         * po/ru.po: Update Russion translation from translation project.
34402 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34404         [BZ #14152]
34405         [BZ #14783]
34406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34407         result and shift together with sticky bit instead of replicating
34408         round-to-nearest rounding.
34409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34410         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34411         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34412         missing underflow exceptions.
34413         (fma_test_towardzero): Add more tests.
34414         (fma_test_downward): Likewise.
34415         (fma_test_upward): Likewise.
34417         [BZ #14047]
34418         * sysdeps/generic/tininess.h: New file.
34419         * sysdeps/i386/tininess.h: Likewise.
34420         * sysdeps/sh/tininess.h: Likewise.
34421         * sysdeps/x86_64/tininess.h: Likewise.
34422         * stdlib/tst-strtod-underflow.c: Likewise.
34423         * stdlib/tst-tininess.c: Likewise.
34424         * stdlib/strtod_l.c: Include <tininess.h>.
34425         (round_and_return): Do not set errno for exact underflow cases.
34426         Force an underflow exception when setting errno for underflow.
34427         Determine underflow based on rounding to normal precision if
34428         TININESS_AFTER_ROUNDING.
34429         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34430         ERANGE for exact underflow cases.
34431         * stdlib/Makefile (tests): Add tst-tininess and
34432         tst-strtod-underflow.
34433         ($(objpfx)tst-tininess): Use $(link-libm).
34434         ($(objpfx)tst-strtod-underflow): Likewise.
34436 2012-10-30  Andreas Jaeger  <aj@suse.de>
34438         [BZ#14767]
34439         * elf/Makefile (tests): Remove conditional for have-initfini-array
34440         since this is now always required and the variable does not exist
34441         anymore.
34442         (tests-static): Likewise.
34443         (modules-names): Likewise.
34445         * po/eo.po: Add Esperanto translation from translation project.
34447         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34448         merged with constructor/destructor.
34449         (init_array): Likewise.
34450         * elf/tst-array2dep.c (fini_array): Likewise.
34451         (init_array): Likewise.
34453 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34455         * manual/message.texi: Delete @cartouche tags.
34457 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34459         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34460         EOPNOTSUPP.
34461         * sysdeps/mach/hurd/fsync.c: Likewise.
34463         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34464         [_POSIX_REALTIME_SIGNALS]: Change condition to
34465         [_POSIX_REALTIME_SIGNALS > 0].
34467 2012-10-27  Andreas Jaeger  <aj@suse.de>
34469         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34470         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34472         [__WORDSIZE != 64]: Likewise.
34474 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34476         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34477         *  iconvdata/tst-tables.sh: Likewise.
34479 2012-10-25  David S. Miller  <davem@davemloft.net>
34481         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34482         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34483         of strtoull.
34485         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34486         ifunc-impl-list.c
34487         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34488         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34489         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34490         file.
34492 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34494         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34495         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34496         __getdirentries.
34498 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34499             Jim Blandy  <jimb@codesourcery.com>
34501         * scripts/cross-test-ssh.sh: New file.
34502         * manual/install.texi (Configuring and compiling): Document use of
34503         cross-test-ssh.sh.
34504         * INSTALL: Regenerated.
34506 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34508         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34509         EOPNOTSUPP.
34511 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34513         * Makeconfig (run-program-prefix): Fix comment.
34515 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34516             Jim Blandy  <jimb@codesourcery.com>
34518         * Makeconfig (test-wrapper): New variable,
34519         (test-wrapper-env): Likewise.
34520         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34521         (run-built-tests): Define to yes.
34522         (run-program-prefix): Use $(test-wrapper).
34523         (built-program-cmd): Likewise.
34524         * Rules (make-test-out): Use $(test-wrapper-env) and
34525         $(host-built-program-cmd).
34526         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34527         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34528         tst-pathopt.sh.
34529         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34530         $(test-wrapper-env) to tst-rtld-load-self.sh.
34531         ($(objpfx)order2.out): Use $(test-wrapper).
34532         ($(objpfx)tst-initorder.out): Likewise.
34533         ($(objpfx)tst-initorder2.out): Likewise.
34534         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34535         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34536         (test_wrapper_env): New variable.  Use it to run ld.so.
34537         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34538         Use it to run ld.so.
34539         (test_wrapper_env): Likewise.
34540         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34541         $(test-wrapper) to run-iconv-test.sh.
34542         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34543         (ICONV): Use $test_wrapper.
34544         * posix/Makefile ($(objpfx)globtest.out): Pass
34545         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34546         globtest.sh, not $(run-program-prefix).
34547         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34548         (test_wrapper): Likewise.
34549         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34550         set together with run_via_rtld_prefix.
34551         (run_program_prefix): Define in terms of test_wrapper and
34552         run_via_rtld_prefix.
34554 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34556         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34557         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34558         Targets removed.
34560         [BZ #14743]
34561         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34562         Declare __clock_getres, __clock_gettime, __clock_settime,
34563         __clock_nanosleep, and __clock_getcpuclockid.
34564         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34565         Remove librt_hidden_def (clock_gettime).
34566         * sysdeps/unix/clock_gettime.c: Likewise.
34567         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34568         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34569         * rt/clock_getres.c: Define __clock_getres as an alias.
34570         * sysdeps/posix/clock_getres.c: Likewise.
34571         * rt/clock_settime.c: Define __clock_settime as an alias.
34572         * sysdeps/unix/clock_settime.c: Likewise.
34573         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34574         * sysdeps/unix/clock_nanosleep.c: Likewise.
34575         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34576         * rt/clock-compat.c: New file.
34577         * rt/Makefile (librt-routines): Add clock-compat and move
34578         $(clock-routines) to ...
34579         (routines): ... here, new variable.
34580         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34581         Don't add get_clockfreq here.
34582         * rt/Versions (libc: GLIBC_2.17): New version set.
34583         Add clock_* symbols here.
34584         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34585         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34586         (GLIBC_2.17): Add clock_* symbols.
34587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34591         Likewise.
34592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34593         Likewise.
34594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34598         * NEWS: Mention the move.
34600         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34601         Use __open, __read, __close rather than their public counterparts.
34602         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34603         (__get_clockfreq_via_cpuinfo): Likewise.
34604         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34605         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34607         * config.h.in (HAVE_IFUNC): New #undef.
34608         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34609         was successful.
34610         * configure: Regenerated.
34612 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34614         * configure.in: Move READELF check to start of file.
34615         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34616         libc_cv_asm_gnu_indirect_function in the process.
34617         * configure: Regenerated.
34619 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34621         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34622         send the output to /dev/null.
34623         (libc_cv_cc_with_libunwind): Likewise.
34624         (libc_cv_as_noexecstack): Likewise.
34625         * configure: Regenerate.
34627 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34629         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34631         * posix/globtest.sh (TMPDIR): Do not set.
34632         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34633         (testout): Likewise.
34635 2012-10-24  Andreas Jaeger  <aj@suse.de>
34637         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34638         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34639         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34640         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34641         posix_fadvise64, posix_fallocate64.
34643         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34644         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34645         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34646         Likewise.
34647         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34648         Likewise.
34649         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34651         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34652         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34653         <bits/fcntl-linux.h>.
34654         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34656         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34657         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34658         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34659         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34660         [__WORDSIZE != 64]: Likewise.
34662 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34664         * Makeconfig (run-built-tests): New variable.
34665         * Rules [$(cross-compiling) = yes]: Change condition to
34666         [$(run-built-tests) = no].
34667         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34668         to [$(run-built-tests) = yes].
34669         * elf/Makefile [$(cross-compiling) = no]: Likewise
34670         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34671         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34672         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34673         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34674         * io/Makefile [$(cross-compiling) = no]: Likewise.
34675         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34676         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34677         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34678         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34679         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34680         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34681         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34682         * string/Makefile [$(cross-compiling) = no]: Likewise.
34684         * posix/Makefile ($(objpfx)globtest.out): Pass
34685         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34686         $(rtld-installed-name).
34687         * posix/globtest.sh (elf_objpfx): Remove variable.
34688         (rtld_installed_name): Likewise.
34689         (library_path): Likewise.
34690         (run_program_prefix): New variable.  Use for running globtest
34691         binary.
34693 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34694             Joseph Myers  <joseph@codesourcery.com>
34696         * Makeconfig (host-built-program-cmd): New variable.
34697         * elf/Makefile (tst-stackguard1-ARGS): Use
34698         $(host-built-program-cmd).
34699         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34700         (tst-spawn-ARGS): Likewise.
34701         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34703 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34704             Jim Blandy  <jimb@codesourcery.com>
34706         * Makeconfig (run-via-rtld-prefix): New variable.
34707         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34708         (built-program-cmd): Likewise.
34710 2012-10-22  Andreas Jaeger  <aj@suse.de>
34712         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34713         __O_RSYNC if it exists, otherwise to O_SYNC.
34715 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34716             Joseph Myers  <joseph@codesourcery.com>
34718         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34719         /dev/null.
34720         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34721         from /dev/null
34722         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34723         /dev/null.
34725 2012-10-22  Andreas Jaeger  <aj@suse.de>
34727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34728         Define always.
34729         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34732         bits/fcntl-linux.h.
34734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34735         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34737         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34738         to __O_LARGEFILE.
34739         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34740         to __O_LARGEFILE.
34742 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34743             Joseph Myers  <joseph@codesourcery.com>
34745         * config.make.in (NM): New variable.
34747 2012-10-21  Andreas Jaeger  <aj@suse.de>
34749         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34750         definitions and declarations that are provided by
34751         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34753 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34755         [BZ #14683]
34756         * elf/Makefile (tests-static): Add tst-leaks1-static.
34757         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34758         ($(objpfx)tst-leaks1-static): New rule.
34759         ($(objpfx)tst-leaks1-static-mem): Likewise.
34760         (tst-leaks1-static-ENV): New macro.
34761         * elf/dl-open.c (dl_open_worker): Check the main application
34762         only if SHARED is defined.
34763         * elf/tst-leaks1-static.c: New file.
34765 2012-10-20  Andreas Jaeger  <aj@suse.de>
34767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34768         generic values for Linux.
34769         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34770         and declarations that are provided by <bits/fcntl-linux.h> and
34771         include <bits/fcntl-linux.h>.
34772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34773         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34775 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34777         * io/fcntl.h: Move include of <bits/types.h> to the top and
34778         include it unconditionally.
34780 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34782         * wcsmbs/Makefile (tests-ifunc): New variable.
34783         (tests): Add $(tests-ifunc).
34784         * wcsmbs/test-wcschr-ifunc.c: New file.
34785         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34786         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34787         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34788         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34789         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34791         * string/Makefile (tests-ifunc): New variable.
34792         (tests): Add $(tests-ifunc).
34793         * string/test-memccpy.c (TEST_NAME): New macro.
34794         * string/test-memchr.c (TEST_NAME): Likewise.
34795         * string/test-memcmp.c (TEST_NAME): Likewise.
34796         * string/test-memcpy.c (TEST_NAME): Likewise.
34797         * string/test-memmem.c (TEST_NAME): Likewise.
34798         * string/test-memmove.c (TEST_NAME): Likewise.
34799         * string/test-memset.c (TEST_NAME): Likewise.
34800         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34801         * string/test-stpcpy.c (TEST_NAME): Likewise.
34802         * string/test-stpncpy.c (TEST_NAME): Likewise.
34803         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34804         * string/test-strcasestr.c (TEST_NAME): Likewise.
34805         * string/test-strcat.c (TEST_NAME): Likewise.
34806         * string/test-strchr.c (TEST_NAME): Likewise.
34807         * string/test-strcmp.c(TEST_NAME): Likewise.
34808         * string/test-strcpy.c (TEST_NAME): Likewise.
34809         * string/test-strcspn.c (TEST_NAME): Likewise.
34810         * string/test-strlen.c (TEST_NAME): Likewise.
34811         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34812         * string/test-strncmp.c (TEST_NAME): Likewise.
34813         * string/test-strncpy.c (TEST_NAME): Likewise.
34814         * string/test-strnlen.c (TEST_NAME): Likewise.
34815         * string/test-strpbrk.c (TEST_NAME): Likewise.
34816         * string/test-strrchr.c (TEST_NAME): Likewise.
34817         * string/test-strspn.c (TEST_NAME): Likewise.
34818         * string/test-strstr.c (TEST_NAME): Likewise.
34819         * string/test-bcopy-ifunc.c: New file.
34820         * string/test-bzero-ifunc.c: Likewise.
34821         * string/test-memccpy-ifunc.c: Likewise.
34822         * string/test-memchr-ifunc.c: Likewise.
34823         * string/test-memcmp-ifunc.c: Likewise.
34824         * string/test-memcpy-ifunc.c: Likewise.
34825         * string/test-memmem-ifunc.c: Likewise.
34826         * string/test-memmove-ifunc.c: Likewise.
34827         * string/test-mempcpy-ifunc.c: Likewise.
34828         * string/test-memset-ifunc.c: Likewise.
34829         * string/test-rawmemchr-ifunc.c: Likewise.
34830         * string/test-stpcpy-ifunc.c: Likewise.
34831         * string/test-stpncpy-ifunc.c: Likewise.
34832         * string/test-strcasecmp-ifunc.c: Likewise.
34833         * string/test-strcasestr-ifunc.c: Likewise.
34834         * string/test-strcat-ifunc.c: Likewise.
34835         * string/test-strchr-ifunc.c: Likewise.
34836         * string/test-strchrnul-ifunc.c: Likewise.
34837         * string/test-strcmp-ifunc.c: Likewise.
34838         * string/test-strcpy-ifunc.c: Likewise.
34839         * string/test-strcspn-ifunc.c: Likewise.
34840         * string/test-strlen-ifunc.c: Likewise.
34841         * string/test-strncasecmp-ifunc.c: Likewise.
34842         * string/test-strncat-ifunc.c: Likewise.
34843         * string/test-strncmp-ifunc.c: Likewise.
34844         * string/test-strncpy-ifunc.c: Likewise.
34845         * string/test-strnlen-ifunc.c: Likewise.
34846         * string/test-strpbrk-ifunc.c: Likewise.
34847         * string/test-strrchr-ifunc.c: Likewise.
34848         * string/test-strspn-ifunc.c: Likewise.
34849         * string/test-strstr-ifunc.c: Likewise.
34851         * debug/Makefile (tests-ifunc): New variable.
34852         (tests): Add $(tests-ifunc).
34853         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34854         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34855         * debug/test-stpcpy_chk-ifunc.c: New file.
34856         * debug/test-strcpy_chk-ifunc.c: Likewise.
34858 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34860         [BZ #13601]
34861         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34862         header is not read in.
34864 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34866         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34867         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34868         directly.  Pass built executable to script as
34869         $(built-program-cmd).
34870         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34871         $testprogram without using LD_LIBRARY_PATH and $ldso.
34873         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34874         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34875         $(rtld-installed-name).
34876         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34877         (rtld_installed_name): Likewise.
34878         (library_path): Likewise.
34879         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34880         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34881         $(run-program-prefix) to tst-tables.sh.
34882         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34883         it to run tst-table-from and tst-table-to.
34884         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34885         Pass it to tst-table.sh.
34886         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34887         $(run-program-prefix) to tst-gettext.sh.
34888         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34889         tst-translit.sh.
34890         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34891         tst-gettext2.sh.
34892         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34893         to run tst-gettext.
34894         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34895         to run tst-gettext2.
34896         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34897         to run tst-translit.
34898         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34899         $(run-program-prefix) to tst-mtrace.sh.
34900         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34901         to run tst-mtrace.
34902         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34903         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34904         $(rtld-installed-name).
34905         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34906         (rtld_installed_name): Likewise.
34907         (run_program_prefix): New variable.  Use it to run wordexp-test.
34909         * Makeconfig (ARCH): Remove all definitions.
34910         (machine): Likewise.
34911         [ARCH]: Remove conditional code.
34912         [!objdir]: Give error.
34913         [!objdir] (objpfx): Remove.
34914         [!objdir] (common-objpfx): Likewise.
34915         [!objdir] (common-objdir): Likewise.
34916         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34917         AC_CONFIG_FILES call.
34918         * configure: Regenerated.
34920         [BZ #13888]
34921         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34922         or TMPDIR.
34923         (testout): Likewise.
34925         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34926         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34927         $(rtld-installed-name).
34928         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34929         (rtld_installed_name): Likwise.
34930         (runit): Remove function.
34931         (run_getconf): New variable,  Use it for running getconf binary.
34933 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34935         [BZ #14716]
34936         * string/test-memmem.c (check_result): New function.
34937         (do_one_test): Use it.
34938         (check1): New function.
34939         (test_main): Use it.
34941 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34943         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34945 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34947         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34948         (_G_LSEEK64): Likewise.
34949         (_G_MMAP64): Likewise.
34950         (_G_FSTAT64): Likewise.
34951         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34952         (_G_LSEEK64): Likewise.
34953         (_G_MMAP64): Likewise.
34954         (_G_FSTAT64): Likewise.
34955         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34956         unconditional.  Call __mmap64 directly.
34957         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34958         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34959         __lseek64 directly.
34960         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34961         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34962         __mmap64 directly.
34963         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34964         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34965         __lseek64 directly.
34966         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34967         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34968         __lseek64 directly.
34969         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34970         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34971         __lseek64 directly.
34972         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34973         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34974         __fxstat64 directly.
34975         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34976         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34977         unconditional.
34978         (freopen64) [!_G_OPEN64]: Remove conditional code.
34979         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34980         unconditional.
34981         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34982         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34983         unconditional.
34984         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34985         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34986         unconditional.
34987         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34988         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34989         unconditional.
34990         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34991         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34992         unconditional.
34993         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34994         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34995         unconditional.
34996         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34997         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34998         unconditional.
34999         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35001 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35003         [BZ #12140]
35004         * manual/memory.texi (Malloc Tunable Parameters): Add note
35005         about free list pointers overwriting some perturb bytes.
35006         Wording suggested by Roland McGrath.
35008 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35010         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35011         (lgamma_test): Likewise.
35012         (tgamma_test): Likewise.
35014 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35016         [BZ #14700]
35017         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35018         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35020 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35022         * NEWS: Mention BZ #14716.
35023         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35024         when removing AVAILABLE1_USES_J macro.
35026 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35028         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35029         (__bswap_64): __uint64_t for unsigned 64-bit int.
35031 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35033         * include/string.h (memmem): Declare libc hidden alias.
35034         * string/memmem.c (memmem): Define libc hidden alias.
35035         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35036         __read, __close instead of open, read, close.
35038 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35041         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35042         global and hidden.
35043         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35044         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35045         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35046         Likewise.
35047         (__rawmemchr_sse2): Likewise.
35048         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35049         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35050         (__strchr_sse2): Likewise.
35051         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35052         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35053         (__strcasecmp_sse2): Likewise.
35054         (__strncasecmp_sse2): Likewise.
35055         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35056         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35057         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35058         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35059         (__strrchr_sse2): Likewise.
35060         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35061         ifunc-impl-list.c.
35062         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35063         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35064         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35065         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35066         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35067         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35068         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35069         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35070         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35071         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35072         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35073         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35074         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35075         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35076         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35077         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35078         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35079         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35080         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35081         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35082         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35083         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35084         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35085         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35086         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35087         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35088         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35089         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35090         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35091         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35093         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35094         global and hidden.
35095         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35096         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35097         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35098         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35099         Likewise.
35100         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35101         Likewise.
35102         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35103         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35104         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35105         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35106         ifunc-impl-list.c.
35107         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35108         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35109         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35110         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35111         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35112         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35113         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35114         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35115         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35116         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35117         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35118         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35119         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35120         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35121         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35122         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35123         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35124         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35125         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35126         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35127         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35128         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35129         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35130         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35131         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35132         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35133         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35134         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35135         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35136         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35137         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35138         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35139         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35140         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35141         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35142         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35143         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35144         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35145         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35146         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35147         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35149         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35150         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35151         * include/ifunc-impl-list.h: New file.
35152         * misc/ifunc-impl-list.c: Likewise.
35153         * misc/Makefile (routines): Add ifunc-impl-list.
35154         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35155         * string/test-string.h: Include <ifunc-impl-list.h>.
35156         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35157         TEST_NAME]: New variables.
35158         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35159         are defined.
35160         (test_init): Call __libc_ifunc_impl_list to initialize
35161         func_list if TEST_IFUNC and TEST_NAME are defined.
35163         * string/Makefile (strop-tests): Add bcopy and bzero.
35164         * string/test-bcopy.c: New file.
35165         * string/test-bzero.c: Likewise.
35166         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35167         defined.
35168         * string/test-memset.c: Support bzero test if TEST_BZERO is
35169         defined.
35170         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35171         __libc_memmove.
35172         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35173         __libc_memset.
35174         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35175         of memset.
35177 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35179         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35180         * configure: Regenerated.
35182         * Makeconfig (+link-static-before-libc): Don't include
35183         $(link-static-libc).
35185         * libio/libio.h (_IO_pos_t): Remove.
35187 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35189         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35190         McGrath.
35192 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35194         * crypt/crypt-entry.c: Include fips-private.h.
35195         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35196         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35197         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35198         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35200 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35202         * crypt/crypt-private.h: Include stdbool.h.
35203         (_ufc_setup_salt_r): Return bool.
35204         * crypt/crypt-entry.c: Include errno.h.
35205         (__crypt_r): Return NULL with EINVAL for bad salt.
35206         * crypt/crypt_util.c (bad_for_salt): New.
35207         (_ufc_setup_salt_r): Check that salt is long enough and within
35208         the specified alphabet.
35209         * crypt/badsalttest.c: New file.
35210         * crypt/Makefile (tests): Add it.
35211         ($(objpfx)badsalttest): New.
35213 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35215         * NEWS: Add entry for BZ #14602.
35217 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35219         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35220         type-generic.
35221         * math/libm-test.inc: Update comment listing what functions and
35222         macros are tested.
35223         (isgreater_test): New function.
35224         (isgreaterequal_test): Likewise.
35225         (isless_test): Likewise.
35226         (islessequal_test): Likewise.
35227         (islessgreater_test): Likewise.
35228         (isunordered_test): Likewise.
35229         (main): Call the new functions.
35231 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35233         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35234         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35235         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35236         * sysdeps/i386/configure: Regenerated.
35237         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35238         * sysdeps/mach/configure: Regenerated.
35239         * sysdeps/mach/hurd/configure: Regenerated.
35240         * sysdeps/powerpc/configure: Regenerated.
35241         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35242         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35243         * sysdeps/s390/s390-32/configure: Regenerated.
35244         * sysdeps/s390/s390-64/configure: Regenerated.
35245         * sysdeps/sh/configure: Regenerated.
35246         * sysdeps/sparc/configure: Regenerated.
35247         * sysdeps/unix/sysv/linux/configure: Regenerated.
35248         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35249         * sysdeps/x86_64/configure: Regenerated.
35251         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35252         defined.  Don't check if MAP is NULL.
35254 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35256         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35257         (_G_stat64): Likewise.
35258         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35259         (_G_stat64): Likewise.
35260         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35261         instead of struct _G_stat64.
35262         * libio/fileops.c (mmap_remap_check): Likewise.
35263         (decide_maybe_mmap): Likewise.
35264         (_IO_new_file_seekoff): Likewise.
35265         (_IO_file_stat): Likewise.
35266         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35267         _G_off64_t.
35268         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35269         instead of struct _G_stat64.
35270         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35272 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35274         [BZ #14602]
35275         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35276         Replace with ...
35277         (CHECK_EOL): New macro.
35278         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35279         CHECK_EOL.
35280         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35281         Replace with CHECK_EOL.
35282         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35283         Replace with CHECK_EOL.
35285 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35287         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35288         type-generic.
35289         * math/libm-test.inc: Update comment listing what functions and
35290         macros are tested.
35291         (finite_test): New function.
35292         (isinf_test): Likewise.
35293         (isnan_test): Likewise.
35294         (fpclassify_test): Test subnormal input.
35295         (isfinite_test): Likewise.
35296         (isnormal_test): Likewise.
35297         (main): Call the new functions.
35299 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35301         [BZ #14660]
35302         * Makerules (%.dynsym): Force C locale when running
35303         $(OBJDUMP) --dynamic-syms.
35305 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35307         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35308         <stdint.h>.
35310 2012-10-06  David S. Miller  <davem@davemloft.net>
35312         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35313         upper 32-bits of the length value in %o2 since we use branch-on-register
35314         tests which consider the entire 64-bit register.
35316 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35318         * string/test-strstr.c (check2): Add a test for page boundary.
35320 2012-10-05  David S. Miller  <davem@davemloft.net>
35322         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35323         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35324         file.
35325         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35326         sysdep_routines.
35327         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35328         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35329         and bzero when HWCAP_SPARC_CRYPTO is present.
35331 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35333         [BZ #14602]
35334         * string/test-strstr.c (check2): New function.
35335         (test_main): Call check2.
35337         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35338         and bug-strchr1.
35339         * string/bug-strcasestr1.c (do_test): Moved to ...
35340         * string/test-strcasestr.c (check1): Here.  New function.
35341         (do_one_test): Break out result checking code into ...
35342         (check_result): This.  New function.
35343         (do_one_test): Call check_result.
35344         (test_main): Call check1.
35345         * string/bug-strchr1.c (do_test): Moved to ...
35346         * string/test-strchr.c (check1): Here.  New function.
35347         (do_one_test): Break out result checking code into ...
35348         (check_result): This.  New function.
35349         (do_one_test): Call check_result.
35350         (test_main): Call check1.
35351         * string/bug-strstr1.c (main): Moved to ...
35352         * string/test-strstr.c (check1): Here.  New function.
35353         (do_one_test): Break out result checking code into ...
35354         (check_result): This.  New function.
35355         (do_one_test): Call check_result.
35356         (test_main): Call check1.
35357         * string/bug-strcasestr1.c: Removed.
35358         * string/bug-strchr1.c: Likewise.
35359         * string/bug-strstr1.c: Likewise.
35361         * elf/Makefile (dl-routines): Add hwcaps.
35362         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35363         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35364         (_dl_important_hwcaps): Moved to ...
35365         * elf/dl-hwcaps.c: Here.  New file.
35366         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35368         [BZ #14557]
35369         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35370         if IS_IN_rtld isn't defined.
35372         * elf/dl-support.c (_dl_sysinfo_map): New.
35373         Include "get-dynamic-info.h" and "setup-vdso.h".
35374         (_dl_non_dynamic_init): Call setup_vdso.
35375         * elf/dynamic-link.h: Don't include <assert.h>.
35376         (elf_get_dynamic_info): Moved to ...
35377         * elf/get-dynamic-info.h: Here.  New file.
35378         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35379         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35380         * elf/setup-vdso.h: Here.  New file.
35381         * elf/rtld.c: Include "setup-vdso.h".
35382         (dl_main): Call setup_vdso.
35384 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35386         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35387         creal in comment listing functions tested.  List finite, isinf,
35388         isnan, isless, islessequal, isgreater, isgreaterequal,
35389         islessgreater, isunordered, lgamma_r and pow10 as functions and
35390         macros not tested.  Mention which functions not tested are aliases
35391         for other functions.  Fix typo.  Note that signs of NaNs are not
35392         tested.
35394         * scripts/config.guess: Update from config.git.
35395         * scripts/config.sub: Likewise.
35397 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35399         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35400         * misc/madvise.c (madvise): Renamed to __madvise.
35401         Make madvise a weak alias.
35402         * include/sys/mman.h: Declare __madvise.
35403         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35404         * sysdeps/unix/syscalls.list
35405         (madvise): Make __madvise the strong name, and madvise a weak alias.
35406         * sysdeps/unix/sysv/linux/syscalls.list
35407         (madvise, mmap): Remove redundant entries.
35408         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35409         * malloc/malloc.c (mtrim): Likewise.
35410         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35412 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35414         * sysdeps/mach/hurd/dl-cache.c: File removed.
35415         * config.h.in (USE_LDCONFIG): New #undef.
35416         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35417         * configure: Regenerated.
35418         * elf/Makefile (dl-routines): Add dl-cache only under
35419         [$(use-ldconfig) = yes].
35420         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35421         cache on [USE_LDCONFIG].
35422         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35423         [USE_LDCONFIG].
35424         * elf/rtld.c (dl_main): Likewise.
35426 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35428         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35429         _SC_LEVEL4_CACHE_LINESIZE.
35431 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35433         * sysdeps/unix/bsd/confstr.h: File removed.
35435 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35437         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35438         sys/sdt-config.h.
35440 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35442         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35443         Make 'mapoff' field ElfW(Off) rather than off_t.
35445 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35447         * nscd/Makefile: Remove nscd-cflags and all its users.
35448         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35449         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35451         [BZ #10631]
35452         * malloc.c (malloc_printerr): Clarify error message.
35454 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35456         [BZ #14648]
35457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35458         Set bit_FMA_Usable if FMA is supported.
35459         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35460         macro.
35461         (bit_FMA4_Usable): Updated.
35462         (index_FMA_Usable): New macro.
35463         (CPUID_FMA): Likewise
35464         (HAS_FMA): Defined with bit_FMA_Usable.
35466 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35468         * bits/types.h (__swblk_t): Type removed.
35469         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35470         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35471         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35472         (__SWBLK_T_TYPE): Likewise.
35473         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35474         (__SWBLK_T_TYPE): Likewise.
35475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35476         (__SWBLK_T_TYPE): Likewise.
35477         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35478         (__SWBLK_T_TYPE): Likewise.
35480 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35481             Honza Horak <hhorak@redhat.com>
35483         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35484         (xdr_mapname): Use YPMAXMAP as maxsize.
35485         (xdr_peername): Use YPMAXPEER as maxsize.
35486         (xdr_keydat): Use YPAXRECORD as maxsize.
35487         (xdr_valdat): Use YPMAXRECORD as maxsize.
35489 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35491         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35493         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35494         * csu/init-first.c: ... here.
35495         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35496         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35497         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35498         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35499         * sysdeps/i386/init-first.c: File removed.
35500         * sysdeps/sh/init-first.c: File removed.
35502 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35504         [BZ #14645]
35505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35506         if x * y might underflow to zero and z is zero.
35507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35509         * math/libm-test.inc (min_subnorm_value): New variable.
35510         (fma_test): Add more tests.
35511         (fma_test_towardzero): Likewise.
35512         (fma_test_downward): Likewise
35513         (fma_test_upward): Likewise.
35514         (initialize): Set min_subnorm_value.
35516 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35518         [BZ #14638]
35519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35520         0 + 0.
35521         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35522         mode for addition resulting in exact zero.
35523         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35525         exact 0 + 0.
35526         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35528         * math/libm-test.inc (fma_test): Add more tests.
35529         (fma_test_towardzero): New function.
35530         (fma_test_downward): Likewise.
35531         (fma_test_upward): Likewise.
35532         (main): Call the new functions.
35534 2012-09-28  David S. Miller  <davem@davemloft.net>
35536         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35538 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35540         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35541         instead of SIGALRM.
35543         * sysdeps/gnu/_G_config.h: Moved to ...
35544         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35545         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35546         * sysdeps/generic/_G_config.h: ... here.
35548         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35550         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35552         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35553         Conditionalize target on [libnss_test1.so-version].
35555         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35557         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35558         (elfobjdir): Move out of conditionals.
35560         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35561         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35562         (__nss_lookup_function): Conditionalize label remove_from_tree on
35563         [!DO_STATIC_NSS || SHARED], matching its only use.
35565 2012-09-28  David S. Miller  <davem@davemloft.net>
35567         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35568         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35569         file.
35570         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35571         sysdep_routines.
35572         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35574         when HWCAP_SPARC_CRYPTO is present.
35576 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35578         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35580 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35582         [BZ #6530]
35583         * stdio-common/vfprintf.c (process_string_arg): Revert
35584         2000-07-22 change.
35586 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35588         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35589         for testcase.
35590         * stdio-common/tst-sprintf.c: Include <locale.h>
35591         (main): Test sprintf's handling of incomplete multibyte
35592         characters.
35594 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35596         * elf/dl-runtime.c (VERSYMIDX): Removed.
35597         * elf/dl-version.c (VERSYMIDX): Likewise.
35598         * elf/do-rel.h (VERSYMIDX): Likewise.
35599         (VALIDX): Likewise.
35600         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35601         * elf/rtld.c (VALIDX): Likewise.
35602         (ADDRIDX): Likewise.
35603         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35604         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35605         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35606         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35607         (VALIDX): Likewise.
35608         (ADDRIDX): Likewise.
35610 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35612         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35614 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35616         [BZ #11438]
35617         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35618         to global scope.
35619         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35620         addresses are in the same scope as 192.0.2/24.
35621         * posix/gai.conf: Document new scope table defaults.
35623 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35625         [BZ #5298]
35626         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35627         for ftell.  Compute offsets from write pointers instead.
35628         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35630 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35632         [BZ #14543]
35633         * libio/Makefile (tests): New test case tst-fseek.
35634         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35635         combination works in wide mode.
35636         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35637         state when the external buffer state changes.
35639 2012-09-27  David S. Miller  <davem@davemloft.net>
35641         [BZ #14376]
35642         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35643         pass reloc->r_addend in as the 'high' argument to
35644         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35648 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35650         * rt/tst-aio2.c: Include <pthread.h>.
35651         * rt/tst-aio3.c: Likewise.
35653 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35655         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35657 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35659         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35660         contents on [SHARED].
35662 2012-09-26  Marek Polacek  <polacek@redhat.com>
35664         [BZ #14530]
35665         [BZ #13741]
35666         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35667         for C++ and GCC <4.3 as well as for non GCC compilers.
35669 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35673 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35675         * Makefile.in (all, install): Declare with .PHONY.
35676         Reported by Michael Hope <michael.hope@linaro.org>.
35678 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35680         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35681         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35682         system header.
35683         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35684         Likewise.
35685         (sydep_routines): Add the new and the internal functions.
35686         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35687         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35689         (GLIBC_2.17): Add the new function.
35690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35691         (GLIBC_2.17): Likewise.
35692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35693         (GLIBC_2.17): Likewise.
35694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35695         (GLIBC_2.17): Likewise.
35696         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35698 2012-09-25  Alan Modra  <amodra@gmail.com>
35700         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35701         Add release barrier before setting once_control to say
35702         initialisation is done.  Add hints on lwarx.  Use macro in
35703         place of isync.
35704         (clear_once_control): Add release barrier.
35706 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35708         [BZ #13629]
35709         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35710         specially.
35711         * math/s_clog10.c (__clog10): Likewise.
35712         * math/s_clog10f.c (__clog10f): Likewise.
35713         * math/s_clog10l.c (__clog10l): Likewise.
35714         * math/s_clogf.c (__clogf): Likewise.
35715         * math/s_clogl.c (__clogl): Likewise.
35716         * math/Makefile (libm-calls): Add x2y2m1.
35717         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35718         (__x2y2m1): Likewise.
35719         (__x2y2m1l): Likewise.
35720         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35721         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35722         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35723         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35724         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35725         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35726         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35727         * sysdeps/i386/fpu/libm-test-ulps: Update.
35728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35730         [BZ #14621]
35731         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35732         int as type of variable DEPTH.
35733         (glob): Use size_t instead of int as type of variables NEWCOUNT
35734         and OLD_PATHC.
35736 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35738         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35739         Add s_sincosf-sse2.
35740         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35741         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35742         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35743         macros for using routine as __sincosf_ia32.
35744         Use macro for function declaration and weak_alias.
35745         * sysdeps/i386/fpu/libm-test-ulps: Update.
35747         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35750         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35751         subnormal argument.
35752         * math/s_cexpf.c (__cexpf): Likewise.
35753         * math/s_csinf.c (__csinf): Likewise.
35754         * math/s_csinhf.c (__csinhf): Likewise.
35755         * math/s_ctanf.c (__ctanf): Likewise.
35756         * math/s_ctanhf.c (__ctanhf): Likewise.
35757         * math/s_ccosh.c (__ccoshf): Likewise.
35758         * math/s_cexp.c (__cexpl): Likewise.
35759         * math/s_csin.c (__csin): Likewise.
35760         * math/s_csinh.c (__csinh): Likewise.
35761         * math/s_ctan.c (__ctan): Likewise.
35762         * math/s_ctanh.c (ctanh): Likewise.
35763         * math/s_ccoshl.c (__ccoshl): Likewise.
35764         * math/s_cexpl.c (__cexpl): Likewise.
35765         * math/s_csinl.c (__csinl): Likewise.
35766         * math/s_csinhl.c (__csinhl): Likewise.
35767         * math/s_ctanl.c (__ctanl): Likewise.
35768         * math/s_ctanhl.c (__ctanhl): Likewise.
35770 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35772         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35773         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35774         (_IO_off_t): Define to __off_t, not _G_off_t.
35775         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35776         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35777         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35778         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35779         type of __dummy and __dummy2 fields.
35780         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35781         (_G_ssize_t): Likewise.
35782         (_G_off_t): Likewise.
35783         (_G_pid_t): Likewise.
35784         (_G_uid_t): Likewise.
35785         (_G_wchar_t): Likewise.
35786         (_G_wint_t): Likewise.
35787         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35788         (_G_ssize_t): Likewise.
35789         (_G_off_t): Likewise.
35790         (_G_pid_t): Likewise.
35791         (_G_uid_t): Likewise.
35792         (_G_wchar_t): Likewise.
35793         (_G_wint_t): Likewise.
35794         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35795         (_G_ssize_t): Likewise.
35796         (_G_off_t): Likewise.
35797         (_G_pid_t): Likewise.
35798         (_G_uid_t): Likewise.
35799         (_G_wchar_t): Likewise.
35800         (_G_wint_t): Likewise.
35802 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35804         * malloc/arena.c: Include malloc-sysdep.h.
35805         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35806         is sufficient to shrink the heap or an unmap is needed.
35807         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35808         new function check_may_shrink_heap.
35809         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35810         new function check_may_shrink_heap.
35812 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35814         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35815         comments.
35817 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35819         * catgets/test-gencat.sh: Add "set -e".
35820         * elf/tst-pathopt.sh: Likewise.
35821         * grp/tst_fgetgrent.sh: Likewise.
35822         * iconvdata/run-iconv-test.sh: Likewise.
35823         * intl/tst-gettext.sh: Likewise.
35824         * intl/tst-gettext2.sh: Likewise.
35825         * intl/tst-gettext4.sh: Likewise.
35826         * intl/tst-gettext6.sh: Likewise.
35827         * intl/tst-translit.sh: Likewise.
35828         * io/ftwtest-sh: Likewise.
35829         * libio/test-freopen.sh: Likewise.
35830         * malloc/tst-mtrace.sh: Likewise.
35831         * posix/globtest.sh: Likewise.
35832         * posix/tst-getconf.sh: Likewise.
35833         * posix/wordexp-tst.sh: Likewise.
35834         * stdio-common/tst-printf.sh: Likewise.
35835         * stdio-common/tst-unbputc.sh: Likewise.
35836         * stdlib/tst-fmtmsg.sh: Likewise.
35837         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35838         * catgets/Makefile: Do not specify -e option when running
35839         testsuite shell scripts.
35840         * elf/Makefile: Likewise.
35841         * grp/Makefile: Likewise.
35842         * iconvdata/Makefile: Likewise.
35843         * intl/Makefile: Likewise.
35844         * io/Makefile: Likewise.
35845         * libio/Makefile: Likewise.
35846         * malloc/Makefile: Likewise.
35847         * posix/Makefile: Likewise.
35848         * stdio-common/Makefile: Likewise.
35849         * stdlib/Makefile: Likewise.
35850         * sysdeps/x86_64/Makefile: Likewise.
35852         * io/ftwtest-sh: Add copyright header.
35853         * posix/globtest.sh: Likewise.
35854         * posix/tst-getconf.sh: Likewise.
35855         * posix/wordexp-tst.sh: Likewise.
35856         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35858 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35860         [BZ #13679]
35861         * Makeconfig (+link): Defined as $(+link-static) if
35862         $(build-shared) isn't yes.
35863         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35864         isn't yes.
35865         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35867         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35869         [BZ #14562]
35870         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35871         new chunk size with MALLOC_ALIGN_MASK.
35873 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35875         [BZ #5044]
35876         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35877         <rounding-mode.h>.
35878         (__printf_fphex): Determine rounding using get_rounding_mode and
35879         round_away.
35880         * stdio-common/tst-printf-round.c (struct hex_test): New
35881         structure.
35882         (hex_tests): New variable.
35883         (test_hex_in_one_mode): New function.
35884         (do_test): Also run tests for hex float output.
35886 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35888         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35889         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35890         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35891         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35892         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35893         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35894         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35895         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35897 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35899         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35900         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35901         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35902         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35904 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35906         [BZ #14579]
35907         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35908         mode only.
35909         * elf/tst-rtld-load-self.sh: New test.
35910         * elf/Makefile: Run it.
35912 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35914         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35915         (tst-writev-ENV): Remove.
35916         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35918 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35920         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35922 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35924         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35925         unconditional.
35926         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35927         Likewise.
35928         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35929         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35930         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35931         Likewise.
35933 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35935         [BZ #14587]
35936         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35937         * config.make.in (have-cpp-asm-debuginfo): Removed.
35938         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35939         * configure: Regenerated.
35941 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35943         [BZ #5044]
35944         * stdio-common/printf_fp.c: Include <stdbool.h> and
35945         <rounding-mode.h>.
35946         (___printf_fp): Determine rounding using get_rounding_mode and
35947         round_away.
35948         * stdio-common/tst-printf-round.c: New file.
35949         * stdio-common/Makefile (tests): Add tst-printf-round.
35950         (link-libm): New variable.
35951         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35953 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35955         [BZ #14576]
35956         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35957         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35958         Likewise.
35959         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35960         Likewise.
35962 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35964         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35965         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35966         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35967         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35969 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35971         [BZ #14518]
35972         * include/rounding-mode.h: New file.
35973         * sysdeps/generic/get-rounding-mode.h: Likewise.
35974         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35975         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35976         (MAX_VALUE): New macro.
35977         (MIN_VALUE): Likewise.
35978         (overflow_value): New function.
35979         (underflow_value): Likewise.
35980         (round_and_return): Use overflow_value and underflow_value to
35981         determine return values in overflow and underflow cases.  Use
35982         round_away to determine rounding depending on rounding mode.
35983         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35984         determine return values in overflow and underflow cases.
35985         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35986         (struct test_results): New structure.
35987         (struct test): Use struct test_results to store expected results
35988         for all rounding modes.
35989         (TEST): Include expected results for all rounding modes.
35990         (test_in_one_mode): New function.
35991         (do_test): Use test_in_one_mode to compute and check results.
35992         Check results for all rounding modes.
35993         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35994         $(link-libm).
35996 2012-12-09  Allan McRae  <allan@archlinux.org>
35998         * sysdeps/i386/fpu/libm-test-ulps: Update
36000 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36002         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36003         (_G_int32_t): Likewise.
36004         (_G_uint16_t): Likewise.
36005         (_G_uint32_t): Likewise.
36006         (_G_HAVE_BOOL): Likewise.
36007         (_G_HAVE_ATEXIT): Likewise.
36008         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36009         (_G_HAVE_IO_FILE_OPEN): Likewise.
36010         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36011         (_G_int32_t): Likewise.
36012         (_G_uint16_t): Likewise.
36013         (_G_uint32_t): Likewise.
36014         (_G_HAVE_BOOL): Likewise.
36015         (_G_HAVE_ATEXIT): Likewise.
36016         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36017         (_G_HAVE_IO_FILE_OPEN): Likewise.
36018         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36019         (_G_int32_t): Likewise.
36020         (_G_uint16_t): Likewise.
36021         (_G_uint32_t): Likewise.
36022         (_G_HAVE_BOOL): Likewise.
36023         (_G_HAVE_ATEXIT): Likewise.
36024         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36025         (_G_HAVE_IO_FILE_OPEN): Likewise.
36027 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36029         * csu/libc-tls.c: Update copyright years.
36031 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36033         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36034         [!_G_USING_THUNKS]: Remove conditional code.
36035         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36036         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36038         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36039         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36040         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36041         (_G_VTABLE_LABEL_PREFIX): Likewise.
36042         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36043         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36044         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36045         (_G_VTABLE_LABEL_PREFIX): Likewise.
36046         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36047         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36048         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36049         (_G_VTABLE_LABEL_PREFIX): Likewise.
36050         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36052 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36054         * libio/Makefile: Include ../Makeconfig before tests.
36055         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36056         only if $(build-shared) is yes.
36058         * iconv/gconv_db.c: Update copyright years.
36060 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36062         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36063         unwind info if defined PIC. Fix special cases description.
36064         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36066         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36067         DP_HI_MASK entry.
36068         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36070 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36072         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36074         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36075         is NULL.
36077         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36078         (LDLIBS-tst-chk4): This.
36079         (LDFLAGS-tst-chk5): Renamed to ...
36080         (LDLIBS-tst-chk5): This.
36081         (LDFLAGS-tst-chk6): Renamed to ...
36082         (LDLIBS-tst-chk6): This.
36083         (LDFLAGS-tst-lfschk4): Renamed to ...
36084         (LDLIBS-tst-lfschk4): This.
36085         (LDFLAGS-tst-lfschk5): Renamed to ...
36086         (LDLIBS-tst-lfschk5): This.
36087         (LDFLAGS-tst-lfschk6): Renamed to ...
36088         (LDLIBS-tst-lfschk6): This.
36090         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36091         on $(common-objpfx)soversions.mk.
36093 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36095         [BZ #10014]
36096         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36097         example host name.
36099 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36101         * malloc/arena.c (arena_get_retry): New function that gets
36102         another arena for the caller to try its request on.
36103         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36104         current arena cannot fulfill the request.
36105         (__libc_memalign): Likewise.
36106         (__libc_memalign): Likewise.
36107         (__libc_pvalloc): Likewise.
36108         (__libc_calloc): Likewise.
36110 2012-09-05  John Tobey  <john.tobey@gmail.com>
36112         [BZ #13542]
36113         * manual/arith.texi (Operations on Complex): Fix description
36114         of carg branch cut.
36116 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36118         [BZ #10014]
36119         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36120         host name.
36122         [BZ #10038]
36123         * manual/memory.texi (Memory): Make order of menu items match
36124         order of sections.
36126 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36128         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36129         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36130         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36132 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36134         * csu/libc-tls.c (static_dtv): Renamed to ...
36135         (_dl_static_dtv): This.  Make it global.
36136         (_dl_initial_dtv): Removed.
36137         (__libc_setup_tls): Updated.
36138         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36139         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36140         DL_INITIAL_DTV.
36142 2012-09-06  Petr Machata  <pmachata@redhat.com>
36144         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36145         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36146         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36147         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36149 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36151         [BZ #14545]
36152         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36153         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36154         freeing dtv[-1].
36156 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36158         [BZ #14544]
36159         * Makeconfig (link-static-before-libc): Replace $(+prector)
36160         with $(+prectorT).
36161         (link-static-after-libc): Replace $(+postctor) with
36162         $(+postctorT).
36163         (link-bounded): Replace $(+prector)/$(+postctor) with
36164         $(+prectorT)/$(+postctorT).
36165         (+prectorT): New macro.
36166         (+postctorT): Likewise.
36168 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36170         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36171         (round_str): Handle values above the maximum for IBM long double
36172         as inexact.
36173         * stdlib/tst-strtod-round.c (tests): Regenerated.
36175 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36177         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36178         assembler flag.
36179         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36180         zarch_nohighgprs around the zarch optimized routines.
36181         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36182         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36183         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36184         for zarch.
36186 2012-09-05  David S. Miller  <davem@davemloft.net>
36188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36190         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36191         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36192         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36193         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36194         entries.
36196 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36198         * malloc/arena.c: Fold copyright years.
36199         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36201 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36203         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36205 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36207         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36209 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36211         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36212         change internal state upon failure.
36214 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36216         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36217         * malloc/memusage.c (mmap): Likewise.
36218         (mmap64, mremap): Likewise.  Adjust name in comment.
36220 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36222         * libio/fileops.c: Fix typos in comments.
36223         * libio/oldfileops.c: Likewise.
36224         * libio/wfileops.c: Likewise.
36226 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36228         [BZ #1349]
36229         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36230         (tst-malloc-usable-ENV): Set environment for test case.
36231         * malloc/hooks.c (malloc_check_get_size): New function to get
36232         requested size.
36233         * malloc/malloc.c (musable): Use malloc_check_get_size.
36234         * malloc/tst-malloc-usable.c: New test case.
36236 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36238         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36240 2012-09-05  Allan McRae  <allan@archlinux.org>
36242         [BZ #13966]
36243         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36244         determine header location.
36245         * configure: Regenerated.
36247 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36249         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36250         float format.
36251         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36252         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36253         format.
36254         (test): Regenerate.
36256 2012-09-04  David S. Miller  <davem@davemloft.net>
36258         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36259         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36260         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36262 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36264         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36265         failures.
36267         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36269 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36271         [BZ #9914]
36272         * libio/iogetdelim.c: Include <limits.h>.
36273         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36274         + len + 1 would overflow.
36276 2012-09-03  Andreas Jaeger  <aj@suse.de>
36278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36279         * sysdeps/i386/fpu/libm-test-ulps: Update.
36281 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36283         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36284         Add s_sinf-sse2, s_conf-sse2.
36286         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36287         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36288         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36289         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36291         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36292         for using routine as __sinf_ia32.
36293         Use macro for function declaration and weak_alias.
36294         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36295         for using routine as __cosf_ia32.
36296         Use macro for function declaration and weak_alias.
36298         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36299         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36301         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36302         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36305         * math/libm-test.inc (cos_test): Add more test cases.
36306         (sin_test): Likewise.
36307         (sincos_test): Likewise.
36309 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36311         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36312         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36313         hidden.
36314         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36316 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36318         [BZ #14538]
36319         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36320         first element of the GOT.
36321         (elf_machine_load_address): Return the difference between
36322         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36324 2012-09-01  Allan McRae  <allan@archlinux.org>
36326         [BZ #13412]
36327         * configure.in (AWK): Require gawk version 3.0 or later.
36328         * configure: Regenerated.
36330 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36332         * sysdeps/unix/sysv/linux/kernel-features.h
36333         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36334         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36335         [__NR_clock_getres]: Make code unconditional.
36336         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36337         (clock_getcpuclockid): Remove code left unreachable by removal of
36338         conditionals.
36339         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36340         code unconditional.
36341         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36342         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36343         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36344         Make code unconditional.
36345         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36346         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36347         * sysdeps/unix/sysv/linux/clock_settime.c
36348         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36349         conditional code.
36350         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36351         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36353 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36355         [BZ #14476]
36356         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36357         scripts/test-installation.pl.
36359         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36360         and $ld_so_version if it is set.
36362 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36364         [BZ #14516]
36365         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36366         failure if reading from procfs failed.
36367         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36369 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36371         * sysdeps/unix/sysv/linux/kernel-features.h
36372         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36373         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36374         Remove conditional code.
36375         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36376         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36377         Remove conditional code.
36378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36379         * sysdeps/unix/sysv/linux/i386/fxstat.c
36380         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36382         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36383         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36384         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36385         * sysdeps/unix/sysv/linux/i386/lxstat.c
36386         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36387         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36388         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36389         Remove conditional code.
36390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36391         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36392         Remove conditional code.
36393         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36394         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36395         <kernel-features.h>.
36396         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36397         Remove.
36398         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36399         Remove conditional code.
36400         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36401         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36402         Remove conditional.
36404 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36406         [BZ #5400]
36407         * NEWS: Add fixed bug number.
36409 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36411         [BZ #14519]
36412         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36413         underflowing exponent in case of negative sign.
36414         * stdlib/tst-strtod-round-data: Add more tests.
36415         * stdlib/tst-strtod-round.c (tests): Regenerated.
36417         [BZ #3479]
36418         * stdlib/strtod_l.c (NDIG): Remove.
36419         (HEXNDIG): Likewise.
36420         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36421         smallest representable value.
36422         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36423         lie within an exact representation of 1/2 ulp of the result.
36424         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36425         unconditionally.
36426         (TENS_P9_IDX): Define unconditionally.
36427         (TENS_P9_SIZE): Likewise.
36428         (TENS_P10_IDX): Likewise.
36429         (TENS_P10_SIZE): Likewise.
36430         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36431         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36432         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36433         entries for 10^2^13 and 10^2^14.
36434         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36435         (TENS_P13_IDX): Define.
36436         (TENS_P13_SIZE): Likewise.
36437         (TENS_P14_IDX): Likewise.
36438         (TENS_P14_SIZE): Likewise.
36439         (_fpioconst_pow10): Change array size to
36440         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36441         unconditional.
36442         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36443         1024]: Add entries for 10^2^13 and 10^2^14.
36444         [LAST_POW10 > _LAST_POW10]: Remove #error.
36445         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36446         (_fpioconst_pow10): Change array size to
36447         FPIOCONST_POW10_ARRAY_SIZE.
36448         * stdlib/gen-fpioconst.c: New file.
36449         * stdlib/gen-tst-strtod-round.c: Likewise.
36450         * stdlib/tst-strtod-round-data: Likewise.
36451         * stdlib/tst-strtod-round.c: Likewise.
36452         * stdlib/Makefile (tests): Add tst-strtod-round.
36454         [BZ #14459]
36455         * stdlib/strtod_l.c: Include <stdint.h>.
36456         (NDEBUG): Do not define.
36457         (round_and_return): Change EXPONENT parameter to type intmax_t.
36458         Rearrange calculations to avoid internal overflow possibilities.
36459         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36460         Rearrange calculations to avoid internal overflow possibilities.
36461         Assert that number fits inside MPNSIZE limbs.
36462         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36463         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36464         calculations and add assertions to avoid internal overflow
36465         possibilities.  Add casts to avoid signed/unsigned operations.
36466         * stdlib/tst-strtod-overflow.c: New file.
36467         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36469 2012-08-25  Marek Polacek  <polacek@redhat.com>
36471         * time/time.h: Fix some typos in comments.
36473 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36475         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36476         * posix/tst-rfc3484-2.c: Likewise.
36477         * posix/tst-rfc3484-3.c: Likewise.
36479 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36481         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36482         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36484 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36486         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36487         #include of fxstatat64.c.
36489 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36491         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36492         * shadow/getspent_r.c: Likewise.
36493         * shadow/getspnam.c: Likewise.
36494         * shadow/getspnam_r.c: Likewise.
36495         * gshadow/getsgent.c: Likewise.
36496         * gshadow/getsgent_r.c: Likewise.
36497         * gshadow/getsgnam.c: Likewise.
36498         * gshadow/getsgnam_r.c: Likewise.
36499         * inet/getnetbyad.c: Likewise.
36500         * inet/getnetbyad_r.c: Likewise.
36501         * inet/getnetbynm.c: Likewise.
36502         * inet/getnetbynm_r.c: Likewise.
36503         * inet/getnetent.c: Likewise.
36504         * inet/getnetent_r.c: Likewise.
36505         * inet/getproto.c: Likewise.
36506         * inet/getproto_r.c: Likewise.
36507         * inet/getprtent.c: Likewise.
36508         * inet/getprtent_r.c: Likewise.
36509         * inet/getprtname.c: Likewise.
36510         * inet/getprtname_r.c: Likewise.
36511         * inet/getrpcbyname.c: Likewise.
36512         * inet/getrpcbyname_r.c: Likewise.
36513         * inet/getrpcbynumber.c: Likewise.
36514         * inet/getrpcbynumber_r.c: Likewise.
36515         * inet/getrpcent.c: Likewise.
36516         * inet/getrpcent_r.c: Likewise.
36517         * inet/getaliasent.c: Likewise.
36518         * inet/getaliasent_r.c: Likewise.
36519         * inet/getaliasname.c: Likewise.
36520         * inet/getaliasname_r.c: Likewise.
36521         * nscd/getgrgid_r.c: Likewise.
36522         * nscd/getgrnam_r.c: Likewise.
36523         * nscd/gethstbyad_r.c: Likewise.
36524         * nscd/gethstbynm3_r.c: Likewise.
36525         * nscd/getpwnam_r.c: Likewise.
36526         * nscd/getpwuid_r.c: Likewise.
36527         * nscd/getsrvbynm_r.c: Likewise.
36528         * nscd/getsrvbypt_r.c: Likewise.
36529         * nscd/gai.c: Likewise.
36531         * configure.in (build_nscd): New substituted variable, set
36532         by --disable-build-nscd and defaults to $use_nscd.
36533         * configure: Regenerated.
36534         * config.make.in (build-nscd): New substituted variable.
36535         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36536         Change conditional to require [$(build-nscd) = yes] as well.
36537         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36539         [BZ# 13696]
36540         * configure.in (use_nscd): New substituted variable, set by
36541         --disable-nscd.  If enabled, define USE_NSCD.
36542         * configure: Regenerated.
36543         * config.h.in: Add USE_NSCD.
36544         * config.make.in (use-nscd): New substituted variable.
36545         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36546         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36547         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36548         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36549         (CFLAGS-getgrnam_r.c): Likewise.
36550         (CFLAGS-initgroups.c): Likewise.
36551         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36552         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36553         Variables removed.
36554         * inet/getnetgrent_r.c
36555         (nscd_setnetgrent): New function, broken out of ...
36556         (setnetgrent): ... here.  Call it.
36557         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36558         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36559         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36560         * nscd/Makefile (routines, aux): Move definitions after include of
36561         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36562         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36563         Conditionalize on [USE_NSCD].
36564         (is_nscd, nscd_init_cb): Likewise.
36565         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36566         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36567         * nss/nss_db/db-init.c: Likewise.
36568         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36569         [USE_NSCD].
36570         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36571         (make_request): Use it.
36572         (cache_valid_p): New function.
36573         (__check_pf): Use it.
36574         * NEWS: Add item for --disable-nscd.
36576 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36578         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36579         to support sed >= 4.2.1-20-ga9bf076.
36580         * configure: Regenerated.
36582 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36584         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36585         Conditionalize whole body on [IREL].
36587 2012-08-22  Jeff Law <law@redhat.com>
36589         [BZ #14505]
36590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36591         if the family is PF_UNSPEC.
36593 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36595         * Makerules (lib-version): Rename from V.
36596         (install-lib-nosubdir): Change V to lib-version.
36598 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36600         [BZ #14252]
36601         * powerpc32/power6/wcschr.c: New file.
36602         * powerpc32/power6/wcscpy.c: New file.
36603         * powerpc32/power6/wcsrchr.c: New file.
36604         * powerpc64/power6/wcschr.c: New file.
36605         * powerpc64/power6/wcscpy.c: New file.
36606         * powerpc64/power6/wcsrchr.c: New file.
36608 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36610         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36611         (two_way_short_needle): Use it.
36612         * string/strstr.c (AVAILABLE1_USES_J): Define.
36613         * string/strcasestr.c: Likewise.
36615         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36616         array references.
36617         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36619         [BZ #11607]
36620         * NEWS: Add an entry.
36621         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36622         define their defaults.
36623         (two_way_short_needle): Detect end-of-string on-the-fly.
36624         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36625         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36626         * string/bug-strcasestr1.c: New test.
36627         * string/Makefile: Run it.
36629 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36631         [BZ #11607]
36632         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36633         the first character.
36635 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36637         * csu/elf-init.c (__libc_csu_irel): Function removed.
36638         * csu/libc-start.c (apply_irel): New function.
36639         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36641 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36643         * sysdeps/unix/sysv/linux/kernel-features.h
36644         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36645         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36646         <kernel-features.h>.
36647         [__NR_fadvise64_64]: Make code unconditional.
36648         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36649         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36650         !__NR_fadvise64_64)]: Likewise.
36651         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36652         !__NR_fadvise64_64))]: Likewise.
36653         [__NR_fadvise64]: Make code unconditional.
36654         [!__NR_fadvise64]: Remove conditional code.
36655         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36656         <kernel-features.h>.
36657         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36658         unconditional.
36659         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36660         conditional code.
36661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36662         not include <kernel-features.h>.
36663         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36664         unconditional.
36665         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36666         conditional code.
36667         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36668         include <kernel-features.h>.
36669         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36670         unconditional.
36671         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36672         conditional code.
36674 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36676         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36677         slight instruction rearrangements per scrollpipe analysis.
36678         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36680 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36682         * manual/syslog.texi (syslog; vsyslog, closelog):
36683         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36684         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36686         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36687         DSOCAPS to match condition on defining it.
36689 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36691         * sysdeps/unix/sysv/linux/kernel-features.h
36692         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36694         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36695         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36697         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36698         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36700         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36701         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36703         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36704         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36706         * sysdeps/unix/sysv/linux/kernel-features.h
36707         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36708         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36709         unconditional.
36710         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36711         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36712         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36713         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36714         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36715         Make code unconditional.
36716         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36717         (__mmap64) [!__NR_mmap2]: Likewise.
36718         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36719         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36720         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36721         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36722         [__NR_mmap2]: Make code unconditional.
36723         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36724         (__mmap64) [!__NR_mmap2]: Likewise.
36726 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36728         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36730 2012-08-18  Andreas Jaeger  <aj@suse.de>
36732         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36734 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36736         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36737         * include/unistd.h (__have_sock_cloexec): Likewise.
36738         (__have_pipe2): Likewise.
36739         (__have_dup3): Likewise.
36741 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36743         [BZ #9685]
36744         * include/unistd.h (__have_pipe2): Change define into an extern int.
36745         (__have_dup3): Likewise.
36746         * socket/have_sock_cloexec.c: Include fcntl.h.
36747         (__have_pipe2): New variable.
36748         (__have_dup3): Likewise.
36750 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36752         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36754 2012-08-17  Marek Polacek  <polacek@redhat.com>
36756         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36757         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36759 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36761         * configure.in: Add AC_SUBST for sysheaders.
36762         * configure: Regenerated.
36763         * config.make.in (sysheaders): New substituted variable.
36765         * sysdeps/unix/mkfifo.c: Moved ...
36766         * sysdeps/posix/mkfifo.c: ... here.
36767         * sysdeps/unix/mkfifoat.c: Moved ...
36768         * sysdeps/posix/mkfifoat.c: ... here.
36770         * sysdeps/unix/utime.c: Moved ...
36771         * sysdeps/posix/utime.c: ... here.
36773         * sysdeps/unix/time.c: Moved ...
36774         * sysdeps/posix/time.c: ... here.
36775         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36776         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36778         * sysdeps/unix/nice.c: Moved ...
36779         * sysdeps/posix/nice.c: ... here.
36781         * sysdeps/unix/alarm.c: Moved ...
36782         * sysdeps/posix/alarm.c: ... here.
36784         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36786 2012-08-17  Jeff Law <law@redhat.com>
36788         * intl/Makefile (codeset_mo): New variable.
36789         ($(codeset_mo)): New target.
36790         (tst-codeset.out): Depend on that.  Remove explicit rule.
36791         (tst-gettext3.out, tst-gettext5.out): Likewise.
36792         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36793         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36794         * intl/tst-codeset.sh: Remove.
36795         * intl/tst-gettext3.sh: Likewise.
36796         * intl/tst-gettext5.sh: Likewise.
36798 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36800         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36801         * sysdeps/unix/syscalls.list: ... here.
36803         * sysdeps/posix/getaddrinfo.c
36804         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36805         (gaiconf_init, gaiconf_reload): Use them.
36806         [!_STATBUF_ST_NSEC]
36807         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36808         Define using time_t rather than struct timespec.
36810         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36811         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36812         Macros removed.
36813         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36814         [!NO_THREADS].
36815         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36816         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36817         Likewise.
36819         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36820         __libc_cleanup_push argument.
36822         * bits/param.h: New file.
36823         * misc/sys/param.h: New file.
36824         * include/sys/param.h: New file.
36825         * misc/Makefile (headers): Add bits/param.h.
36826         * sysdeps/generic/sys/param.h: File removed.
36827         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36828         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36829         * sysdeps/mach/hurd/bits/param.h: New file.
36830         * sysdeps/mach/hurd/sys/param.h: File removed.
36832         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36833         last change.
36835         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36836         [_IO_MTSAFE_IO].
36837         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36838         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36839         New macros.
36841         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36842         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36843         rather than -D_IO_MTSAFE_IO conditionally.
36844         * stdio-common/Makefile (CPPFLAGS): Likewise.
36845         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36846         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36847         Use $(libio-mtsafe).
36848         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36849         of -D_IO_MTSAFE_IO.
36850         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36851         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36852         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36853         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36854         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36855         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36856         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36857         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36858         (CFLAGS-fread_u_chk.c): Likewise.
36859         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36860         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36861         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36862         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36863         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36864         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36865         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36866         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36867         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36869         * libio/Makefile: Test [$(libc-reentrant) = yes]
36870         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36872         * Makeconfig
36873         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36874         * sysdeps/pthread/configure: File removed.
36875         * sysdeps/pthread/Makeconfig: New file.
36876         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36877         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36879 2012-08-16  Gary Benson  <gbenson@redhat.com>
36881         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36882         unmapping the first object in a namespace.
36884 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36886         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36887         (__internal_setnetgrent): ... this.  Add internal_function to
36888         definition.  Add libc_hidden_def.
36889         (setnetgrent): Update caller.
36890         (internal_endnetgrent): Renamed to ...
36891         (__internal_endnetgrent): ... this.  Add internal_function to
36892         definition.  Add libc_hidden_def.
36893         (endnetgrent): Update caller.
36894         (internal_getnetgrent_r): Renamed to ...
36895         (__internal_getnetgrent_r): ... this.  Add internal_function to
36896         definition.  Add libc_hidden_def.
36897         (__getnetgrent_r): Update caller.
36898         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36900 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36902         * stdlib/longlong.h: Update from GCC.
36904 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36906         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36907         on _QL, which is set by umul_ppmm but never used.
36908         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36909         variables, which are set by GMP macros but never used.
36910         * stdio-common/_itowa.c (_itowa): Likewise.
36911         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36912         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36914 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36916         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36917         struct La_sh_regs is not constant.
36918         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36919         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36920         and struct La_sparc64_regs are not constant.
36922 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36924         * sysdeps/unix/sysv/linux/kernel-features.h
36925         (__ASSUME_POSIX_TIMERS): Remove.
36926         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36927         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36928         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36929         Make code unconditional.
36930         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36931         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36932         Make code unconditional.
36933         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36934         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36935         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36936         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36937         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36938         Make code unconditional.
36939         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36940         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36941         (__libc_missing_posix_timers): Remove.
36943 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36945         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36946         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36948         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36950         * elf/dl-sym.c: Include <stdlib.h>.
36952         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36953         constants, which avoids warnings in 32-bit builds.
36955         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36956         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36958         * misc/lseek.c: File moved to ...
36959         * io/lseek.c: ... here.
36961         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36963         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36964         shifting LEN more than 31 bits at once.
36966 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36968         [BZ #14195]
36969         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36970         segmentation fault for a case of two empty input strings.
36971         * string/test-strncasecmp.c (check1): Renamed to...
36972         (bz12205): ...this.
36973         (bz14195): Add new testcase for two empty input strings and N > 0.
36974         (test_main): Call new testcase, adapt for renamed function.
36976 2012-08-15  Andreas Jaeger  <aj@suse.de>
36978         [BZ #14090]
36979         * crypt/md5test2.c: New test, based on test supplied by Serge
36980         Belyshev <belyshev@depni.sinp.msu.ru>.
36981         * crypt/Makefile (xtests): Add md5test-giant..
36982         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36984 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36986         [BZ #14090]
36987         * crypt/md5.c (md5_process_block): Don't assume the buffer
36988         length is less than 2**32.
36989         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36990         length is less than 2**64.
36992 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36994         * string/str-two-way.h: Include <sys/param.h>.
36995         (MAX): Macro removed.
36997         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36998         Move #define and #undef of memmove to just before and after
36999         including <string.h>.
37001         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37002         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37003         and after including <string.h>.  Move declarations of
37004         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37005         to before #include "string/memmove.c".
37007         * include/dirent.h: Declare __getdirentries.
37009         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37010         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37012 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37014         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37015         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37016         * sysdeps/i386/configure: Regenerated.
37017         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37018         STABS_CURRENT_FILE, and STABS_FUN.
37019         (END): Remove call to STABS_FUN_END.
37020         (STABS_CURRENT_FILE1): Delete.
37021         (STABS_CURRENT_FILE): Likewise.
37022         (STABS_FUN): Likewise.
37023         (STABS_FUN_END): Likewise.
37024         (STABS_FUN2): Likewise.
37025         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37026         * sysdeps/x86_64/configure: Regenerated.
37028 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37030         * elf/dl-open.c: Include <atomic.h>.
37031         * elf/dl-lookup.c: Likewise.
37033 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37035         * sysdeps/unix/sysv/linux/kernel-features.h
37036         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37037         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37038         unconditionally.
37039         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37040         unconditionally.
37041         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37042         condition on __ASSUME_CLONE_THREAD_FLAGS.
37044 2012-08-14  Andreas Jaeger  <aj@suse.de>
37046         * sysdeps/i386/fpu/libm-test-ulps: Update.
37048 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37050         * include/atomic.h (atomic_exchange_and_add): Split into ...
37051         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37052         New atomic macros.
37054 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37058 2012-08-13  Jeff Law <law@redhat.com>
37060         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37061         null byte in the output string.
37063 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37065         * sysdeps/unix/sysv/linux/kernel-features.h
37066         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37067         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37068         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37069         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37070         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37071         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37072         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37074 2012-08-09  Jeff Law <law@redhat.com>
37076         [BZ #13939]
37077         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37078         When avoid_arena is set, don't retry in the that arena.  Pick the
37079         next one, whatever it might be.
37080         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37081         (arena_lock): Pass in new parameter to arena_get2.
37082         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37083         arena_get2.
37084         (__libc_malloc): Unify retrying after main arena failure with
37085         __libc_memalign version.
37086         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37088 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37090         [BZ #14166]
37091         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37092         to __redirect_strstr.
37093         (__strstr_sse42): Use typeof __redirect_strstr.
37094         (__strstr_ia32): Likewise.
37095         (__libc_strstr): New prototype.
37096         (strstr): Renamed to ...
37097         (__libc_strstr): This.
37098         (strstr): New strong alias of __libc_strstr.
37099         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37100         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37101         __redirect_time.
37102         Include <time.h>.
37103         (__libc_time): New prototype.
37104         (time_ifunc): Replace time with __libc_time.
37105         (time): New strong alias and hidden definition of __libc_time.
37106         (__GI_time): Remove strong alias.
37107         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37108         Include <stddef.h>.
37109         (memmove): Redefined to __redirect_memmove.
37110         (__memmove_sse2): Use typeof __redirect_memmove.
37111         (__memmove_ssse3): Likewise.
37112         (__memmove_ssse3_back): Likewise.
37113         (__libc_memmove): New prototype.
37114         (memmove): Renamed to ...
37115         (__libc_memmove): This.
37116         (memmove): New strong alias of __libc_memmove.
37118 2012-08-08  Mark Salter  <msalter@redhat.com>
37120         * elf/elf.h
37121         (R_MN10300_TLS_GD): Define.
37122         (R_MN10300_TLS_LD): Likewise.
37123         (R_MN10300_TLS_LDO): Likewise.
37124         (R_MN10300_TLS_GOTIE): Likewise.
37125         (R_MN10300_TLS_IE): Likewise.
37126         (R_MN10300_TLS_LE): Likewise.
37127         (R_MN10300_TLS_DTPMOD): Likewise.
37128         (R_MN10300_TLS_DTPOFF): Likewise.
37129         (R_MN10300_TLS_TPOFF): Likewise.
37130         (R_MN10300_SYM_DIFF): Likewise.
37131         (R_MN10300_ALIGN): Likewise.
37132         (R_MN10300_NUM): Update.
37134 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37136         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37137         Remove.
37139 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37141         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37143         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37144         sysdeps/unix -> sysdeps/posix move.
37145         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37147 2012-08-07      Allan McRae     <allan@archlinux.org>
37149         [BZ #14303]
37150         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37151         (SUNOS_CPP): Likewise.
37152         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37153         not found.
37154         (open_input): Call CPP using execvp.
37156 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37158         * sysdeps/unix/sysv/linux/kernel-features.h
37159         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37160         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37161         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37162         (__ASSUME_WAITID_SYSCALL): Likewise.
37163         * sysdeps/unix/sysv/linux/dl-execstack.c
37164         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37165         code unconditional.
37166         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37167         conditional code.
37168         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37169         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37170         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37171         code.
37172         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37173         unconditional.
37174         [__ASSUME_WAITID_SYSCALL]: Likewise.
37175         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37177 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37179         * sysdeps/unix/closedir.c: Renamed to ...
37180         * sysdeps/posix/closedir.c: ... here.
37181         * sysdeps/unix/dirfd.c: Renamed to ...
37182         * sysdeps/posix/dirfd.c: ... here.
37183         * sysdeps/unix/dirstream.h: Renamed to ...
37184         * sysdeps/posix/dirstream.h: ... here.
37185         * sysdeps/unix/fdopendir.c: Renamed to ...
37186         * sysdeps/posix/fdopendir.c: ... here.
37187         * sysdeps/unix/opendir.c: Renamed to ...
37188         * sysdeps/posix/opendir.c: ... here.
37189         * sysdeps/unix/readdir.c: Renamed to ...
37190         * sysdeps/posix/readdir.c: ... here.
37191         * sysdeps/unix/readdir_r.c: Renamed to ...
37192         * sysdeps/posix/readdir_r.c: ... here.
37193         * sysdeps/unix/rewinddir.c: Renamed to ...
37194         * sysdeps/posix/rewinddir.c: ... here.
37195         * sysdeps/unix/seekdir.c: Renamed to ...
37196         * sysdeps/posix/seekdir.c: ... here.
37197         * sysdeps/unix/telldir.c: Renamed to ...
37198         * sysdeps/posix/telldir.c: ... here.
37199         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37200         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37201         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37202         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37204         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37205         * bits/fcntl.h: ... here.
37207         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37208         not 0.
37209         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37210         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37211         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37212         (struct flock): Move l_start, l_len to the beginning.
37213         Use __pid_t for l_pid.
37214         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37215         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37216         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37217         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37218         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37219         [__USE_LARGEFILE64] (struct flock64): New type.
37220         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37222         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37223         * bits/dirent.h: ... here.
37225         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37226         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37228 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37230         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37231         Change from 2.6.0 to 2.6.16.
37232         * sysdeps/unix/sysv/linux/configure: Regenerated.
37233         * sysdeps/unix/sysv/linux/kernel-features.h
37234         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37235         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37236         version.
37237         (__ASSUME_UTIMES): Likewise.
37238         (__ASSUME_CLONE_STOPPED): Remove.
37239         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37240         architectures, not kernel version.
37241         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37242         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37243         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37244         (__ASSUME_WAITID_SYSCALL): Likewise.
37245         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37246         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37247         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37248         refer to older versions.
37250 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37252         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37253         Define alphasort64 as an alias.
37254         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37255         Define versionsort64 as an alias.
37256         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37257         Define scandir64 as an alias.
37258         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37259         Define scandirat64 as an alias.
37260         * dirent/alphasort64.c (alphasort64):
37261         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37262         * dirent/versionsort64.c: Likewise.
37263         * dirent/scandir64.c: Likewise.
37264         * dirent/scandirat64.c: Likewise.
37265         * sysdeps/wordsize-64/alphasort.c: File removed.
37266         * sysdeps/wordsize-64/alphasort64.c: File removed.
37267         * sysdeps/wordsize-64/scandir.c: File removed.
37268         * sysdeps/wordsize-64/scandir64.c: File removed.
37269         * sysdeps/wordsize-64/scandirat.c: File removed.
37270         * sysdeps/wordsize-64/scandirat64.c: File removed.
37271         * sysdeps/wordsize-64/versionsort.c: File removed.
37272         * sysdeps/wordsize-64/versionsort64.c: File removed.
37273         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37274         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37275         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37276         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37277         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37278         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37279         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37280         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37282         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37283         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37284         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37285         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37286         [defined __arch64__ || defined __sparcv9]
37287         (__INO_T_MATCHES_INO64_T): New macro.
37288         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37289         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37290         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37291         * sysdeps/unix/sysv/linux/bits/dirent.h
37292         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37293         (_DIRENT_MATCHES_DIRENT64): New macro.
37295         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37296         Define lockf64 as an alias.
37297         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37298         Define fseeko64 as an alias.
37299         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37300         Define ftello64 as an alias.
37301         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37302         Define _IO_fgetpos64 and fgetpos64 as aliases.
37303         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37304         Define _IO_fsetpos64 and fsetpos64 as aliases.
37305         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37306         Conditionalize body on this.
37307         * libio/fseeko64.c: Likewise.
37308         * libio/ftello64.c: Likewise.
37309         * libio/iofgetpos64.c: Likewise.
37310         * libio/iofsetpos64.c: Likewise.
37311         * sysdeps/wordsize-64/lockf.c: File removed.
37312         * sysdeps/wordsize-64/lockf64.c: File removed.
37313         * sysdeps/wordsize-64/fseeko.c: File removed.
37314         * sysdeps/wordsize-64/fseeko64.c: File removed.
37315         * sysdeps/wordsize-64/ftello.c: File removed.
37316         * sysdeps/wordsize-64/ftello64.c: File removed.
37317         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37318         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37319         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37320         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37321         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37322         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37323         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37324         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37325         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37326         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37327         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37328         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37329         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37330         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37332         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37333         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37334         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37335         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37336         [defined __arch64__ || defined __sparcv9]
37337         (__OFF_T_MATCHES_OFF64_T): New macro.
37338         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37339         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37340         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37341         (__OFF_T_MATCHES_OFF64_T): New macro.
37343 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37345         * stdlib/secure-getenv.c (__secure_getenv): Replace
37346         GLIBC_2_16 with GLIBC_2_17.
37348 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37350         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37351         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37353 2012-08-03  David S. Miller  <davem@davemloft.net>
37355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37357 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37359         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37360         Remove.
37361         (__ASSUME_CORRECT_SI_PID): Likewise.
37362         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37363         (__ASSUME_TMPFS_NAME): Likewise.
37364         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37365         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37366         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37367         (HAVE_AUX_SECURE): Make definition unconditional.
37368         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37369         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37371 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37373         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37374         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37375         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37376         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37377         __eloop_threshold instead of SYMLOOP_MAX.
37379         * sysdeps/generic/eloop-threshold.h: New file.
37380         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37381         of MAXSYMLINKS.
37382         * elf/chroot_canon.c (chroot_canon): Likewise.
37384 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37386         [BZ #13717]
37387         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37388         Change to 2.6.0 everywhere.
37389         * sysdeps/unix/sysv/linux/configure: Regenerated.
37390         * sysdeps/unix/sysv/linux/kernel-features.h
37391         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37392         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37393         kernel versions.
37394         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37395         (__ASSUME_FUTEX_REQUEUE): Remove.
37396         (__ASSUME_STATFS64): Define unconditionally.
37397         (__ASSUME_AT_SECURE): Likewise.
37398         (__ASSUME_CORRECT_SI_PID): Likewise.
37399         (__ASSUME_TGKILL): Define without depending on kernel version for
37400         i386.
37401         (__ASSUME_UTIMES): Likewise.
37402         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37403         kernel version.
37404         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37405         (__ASSUME_TMPFS_NAME): Likewise.
37406         * README: Update reference to Linux kernel versions.
37408 2012-08-02  Marek Polacek  <polacek@redhat.com>
37410         [BZ# 14150]
37411         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37412         libc_cv_asm_type_prefix with %.
37413         * configure: Regenerated.
37414         * include/libc-symbols.h: Remove comment about
37415         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37416         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37417         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37418         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37419         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37420         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37421         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37422         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37423         * elf/tst-unique2mod1.c: Likewise.
37424         * elf/tst-unique1mod2.c: Likewise.
37425         * elf/tst-unique1mod1.c: Likewise.
37426         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37427         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37428         Replace ASM_TYPE_DIRECTIVE with .type.
37429         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37430         * sysdeps/i386/sysdep.h: Likewise.
37431         * sysdeps/x86_64/sysdep.h: Likewise.
37432         * sysdeps/sh/sysdep.h: Likewise.
37433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37434         Do not define ASM_TYPE_DIRECTIVE.
37435         * sysdeps/powerpc/sysdep.h: Likewise.
37436         * sysdeps/powerpc/powerpc32/sysdep.h:
37437         Replace ASM_TYPE_DIRECTIVE with .type.
37438         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37439         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37440         * sysdeps/i386/fpu/e_powf.S: Likewise.
37441         * sysdeps/i386/fpu/e_expl.S: Likewise.
37442         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37443         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37444         * sysdeps/i386/fpu/e_pow.S: Likewise.
37445         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37446         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37447         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37448         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37449         * sysdeps/i386/fpu/e_log2.S: Likewise.
37450         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37451         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37452         * sysdeps/i386/fpu/e_powl.S: Likewise.
37453         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37454         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37455         * sysdeps/i386/fpu/e_logl.S: Likewise.
37456         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37457         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37458         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37459         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37460         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37461         * sysdeps/i386/fpu/e_log.S: Likewise.
37462         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37463         * sysdeps/i386/fpu/e_logf.S: Likewise.
37464         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37465         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37466         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37467         * sysdeps/i386/fpu/e_log10.S: Likewise.
37468         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37469         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37470         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37471         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37472         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37473         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37474         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37475         * sysdeps/i386/i686/strtok.S: Likewise.
37476         * sysdeps/i386/i386-mcount.S: Likewise.
37477         * sysdeps/i386/strtok.S: Likewise.
37478         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37479         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37480         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37481         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37482         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37483         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37484         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37485         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37486         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37487         * sysdeps/x86_64/_mcount.S: Likewise.
37488         * sysdeps/x86_64/strtok.S: Likewise.
37489         * sysdeps/sh/_mcount.S: Likewise.
37491 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37493         * libio/iofopen.c: Include <fcntl.h>.
37494         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37495         (_IO_fopen64, fopen64): Define as aliases.
37496         * libio/iofopen64.c: Include <fcntl.h>.
37497         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37498         Conditionalize body on this.
37499         * sysdeps/wordsize-64/iofopen.c: File removed.
37500         * sysdeps/wordsize-64/iofopen64.c: File removed.
37502 2012-08-01  Marek Polacek  <polacek@redhat.com>
37504         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37505         Use dlfcn directly instead of a variable.
37506         (binfmt-subdir): Do not define.
37507         (dlfcn): Likewise.
37509 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37511         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37512         Remove all definitions.
37513         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37514         <kernel-features.h>.
37515         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37516         (miss_F_GETOWN_EX): Remove all definitions.
37517         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37518         macro definition.
37519         [!__ASSUME_FCNTL64]: Remove conditional code.
37520         [__ASSUME_FCNTL64]: Make code unconditional.
37521         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37522         <kernel-features.h>.
37523         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37524         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37525         (lockf64) [__NR_fcntl64]: Make code unconditional.
37526         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37528         * sysdeps/unix/sysv/linux/kernel-features.h
37529         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37530         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37531         Make code unconditional.
37532         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37533         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37535         [__NR_vfork]: Make code unconditional.
37536         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37537         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37539         [__NR_vfork]: Make code unconditional.
37540         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37541         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37543 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37545         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37546         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37548         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37549         Define mkstemp64 as an alias.
37550         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37551         Define mkstemps64 as an alias.
37552         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37553         Define mkostemp64 as an alias.
37554         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37555         Define mkostemps64 as an alias.
37556         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37557         Conditionalize body on this.
37558         * misc/mkostemp64.c: Likewise.
37559         * misc/mkostemps64.c: Likewise.
37560         * misc/mkstemps64.c: Likewise.
37561         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37562         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37563         * sysdeps/wordsize-64/mkostemp.c: File removed.
37564         * sysdeps/wordsize-64/mkstemp.c: File removed.
37565         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37566         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37567         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37568         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37570         [BZ #14138]
37571         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37572         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37573         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37574         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37576         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37577         compat_symbol macros from <shlib-compat.h> rather than the underlying
37578         default_symbol_version and symbol_version macros, so that DEFAULT
37579         lines in shlib-versions are respected.
37580         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37582 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37584         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37585         Declare with warn_unused_result.
37586         (setgid, setregid, setegid, setresgid): Likewise.
37587         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37588         Likewise.
37589         * WUR-REPORT: Remove set*id functions.
37591 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37593         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37595 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37597         [BZ #10191]
37598         * include/sys/socket.h (__libc_accept, __libc_accept4):
37599         Add attribute_hidden.
37600         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37602         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37603         use of PTR_MANGLE.
37604         * inet/getnetgrent_r.c (setup): Likewise.
37606         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37608 2012-07-31  David S. Miller  <davem@davemloft.net>
37610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37612 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37614         [BZ #13629]
37615         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37616         value between 1.0 and 2.0 and smaller part has absolute value less
37617         than 1.0.
37618         * math/s_clog10.c (__clog10): Likewise.
37619         * math/s_clog10f.c (__clog10f): Likewise.
37620         * math/s_clog10l.c (__clog10l): Likewise.
37621         * math/s_clogf.c (__clogf): Likewise.
37622         * math/s_clogl.c (__clogl): Likewise.
37623         * math/libm-test.inc (clog_test): Add more tests.
37624         (clog10_test): Likewise.
37625         * sysdeps/i386/fpu/libm-test-ulps: Update.
37626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37628 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37630         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37631         Exit with zero in case no suitable GID is found, and write a
37632         message to standard error.
37634 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37636         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37637         rather than to 1.
37638         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37639         (MAXPATHLEN): Removed.
37640         (NOGROUP, NODEV): New macros.
37641         (setbit, clrbit, isset, isclr): New macros.
37642         (howmany, roundup, powerof2): New macros.
37643         (DEV_BSIZE): New macro.
37645         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37646         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37648         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37649         definition on [!__NO_LONG_DOUBLE_MATH].
37651         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37652         PTR_MANGLE and PTR_DEMANGLE.
37654         * socket/accept4.c (accept4): Rename to __libc_accept4.
37655         Define accept4 as a weak alias.
37657         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37658         on [_DIRENT_HAVE_D_TYPE].
37659         * io/ftw.c (ftw_dir): Likewise.
37661         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37663         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37665         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37666         Use the BSD numbers rather than the arbitrary ones we had.
37667         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37668         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37669         (SIGXCPU, SIGXFSZ): New macros.
37670         (_NSIG): Now 32.
37672         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37673         initializer on [_LIBC_REENTRANT].
37675         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37676         definitions inside [_POSIX_MAPPED_FILES].
37678         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37680         * dirent/opendir.c: Include <fcntl.h>.
37682         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37683         (__libc_getspecific): Likewise.
37684         (__libc_key_create): Likewise.
37686         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37687         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37688         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37689         (tmpfile64): Define as alias.
37690         * sysdeps/wordsize-64/tmpfile.c: File removed.
37691         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37692         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37693         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37695         * stdio-common/vfscanf.c: Include <stdbool.h>.
37696         * nss/makedb.c: Likewise.
37697         * stdio-common/_i18n_number.h: Likewise.
37698         * argp/argp-help.c: Likewise.
37699         * posix/wordexp.c: Likewise.
37700         * sysdeps/posix/spawni.c: Likewise.
37701         * nss/nss_files/files-initgroups.c: Likewise.
37702         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37703         * nss/nss_files/files-initgroups.c: Likewise.
37704         * nss/nss_db/db-netgrp.c: Likewise.
37705         * nss/nss_db/db-initgroups.c: Likewise.
37706         * io/fchmodat.c: Include <sys/stat.h>.
37708         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37709         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37711         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37712         [HAVE_MMAP].
37714         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37715         Add multiple inclusion protection.
37717 2012-07-27  David S. Miller  <davem@davemloft.net>
37719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37721 2012-07-27  Gary Benson  <gbenson@redhat.com>
37723         [BZ #14298]
37724         * elf/rtld.c: Include <stap-probe.h>.
37725         (dl_main): Added static probes "init_start" and "init_complete".
37726         * elf/dl-load.c: Include <stap-probe.h>.
37727         (lose): Take new parameter "nsid".
37728         Added static probe "map_failed".
37729         (_dl_map_object_from_fd): Pass namespace id to lose.
37730         Added static probe "map_start".
37731         (open_verify): Pass namespace id to lose.
37732         * elf/dl-open.c: Include <stap-probe.h>.
37733         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37734         and "reloc_complete".
37735         * elf/dl-close.c: Include <stap-probe.h>.
37736         (_dl_close_worker): Added static probes "unmap_start" and
37737         "unmap_complete".
37738         * elf/rtld-debugger-interface.txt: New file documenting the above.
37740 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37742         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37743         rather than a string variable.
37744         * sunrpc/rpc_main.c (h_output): Likewise.
37745         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37747 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37749         * inet/check_native.c: New file.
37751 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37753         [BZ #13629]
37754         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37755         if larger part has absolute value 1.0.
37756         * math/s_clog10.c (__clog10): Likewise.
37757         * math/s_clog10f.c (__clog10f): Likewise.
37758         * math/s_clog10l.c (__clog10l): Likewise.
37759         * math/s_clogf.c (__clogf): Likewise.
37760         * math/s_clogl.c (__clogl): Likewise.
37761         * math/libm-test.inc (clog_test): Add more tests.
37762         (clog10_test): Likewise.
37763         * sysdeps/i386/fpu/libm-test-ulps: Update.
37764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37766         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37767         (pltexit): Likewise.
37768         (La_regs): Likewise.
37769         (La_retval): Likewise.
37770         (int_retval): Likewise.
37771         Update #error for removed macros to refer only to definitions in
37772         tst-audit.h.
37773         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37774         macro.
37775         (pltexit): Likewise.
37776         (La_regs): Likewise.
37777         (La_retval): Likewise.
37778         (int_retval): Likewise.
37779         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37780         macro.
37781         (pltexit): Likewise.
37782         (La_regs): Likewise.
37783         (La_retval): Likewise.
37784         (int_retval): Likewise.
37785         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37786         macro.
37787         (pltexit): Likewise.
37788         (La_regs): Likewise.
37789         (La_retval): Likewise.
37790         (int_retval): Likewise.
37791         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37792         macro.
37793         (pltexit): Likewise.
37794         (La_regs): Likewise.
37795         (La_retval): Likewise.
37796         (int_retval): Likewise.
37797         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37798         macro.
37799         (pltexit): Likewise.
37800         (La_regs): Likewise.
37801         (La_retval): Likewise.
37802         (int_retval): Likewise.
37803         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37804         macro.
37805         (pltexit): Likewise.
37806         (La_regs): Likewise.
37807         (La_retval): Likewise.
37808         (int_retval): Likewise.
37809         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37810         macro definitions in tst-audit.h.
37811         * sysdeps/i386/tst-audit.h: New file.
37812         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37813         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37814         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37815         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37816         * sysdeps/sh/tst-audit.h: Likewise.
37817         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37818         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37819         * sysdeps/x86_64/tst-audit.h: Likewise.
37821 2012-07-26  Andreas Jaeger  <aj@suse.de>
37823         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37824         ptrace.
37826         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37827         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37828         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37829         PTRACE_O_MASK.
37830         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37831         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37832         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37834         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37835         value.
37837         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37838         _sigsys.
37839         (si_call_addr, si_syscall, si_arch): Define new macro.
37840         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37841         _sigsys.
37842         (si_call_addr, si_syscall, si_arch): Define new marcro.
37843         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37844         _sigsys.
37845         (si_call_addr, si_syscall, si_arch): Define new macro.
37846         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37847         _sigsys.
37848         (si_call_addr, si_syscall, si_arch): Define new macro.
37850 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37852         [BZ #13717]
37853         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37854         Change to 2.4.21 where previously 2.4.1.
37855         * sysdeps/unix/sysv/linux/configure: Regenerated.
37856         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37857         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37858         Linux kernel version.
37859         (__ASSUME_STD_AUXV): Remove.
37860         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37861         kernel version.
37862         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37863         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37864         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37865         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37866         (__ASSUME_NETLINK_SUPPORT): Likewise.
37867         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37868         (__no_netlink_support): Remove conditional definition.
37869         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37870         Remove.
37871         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37872         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37873         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37874         (if_nameindex_ioctl): Remove.
37875         (if_nameindex_netlink): Do not handle __no_netlink_support.
37876         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37877         code.
37878         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37879         Remove conditional code.
37880         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37881         code.
37882         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37883         unconditional.
37884         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37885         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37886         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37887         Remove.
37888         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37889         [!__ASSUME_STD_AUXV]: Remove conditional code.
37890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37891         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37892         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37894         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37895         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37896         code.
37897         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37899         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37900         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37901         conditional code.
37902         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37904         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37905         code.
37906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37907         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37908         conditional code.
37909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37910         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37911         code unconditional.
37912         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37913         conditional code.
37914         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37915         unconditional.
37916         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37917         conditional code.
37918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37919         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37920         unconditional.
37921         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37922         conditional code.
37923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37924         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37925         code unconditional.
37926         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37927         conditional code.
37928         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37929         unconditional.
37930         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37931         conditional code.
37932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37933         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37934         code unconditional.
37935         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37936         conditional code.
37937         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37938         unconditional.
37939         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37940         conditional code.
37942 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37944         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37945         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37946         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37947         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37948         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37949         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37950         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37951         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37952         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37953         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37954         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37955         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37956         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37957         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37958         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37959         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37960         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37961         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37962         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37964         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37965         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37966         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37968 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37970         * Versions.def: Add GLIBC_2.17.
37971         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37972         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37973         Introduce __libc_secure_getenv.
37974         * stdlib/Versions (2.17): Add secure_getenv
37975         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37976         * stdlib/secure-getenv.c: Rename __secure_getenv to
37977         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37978         symbol __secure_getenv for GLIBC_2.0.
37979         * stdlib/tst-secure-getenv.c: New.
37980         * stdlib/Makefile (tests): Add testcase.
37981         * manual/startup.texi (Environment Access): Document
37982         secure_getenv.
37983         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37984         __libc_secure_getenv.
37985         * inet/ruserpass.c (ruserpass): Likewise.
37986         * malloc/mtrace.c (mtrace): Likewise.
37987         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37988         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37989         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37990         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37991         HAVE_SECURE_GETENV.
37992         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37993         __secure_getenv to __libc_secure_getenv.
37994         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37996         Likewise.
37997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37998         Likewise.
37999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38001         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38007 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38009         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38010         (struct La_i86_retval): Likewise.
38011         (struct La_x86_64_regs): Likewise.
38012         (struct La_x86_64_retval): Likewise.
38013         (struct La_x32_regs): Likewise.
38014         (struct La_x32_retval): Likewise.
38015         (struct La_ppc32_regs): Likewise.
38016         (struct La_ppc32_retval): Likewise.
38017         (struct La_ppc64_regs): Likewise.
38018         (struct La_ppc64_retval): Likewise.
38019         (struct La_sh_regs): Likewise.
38020         (struct La_sh_retval): Likewise.
38021         (struct La_s390_32_regs): Likewise.
38022         (struct La_s390_32_retval): Likewise.
38023         (struct La_s390_64_regs): Likewise.
38024         (struct La_s390_64_retval): Likewise.
38025         (struct La_sparc32_regs): Likewise.
38026         (struct La_sparc32_retval): Likewise.
38027         (struct La_sparc64_regs): Likewise.
38028         (struct La_sparc64_retval): Likewise.
38029         (struct audit_ifaces): Remove architecture-specific pltenter and
38030         pltexit members.
38031         * sysdeps/i386/ldsodefs.h: New file.
38032         * sysdeps/powerpc/ldsodefs.h: Likewise.
38033         * sysdeps/s390/ldsodefs.h: Likewise.
38034         * sysdeps/sh/ldsodefs.h: Likewise.
38035         * sysdeps/sparc/ldsodefs.h: Likewise.
38036         * sysdeps/x86_64/ldsodefs.h: Likewise.
38038 2012-07-25  Marek Polacek  <polacek@redhat.com>
38040         [BZ #6808]
38041         * math/libm-test.inc (yn_test): Add another test.
38042         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38043         to ERANGE when the result is +-Inf.
38044         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38045         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38046         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38047         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38049 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38051         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38052         equal to 0.
38053         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38054         clock_t.
38055         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38057 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38059         * configure.in <sysdeps resolving>: Correct printing
38060         Implies_before.
38061         * configure: Regenerate.
38063 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38065         * math/w_ilogb.c: Include <limits.h>.
38066         * math/w_ilogbl.c: Likewise.
38068 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38070         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38071         va_copy.  Document allowing for unavailable va_copy only as
38072         pre-C99 compatibility.
38073         * manual/string.texi (Copying and Concatenation): Use va_copy
38074         instead of __va_copy in concat example.
38076 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38078         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38079         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38080         it if not null.
38082         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38083         with O_NOLINK passed to __file_name_lookup.
38085         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38086         with O_NOLINK passed to __file_name_lookup.
38088         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38089         negative N or less than NGIDS.
38091         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38092         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38093         enough.  Use memcpy instead of strncpy.
38095 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38097         * elf/Makefile (check-data): Remove.
38098         (localplt.data): New vpath directive.
38099         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38100         instead of $(check-data).
38101         * scripts/data/localplt-generic.data: Move to ...
38102         * sysdeps/generic/localplt.data: ... here.
38103         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38104         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38105         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38107         ... here.
38108         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38110         ... here.
38111         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38113         ... here.
38114         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38116         ... here.
38117         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38119         ... here.
38120         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38122         ... here.
38124 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38126         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38127         PPC32 and PPC64 files.
38128         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38129         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38131 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38133         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38134         __makecontext_ret to ...
38135         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38136         ... here and call exit if uc_link is NULL.  New file.
38137         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38138         __makecontext_ret.S.
38139         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38140         __makecontext_ret to ...
38141         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38142         ... here and call exit if uc_link is NULL.  New file.
38143         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38144         __makecontext_ret.S.
38146 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38148         * elf/elf.h (R_390_IRELATIVE): New definition.
38149         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38150         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38151         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38152         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38153         (elf_machine_lazy_rel): Likewise.
38154         * sysdeps/s390/dl-irel.h: New file.
38155         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38156         * sysdeps/s390/s390-64/memset.S: New asm code.
38157         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38158         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38159         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38160         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38161         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38162         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38163         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38164         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38165         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38166         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38167         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38168         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38169         * sysdeps/s390/s390-32/memset.S: New asm code.
38170         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38172 2012-07-17  Marek Polacek  <polacek@redhat.com>
38174         [BZ #14349]
38175         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38176         * sysdeps/s390/s390-64/configure.in: Likewise.
38177         * sysdeps/sparc/configure.in: Likewise.
38178         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38179         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38180         * sysdeps/i386/configure.in: Likewise.
38181         * sysdeps/x86_64/configure.in: Likewise.
38182         * sysdeps/sh/configure.in: Likewise.
38183         * sysdeps/s390/s390-32/configure: Regenerated.
38184         * sysdeps/s390/s390-64/configure: Likewise.
38185         * sysdeps/x86_64/configure: Likewise.
38186         * sysdeps/sh/configure: Likewise.
38187         * sysdeps/powerpc/powerpc64/configure: Likewise.
38188         * sysdeps/powerpc/powerpc32/configure: Likewise.
38189         * sysdeps/sparc/configure: Likwise.
38190         * sysdeps/i386/configure: Likewise.
38192         * elf/dl-open.c: Comment fixes.
38194 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38196         * Makefile [CXX] (check-data): Remove.
38197         [CXX] (c++-types.data): New vpath directive.
38198         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38199         vpath.  Do not allow for C++ type data being missing.
38200         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38201         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38202         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38203         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38204         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38205         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38206         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38208         ... here.
38209         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38211         ... here.
38212         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38214         ... here.
38215         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38217         ... here.
38218         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38220         ... here.
38221         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38223         ... here.
38224         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38226         ... here.
38227         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38230         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38231         definitions to architecture-specific files.
38232         (TLS_IE): Likewise.
38233         (TLS_LD): Likewise.
38234         (TLS_GD): Likewise.
38235         * sysdeps/i386/tls-macros.h: New file.
38236         * sysdeps/powerpc/tls-macros.h: Likewise.
38237         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38238         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38239         * sysdeps/sh/tls-macros.h: Likewise.
38240         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38241         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38242         * sysdeps/x86_64/tls-macros.h: Likewise.
38244 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38246         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38247         zero value for regular exit case.
38249         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38250         (__start_context): Preserve zero value for regular exit case.
38252 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38253             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38255         * manual/setjmp.texi (setcontext): Clarify normal process
38256         termination when uc_link is the null pointer.
38257         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38258         exit call.
38260 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38262         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38263         preprocessor.  Test for each exception mask separately.
38265 2012-07-16  Andreas Jaeger  <aj@suse.de>
38267         * po/ru.po: Update from translation team.
38269 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38271         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38272         equal to 0.
38273         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38274         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38275         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38276         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38279 2012-07-13  Andreas Jaeger  <aj@suse.de>
38281         * po/fr.po: Update from translation team.
38283 2012-07-12  Marek Polacek  <polacek@redhat.com>
38285         [BZ #14173]
38286         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38287         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38288         loop condition.
38290 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38292         [BZ #13717]
38293         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38294         Change to 2.4.1 where previously 2.4.0.
38295         * sysdeps/unix/sysv/linux/configure: Regenerated.
38296         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38297         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38298         version.
38299         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38300         (__ASSUME_AT_CLKTCK): Remove.
38301         (__ASSUME_AT_PAGESIZE): Likewise.
38302         (__ASSUME_AT_XID): Likewise.
38303         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38304         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38305         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38306         unconditionally.
38307         (HAVE_AUX_PAGESIZE): Likewise.
38308         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38309         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38310         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38312 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38314         [BZ #14307]
38315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38316         the temporary buffer used to invoke __gethostbyname2_r,
38317         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38318         host_data / struct gaih_addrtuple.
38319         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38320         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38321         header file nss/nsswitch.h.
38322         * nss/nsswitch.h (global scope): Add definition of implementation
38323         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38324         resolv/nss_dns/dns-host.c).
38326 2012-07-11  Andreas Jaeger  <aj@suse.de>
38328         * po/fr.po: Update from translation team.
38330         * po/sv.po: Update from translation team
38331         * po/fr.po: Another update from translation team.
38333 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38335         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38336         for subnormals or multiply small sinh result by itself.
38337         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38340 2012-07-11  David S. Miller  <davem@davemloft.net>
38342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38344 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38346         [BZ #14347]
38347         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38348         (INTERNAL_MARK): Shift it here.
38350 2012-07-10  Marek Polacek  <polacek@redhat.com>
38352         [BZ #14151]
38353         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38354         libc_cv_asm_global_directive with .globl.
38355         * configure: Regenerated.
38356         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38357         with .globl.
38358         * sysdeps/i386/configure: Regenerated.
38359         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38360         with .globl.
38361         * sysdeps/x86_64/configure: Regenerated.
38362         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38363         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38364         * elf/tst-unique2mod2.c: Likewise.
38365         * elf/tst-unique2mod1.c: Likewise.
38366         * elf/tst-unique1mod2.c: Likewise.
38367         * elf/tst-unique1mod1.c: Likewise.
38368         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38369         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38370         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38371         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38372         * sysdeps/mach/sysdep.h: Likewise.
38373         * sysdeps/i386/sysdep.h: Likewise.
38374         * sysdeps/i386/i386-mcount.S: Likewise.
38375         * sysdeps/x86_64/_mcount.S: Likewise.
38376         * sysdeps/x86_64/sysdep.h: Likewise.
38377         * sysdeps/sh/_mcount.S: Likewise.
38378         * sysdeps/sh/sysdep.h: Likewise.
38379         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38380         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38381         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38382         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38383         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38384         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38385         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38386         * locale/localeinfo.h: Likewise.
38387         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38388         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38390 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38392         [BZ #14336]
38393         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38394         system".
38395         * manual/message.texi (The Uniforum approach): Likewise.
38396         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38397         (glibc iconv Implementation): Likewise.
38399 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38401         [BZ #14337]
38402         * math/s_clog.c (__clog): Avoid scaling a value down where that
38403         could result in underflow.
38404         * math/s_clog10.c (__clog10): Likewise.
38405         * math/s_clog10f.c (__clog10f): Likewise.
38406         * math/s_clog10l.c (__clog10l): Likewise.
38407         * math/s_clogf.c (__clogf): Likewise.
38408         * math/s_clogl.c (__clogl): Likewise.
38409         * math/libm-test.inc (clog_test): Add more tests.
38410         (clog10_test): Likewise.
38411         * sysdeps/i386/fpu/libm-test-ulps: Update.
38412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38414 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38416         [BZ #14283]
38417         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38418         by 7 not 8 to examine high bit of fractional part.
38420         [BZ #14042]
38421         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38422         for call to __mcount_internal.
38423         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38424         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38425         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38427 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38429         [BZ #14154]
38430         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38431         approximation for values within 0x1p-13f of an odd multiple of
38432         pi/4.
38433         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38434         exception.  Add more tests.
38435         * sysdeps/i386/fpu/libm-test-ulps: Update.
38437         [BZ #6778]
38438         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38439         inputs and return -1 for them.  Do not check for +Inf in case not
38440         reachable for +Inf.
38441         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38442         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38443         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38444         and return -1 for them.  Do not check for +Inf in case not
38445         reachable for +Inf.
38446         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38447         define.
38448         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38449         and return -1 for them.  Do not check for +Inf in case not
38450         reachable for +Inf.
38451         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38452         spurious underflow.
38453         * sysdeps/i386/fpu/libm-test-ulps: Update.
38454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38456 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38458         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38460 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38462         [BZ #14157]
38463         [BZ #14331]
38464         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38465         could result in spurious underflow.  Scale down values above
38466         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38467         * math/s_csqrtf.c (__csqrtf): Likewise.
38468         * math/s_csqrtl.c (__csqrtl): Likewise.
38469         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38470         spurious underflow.
38471         * sysdeps/i386/fpu/libm-test-ulps: Update.
38472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38474 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38476         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38477         xopen-msg.sed.
38478         * catgets/xopen-msg.awk: New file.
38479         * catgets/xopen-msg.sed: Removed.
38481         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38482         po2text.sed.
38483         * intl/po2test.awk: New file.
38484         * intl/po2test.sed: Removed.
38486 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38488         [BZ #14328]
38489         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38490         or multiply small sinh result by itself.
38491         * math/s_ctanf.c (__ctanf): Likewise.
38492         * math/s_ctanh.c (__ctanh): Likewise.
38493         * math/s_ctanhf.c (__ctanhf): Likewise.
38494         * math/s_ctanhl.c (__ctanhl): Likewise.
38495         * math/s_ctanl.c (__ctanl): Likewise.
38496         * math/libm-test.inc (ctan_test_tonearest): New function.
38497         (ctan_test_towardzero): Likewise.
38498         (ctan_test_downward): Likewise.
38499         (ctan_test_upward): Likewise.
38500         (ctanh_test_tonearest): Likewise.
38501         (ctanh_test_towardzero): Likewise.
38502         (ctanh_test_downward): Likewise.
38503         (ctanh_test_upward): Likewise.
38504         (main): Call these new functions.
38505         * sysdeps/i386/fpu/libm-test-ulps: Update.
38506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38508 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38510         * .gitignore: Delete /ports entry.
38512 2012-07-03  Andreas Jaeger  <aj@suse.de>
38514         * po/bg.po: Update from translation team.
38515         * po/cs.po: Likewise.
38516         * po/de.po: Likewise.
38517         * po/hr.po: Likewise.
38518         * po/nl.pl: Likewise.
38519         * po/pl.po: Likewise.
38520         * po/vi.po: Likewise.
38522 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38524         * Makeconfig [!+link] (+link-before-libc): New variable.
38525         [!+link] (+link-after-libc): Likewise.
38526         [!+link] (+link-tests): Likewise.
38527         [!+link] (+link): Define in terms of $(+link-before-libc) and
38528         $(+link-after-libc).
38529         [!+link-static] (+link-static-before-libc): New variable.
38530         [!+link-static] (+link-static-after-libc): Likewise.
38531         [!+link-static] (+link-static-tests): Likewise.
38532         [!+link-static] (+link-static): Define in terms of
38533         $(+link-static-before-libc) and $(+link-static-after-libc).
38534         [build-shared] (link-libc-before-gnulib): New variable.
38535         [build-shared] (link-libc-tests): Likewise.
38536         [build-shared] (link-libc): Define in terms of
38537         $(link-libc-before-gnulib).
38538         [!build-shared] (link-libc-tests): New variable.
38539         (link-libc-static-tests): New variable.
38540         [!gnulib] (gnulib-arch): New variable.
38541         [!gnulib] (gnulib-tests): Likewise.
38542         [!gnulib] (static-gnulib-arch): Likewise.
38543         [!gnulib] (static-gnulib-tests): Likewise.
38544         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38545         Define with "=" instead of ":=".
38546         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38547         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38548         * Rules (binaries-all-notests): New variable.
38549         (binaries-all-tests): Likewise.
38550         (binaries-static-notests): Likewise.
38551         (binaries-static-tests): Likewise.
38552         (binaries-all): Define using $(binaries-all-notests) and
38553         $(binaries-all-tests).
38554         (binaries-static): Define using $(binaries-static-notests) and
38555         $(binaries-static-tests).
38556         (binaries-shared-tests): New variable.
38557         (binaries-shared-notests): Likewise.
38558         (binaries-shared): Remove variable.
38559         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38560         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38561         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38562         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38563         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38564         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38565         * elf/Makefile (sln-modules): New variable.
38566         (extra-objs): Add $(sln-modules:=.o).
38567         (ldconfig-modules): Add static-stubs.
38568         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38569         * elf/static-stubs.c: New file.
38571         [BZ #14283]
38572         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38573         by 7 not 8 to examine high bit of fractional part.  Use volatile
38574         variables when splitting into final array of floats if
38575         __FLT_EVAL_METHOD__ != 0.
38576         * math/libm-test.inc (cos_test): Add another test.
38577         (sin_test): Likewise.
38578         * sysdeps/i386/fpu/libm-test-ulps: Update.
38580         [BZ #14273]
38581         * math/libm-test.inc (cosh_test): Add more tests.
38583         * version.h (RELEASE): Set to "development".
38584         (VERSION): Set to "2.16.90".
38586 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38588         * NEWS: Update copyright. Remove last-updated date.
38589         Mention math library bug fixes and timezone data changes.
38590         * README: Mention GNU/Hurd, x32, and HPPA support status.
38592 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38594         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38596 2012-06-27  Andreas Jaeger  <aj@suse.de>
38598         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38600 2012-06-25  Andreas Jaeger  <aj@suse.de>
38602         * sysdeps/s390/fpu/libm-test-ulps: Update.
38604 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38605             Thomas Schwinge  <thomas@codesourcery.com>
38607         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38608         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38609         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38610         fanotify_mark.
38612 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38614         * sysdeps/mach/start.c: Remove file.
38615         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38616         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38617         * sysdeps/sh/init-first.c: Likewise.
38619         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38620         registers for frame unwinding purposes, add CFI directives.
38621         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38622         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38623         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38624         Likewise.
38626         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38627         __fortify_fail returning.
38628         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38630         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38631         sysdeps/sh/____longjmp_chk.S.
38632         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38633         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38634         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38635         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38637         * sysdeps/sh/abort-instr.h: New file.
38638         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38639         process in case exit returns.
38641         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38642         initialize the GOT register before use.
38644         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38645         calculation of ARGC > 4.
38647         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38648         meaningful names to some local labels.
38650 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38651             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38653         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38654         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38655         (__arch_compare_and_exchange_val_16_acq): Likewise.
38656         (__arch_compare_and_exchange_val_32_acq): Likewise.
38657         (atomic_exchange_and_add): Fix gUSA sequence.
38658         (atomic_add): Likewise.
38659         (atomic_add_negative): Likewise.
38660         (atomic_add_zero): Likewise.
38661         (atomic_bit_test_set): Likewise.
38663 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38665         [BZ #13579]
38666         * include/link.h (struct link_map): Add l_free_initfini.
38667         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38668         l_initfini.
38669         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38670         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38671         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38672         set.
38674 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38676         * configure.in: Use AC_LANG_SOURCE.
38677         * configure: Regenerate.
38679 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38681         * configure.in (libc_cv_localstatedir): New substituted variable.
38682         * configure: Regenerated.
38683         * config.make.in (localstatedir): New variable, substituted from
38684         libc_cv_localstatedir.
38685         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38686         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38687         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38688         * sysdeps/gnu/configure: Regenerated.
38690 2012-06-21  Jeff Law  <law@redhat.com>
38692         [BZ #14277]
38693         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38694         free.  Simplify list management for _LIBC case.
38696 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38698         [BZ #14273]
38699         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38700         Clear sign bit of 64-bit integer value before comparing against
38701         overflow value.
38703         * sysdeps/mach/configure: Regenerated.
38705 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38707         [BZ #14278]
38708         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38710 2012-06-21  Jeff Law  <law@redhat.com>
38712         [BZ #13882]
38713         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38714         uint16_t for elements in the "seen" array to avoid char overflows.
38715         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38716         * elf/dl-open.c (dl_open_worker): Likewise.
38718 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38720         * scripts/list-sources.sh: Scan PORTS for translations.
38721         * po/libc.pot: Regenerated.
38723 2012-06-21  Andreas Jaeger  <aj@suse.de>
38725         [BZ #12194]
38726         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38727         warning.
38728         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38729         * bits/byteswap-16.h (__bswap_16): Likewise.
38730         * bits/byteswap.h (__bswap_constant_16): Likewise.
38732 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38734         [BZ #14117]
38735         * sysdeps/i386/fpu_control.h: Removed.
38736         * sysdeps/x86_64/fpu_control.h: Moved to ...
38737         * sysdeps/x86/fpu_control.h: Here.
38739         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38740         (_FPU_SETCW): Likewise.
38742 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38744         [BZ #14117]
38745         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38746         * sysdeps/x86/fpu/bits/mathinline.h: This.
38747         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38749         [BZ #14050]
38750         [BZ #14117]
38751         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38752         functions if __x86_64__ is defined.
38754 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38756         * string/endian.h: Add !__ASSEMBLER__ condition for including
38757         conversion interfaces.
38759 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38761         [BZ #14241]
38762         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38763         of ABS(x) in calculating zero to negative powers other than odd
38764         integers.
38765         * math/libm-test.inc (pow_test): Add more tests.
38767 2012-06-15  Andreas Jaeger  <aj@suse.de>
38769         * manual/contrib.texi (Contributors): Update entry of Liubov
38770         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38771         Machado Filho.
38773 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38775         * string/string.h: Add __wur to GNU version of strerror_r.
38777 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38779         [BZ #14229]
38780         * string/Makefile (tests): Add tst-strtok_r.
38781         * string/tst-strtok_r.c: New file.
38782         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38783         RAX_LP/RDX_LP on SAVE_PTR.
38785 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38787         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38789 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38791         * libm_test.inc (csqrt_test): Allow more spurious underflow
38792         exceptions.
38793         (j0_test): Likewise.
38794         (j1_test): Likewise.
38795         (y0_test): Likewise.
38796         (y1_test): Likewise.
38798 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38800         * po/Makefile (libc.pot): Use UTF-8 charset.
38802 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38804         [BZ #14210]
38805         Suppress sign-conversion warning from FD_SET.
38806         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38807         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38808         not unsigned long int.
38809         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38811 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38813         [BZ #14050]
38814         [BZ #14117]
38815         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38816         __extern_always_inline instead of __extern_inline.
38817         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38818         (__signbit): Likewise.
38819         (__signbitl): Support C++ namespace.
38820         (lrintf): New inline function.
38821         (lrint): Likewise.
38822         (llrintf): Likewise.
38823         (llrint): Likewise.
38824         (fmaxf): Likewise.
38825         (fmax): Likewise.
38826         (fminf): Likewise.
38827         (fmin): Likewise.
38828         (rint): Likewise.
38829         (rintf): Likewise.
38830         (ceil): Likewise.
38831         (ceilf): Likewise.
38832         (floor): Likewise.
38833         (floorf): Likewise.
38834         (nearbyint): Likewise.
38835         (nearbyintf): Likewise.
38837 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38839         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38840         non-default versions.
38842 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38844         [BZ #14218]
38845         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38847 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38849         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38850         (FE_UPWARD, FE_DOWNWARD): Don't define.
38851         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38852         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38854         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38855         reading it.
38856         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38857         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38859 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38861         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38862         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38863         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38864         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38866 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38868         [BZ #14117]
38869         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38870         * sysdeps/i386/fpu/Implies: New file.
38871         * sysdeps/x86_64/fpu/Implies: Likewise.
38872         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38873         * sysdeps/x86/fpu/bits/fenv.h: This.
38875         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38876         __SSE_MATH__.
38878 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38880         [BZ #14134]
38881         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38882         character 0xffff that matches the last element of the
38883         conversion table.
38885 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38887         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38888         fmodl commit.
38890 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38892         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38893         values higher than 25.6283.
38895 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38897         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38898         subnormal exponent extraction and add some __builtin_expect.
38899         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38900         Fix for subnormal mantissa calculation.
38902 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38904         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38905         cpu2 is -1 and errno is not ENOSYS.
38907 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38909         [BZ #14117]
38910         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38911         * sysdeps/x86/bits/string.h: This.
38912         * sysdeps/x86_64/bits/string.h: Removed.
38914         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38915         if not compiling for x86-64, but compiling for >= i486.
38917         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38918         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38920         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38921         New macro from Linux kernel 3.4.0.
38922         (FP_XSTATE_MAGIC2): Likewise.
38923         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38924         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38925         (struct _fpx_sw_bytes): New struct.
38926         (struct _xsave_hdr): Likewise.
38927         (struct _ymmh_state): Likewise.
38928         (struct _xstate): Likewise.
38930         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38931         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38932         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38933         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38934         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38935         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38937         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38938         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38939         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38940         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38941         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38942         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38944 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38946         [BZ #13743]
38947         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38948         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38949         (sysdep_headers): Include sys/platform/ppc.h.
38950         * sysdeps/powerpc/test-gettimebase.c: Test for
38951         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38952         * manual/Makefile (appendices): Include platform.texi.
38953         * manual/contrib.texi (Contributors): Update @node pointers.
38954         * manual/maint.texi (Maintenance): Likewise.
38955         (Platform): New node.
38956         * manual/platform.texi: New file.  Document the new features.
38958 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38959             Jakub Jelinek  <jakub@redhat.com>
38961         [BZ #14188]
38962         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38963         where __builtin_expect is unavailable.
38965 2012-06-03  David S. Miller  <davem@davemloft.net>
38967         * stdlib/longlong.h: Updated from GCC.
38969 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38971         [BZ #14042]
38972         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38973         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38974         __mcount_internal.
38975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38976         (GLIBC_2.16): Likewise.
38978 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38980         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38982 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38985         (default-abi): New variable.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38987         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38988         variable.
38989         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38990         Likewise.
38991         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38992         Likewise.
38993         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38994         Likewise.
38996         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38997         definition.  Document in comment.
38999 2012-06-01  David S. Miller  <davem@davemloft.net>
39001         * stdlib/longlong.h: Updated from GCC.
39003 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39005         [BZ #14117]
39006         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39007         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39008         sys/debugreg.h sys/io.h here.
39009         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39010         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39011         sys/io.h.
39012         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39013         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39014         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39015         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39016         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39017         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39019         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39020         Define only if __x86_64__ is defined.
39022 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39024         [BZ #14048]
39025         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39026         Use int64_t for variable i.
39027         * math/libm-test.inc (fmod_test): Add more tests.
39029         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39030         z computation is not scheduled after fetestexcept.
39031         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39032         Use math_force_eval instead of asm to ensure calculation scheduled
39033         before exception test.
39034         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39035         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39037 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39040         computation is not scheduled after fetestexcept.
39042 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39044         [BZ #14117]
39045         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39046         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39048 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39050         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39051         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39053 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39055         [BZ #14117]
39056         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39057         <bits/wordsize.h>.
39058         (__WCHAR_MIN): Support __WORDSIZE == 64.
39059         (__WCHAR_MAX): Likewise.
39061         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39062         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39064         [BZ #14183]
39065         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39066         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39068         [BZ #14117]
39069         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39070         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39072         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39073         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39075         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39076         Defined to 1 if __x86_64__ isn't defined.
39077         (_STAT_VER_LINUX_OLD): New.
39078         (st_atime): Remove duplicate.
39079         (st_mtime): Likewise.
39080         (st_ctime): Likewise.
39082 2012-05-31  David S. Miller  <davem@davemloft.net>
39084         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39085         entries.
39087 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39089         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39090         gen-libm-test.pl.
39092         [BZ #14132]
39093         * elf/dl-reloc.c: Include <_itoa.h>.
39094         (_dl_reloc_bad_type): Remove use of INTUSE.
39095         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39096         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39097         * stdio-common/psiginfo.c (psiginfo): Likewise.
39098         * stdio-common/psignal.c (psignal): Likewise.
39099         * string/strsignal.c (strsignal): Likewise.
39100         * include/signal.h (_sys_siglist): Declare hidden proto.
39101         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39102         INTVARDEF with libc_hidden_data_def.
39103         * stdio-common/itoa-udigits.c: Likewise.
39104         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39105         (_itoa_lower_digits_internal): Remove declaration.
39106         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39107         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39108         (_sys_sigabbrev_internal): Remove aliases.
39109         (_sys_siglist): Define hidden alias.
39111 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39114         bits/sysctl.h.
39116 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39118         [BZ #14117]
39119         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39120         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39122         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39123         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39124         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39125         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39126         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39127         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39129         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39130         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39131         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39133         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39134         with __addr.
39135         (insw): Likewise.
39136         (insl): Likewise.
39137         (outsb): Likewise.
39138         (outsw): Likewise.
39139         (outsl): Likewise.
39141         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39142         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39143         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39145         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39146         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39147         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39148         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39149         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39150         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39152         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39153         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39155         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39156         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39158         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39160         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39162         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39163         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39164         to ...
39165         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39167         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39168         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39169         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39171         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39172         for x86-64.
39173         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39175 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39177         * math/math.h (M_El): Use two more decimal places.
39178         (M_LOG2El): Likewise.
39179         (M_LOG10El): Likewise.
39180         (M_LN2l): Likewise.
39181         (M_LN10l): Likewise.
39182         (M_PIl): Likewise.
39183         (M_PI_2l): Likewise.
39184         (M_PI_4l): Likewise.
39185         (M_1_PIl): Likewise.
39186         (M_2_PIl): Likewise.
39187         (M_2_SQRTPIl): Likewise.
39188         (M_SQRT2l): Likewise.
39189         (M_SQRT1_2l): Likewise.
39191 2012-05-31  David S. Miller  <davem@davemloft.net>
39193         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39194         values between float registers.
39195         * sysdeps/sparc/sparc64/memset.S: Likewise.
39196         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39198 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39200         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39201         -D_FORTIFY_SOURCE=1.
39202         (CPPFLAGS-tst-longjmp_chk.c): Define.
39203         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39204         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39205         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39206         CFLAGS-tst-wchar-h.c.
39208 2012-05-31  Marek Polacek  <polacek@redhat.com>
39210         [BZ #14132]
39211         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39212         __endmntent_internal): Remove declaration.
39213         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39214         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39215         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39217 2012-05-30  David S. Miller  <davem@davemloft.net>
39219         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39220         (___Q_simulate_exceptions): Use real FP ops rather than writing
39221         into the %fsr.
39222         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39223         Likewise.
39225 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39227         [BZ #14117]
39228         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39229         * sysdeps/x86/bits/xtitypes.h: This.
39231         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39232         * sysdeps/x86/bits/wordsize.h: This.
39234         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39235         * sysdeps/x86/bits/huge_vall.h: This.
39237         * sysdeps/i386/bits/select.h: Removed.
39238         * sysdeps/x86_64/bits/select.h: Renamed to ...
39239         * sysdeps/x86/bits/select.h: This.
39241         * sysdeps/i386/bits/setjmp.h: Removed.
39242         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39243         * sysdeps/x86/bits/setjmp.h: This.
39245         * sysdeps/i386/bits/mathdef.h: Removed.
39246         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39247         * sysdeps/x86/bits/mathdef.h: This.
39249 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39251         [BZ #14132]
39252         * include/sys/socket.h (__connect_internal)
39253         (__libc_sa_len_internal): Remove declaration.
39254         (__connect, __libc_sa_len): Declare hidden_proto.
39255         (SA_LEN): Remove use of INTUSE.
39256         * socket/connect.c: Add libc_hidden_def.
39257         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39258         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39259         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39260         alias.
39261         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39262         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39263         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39264         of adding _internal alias.
39266 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39268         [BZ #14117]
39269         * sysdeps/i386/bits/link.h: Removed.
39270         * sysdeps/i386/bits/linkmap.h: Likewise.
39271         * sysdeps/x86_64/bits/link.h: Renamed to ...
39272         * sysdeps/x86/bits/link.h: This.
39273         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39274         * sysdeps/x86/bits/linkmap.h: This.
39276         * sysdeps/i386/bits/endian.h: Removed.
39277         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39278         * sysdeps/x86/bits/endian.h: This.
39280         * sysdeps/i386/bits/byteswap.h: Removed.
39281         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39282         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39283         * sysdeps/x86/bits/byteswap.h: This.
39284         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39285         * sysdeps/x86/bits/byteswap-16.h: This.
39286         * sysdeps/i386/Implies: Add x86.
39287         * sysdeps/x86_64/Implies: Likewise.
39289 2012-05-30  David S. Miller  <davem@davemloft.net>
39291         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39292         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39293         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39294         (FP_TRAPPING_EXCEPTIONS): Define.
39295         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39296         (FP_TRAPPING_EXCEPTIONS): Define.
39297         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39298         subnormals only when inexact has been signalled or underflow
39299         exceptions are enabled.
39300         (_FP_PACK_CANONICAL): Likewise.
39302 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39304         [BZ #14183]
39305         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39306         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39308 2012-05-30  Richard Henderson  <rth@twiddle.net>
39310         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39311         with #ifndef NOT_IN_libc.
39313         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39314         marked to avoid plt entry.
39316 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39318         [BZ #14112]
39319         * Makeconfig (default-abi): New macro.
39320         (abi-includes): Likewise.
39321         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39322         $(abi-$(default-abi)-lib-soname) for soname if defined.
39323         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39324         abi-variants.
39325         * Makefile (installed-stubs): Likewise.
39326         * include/stubs-biarch.h: Removed.
39327         * scripts/lib-names.awk: Only handle one library at a time.
39328         * scripts/soversions.awk: Remove WORDSIZE support.
39329         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39330         entries.
39331         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39332         Removed.
39333         (syscall-list-default-condition): Likewise.
39334         (syscall-list-default-condition): Likewise.
39335         (syscall-list-includes): Likewise.
39336         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39337         syscall-list-* with abi-*.  Handle undefined abi-variants.
39338         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39339         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39340         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39341         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39342         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39343         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39344         Removed.
39345         (syscall-list-32-options): Likewise.
39346         (syscall-list-32-condition): Likewise.
39347         (syscall-list-64-options): Likewise.
39348         (syscall-list-64-condition): Likewise.
39349         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39350         macro.
39351         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39352         Renamed to ...
39353         (abi-*): This.
39354         (abi-64-ld-soname): New macro.
39355         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39356         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39357         Renamed to ...
39358         (abi-*): This.
39359         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39360         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39362 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39364         * sysdeps/unix/sysv/linux/kernel-features.h
39365         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39366         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39367         include <kernel-features.h>.
39368         [!__NR_ftruncate64]: Remove conditional code.
39369         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39370         [__NR_ftruncate64]: Make code unconditional.
39371         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39372         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39373         include <kernel-features.h>.
39374         [!__NR_ftruncate64]: Remove conditional code.
39375         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39376         [__NR_ftruncate64]: Make code unconditional.
39377         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39379         include <kernel-features.h>.
39380         [!__NR_ftruncate64]: Remove conditional code.
39381         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39382         [__NR_ftruncate64]: Make code unconditional.
39383         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39385         include <kernel-features.h>.
39386         [!__NR_ftruncate64]: Remove conditional code.
39387         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39388         [__NR_ftruncate64]: Make code unconditional.
39389         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39391         * configure.in (libc_cv_fpie): Weaken to a compile test using
39392         LIBC_TRY_CC_OPTION.
39393         * configure: Regenerated.
39395 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39401         Refreshed.
39402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39408         Refreshed.
39410 2012-05-27  David S. Miller  <davem@davemloft.net>
39412         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39413         (___Q_zero): New.
39414         (__Q_simulate_exceptions): Return void.  Change to simulate
39415         exceptions by writing into the %fsr.
39416         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39417         (__Qp_handle_exceptions): Likewise.
39418         (numbers): Delete.
39419         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39420         __Qp_handle_exceptions.
39421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39422         __Qp_handle_exceptions.
39423         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39424         as unused and give dummy FP_RND_NEAREST initializer.
39425         (FP_INHIBIT_RESULTS): Define.
39426         (___Q_simulate_exceptions): Update declaration.
39427         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39428         formatting.
39429         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39430         as unused and give dummy FP_RND_NEAREST initializer.
39431         (__Qp_handle_exceptions): Update declaration.
39432         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39433         formatting.
39435 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39437         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39438         the temporary FPU control word.
39439         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39440         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39441         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39442         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39443         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39444         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39445         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39446         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39447         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39448         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39449         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39451 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39453         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39454         fields.
39456 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39458         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39459         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39460         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39461         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39462         Likewise.
39463         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39464         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39465         Likewise.
39467 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39469         * po/h.po: Update from translation team.
39471 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39473         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39475         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39476         handling of denormals.
39477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39478         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39479         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39480         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39483         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39484         Likewise.
39486 2012-05-26  Marek Polacek  <polacek@redhat.com>
39488         [BZ #14152]
39489         * math/libm-test.inc (fma_test): Don't always expect underflow
39490         exception.
39492 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39494         [BZ #12416]
39495         * elf/tst-execstack.c: Include stackinfo.h.
39496         (do_test): Adjust test case to ensure that pthread_getattr_np
39497         behaviour remains the same after marking stack executable.
39499 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39501         * sysdeps/unix/sysv/linux/kernel-features.h
39502         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39503         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39504         kernel-features.h.
39505         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39506         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39507         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39508         kernel-features.h.
39509         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39510         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39512 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39514         * configure.in: Define the default includes to being none.
39515         * configure: Regenerated.
39517 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39519         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39520         * sysdeps/x86_64/setjmp.S: Likewise.
39521         * sysdeps/i386/bsd-setjmp.S: Likewise.
39522         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39523         * sysdeps/i386/setjmp.S: Likewise.
39524         * sysdeps/i386/__longjmp.S: Likewise.
39525         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39526         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39528         * include/stap-probe.h: New file.
39529         * configure.in: Handle --enable-systemtap.
39530         * configure: Regenerated.
39531         * config.h.in (USE_STAP_PROBE): New #undef.
39532         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39533         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39534         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39536 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39538         [BZ #13717]
39539         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39540         to 2.4.0 where earlier.
39541         * sysdeps/unix/sysv/linux/configure: Regenerated.
39542         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39543         <kernel-features.h>.
39544         [__ASSUME_32BITUIDS]: Make code unconditional.
39545         [!__ASSUME_32BITUIDS]: Remove conditional code.
39546         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39547         <kernel-features.h>.
39548         [__ASSUME_32BITUIDS]: Make code unconditional.
39549         [!__ASSUME_32BITUIDS]: Remove conditional code.
39550         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39551         [__ASSUME_32BITUIDS]: Make code unconditional.
39552         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39553         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39554         <kernel-features.h>.
39555         [__ASSUME_32BITUIDS]: Make code unconditional.
39556         [!__ASSUME_32BITUIDS]: Remove conditional code.
39557         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39558         <kernel-features.h>.
39559         [__ASSUME_32BITUIDS]: Make code unconditional.
39560         [!__ASSUME_32BITUIDS]: Remove conditional code.
39561         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39562         <kernel-features.h>.
39563         [__ASSUME_32BITUIDS]: Make code unconditional.
39564         [!__ASSUME_32BITUIDS]: Remove conditional code.
39565         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39566         <kernel-features.h>.
39567         [__ASSUME_32BITUIDS]: Make code unconditional.
39568         [!__ASSUME_32BITUIDS]: Remove conditional code.
39569         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39570         <kernel-features.h>.
39571         [__ASSUME_32BITUIDS]: Make code unconditional.
39572         [!__ASSUME_32BITUIDS]: Remove conditional code.
39573         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39574         <kernel-features.h>.
39575         [__ASSUME_32BITUIDS]: Make code unconditional.
39576         [!__ASSUME_32BITUIDS]: Remove conditional code.
39577         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39578         <kernel-features.h>.
39579         [__ASSUME_32BITUIDS]: Make code unconditional.
39580         [!__ASSUME_32BITUIDS]: Remove conditional code.
39581         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39582         <kernel-features.h>.
39583         [__ASSUME_32BITUIDS]: Make code unconditional.
39584         [!__ASSUME_32BITUIDS]: Remove conditional code.
39585         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39586         <kernel-features.h>.
39587         [__ASSUME_32BITUIDS]: Make code unconditional.
39588         [!__ASSUME_32BITUIDS]: Remove conditional code.
39589         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39590         <kernel-features.h>.
39591         [__ASSUME_32BITUIDS]: Make code unconditional.
39592         [!__ASSUME_32BITUIDS]: Remove conditional code.
39593         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39594         <kernel-features.h>.
39595         [__NR_setresgid] (__setresgid): Do not declare.
39596         [__ASSUME_32BITUIDS]: Make code unconditional.
39597         [!__ASSUME_32BITUIDS]: Remove conditional code.
39598         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39599         <kernel-features.h>.
39600         [__NR_setresuid] (__setresuid): Do not declare.
39601         [__ASSUME_32BITUIDS]: Make code unconditional.
39602         [!__ASSUME_32BITUIDS]: Remove conditional code.
39603         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39604         <kernel-features.h>.
39605         [__ASSUME_32BITUIDS]: Make code unconditional.
39606         [!__ASSUME_32BITUIDS]: Remove conditional code.
39607         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39608         <kernel-features.h>.
39609         [__ASSUME_32BITUIDS]: Make code unconditional.
39610         [!__ASSUME_32BITUIDS]: Remove conditional code.
39611         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39612         <kernel-features.h>.
39613         [__ASSUME_32BITUIDS]: Make code unconditional.
39614         [!__ASSUME_32BITUIDS]: Remove conditional code.
39615         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39616         <kernel-features.h>.
39617         [__ASSUME_32BITUIDS]: Make code unconditional.
39618         [!__ASSUME_32BITUIDS]: Remove conditional code.
39619         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39620         <kernel-features.h>.
39621         [__ASSUME_32BITUIDS]: Make code unconditional.
39622         [!__ASSUME_32BITUIDS]: Remove conditional code.
39623         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39624         <kernel-features.h>.
39625         [__ASSUME_32BITUIDS]: Make code unconditional.
39626         [!__ASSUME_32BITUIDS]: Remove conditional code.
39627         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39628         <kernel-features.h>.
39629         [__ASSUME_32BITUIDS]: Make code unconditional.
39630         [!__ASSUME_32BITUIDS]: Remove conditional code.
39631         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39632         <kernel-features.h>.
39633         [__ASSUME_32BITUIDS]: Make code unconditional.
39634         [!__ASSUME_32BITUIDS]: Remove conditional code.
39635         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39636         <kernel-features.h>.
39637         [__ASSUME_32BITUIDS]: Make code unconditional.
39638         [!__ASSUME_32BITUIDS]: Remove conditional code.
39639         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39640         <kernel-features.h>.
39641         [__ASSUME_32BITUIDS]: Make code unconditional.
39642         [!__ASSUME_32BITUIDS]: Remove conditional code.
39643         * sysdeps/unix/sysv/linux/kernel-features.h
39644         (__ASSUME_SETRESUID_SYSCALL): Remove.
39645         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39646         (__ASSUME_32BITUIDS): Likewise.
39647         (__ASSUME_LDT_WORKS): Likewise.
39648         (__ASSUME_O_DIRECTORY): Likewise.
39649         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39650         architecture but not kernel version.
39651         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39652         (__ASSUME_MMAP2_SYSCALL): Likewise.
39653         (__ASSUME_STAT64_SYSCALL): Likewise.
39654         (__ASSUME_IPC64): Likewise.
39655         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39656         <kernel-features.h>.
39657         [__ASSUME_32BITUIDS]: Make code unconditional.
39658         [!__ASSUME_32BITUIDS]: Remove conditional code.
39659         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39660         <kernel-features.h>.
39661         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39662         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39663         132096]: Remove conditional code.
39664         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39665         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39666         <kernel-features.h>.
39667         [__ASSUME_32BITUIDS]: Make code unconditional.
39668         [!__ASSUME_32BITUIDS]: Remove conditional code.
39669         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39670         <kernel-features.h>.
39671         [__ASSUME_32BITUIDS]: Make code unconditional.
39672         [!__ASSUME_32BITUIDS]: Remove conditional code.
39673         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39674         <kernel-features.h>.
39675         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39676         unconditional.
39677         (__setresgid): Do not declare.
39678         [__ASSUME_32BITUIDS]: Make code unconditional.
39679         [!__ASSUME_32BITUIDS]: Remove conditional code.
39680         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39681         <kernel-features.h>.
39682         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39683         unconditional.
39684         (__setresuid): Do not declare.
39685         [__ASSUME_32BITUIDS]: Make code unconditional.
39686         [!__ASSUME_32BITUIDS]: Remove conditional code.
39687         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39688         <kernel-features.h>.
39689         [__ASSUME_32BITUIDS]: Make code unconditional.
39690         [!__ASSUME_32BITUIDS]: Remove conditional code.
39691         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39692         <kernel-features.h>.
39693         [__ASSUME_32BITUIDS]: Make code unconditional.
39694         [!__ASSUME_32BITUIDS]: Remove conditional code.
39696 2012-05-25  Richard Henderson  <rth@twiddle.net>
39698         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39699         dl_hwcap to ifunc resolver.
39700         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39701         elf_ifunc_invoke.
39702         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39703         dl_hwcap to ifunc resolver.
39704         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39706 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39708         [BZ #14153]
39709         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39710         for |x| <= 2**-26, not 2**-57.
39711         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39712         exception.
39714 2012-05-24  Jeff Law  <law@redhat.com>
39716         * stdio-common/Makefile (tests): Add bug25.
39717         * stdio-common/bug25.c: New test.
39719 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39721         [BZ #13576]
39722         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39723         multiple of MALLOC_ALIGNMENT in size.
39724         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39726 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39728         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39729         Require >= 256.
39730         (FILENAME_MAX): Use macro-int-constant.
39731         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39732         (_IOFBF): Use macro-int-constant.
39733         (_IOLBF): Likewise.
39734         (_IONBF): Likewise.
39735         (SEEK_CUR): Likewise.
39736         (SEEK_END): Likewise.
39737         (SEEK_SET): Likewise.
39738         (TMP_MAX): Likewise.
39739         (EOF): Use macro-int-constant.  Require < 0.
39740         (NULL): Use macro-constant.  Require == 0.
39741         (stdin): Require type to be FILE *.
39742         (stdout): Likewise.
39743         (stderr): Likewise.
39744         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39745         macro-int-constant.
39746         (EXIT_SUCCESS): Likewise.
39747         (NULL): Use macro-constant.  Require == 0.
39748         (RAND_MAX): Use macro-int-constant.
39749         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39750         [C99-based standards] (strtof): Require function.
39751         [C99-based standards] (strtold): Likewise.
39752         [C99-based standards] (strtoll): Likewise.
39753         [C99-based standards] (strtoull): Likewise.
39754         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39755         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39756         [ISO || ISO99 || ISO11] (math.h): Likewise.
39757         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39758         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39759         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39761 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39763         [BZ #14132]
39764         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39765         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39766         * intl/dgettext.c (DCGETTEXT): Likewise.
39767         * intl/gettext.c (DCGETTEXT): Likewise.
39768         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39769         * posix/regex_internal.h (gettext): Likewise.
39770         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39771         Remove declaration.
39772         * include/argz.h (__argz_count_internal)
39773         (__argz_stringify_internal): Remove declaration.
39774         (__argz_count, __argz_stringify): Declare hidden proto.
39775         * intl/dcgettext.c: Remove use of INTDEF.
39776         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39777         * string/argz-stringify.c: Likewise.
39778         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39779         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39780         Declare hidden proto.
39781         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39782         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39783         Declare hidden proto.
39784         * include/stdio.h (__asprintf_internal): Don't declare.
39785         (__asprintf): Don't define as macro.  Declare hidden proto.
39786         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39787         (__fsetlocking): Declare hidden proto.
39788         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39789         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39790         hidden proto.
39791         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39792         (_IO_setlinebuf): Remove use of INTUSE.
39793         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39794         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39795         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39796         Remove declaration.
39797         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39798         (_IO_do_flush): Remove use of INTUSE.
39799         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39800         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39801         (_IO_adjust_column, _IO_least_wmarker)
39802         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39803         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39804         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39805         (_IO_default_doallocate, _IO_wdefault_doallocate)
39806         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39807         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39808         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39809         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39810         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39811         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39812         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39813         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39814         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39815         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39816         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39817         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39818         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39819         proto.
39820         (_IO_flush_all_internal, _IO_adjust_column_internal)
39821         (_IO_default_uflow_internal, _IO_default_finish_internal)
39822         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39823         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39824         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39825         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39826         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39827         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39828         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39829         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39830         (_IO_file_close_internal, _IO_file_close_it_internal)
39831         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39832         (_IO_file_init_internal, _IO_file_attach_internal)
39833         (_IO_file_fopen_internal, _IO_file_read_internal)
39834         (_IO_file_sync_internal, _IO_file_seek_internal)
39835         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39836         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39837         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39838         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39839         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39840         (_IO_list_all_internal, _IO_link_in_internal)
39841         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39842         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39843         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39844         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39845         (_IO_do_write_internal, _IO_padn_internal)
39846         (_IO_getline_info_internal, _IO_getline_internal)
39847         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39848         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39849         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39850         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39851         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39852         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39853         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39854         with libc_hidden_ver, remove use of INTUSE.
39855         * libio/genops.c: Likewise.
39856         * libio/freopen.c: Likewise.
39857         * libio/freopen64.c: Likewise.
39858         * libio/iofclose.c: Likewise.
39859         * libio/iofdopen.c: Likewise.
39860         * libio/iofflush.c: Likewise.
39861         * libio/iofflush_u.c: Likewise.
39862         * libio/iofgets.c: Likewise.
39863         * libio/iofgets_u.c: Likewise.
39864         * libio/iofopen.c: Likewise.
39865         * libio/iofopncook.c: Likewise.
39866         * libio/iofread.c: Likewise.
39867         * libio/iofread_u.c: Likewise.
39868         * libio/ioftell.c: Likewise.
39869         * libio/iofwrite.c: Likewise.
39870         * libio/iogetline.c: Likewise.
39871         * libio/iogets.c: Likewise.
39872         * libio/iogetwline.c: Likewise.
39873         * libio/iopadn.c: Likewise.
39874         * libio/iopopen.c: Likewise.
39875         * libio/ioseekoff.c: Likewise.
39876         * libio/ioseekpos.c: Likewise.
39877         * libio/iosetbuffer.c: Likewise.
39878         * libio/iosetvbuf.c: Likewise.
39879         * libio/ioungetc.c: Likewise.
39880         * libio/ioungetwc.c: Likewise.
39881         * libio/iovdprintf.c: Likewise.
39882         * libio/iovsprintf.c: Likewise.
39883         * libio/iovsscanf.c: Likewise.
39884         * libio/memstream.c: Likewise.
39885         * libio/obprintf.c: Likewise.
39886         * libio/oldfileops.c: Likewise.
39887         * libio/oldiofclose.c: Likewise.
39888         * libio/oldiofdopen.c: Likewise.
39889         * libio/oldiofopen.c: Likewise.
39890         * libio/oldiopopen.c: Likewise.
39891         * libio/oldstdfiles.c: Likewise.
39892         * libio/putc.c: Likewise.
39893         * libio/setbuf.c: Likewise.
39894         * libio/setlinebuf.c: Likewise.
39895         * libio/stdfiles.c: Likewise.
39896         * libio/strops.c: Likewise.
39897         * libio/vasprintf.c: Likewise.
39898         * libio/vscanf.c: Likewise.
39899         * libio/vsnprintf.c: Likewise.
39900         * libio/vswprintf.c: Likewise.
39901         * libio/wfiledoalloc.c: Likewise.
39902         * libio/wfileops.c: Likewise.
39903         * libio/wgenops.c: Likewise.
39904         * libio/wmemstream.c: Likewise.
39905         * libio/wstrops.c: Likewise.
39906         * libio/__fpurge.c: Likewise.
39907         * libio/__fsetlocking.c: Likewise.
39908         * assert/assert.c: Likewise.
39909         * debug/fgets_chk.c: Likewise.
39910         * debug/fgets_u_chk.c: Likewise.
39911         * debug/fread_chk.c: Likewise.
39912         * debug/fread_u_chk.c: Likewise.
39913         * debug/gets_chk.c: Likewise.
39914         * debug/obprintf_chk.c: Likewise.
39915         * debug/vasprintf_chk.c: Likewise.
39916         * debug/vdprintf_chk.c: Likewise.
39917         * debug/vsnprintf_chk.c: Likewise.
39918         * debug/vsprintf_chk.c: Likewise.
39919         * malloc/mtrace.c: Likewise.
39920         * misc/error.c: Likewise.
39921         * misc/syslog.c: Likewise.
39922         * stdio-common/asprintf.c: Likewise.
39923         * stdio-common/fxprintf.c: Likewise.
39924         * stdio-common/getw.c: Likewise.
39925         * stdio-common/isoc99_fscanf.c: Likewise.
39926         * stdio-common/isoc99_scanf.c: Likewise.
39927         * stdio-common/isoc99_vfscanf.c: Likewise.
39928         * stdio-common/isoc99_vscanf.c: Likewise.
39929         * stdio-common/isoc99_vsscanf.c: Likewise.
39930         * stdio-common/printf-prs.c: Likewise.
39931         * stdio-common/printf_fp.c: Likewise.
39932         * stdio-common/printf_fphex.c: Likewise.
39933         * stdio-common/printf_size.c: Likewise.
39934         * stdio-common/putw.c: Likewise.
39935         * stdio-common/scanf.c: Likewise.
39936         * stdio-common/sprintf.c: Likewise.
39937         * stdio-common/tmpfile.c: Likewise.
39938         * stdio-common/vfprintf.c: Likewise.
39939         * stdio-common/vfscanf.c: Likewise.
39940         * stdlib/strfmon_l.c: Likewise.
39941         * sunrpc/openchild.c: Likewise.
39942         * sunrpc/xdr_stdio.c: Likewise.
39943         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39944         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39946 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39948         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39950         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39951         in the third column, to generate for the shared library an IFUNC
39952         that uses _dl_vdso_vsym.
39953         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39954         * Makeconfig (object-suffixes-noshared): New variable.
39956         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39957         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39958         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39959         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39961         [BZ #14132]
39962         * include/sys/time.h (__gettimeofday): Remove macro.
39963         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39964         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39965         Remove INTDEF.
39966         (__gettimeofday): Add libc_hidden_def.
39967         (gettimeofday): Add libc_hidden_weak.
39968         * sysdeps/mach/gettimeofday.c: Likewise.
39969         * sysdeps/posix/gettimeofday.c: Likewise.
39970         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39971         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39972         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39973         (__gettimeofday_internal): Remove strong_alias.
39974         (__gettimeofday): Add libc_hidden_def.
39975         (gettimeofday): Add libc_hidden_weak.
39976         * sysdeps/unix/syscalls.list (gettimeofday):
39977         Remove __gettimeofday_internal alias.
39979 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39980             H.J. Lu  <hongjiu.lu@intel.com>
39982         [BZ #12495]
39983         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39984         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39985         (largebin_index_32_big): New.
39986         (largebin_index): Use it for 16-byte alignment.
39987         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39988         correction with front_misalign.
39990 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39994         Likewise.
39995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39996         Likewise.
39997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39998         Likewise.
39999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40000         Likewise.
40001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40002         Likewise.
40003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40004         Likewise.
40005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40006         Likewise.
40007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40008         Likewise.
40009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40010         Likewise.
40011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40012         Likewise.
40013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40014         Likewise.
40015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40016         Likewise.
40018         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40019         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40021 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40023         [BZ #10846]
40024         [BZ #14036]
40025         * math/libm-test.inc (exp_test): Add test from bug 14036.
40026         (pow_test): Add test from bug 10846.
40028         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40029         and other flags.
40030         (special_function): Do not include flags in test name.
40031         (parse_args): Likewise.
40032         * sysdeps/i386/fpu/libm-test-ulps: Update.
40033         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40034         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40035         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40038         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40039         exceptions.
40040         * math/libm-test.inc ("Philosophy"): Update comment about
40041         exception testing.
40042         (UNDERFLOW_EXCEPTION): New macro.
40043         (UNDERFLOW_EXCEPTION_OK): Likewise.
40044         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40045         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40046         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40047         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40048         (INVALID_EXCEPTION_OK): Update value.
40049         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40050         (OVERFLOW_EXCEPTION_OK): Likewise.
40051         (IGNORE_ZERO_INF_SIGN): Likewise.
40052         (test_exceptions): Handle underflow exceptions.
40053         (acos_test): Update for underflow exception expectations.
40054         (cexp_test): Likewise.
40055         (clog_test): Likewise.
40056         (clog10_test): Likewise.
40057         (csqrt_test): Likewise.
40058         (ctan_test): Likewise.
40059         (ctanh_test): Likewise.
40060         (exp_test): Likewise.
40061         (exp10_test): Likewise.
40062         (exp2_test): Likewise.
40063         (expm1_test): Likewise.
40064         (fma_test): Likewise.
40065         (j0_test): Likewise.
40066         (jn_test): Likewise.
40067         (nexttoward_test): Likewise.
40068         (pow_test): Likewise.
40069         (scalbn_test): Likewise.
40070         (scalbln_test): Likewise.
40071         (tan_test): Likewise.
40072         (y1_test): Likewise.
40073         * sysdeps/i386/fpu/libm-test-ulps: Update.
40074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40076 2012-05-23  David S. Miller  <davem@davemloft.net>
40078         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40079         (__libc_sigaction): Remove unused local variables.
40081 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40083         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40085 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40087         mktime: avoid signed integer overflow
40088         * time/mktime.c (__mktime_internal): Do not mishandle the case
40089         where diff == INT_MIN.
40091         mktime: simplify computation of average
40092         * time/mktime.c (ranged_convert): Use new time_t_avg function
40093         instead of rolling our own (probably-slower) code.
40095         mktime: do not assume signed right shift propagates sign bit
40096         * time/mktime.c (isdst_differ): New static function.
40097         (__mktime_internal): No need to normalize tm_isdst now.
40098         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40099         tm_isdst values.
40101         mktime: merge another wrapv change from gnulib
40102         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40103         from some compilers.
40105         mktime: remove incorrect attempt at unusual arithmetics
40106         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40107         The code didn't really work on such machines anyway.
40108         (TYPE_MINIMUM): Assume two's complement.
40109         (twos_complement_arithmetic): Verify that long_int and time_t
40110         are two's complement (or unsigned, in the latter case).
40112         mktime: check signed shifts on long_int and time_t, too
40113         * time/mktime.c (SHR): Check that shifts work as desired
40114         on the types long_int and time_t too, as SHR is used on
40115         such types.
40117         mktime: do not assume 'long' is wide enough
40118         * time/mktime.c (verify): Move decl up.
40119         (long_int): New type.
40120         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40121         to remove assumption in the code that 'long' is wide enough to
40122         store year values.  This assumption is not true on x32 and on
40123         some non-glibc platforms.
40125         mktime: merge wrapv change from gnulib
40126         * time/mktime.c (WRAPV): New macro.
40127         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40128         (guess_time_tm, __mktime_internal): Do not assume that signed
40129         integer overflow wraps around; modern compilers generate code
40130         where this assumption is no longer valid.
40132 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40134         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40135         Replace "jmp L(pseudo_end)" with "ret".
40136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40137         Likewise.
40139 2012-05-23  Andreas Jaeger  <aj@suse.de>
40141         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40142         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40144 2012-05-23  Andreas Jaeger  <aj@suse.de>
40145             Maximilian Attems  <max@stro.at>
40147         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40148         New macros.
40150 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40153         code so that pseudo_end is just ret and the stack pointer is
40154         correct also for static library in error case.
40156 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40158         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40159         move to syscalls.list.
40160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40165         * manual/install.texi (Running make install): Do not mention Linux
40166         kernel version for which pt_chown is not needed.
40167         (Linux): Do not mention problems with nscd with 2.0 kernels.
40168         * INSTALL: Regenerated.
40170 2012-05-23  Andreas Jaeger  <aj@suse.de>
40172         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40173         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40174         macro.
40175         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40176         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40177         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40178         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40179         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40180         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40181         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40182         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40183         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40184         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40185         * sysdeps/unix/sysv/linux/bits/in.h
40186         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40188 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40190         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40191         (PREPARE_VERSION): Just use assert instead, it will be elided
40192         under [NDEBUG] anyway.
40194 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40196         * sysdeps/unix/sysv/linux/Makefile: Include
40197         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40198         (sysdep_routines): Remove sysctl.
40199         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40200         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40201         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40202         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40203         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40205 2012-05-22  Andreas Jaeger  <aj@suse.de>
40207         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40208         that pseudo_end is just ret and the stack pointer is correct also
40209         for static library in error case.
40211 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40213         [BZ #14122]
40214         * nss/nsswitch.c (defconfig_entries): New variable.
40215         (__nss_database_lookup): Don't leak defconfig entries.
40216         (nss_parse_service_list): Don't leak on error paths.
40217         (free_database_entries): New function.
40218         (free_defconfig): New function.
40219         (free_mem): Move common code to free_database_entries.
40221 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40223         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40224         Add arch_prctl.
40225         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40227         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40228         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40230         New macro.
40231         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40232         (INTERNAL_SYSCALL_TYPES): Likewise.
40233         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40234         (LOAD_REGS_TYPES_[1-6]): Likewise.
40235         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40236         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40238 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40240         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40241         copysignl for GLIBC_2_0.
40242         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40243         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40244         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40245         logbl for GLIBC_2_0.
40246         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40247         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40249 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40251         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40252         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40254         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40255         Use "neg %eax".
40257         * time/mktime.c: Update copyright years.
40259 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40261         mktime: merge comment-quoting-style change from gnulib
40262         * time/mktime.c: Quote 'like this' in comments.
40263         The GNU coding standards suggest that we no longer quote `like this',
40264         as "`" and "'" are typically rendered asymmetrically nowadays.
40265         The typical gnulib style is to quote 'like this' when quoting
40266         code, and "like this" when quoting English.
40268         * time/mktime.c (compile-command): Add "-I.".
40270         mktime: merge mktime-internal.h change from gnulib
40271         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40273         mktime: merge time_r change from gnulib
40274         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40276         mktime: merge DEBUG change from gnulib
40277         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40278         case system <time.h> has a #define.
40280         mktime: merge <sys/types.h> change from gnulib
40281         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40282         since <time.t> is now guaranteed to define time_t.
40284         mktime: merge HAVE_CONFIG_H change from gnulib
40285         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40287 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40290         Use "neg %eax".
40292         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40293         __rlim_t cast.
40294         (struct rusage): Use anonymous union to pad each field to
40295         __syscall_slong_t.
40297 2012-05-21  David S. Miller  <davem@davemloft.net>
40299         * Makefules (o-iterator): Remove .s cases.
40300         (compile-command.s): Delete.
40301         (COMPILE.s): Delete.
40302         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40304 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40306         * configure.in (libc_cv_predef_stack_protector): Only consider
40307         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40308         * configure: Regenerated.
40310 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40313         New macro.  Use R*LP on int and pointer.
40314         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40315         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40316         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40317         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40319         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40320         [__WORDSIZE_TIME64_COMPAT32] instead of
40321         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40322         (struct utmp): Likewise.
40323         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40324         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40325         Renamed to ...
40326         (__WORDSIZE_TIME64_COMPAT32): This.
40327         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40328         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40329         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40330         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40331         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40332         (__WORDSIZE_TIME64_COMPAT32): New macro.
40334 2012-05-21  Andreas Jaeger  <aj@suse.de>
40336         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40337         only if [SHARED]. Add prototype for __wcschr_ia32.
40339 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40341         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40342         of %rbp unmolested in the jmp_buf while mangling the low bits.
40343         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40344         unmolested high bits of %rbp while demangling the low bits.
40345         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40347 2012-05-21  Andreas Jaeger  <aj@suse.de>
40349         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40350         * sunrpc/svc_simple.c: Use it for registerrpc.
40351         * sunrpc/xcrypt.c: Use it for passwd2des.
40353         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40355 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40357         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40358         Don't define if [__SYSCALL_WORDSIZE != 32].
40359         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40360         New macro.
40362 2012-05-21  Bruno Haible  <bruno@clisp.org>
40363             Andreas Jaeger  <aj@suse.de>
40365         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40366         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40367         inptr and inend for must_buffer_ch.
40368         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40369         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40370         * stdio-common/Makefile (tests): Remove bug15.
40371         (bug15-ENV): Remove macro.
40372         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40373         anymore.
40375 2012-05-19  Andreas Jaeger  <aj@suse.de>
40376             Roland McGrath  <roland@hack.frob.com>
40378         * manual/contrib.texi: Completely rewritten. It contains now an
40379         alphabetical list of contributors and their contributions.
40381 2012-05-21  Richard Henderson  <rth@twiddle.net>
40383         * misc/getauxval.c (__getauxval): Use unsigned long int.
40384         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40385         (getauxval): Use unsigned long int.
40387 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40389         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40391 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40393         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40394         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40395         __alignof__ (long double).
40397 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40401 2012-05-20  Richard Henderson  <rth@twiddle.net>
40403         * misc/getauxval.c: New file.
40404         * misc/sys/auxv.h: New file.
40405         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40406         (routines): Add getauxval.
40407         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40408         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40409         * elf/dl-sysdep.c (_dl_auxv): Remove.
40410         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40411         * elf/dl-support.c (_dl_auxv): New variable.
40412         (_dl_aux_init): Initialize it.
40413         * manual/startup.texi (Auxiliary Vector): New node.
40414         * sysdeps/generic/bits/hwcap.h: New file.
40415         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40416         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40417         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40418         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40419         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40420         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40422         Update.
40423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40426         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40432 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40436 2012-05-19  David S. Miller  <davem@davemloft.net>
40438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40440 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40442         [BZ #14123]
40443         * math/s_ccosh.c: Include <float.h>
40444         (__ccosh): Avoid internal overflow calculating sinh and cosh
40445         values before multiplying by sin and cos values.
40446         * math/s_ccoshf.c: Likewise.
40447         * math/s_ccoshl.c: Likewise.
40448         * math/s_csin.c: Likewise.
40449         * math/s_csinf.c: Likewise.
40450         * math/s_csinl.c: Likewise.
40451         * math/s_csinh.c: Likewise.
40452         * math/s_csinhf.c: Likewise.
40453         * math/s_csinhl.c: Likewise.
40454         * math/libm-test.inc (ccos_test): Add more tests.
40455         (ccosh_test): Likewise.
40456         (csin_test): Likewise.
40457         (csinh_test): Likewise.
40458         * sysdeps/i386/fpu/libm-test-ulps: Update.
40459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40461 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40463         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40464         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40466         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40468 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40470         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40471         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40472         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40473         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40474         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40475         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40476         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40477         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40478         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40479         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40480         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40481         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40482         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40483         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40484         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40485         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40486         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40487         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40488         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40489         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40490         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40491         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40492         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40493         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40494         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40495         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40496         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40497         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40498         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40499         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40500         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40502 2012-05-18  Andreas Jaeger  <aj@suse.de>
40504         * csu/.gitignore: Delete.
40506 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40508         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40509         (timex): Use __syscall_slong_t.
40511 2012-05-18  Andreas Jaeger  <aj@suse.de>
40512             Carlos O'Donell  <carlos_odonell@mentor.com>
40514         * manual/install.texi (Configuring and compiling): Update
40515         description about files modified in the source directory.
40516         * INSTALL: Regenerated.
40518 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40520         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40521         value.  Use "or" to set return value to -1.
40522         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40523         negate return value.
40525 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40527         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40528         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40529         failure if the compiler has Graphite support disabled.
40530         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40531         Likewise.
40532         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40533         (CFLAGS-memmove.c): Likewise.
40534         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40535         Likewise.
40537 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40539         * sysdeps/x86_64/x32/_itoa.h: New file.
40541         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40542         getdents system call only if kernel and user dirents have the
40543         same d_ino and d_off.
40545         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40546         LLONG_MAX != LONG_MAX.
40547         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40548         (_fitoa_word): Likewise.
40550         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40551         years.
40552         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40553         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40554         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40556         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40557         include <bits/wordsize.h>.  Check __x86_64__ instead of
40558         __WORDSIZE.
40559         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40560         if __x86_64__ is defined.  Use anonymous union on fpstate.
40562         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40563         anonymous union.
40565 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40567         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40568         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40569         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40570         Refer to _rtld_local_ro instead of _rtld_global_ro.
40571         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40572         Likewise.
40573         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40574         Likewise.
40575         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40576         Likewise.
40577         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40578         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40579         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40581         * sysdeps/powerpc/powerpc32/dl-machine.c
40582         (__elf_machine_runtime_setup) [PROF]: Don't reference
40583         _dl_prof_resolve.
40585 2012-05-18  Andreas Jaeger  <aj@suse.de>
40587         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40588         function only available for GCCs before 3.4 since GCC 3.4
40589         introduced a builtin.
40590         (lrint): Likewise.
40591         (llrintf): Likewise.
40592         (llrint): Likewise.
40593         (fmaxf): Likewise.
40594         (fmax): Likewise.
40595         (fminf): Likewise.
40596         (fmin): Likewise.
40597         (rint): Likewise.
40598         (rintf): Likewise.
40599         (nearbyint): Likewise.
40600         (nearbyintf): Likewise.
40601         (ceil): Likewise.
40602         (ceilf): Likewise.
40603         (floor): Likewise.
40604         (floorf): Likewise.
40606 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40608         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40609         on both fields and cast pointer to __syscall_ulong_t.
40611         * bits/types.h (__fsword_t): New type.
40612         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40613         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40615         (__FSWORD_T_TYPE): Likewise.
40616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40617         (__FSWORD_T_TYPE): Likewise.
40618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40619         (__FSWORD_T_TYPE): Likewise.
40620         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40621         (__FSWORD_T_TYPE): Likewise.
40622         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40623         __SWORD_TYPE with __fsword_t.
40624         (statfs64): Likewise.
40626 2012-05-17  David S. Miller  <davem@davemloft.net>
40628         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40630 2012-05-17  Andreas Jaeger  <aj@suse.de>
40632         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40633         warning.
40635 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40637         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40639 2012-05-17  Andreas Jaeger  <aj@suse.de>
40641         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40642         when it is used.
40644 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40646         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40648 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40650         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40651         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40653 2012-05-17  Andreas Jaeger  <aj@suse.de>
40654             Carlos O'Donell  <carlos_odonell@mentor.com>
40656         [BZ #14059]
40657         * sysdeps/x86_64/multiarch/init-arch.h
40658         (bit_YMM_Usable): Rename to...
40659         (bit_AVX_Usable): ... this.
40660         (bit_FMA4_Usable): New macro.
40661         (bit_XMM_state): New macro.
40662         (bit_YMM_state): New macro.
40663         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40664         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40665         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40666         (CPUID_OSXSAVE): New macro.
40667         (CPUID_AVX): New macro.
40668         (CPUID_FMA4): New macro.
40669         (index_YMM_Usable): Rename to...
40670         (index_AVX_Usable): ... this.
40671         (HAS_AVX): Use HAS_ARCH_FEATURE.
40672         (HAS_FMA4): Likewise.
40673         (HAS_YMM_USABLE): Remove.
40674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40675         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40676         are present.
40677         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40678         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40679         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40680         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40681         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40683 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40685         * math/libm-test.c: Support platforms without multiple rounding modes.
40686         * math/bug-nextafter.c: Support platforms without FP exceptions.
40687         * math/bug-nexttoward.c: Likewise.
40688         * math/test-fenv.c: Likewise.
40689         * math/test-misc.c: Likewise.
40690         * stdlib/bug-getcontext.c: Likewise.
40692 2012-05-17  Andreas Jaeger  <aj@suse.de>
40694         * manual/examples/search.c (critter_cmp): Change signature to
40695         avoid warnings.
40696         * manual/string.texi (Collation Functions): Likewise.
40698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40700         * bits/types.h: Fold copyright years.
40701         * bits/typesizes.h: Likewise.
40702         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40703         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40706         * time/time.h: Likewise.
40708 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40710         [BZ #208]
40711         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40712         in instead of returning them.  Return void.
40713         (__libc_mallinfo): Accumulate over all arenas.
40714         (__malloc_stats): Adjust for change in int_mallinfo interface.
40716 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40718         [BZ #10375]
40719         * configure.in (NM): Add AC_CHECK_TOOL for it.
40720         (libc_extra_cflags): New substituted variable.
40721         Check for -fstack-protector being used implicitly.
40722         * configure: Regenerated.
40723         * config.make.in (config-extra-cflags): New variable,
40724         gets @libc_extra_cflags@.
40725         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40727         [BZ #10375]
40728         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40729         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40730         * configure: Regenerated.
40731         * config.make.in (CPPUNDEFS): New substituted variable.
40732         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40733         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40734         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40736 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40738         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40739         (mq_attr): Use __syscall_slong_t.
40741 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40743         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40744         Check __x86_64__ instead of __WORDSIZE.
40745         (_STAT_VER_LINUX): Likewise.
40746         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40747         __syscall_ulong_t and __syscall_slong_t.
40748         (stat64): Likewise.
40750 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40752         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40754 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40756         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40758 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40760         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40761         __syscall_ulong_t.
40763         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40764         include <bits/wordsize.h>.  Check __x86_64__ instead of
40765         __WORDSIZE.
40766         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40767         defined.
40768         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40770         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40771         include <bits/wordsize.h>.  Check __x86_64__ instead of
40772         __WORDSIZE.
40773         (user_regs_struct): Use "__extension__ unsigned long long"
40774         instead of "unsigned long" if __x86_64__ is defined.
40775         (user): Likewise.  Pad after pointer field if __ILP32__ is
40776         defined.
40778 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40780         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40781         versions 5 to 9.
40782         * configure: Regenerated.
40783         * manual/install.texi (texinfo): Increase version requirement to
40784         4.5 or later.
40785         * INSTALL: Regenerated.
40787         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40789 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40791         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40793         * sysdeps/x86_64/x32/ffs.c: New file.
40795         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40796         __syscall_ulong_t.
40797         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40798         defined.  Use __syscall_ulong_t.
40799         (shminfo): Use __syscall_ulong_t.
40800         (shm_info): Likewise.
40802         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40803         __syscall_ulong_t.
40805         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40806         <bits/wordsize.h>.
40807         (msgqnum_t): Use __syscall_ulong_t.
40808         (msglen_t): Likewise.
40809         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40810         __syscall_ulong_t.
40812         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40813         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40815         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40817         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40818         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40820         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40821         __syscall_slong_t.
40823         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40824         include <bits/wordsize.h>.  Check __x86_64__ instead of
40825         __WORDSIZE.
40827         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40828         "unsigned long long int" if __x86_64__ is defined.
40829         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40831         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40832         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40833         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40835         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40836         <stdint.h>.
40837         (GET_PC): Cast to uintptr_t first.
40838         (GET_FRAME): Likewise.
40839         (GET_STACK): Likewise.
40841         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40842         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40843         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40844         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40845         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40846         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40847         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40848         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40849         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40850         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40851         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40852         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40853         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40854         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40855         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40856         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40857         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40858         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40859         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40860         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40861         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40862         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40863         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40864         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40865         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40866         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40867         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40868         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40869         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40871 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40873         * Makerules (+depfiles): Also collect depfiles from .oS in
40874         $(extra-objs).
40875         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40876         .oS, $(libnldbl-routines)).
40878         * Makerules (native-compile-mkdep-flags): Define.
40879         * sunrpc/Makefile (extra-objs): Add $(addprefix
40880         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40881         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40882         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40883         calling $(make-target-directory).
40885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40887         * bits/types.h (__snseconds_t): Removed.
40888         * time/time.h (struct timespec): Replace __snseconds_t with
40889         __syscall_slong_t.
40890         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40891         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40892         Likewise.
40893         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40894         (__SNSECONDS_T_TYPE): Likewise.
40895         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40896         (__SNSECONDS_T_TYPE): Likewise.
40897         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40898         (__SNSECONDS_T_TYPE): Likewise.
40900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40902         * sysdeps/mach/hurd/bits/typesizes.h
40903         (__SYSCALL_SLONG_TYPE): New macro.
40904         (__SYSCALL_ULONG_TYPE): Likewise.
40906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40908         * bits/types.h (__syscall_slong_t): New type.
40909         (__syscall_ulong_t): Likewise.
40911         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40912         (__SYSCALL_ULONG_TYPE): Likewise.
40913         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40914         (__SYSCALL_SLONG_TYPE): Likewise.
40915         (__SYSCALL_ULONG_TYPE): Likewise.
40916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40917         (__SYSCALL_SLONG_TYPE): Likewise.
40918         (__SYSCALL_ULONG_TYPE): Likewise.
40919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40920         (__SYSCALL_SLONG_TYPE): Likewise.
40921         (__SYSCALL_ULONG_TYPE): Likewise.
40923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40925         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40926         Add sigaltstack-offsets.sym.
40927         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40928         <sigaltstack-offsets.h>.
40929         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40930         longjmp_msg pointer.
40931         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40932         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40933         signal stack.
40934         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40936 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40938         * elf/stackguard-macros.h: Remove file.
40939         * sysdeps/generic/stackguard-macros.h: New file.
40940         * sysdeps/i386/stackguard-macros.h: Likewise.
40941         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40942         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40943         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40944         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40945         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40946         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40947         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40948         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40949         <elf/stackguard-macros.h>.
40951         [BZ #14109]
40952         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40953         __aligned__ in attribute.
40954         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40955         (gregset_t): Likewise.
40957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40959         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40960         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40961         * sysdeps/x86_64/x32/Implies-after: New file.
40963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40965         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40966         and access return value for _dl_profile_fixup.  Use R10_LP to
40967         load frame size.
40969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40971         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40975         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40976         * sysdeps/x86_64/x32/sysdep.h: New file.
40978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40980         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40981         * sysdeps/x86_64/setjmp.S: Likewise.
40983 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40985         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40986         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40987         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40988         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40989         remove unused global constant.
40991 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40993         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40994         include of <not-cancel.h>.
40996 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40998         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41000 2012-05-15  Jeff Law  <law@redhat.com>
41001             Andreas Jaeger  <aj@suse.de>
41003         [BZ #13594]
41004         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41005         out from...
41006         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41007         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41008         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41009         code changing __hst_map_handle.map.
41011 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41013         * configure.in (sysnames): Look for Implies-before and Implies-after
41014         files.
41015         * configure: Regenerated.
41017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41019         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41020         8-byte data alignment with LP_SIZE alignment.
41022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41024         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41025         into R10_LP.
41027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41029         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41033         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41034         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41035         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41036         Likewise.
41037         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41041         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41042         (stackinfo_sub_sp): Likewise.
41044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41046         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41047         RAX_LP.
41049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41051         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41052         into R*_LP.
41054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41056         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41057         sizes into R*_LP.
41059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41061         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41065         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41066         into R11_LP and load __x86_64_shared_cache_size_half into
41067         R8_LP.
41069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41071         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41072         R8_LP.
41074 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41076         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41077         logb for POWER7.
41078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41079         logbf for POWER7.
41080         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41081         logbl for POWER7.
41082         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41083         powerpc32/power7/fpu/s_logb.c via #include.
41084         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41085         powerpc32/power7/fpu/s_logbf.c via #include.
41086         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41087         powerpc32/power7/fpu/s_logbl.c via #include.
41089 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41091         * README.libm: Remove file.
41093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41095         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41096         count for x32.  Use R*_LP and omit operand-size suffix.
41098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41100         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41101         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41102         * sysdeps/x86_64/x32/shlib-versions: New file.
41104 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41106         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41107         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41108         Use _dl_fatal_printf instead.
41110 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41112         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41113         set if not set by the user.  Do not allow for being unset.
41114         * sysdeps/unix/sysv/linux/configure: Regenerated.
41116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41118         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41119         the `q' suffix from lea and replace .quad with ASM_ADDR.
41121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41124         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41125         instead of $17.
41126         (PTR_DEMANGLE): Likewise.
41128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41130         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41131         (LP_OP): Likewise.
41132         (ASM_ADDR): Likewise.
41133         (RAX_LP): Likewise.
41134         (RBP_LP): Likewise.
41135         (RBX_LP): Likewise.
41136         (RCX_LP): Likewise.
41137         (RDI_LP): Likewise.
41138         (RSI_LP): Likewise.
41139         (RSP_LP): Likewise.
41140         (R8_LP): Likewise.
41141         (R9_LP): Likewise.
41142         (R10_LP): Likewise.
41143         (R10_LP): Likewise.
41144         (R11_LP): Likewise.
41145         (R12_LP): Likewise.
41146         (R13_LP): Likewise.
41147         (R14_LP): Likewise.
41148         (R15_LP): Likewise.
41150 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41152         * sysdeps/x86_64/x32/dl-machine.h: New file.
41154 2012-05-14  Andreas Jaeger  <aj@suse.de>
41156         * manual/Makefile (subdir): Remove export of subdir.
41157         (all): Remove target.
41158         (.PHONY): Remove all from list.
41159         (mkinstalldirs): Remove.
41160         (.PHONY): Remove installdirs from list.
41161         ($(inst_infodir)/libc.info): Use make-target-directory.
41162         (installdirs): Remove.
41163         (subdir_%): Remove.
41164         (glibc-targets): Remove.
41165         (lib): Remove.
41166         (stubs): Remove.
41167         ($(objpfx)stubs ../po/manual.pot): Remove.
41168         ($(objpfx)stamp%): Remove.
41169         (make-target-directory): Remove.
41170         (subdir_install): Remove.
41171         (routines): Remove.
41172         (aux): Remove.
41173         (sources): Remove.
41174         (objects): Remove.
41175         (headers): Remove.
41177         [BZ #13750]
41178         * manual/.gitignore: Remove, it's not needed anymore.
41179         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41180         all files in it.
41181         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41182         directory.
41183         (texis): Renamed to $(objpfx)texis.
41184         (texis-path): New, contains path to generated files.
41185         (chapters.%): Use texis-path for complete path, add extra argument
41186         libc-texinfo.sh.
41187         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41188         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41189         (summary,texi, stamp-summary): Use complete path of
41190         files. Generate files in build dir.
41191         (dir-add.texi): Build in build dir.
41192         (libm-err.texi,stamp-libm-err): Likewise.
41193         (version.texi, stamp-version): Likewise.
41194         (.%c.texi): Likewise.
41195         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41196         (mostlyclean): Remove target.
41197         (realclean): Remove target.
41198         (generated): Add new variable with contents from mostlyclean and
41199         realclean, remove entries duplicated in common-mostlyclean, add
41200         stamp-libm-err and stamp-version.
41201         (generated-dirs): Add libc directory.
41202         ($(inst_infodir)/libc.info): Install files from build dir.
41204         * manual/install.texi (Configuring and compiling): Adjust since
41205         the info files are not part of the tar ball anymore.
41207 2012-05-14  Andreas Jaeger  <aj@suse.de>
41209         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41210         variable.
41212 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41214         [BZ #13717]
41215         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41216         to 2.2.0 where earlier.
41217         * sysdeps/unix/sysv/linux/configure: Regenerated.
41218         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41219         Remove conditional code.
41220         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41221         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41222         Remove conditional code.
41223         [!__NR_lchown]: Likewise.
41224         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41225         [__NR_lchown]: Likewise.
41226         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41227         comment referencing __ASSUME_LCHOWN_SYSCALL.
41228         * sysdeps/unix/sysv/linux/i386/sigaction.c
41229         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41230         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41231         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41232         Remove conditional code.
41233         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41234         (__protocol_available): Remove #if 0 code.
41235         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41236         conditional code.
41237         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41238         * sysdeps/unix/sysv/linux/kernel-features.h
41239         (__ASSUME_GETCWD_SYSCALL): Don't define.
41240         (__ASSUME_REALTIME_SIGNALS): Likewise.
41241         (__ASSUME_PREAD_SYSCALL): Likewise.
41242         (__ASSUME_PWRITE_SYSCALL): Likewise.
41243         (__ASSUME_POLL_SYSCALL): Likewise.
41244         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41245         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41246         non-SPARC.
41247         (__ASSUME_SIOCGIFNAME): Don't define.
41248         (__ASSUME_MSG_NOSIGNAL): Likewise.
41249         (__ASSUME_SENDFILE): Define unconditionally.
41250         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41251         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41252         conditional code.
41253         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41254         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41255         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41256         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41257         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41258         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41259         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41261         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41264         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41265         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41267         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41268         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41270         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41273         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41274         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41276         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41279         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41280         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41282         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41283         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41284         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41285         Remove conditional code.
41286         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41287         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41288         Remove conditional code.
41289         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41290         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41291         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41292         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41293         Remove conditional code.
41294         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41295         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41296         Remove conditional code.
41297         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41298         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41299         Remove conditional code.
41300         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41301         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41302         Remove conditional code.
41303         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41304         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41305         Remove conditional code.
41306         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41307         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41308         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41309         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41310         * sysdeps/unix/sysv/linux/sigaction.c
41311         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41312         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41313         * sysdeps/unix/sysv/linux/sigpending.c
41314         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41315         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41316         * sysdeps/unix/sysv/linux/sigprocmask.c
41317         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41318         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41319         * sysdeps/unix/sysv/linux/sigsuspend.c
41320         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41321         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41322         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41323         (__libc_missing_rt_sigs): Remove.
41324         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41325         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41326         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41327         Remove conditional code.
41328         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41329         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41330         return 1.
41331         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41332         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41333         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41334         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41336 2012-05-14  Andreas Jaeger  <aj@suse.de>
41338         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41339         it's not used in glibc.
41340         (__coshm1): Likewise.
41341         (__acosh1p): Likewise.
41342         (__sgn): Likewise.
41344         * manual/string.texi (Copying and Concatenation): Add missing
41345         variable in concat example.
41346         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41350         [BZ #14103]
41351         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41352         __builtin_clzl with __builtin_clzll.
41354 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41356         [BZ #14104]
41357         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41358         libc_freeres_ptr.
41360 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41362         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41363         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41364         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41365         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41367 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41369         * NEWS: Update ia64 info.
41371 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41373         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41374         used as bcopy.
41376 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41378         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41379         * sysdeps/unix/syscalls.list (dup3): Likewise.
41380         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41381         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41383 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41385         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41386         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41388 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41390         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41391         thread pointer.
41392         (TLS_IE): Use mov/add instead of movq/addq to load thread
41393         pointer.
41394         (TLS_GD_PREFIX): New.
41395         (TLS_GD): Use it.
41397 2012-05-11  David S. Miller  <davem@davemloft.net>
41399         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41400         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41401         (_FPU_SETCW): Likewise.
41403 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41405         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41406         is 32-byte aligned.
41408 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41410         [BZ #11837]
41411         * iconvdata/gb18030.c: Update tables.
41412         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41413         characters specially.
41414         (BODY for TO_LOOP): Add encoding of missing ranges.
41416 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41418         [BZ #13673]
41419         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41420         * sysdeps/mach/hurd/dup3.c: Likewise.
41421         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41422         * sysdeps/powerpc/memmove.c:: Likewise.
41424 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41426         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41427         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41429 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41431         * elf/elf.h (R_X86_64_RELATIVE64): New.
41432         (R_X86_64_NUM): Updated.
41433         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41434         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41435         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41436         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41437         tst-quad1pie tst-quad2pie
41438         (modules-names): Add tst-quadmod1 tst-quadmod2.
41439         ($(objpfx)tst-quad1): New dependency.
41440         ($(objpfx)tst-quad2): Likewise.
41441         ($(objpfx)tst-quad1pie): Likewise.
41442         ($(objpfx)tst-quad2pie): Likewise.
41443         * sysdeps/x86_64/tst-quad1.c: New file.
41444         * sysdeps/x86_64/tst-quad1pie.c: New file.
41445         * sysdeps/x86_64/tst-quad2.c: Likewise.
41446         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41447         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41448         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41449         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41450         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41452 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41454         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41455         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41456         * streams/stropts.h (t_scalar_t): Define type.
41458         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41459         (_PATH_PRESERVE): Set to "/var/lib".
41460         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41462         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41463         instead of int.
41465         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41466         if __dir_mkfile succeeded.
41468         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41469         checking for _hurd_dtablesize.  Unlock it right after having
41470         finished _hurd_dtable allocation.
41472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41474         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41475         * sysdeps/mach/hurd/configure: Regenerated.
41476         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41477         special-casing to...
41478         * sysdeps/gnu/configure.in: ... this new file.
41479         * sysdeps/unix/sysv/linux/configure: Regenerated.
41480         * sysdeps/gnu/configure: New generated file.
41482         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41483         for Linux: use nsec instead of usec, as well as:
41484         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41485         members of type struct timespec.
41486         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41487         New macros.
41488         (struct stat64): Likewise.
41489         (_STATBUF_ST_NSEC): New macro.
41490         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41492         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41493         __strtoul_internal rather than strtoul.
41495 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41497         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41498         and reject them.
41500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41502         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41503         which preserves existing values.
41504         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41506 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41508         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41509         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41510         greater than FD_SETSIZE.
41512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41514         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41515         allocated, call __vm_protect to finish enabling the existing space, and
41516         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41517         allocate the remainder.
41519 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41521         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41522         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41526         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41527         sysdeps/mach/hurd/readlink.c.
41529         * posix/tst-sysconf.c (posix_options): Only use
41530         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41531         _POSIX_SYNCHRONIZED_IO when they are defined
41532         * sysdeps/mach/hurd/bits/posix_opt.h:
41533         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41534         (_XOPEN_REALTIME): Undefine macro.
41535         (_XOPEN_REALTIME_THREADS): Undefine macro.
41536         (_XOPEN_SHM): Undefine macro.
41537         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41538         macro to -1.
41539         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41540         macro to -1.
41541         (_POSIX_ASYNC_IO): Undefine macro.
41542         (_POSIX_PRIORITIZED_IO): Undefine macro.
41543         (_POSIX_SPIN_LOCKS): Define macro to -1.
41545         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41546         SA_NODEFER, SA_RESETHAND.
41547         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41548         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41549         F_DUPFD_CLOEXEC.
41551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41553         * elf/Makefile (pldd-modules): Define unconditionally.
41555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41557         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41561         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41562         Return ENOENT when name is empty.
41563         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41567         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41569         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41573         Fix mlock in all cases except non-readable pages.
41574         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41575         instead of VM_PROT_ALL as parameter to __vm_wire function.
41577         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41578         (__mkdir): When path is `/', just fail with EEXIST.
41579         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41581 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41583         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41584         <sys/uio.h> (for writev).
41585         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41586         and <sys/param.h> (for MIN).
41588 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41590         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41591         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41592         if interrupted.
41594 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41596         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41597         Depend on against $(link-rpcuserlibs).
41599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41601         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41602         (__libc_stack_end): Do not use attribute_relro.
41603         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41604         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41605         to libthread-provided value.
41606         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41607         attribute_relro.
41609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41611         [BZ #3748]
41612         * bits/libc-lock.h (__libc_once_get): New macro.
41613         * sysdeps/mach/bits/libc-lock.h: Likewise.
41614         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41615         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41616         instead of using implementation details.
41618         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41619         * libio/freopen.c: Likewise.
41620         * libio/freopen64.c: Likewise.
41621         * misc/syslog.c: Likewise.
41622         * nscd/connections.c: Likewise.
41623         * nscd/netgroupcache.c: Likewise.
41624         * sysdeps/posix/getcwd.c: Likewise.
41626 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41628         * math/w_ilogbf.c: Add #include <limits.h>.
41630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41632         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41633         path instead of returning without unlocking.
41635         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41636         immediate-write ioctls.
41637         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41641         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41642         __builtin_frame_address instead of making assumptions about the
41643         location of the return address relative to DATA.  Force early load of
41644         the return address.
41645         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41646         __builtin_frame_address.
41648         dup3 for GNU Hurd.
41649         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41650         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41651         implement dup3 and do some further code clean-ups.
41652         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41653         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41657         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41659         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41660         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41661         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41662         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41663         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41664         d->port.lock.
41666         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41667         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41668         when handler == SIG_ERR, not when handler != SIG_ERR.
41670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41672         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41673         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41674         definitions.
41676         accept4 for GNU Hurd.
41677         * include/sys/socket.h (__libc_accept4): New prototype.
41678         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41679         to implement __libc_accept4.
41680         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41681         __libc_accept4.
41682         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41684         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41685         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41686         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41687         signal-defines.sym.
41689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41691         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41693 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41695         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41696         assertion on O_CLOEXEC flag.
41697         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41698         * hurd/intern-fd.c: Likewise.
41699         * hurd/port2fd.c: Likewise.
41701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41703         [BZ #3906]
41704         * bits/in.h (IPV6_PKTINFO): Define new macro.
41705         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41707 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41709         [BZ #13954]
41710         [BZ #13955]
41711         [BZ #13956]
41712         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41713         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41714         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41715         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41716         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41717         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41718         * math/libm-test.inc (logb_test) : Additional logb tests.
41720 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41721             Andreas Jaeger  <aj@suse.de>
41723         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41724         * configure: Regenerated.
41725         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41726         * config.make.in (link-obsolete-rpc): New substituted variable.
41727         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41728         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41729         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41730         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41731         so that libc.a contains the symbols.
41732         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41733         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41734         * sunrpc/auth_none.c: Likewise.
41735         * sunrpc/auth_unix.c: Likewise.
41736         * sunrpc/authdes_prot.c: Likewise.
41737         * sunrpc/authuxprot.c: Likewise.
41738         * sunrpc/clnt_gen.c: Likewise.
41739         * sunrpc/clnt_perr.c: Likewise.
41740         * sunrpc/clnt_raw.c: Likewise.
41741         * sunrpc/clnt_simp.c: Likewise.
41742         * sunrpc/clnt_tcp.c: Likewise.
41743         * sunrpc/clnt_udp.c: Likewise.
41744         * sunrpc/clnt_unix.c: Likewise.
41745         * sunrpc/des_crypt.c: Likewise.
41746         * sunrpc/des_soft.c: Likewise.
41747         * sunrpc/get_myaddr.c: Likewise.
41748         * sunrpc/key_call.c: Likewise.
41749         * sunrpc/key_prot.c: Likewise.
41750         * sunrpc/netname.c: Likewise.
41751         * sunrpc/pm_getmaps.c: Likewise.
41752         * sunrpc/pm_getport.c: Likewise.
41753         * sunrpc/pmap_clnt.c: Likewise.
41754         * sunrpc/pmap_prot.c: Likewise.
41755         * sunrpc/pmap_prot2.c: Likewise.
41756         * sunrpc/pmap_rmt.c: Likewise.
41757         * sunrpc/publickey.c: Likewise.
41758         * sunrpc/rpc_cmsg.c: Likewise.
41759         * sunrpc/rpc_common.c: Likewise.
41760         * sunrpc/rpc_dtable.c: Likewise.
41761         * sunrpc/rpc_prot.c: Likewise.
41762         * sunrpc/rpc_thread.c: Likewise.
41763         * sunrpc/rtime.c: Likewise.
41764         * sunrpc/svc.c: Likewise.
41765         * sunrpc/svc_auth.c: Likewise.
41766         * sunrpc/svc_raw.c: Likewise.
41767         * sunrpc/svc_run.c: Likewise.
41768         * sunrpc/svc_tcp.c: Likewise.
41769         * sunrpc/svc_udp.c: Likewise.
41770         * sunrpc/svc_unix.c: Likewise.
41771         * sunrpc/svcauth_des.c: Likewise.
41772         * sunrpc/xcrypt.c: Likewise.
41773         * sunrpc/xdr.c: Likewise.
41774         * sunrpc/xdr_array.c: Likewise.
41775         * sunrpc/xdr_float.c: Likewise.
41776         * sunrpc/xdr_intXX_t.c: Likewise.
41777         * sunrpc/xdr_mem.c: Likewise.
41778         * sunrpc/xdr_rec.c: Likewise.
41779         * sunrpc/xdr_ref.c: Likewise.
41780         * sunrpc/xdr_sizeof.c: Likewise.
41781         * sunrpc/xdr_stdio.c: Likewise.
41783 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41785         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41786         change.  Update copyright years.
41788 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41790         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41792 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41793             Joseph Myers  <joseph@codesourcery.com>
41794             Paul Pluzhnikov  <ppluzhnikov@google.com>
41796         [BZ #14012]
41797         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41798         requiring rpcgen.
41799         [cross-compiling] (extra-libs): Likewise.
41800         [cross-compiling] (extra-libs-others): Likewise.
41801         [cross-compiling] (librpcsvc-routines): Likewise.
41802         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41803         [cross-compiling] (omit-deps): Likewise.
41804         (sunrpc-CPPFLAGS): New variable.
41805         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41806         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41807         (cross-rpcgen-objs): New variable.
41808         (extra-objs): Append $(cross-rpcgen-objs).
41809         ($(cross-rpcgen-objs)): New rule.
41810         ($(objpfx)cross-rpcgen): Likewise.
41811         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41812         comment.
41813         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41814         ($(objpfx)x%.stmp): Likewise.
41815         * sunrpc/proto.h [IS_IN_build] (_): Define.
41816         [IS_IN_build] (_libc_intl_domainname): Likewise.
41818 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41821         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41822         and R_X86_64_TPOFF64.
41824 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41826         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41827         sysdeps/unix/sysv/syscalls.list.
41828         (stime): Likewise.
41829         (utime): Likewise.
41830         * sysdeps/unix/sysv/syscalls.list: Remove file.
41832 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41834         [BZ #3440]
41835         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41836         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41837         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41838         (__LC_IDENTIFICATION): Make these macros useful in #if
41839         expressions, as required by C99.
41841 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41843         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41844         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41845         after this.
41847 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41849         * stdlib/longlong.h: Updated from GCC.
41851 2012-05-09  Andreas Jaeger  <aj@suse.de>
41853         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41854         default is first entry.
41855         (run_mode): Set type.
41856         (main): Remove informal message about syslog.
41857         (options): Fix typo.
41859         [BZ #14053]
41860         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41861         to asm.
41862         (lrint): Likewise.
41863         (llrintf): Likewise.
41864         (llrint): Likewise.
41865         (rint): Likewise.
41866         (rintf): Likewise.
41867         (nearbyint): Likewise.
41868         (nearbyintf): Likewise.
41870 2012-05-09  Andreas Jaeger  <aj@suse.de>
41871             Pedro Alves  <palves@redhat.com>
41873         * nscd/nscd.c (run_mode): Use enum.
41874         (main): Cleanup coding style issue.
41876 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41877             Andreas Jaeger  <aj@suse.de>
41879         * nscd/nscd.c (go_background): Replaced with...
41880         (run_mode): ... this.
41881         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41882         (options): Add -F --foreground.
41883         (main): Implement it.
41884         (parse_opt): Parse it.
41886 2012-05-09  Andreas Jaeger  <aj@suse.de>
41888         [BZ #14083]
41889         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41890         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41891         -Wconversion warning.
41892         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41893         Likewise.
41895 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41897         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41898         == 0.
41899         (LC_ALL): Use macro-int-constant.
41900         (LC_COLLATE): Likewise.
41901         (LC_CTYPE): Likewise.
41902         (LC_MESSAGES): Likewise.
41903         (LC_MONETARY): Likewise.
41904         (LC_NUMERIC): Likewise.
41905         (LC_TIME): Likewise.
41906         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41907         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41908         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41909         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41910         Specify type.
41911         [C99-based standards] (float_t): Expect type.
41912         [C99-based standards] (double_t): Expect type.
41913         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41914         type.
41915         [C99-based standards] (HUGE_VALL): Likewise.
41916         [C99-based standards] (INFINITY): Likewise.
41917         [C99-based standards] (NAN): Likewise.
41918         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41919         [C99-based standards] (FP_NAN): Likewise.
41920         [C99-based standards] (FP_NORMAL): Likewise.
41921         [C99-based standards] (FP_SUBNORMAL): Likewise.
41922         [C99-based standards] (FP_ZERO): Likewise.
41923         [C99-based standards] (FP_FAST_FMA): Use
41924         optional-macro-int-constant.  Specify type.  Require == 1.
41925         [C99-based standards] (FP_FAST_FMAF): Likewise.
41926         [C99-based standards] (FP_FAST_FMAL): Likewise.
41927         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41928         [C99-based standards] (FP_ILOGBNAN): Likewise.
41929         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41930         Specify type.
41931         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41932         [C99-based standards] (math_errhandling): Specify type.
41933         [ISO99 || ISO11] (signgam): Do not allow.
41934         [non-C99-based standards] (copysignf): Do not allow.
41935         [non-C99-based standards] (exp2f): Likewise.
41936         [non-C99-based standards] (log2f): Likewise.
41937         [non-C99-based standards] (modff): Allow.
41938         [non-C99-based standards] (erff): Do not allow.
41939         [non-C99-based standards] (erfcf): Likewise.
41940         [non-C99-based standards] (gammaf): Likewise.
41941         [non-C99-based standards] (hypotf): Likewise.
41942         [non-C99-based standards] (j0f): Likewise.
41943         [non-C99-based standards] (j1f): Likewise.
41944         [non-C99-based standards] (jnf): Likewise.
41945         [non-C99-based standards] (lgammaf): Likewise.
41946         [non-C99-based standards] (tgammaf): Likewise.
41947         [non-C99-based standards] (y0f): Likewise.
41948         [non-C99-based standards] (y1f): Likewise.
41949         [non-C99-based standards] (ynf): Likewise.
41950         [non-C99-based standards] (isnanf): Likewise.
41951         [non-C99-based standards] (acoshf): Likewise.
41952         [non-C99-based standards] (asinhf): Likewise.
41953         [non-C99-based standards] (atanhf): Likewise.
41954         [non-C99-based standards] (cbrtf): Likewise.
41955         [non-C99-based standards] (expm1f): Likewise.
41956         [non-C99-based standards] (ilogbf): Likewise.
41957         [non-C99-based standards] (log1pf): Likewise.
41958         [non-C99-based standards] (logbf): Likewise.
41959         [non-C99-based standards] (nextafterf): Likewise.
41960         [non-C99-based standards] (remainderf): Likewise.
41961         [non-C99-based standards] (rintf): Likewise.
41962         [non-C99-based standards] (scalbf): Likewise.
41963         [non-C99-based standards] (copysignl): Likewise.
41964         [non-C99-based standards] (exp2l): Likewise.
41965         [non-C99-based standards] (log2l): Likewise.
41966         [non-C99-based standards] (modfl): Allow.
41967         [non-C99-based standards] (erfl): Do not allow.
41968         [non-C99-based standards] (erfcl): Likewise.
41969         [non-C99-based standards] (gammal): Likewise.
41970         [non-C99-based standards] (hypotl): Likewise.
41971         [non-C99-based standards] (j0l): Likewise.
41972         [non-C99-based standards] (j1l): Likewise.
41973         [non-C99-based standards] (jnl): Likewise.
41974         [non-C99-based standards] (lgammal): Likewise.
41975         [non-C99-based standards] (tgammal): Likewise.
41976         [non-C99-based standards] (y0l): Likewise.
41977         [non-C99-based standards] (y1l): Likewise.
41978         [non-C99-based standards] (ynl): Likewise.
41979         [non-C99-based standards] (isnanl): Likewise.
41980         [non-C99-based standards] (acoshl): Likewise.
41981         [non-C99-based standards] (asinhl): Likewise.
41982         [non-C99-based standards] (atanhl): Likewise.
41983         [non-C99-based standards] (cbrtl): Likewise.
41984         [non-C99-based standards] (expm1l): Likewise.
41985         [non-C99-based standards] (ilogbl): Likewise.
41986         [non-C99-based standards] (log1pl): Likewise.
41987         [non-C99-based standards] (logbl): Likewise.
41988         [non-C99-based standards] (nextafterl): Likewise.
41989         [non-C99-based standards] (remainderl): Likewise.
41990         [non-C99-based standards] (rintl): Likewise.
41991         [non-C99-based standards] (scalbl): Likewise.
41992         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41993         [non-C99-based standards] (FP_*): Do not allow.
41994         [C99-based standards] (FP_*): Change to
41995         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41996         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41997         allow.
41998         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41999         (SIG_ERR): Likewise.
42000         [X/Open-based standards] (SIG_HOLD): Likewise.
42001         (SIG_IGN): Likewise.
42002         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42003         positive value.
42004         (SIGFPE): Likewise.
42005         (SIGILL): Likewise.
42006         (SIGINT): Likewise.
42007         (SIGSEGV): Likewise.
42008         (SIGTER): Likewise.
42009         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42010         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42011         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42012         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42013         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42014         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42015         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42016         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42017         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42018         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42019         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42020         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42021         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42022         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42023         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42024         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42025         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42026         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42027         [X/Open-based standards] (SIGTRAP): Likewise.
42028         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42029         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42030         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42031         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42032         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42033         allow.
42035 2012-05-08  Ian Wienand  <ianw@vmware.com>
42037         [BZ #14080]
42038         * time/tzset.c (__tzset_parse_tz): Update default rules for
42039         daylight time changes in the Energy Policy Act of 2005.
42041 2012-05-09  Andreas Jaeger  <aj@suse.de>
42043         [BZ #13983]
42044         * elf/ldconfig.c (parse_conf): Change string to make clear that
42045         ldconfig only issued a warning if ld.so.conf does not exist.
42047 2012-05-08  David S. Miller  <davem@davemloft.net>
42049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42050         movxtod instead of popping the value on the stack.
42052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42054 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42056         * config.h.in: Add HAVE_ARM_PCS_VFP.
42058 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42060         [BZ #13979]
42061         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42062         checking but the checks are disabled for any reason.
42064 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42066         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42067         and ELF64_R_TYPE with ELFW(R_TYPE).
42069 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42071         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42072         (ulimit): Likewise.
42074         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42075         (settimeofday): Likewise.
42077 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42079         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42080         a struct th_u2 inside the union, and move tu_block/tu_code into
42081         a new th_u3 union of tu_block/tu_code inside of that.  Move
42082         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42083         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42084         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42085         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42086         (th_stuff): Change to th_u1.tu_stuff.
42087         (th_data): Define.
42088         (th_msg): Change to th_u1.th_u2.tu_data.
42090 2012-05-07  David S. Miller  <davem@davemloft.net>
42092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42094         [BZ #14074]
42095         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42096         (SETUP_PIC_REG): Use it.
42097         (SETUP_PIC_REG_LEAF): Use it.
42099 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42101         [BZ #13885]
42102         [BZ #13923]
42103         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42104         USE_AS_EXPM1L.
42105         (EXPL_FINITE): Likewise.
42106         (FLDLOG): Likewise.
42107         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42108         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42109         e_expl.S.
42110         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42111         USE_AS_EXPM1L.
42112         (EXPL_FINITE): Likewise.
42113         (FLDLOG): Likewise.
42114         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42115         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42116         e_expl.S.
42117         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42118         test of -max_value argument for long double.
42119         * sysdeps/i386/fpu/libm-test-ulps: Update.
42120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42122 2012-05-06  David S. Miller  <davem@davemloft.net>
42124         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42125         quad soft-float symbols whose references which are compiler
42126         generated.
42127         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42129 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42131         [BZ #13884]
42132         [BZ #13914]
42133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42134         USE_AS_EXP10L.
42135         (EXPL_FINITE): Likewise.
42136         (FLDLOG): Likewise.
42137         (c0): Likewise.
42138         (c1): Likewise.
42139         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42140         Adjust comments for base varying.
42141         (__expl_finite): Change alias to EXPL_FINITE.
42142         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42143         e_expl.S.
42144         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42145         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42146         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42147         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42148         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42149         USE_AS_EXP10L.
42150         (EXPL_FINITE): Likewise.
42151         (FLDLOG): Likewise.
42152         (c0): Likewise.
42153         (c1): Likewise.
42154         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42155         Adjust comments for base varying.
42156         (__expl_finite): Change alias to EXPL_FINITE.
42157         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42158         tests for bugs.
42159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42161         [BZ #14064]
42162         * math/libm-test.inc (check_float_internal): Correct ulp
42163         calculation for subnormal expected results.
42165 2012-05-06  Andreas Jaeger  <aj@suse.de>
42167         * Makeconfig (+math-flags): New, set to -frounding-math.
42168         (+cflags): Add +math-flags so that all of glibc gets compiled with
42169         it.
42171         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42173 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42175         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42176         Disable one test.
42178         [BZ #13787]
42179         [BZ #13922]
42180         [BZ #14036]
42181         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42182         (__ieee754_expl): Allow for and saturate large arguments.
42183         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42184         (u_threshold): Likewise.
42185         (__exp): Call __ieee754_exp before checking for overflow and
42186         underflow.
42187         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42188         (u_threshold): Likewise.
42189         (__expf): Call __ieee754_expf before checking for overflow and
42190         underflow.
42191         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42192         (u_threshold): Likewise.
42193         (__expl): Call __ieee754_expl before checking for overflow and
42194         underflow.
42195         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42196         (__ieee754_expl): Allow for and saturate large arguments.
42197         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42198         missing overflow exception on overflow.
42199         (expm1_test): Do not allow missing overflow exception on overflow.
42201         * sysdeps/i386/fpu/e_expl.c: Move to ...
42202         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42203         rather than using inline asm.
42204         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42205         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42206         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42208         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42209         (nice): Likewise.
42210         (poll): Likewise.
42211         (signal): Likewise.
42212         (time): Likewise.
42213         (times): Likewise.
42215 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42217         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42218         sysdeps/unix/common/syscalls.list.
42219         (fchmod): Likewise.
42220         (fchown): Likewise.
42221         (ftruncate): Likewise.
42222         (getrusage): Likewise.
42223         (gettimeofday): Likewise.
42224         (setpgid): Likewise.
42225         (setregid): Likewise.
42226         (setreuid): Likewise.
42227         (sigaction): Likewise.
42228         (truncate): Likewise.
42229         (vhangup): Likewise.
42230         * sysdeps/unix/common/syscalls.list: Remove file.
42231         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42232         * sysdeps/unix/sysv/linux/Implies: Likewise.
42234 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42236         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42238         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42239         Moved to ...
42240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42241         Here.
42242         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42243         to ...
42244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42245         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42246         to ...
42247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42248         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42249         to ...
42250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42251         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42252         to ...
42253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42254         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42255         to ...
42256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42257         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42258         to ...
42259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42260         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42261         to ...
42262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42263         Here.
42264         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42265         to ...
42266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42267         Here.
42268         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42269         to ...
42270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42271         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42272         Moved to ...
42273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42274         Here.
42275         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42276         to ...
42277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42279 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42281         * sysdeps/unix/common/bits/dirent.h: Remove file.
42282         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42284         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42285         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42286         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42287         * sysdeps/unix/bsd/isatty.c: Likewise.
42288         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42289         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42290         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42292 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42294         [BZ #13563]
42295         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42296         long double comparison inaccuracies.
42297         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42300 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42302         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42303         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42305 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42307         [BZ #14049]
42308         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42309         nonzero digits before rounding a hex value.
42310         * stdlib/tst-strtod.c (tests): Add another test.
42312 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42314         * sysdeps/s390/fpu/libm-test-ulps: Update.
42316 2012-05-03  Andreas Jaeger  <aj@suse.de>
42318         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42319         does not get optimized out.
42320         (malloc_opt_barrier): New.
42322 2012-05-03  Andreas Jaeger  <aj@suse.de>
42323             Roland McGrath  <roland@hack.frob.com>
42325         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42326         intermediate file deletion.
42327         (generated): Add .symlist files.
42329 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42331         [BZ #13775]
42332         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42333         Redirect under this condition.
42334         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42335         [__USE_GNU] (__dprintf_chk): Not under this condition.
42336         [__USE_GNU] (__vdprintf_chk): Likewise.
42337         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42338         under this condition.
42339         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42340         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42341         [__USE_XOPEN2K8] (vdprintf): Likewise.
42342         [__USE_GNU] (__dprintf_chk): Not under this condition.
42343         [__USE_GNU] (__vdprintf_chk): Likewise.
42344         [__USE_GNU] (dprintf): Likewise.
42345         [__USE_GNU] (vdprintf): Likewise.
42347 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42349         * elf/Makefile (common-generated): Set this instead of generated for
42350         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42351         $(all-built-dso)-derived lists.
42353 2012-05-03  Andreas Jaeger  <aj@suse.de>
42355         * sysdeps/i386/fpu/libm-test-ulps: Update.
42357         * FAQ: Removed.
42358         * FAQ.in: Likewise.
42359         * scripts/gen-FAQ.pl: Likewise.
42360         * manual/install.texi (Installation): Point to online location of
42361         FAQ.
42362         * Makefile (files-for-dist): Remove FAQ.
42363         (FAQ): Remove.
42365 2012-05-02  Allan McRae  <allan@archlinux.org>
42367         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42368         (LDFLAGS-reldepmod5.so): Likewise.
42369         (LDFLAGS-reldep6mod1.so): Likewise.
42370         (LDFLAGS-reldep6mod4.so): Likewise.
42371         (LDFLAGS-reldep8mod3.so): Likewise.
42372         (LDFLAGS-unload4mod1.so): Likewise.
42373         (LDFLAGS-unload4mod2.so): Likewise.
42374         (LDFLAGS-tst-initorder): Likewise.
42375         (LDFLAGS-tst-initordera2.so): Likewise.
42376         (LDFLAGS-tst-initordera3.so): Likewise.
42377         (LDFLAGS-tst-initordera4.so): Likewise.
42378         (LDFLAGS-tst-initorderb2.so): Likewise.
42379         (LDFLAGS-noload): Likewise.
42380         (LDFLAGS-next): Likewise.
42381         (LDFLAGS-order2mod1.so): Likewise.
42382         (LDFLAGS-order2mod2.so): Likewise.
42383         (LDFLAGS-tst-initorder2): Likewise.
42384         (LDFLAGS-tst-initorder2a.so): Likewise.
42385         (LDFLAGS-tst-initorder2b.so): Likewise.
42386         (LDFLAGS-tst-initorder2c.so): Likewise.
42387         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42389 2012-05-02  David S. Miller  <davem@davemloft.net>
42391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42393 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42395         [BZ #14055]
42396         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42398 2012-05-02  Andreas Jaeger  <aj@suse.de>
42400         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42401         since we manipulate rounding mode.
42402         (CPPFLAGS-test-idouble.c): Likewise.
42403         (CPPFLAGS-test-ifloat.c): Likewise.
42404         (CFLAGS-test-ldouble.c): Likewise.
42405         (CFLAGS-test-double.c): Likewise.
42406         (CFLAGS-test-float.c): Likewise.
42407         (CFLAGS-test-misc.c): Likewise.
42408         (CFLAGS-test-test-fenv.c): Likewise.
42410 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42412         [BZ #2550]
42413         [BZ #2570]
42414         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42415         comparisons to determine direction to adjust input.
42417 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42419         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42420         output to the target.
42422         * scripts/localplt.awk: New file.
42423         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42424         (check-localplt-CFLAGS): Variable removed.
42425         ($(all-built-dso:=.jmprel)): New static pattern rule.
42426         (generated): Add those targets.
42427         (localplt-built-dso): New variable.
42428         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42430         * elf/check-localplt.c: File removed.
42432         * scripts/check-execstack.awk: New file.
42433         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42434         (check-execstack-CFLAGS): Variable removed.
42435         ($(objpfx)check-execstack.h): Target removed.
42436         ($(objpfx)execstack-default): New target.
42437         (generated): Add that instead of check-execstack.h.
42438         ($(all-built-dso:=.phdr)): New static pattern rule.
42439         (generated): Add those targets.
42440         * elf/check-execstack.c: File removed.
42442         * scripts/check-textrel.awk: New file.
42443         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42444         (check-textrel-CFLAGS): Variable removed.
42445         (all-built-dso): Use := to define.o
42446         ($(all-built-dso:=.dyn)): New static pattern rule.
42447         (generated): Add those targets.
42448         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42449         * config.make.in (READELF): New substituted variable.
42450         * elf/check-textrel.c: File removed.
42452 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42454         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42455         allow.
42456         * conform/data/ctype.h-data [C99-based standards] (isblank):
42457         Expect function.
42458         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42459         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42461         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42462         Specify type.  Require positive value.
42463         (EILSEQ): Likewise.
42464         (ERANGE): Likewise.
42465         [ISO || POSIX] (EILSEQ): Do not expect.
42466         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42467         Specify type.  Require positive value.
42468         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42469         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42470         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42471         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42472         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42473         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42474         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42475         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42476         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42477         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42478         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42479         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42480         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42481         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42482         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42483         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42484         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42485         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42486         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42487         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42488         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42489         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42490         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42491         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42492         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42493         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42494         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42495         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42496         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42497         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42498         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42499         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42500         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42501         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42502         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42503         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42504         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42505         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42506         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42507         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42508         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42509         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42510         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42511         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42512         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42513         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42514         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42515         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42516         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42517         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42518         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42519         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42520         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42521         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42522         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42523         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42524         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42525         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42526         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42527         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42528         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42529         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42530         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42531         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42532         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42533         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42534         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42535         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42536         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42537         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42538         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42539         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42540         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42541         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42542         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42543         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42544         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42545         Require >= 2.
42546         (FLT_ROUNDS): Expect as macro, not constant.
42547         (FLT_MANT_DIG): Use macro-int-constant.
42548         (DBL_MANT_DIG): Likewise.
42549         (LDBL_MANT_DIG): Likewise.
42550         (FLT_DIG): Likewise.
42551         (DBL_DIG): Likewise.
42552         (LDBL_DIG): Likewise.
42553         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42554         (DBL_MIN_EXP): Likewise.
42555         (LDBL_MIN_EXP): Likewise.
42556         (FLT_MAX_EXP): Use macro-int-constant.
42557         (DBL_MAX_EXP): Likewise.
42558         (LDBL_MAX_EXP): Likewise.
42559         (FLT_MAX_10_EXP): Likewise.
42560         (DBL_MAX_10_EXP): Likewise.
42561         (LDBL_MAX_10_EXP): Likewise.
42562         (FLT_MAX): Use macro-constant.
42563         (DBL_MAX): Likewise.
42564         (LDBL_MAX): Likewise.
42565         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42566         (DBL_EPSILON): Likewise.
42567         (LDBL_EPSILON): Likewise.
42568         (FLT_MIN): Likewise.
42569         (DBL_MIN): Likewise.
42570         (LDBL_MIN): Likewise.
42571         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42572         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42573         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42574         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42575         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42576         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42577         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42578         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42579         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42580         [ISO11] (FLT_TRUE_MIN): Likewise.
42581         [ISO11] (LDBL_TRUE_MIN): Likewise.
42582         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42583         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42584         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42585         (SCHAR_MAX): Likewise.
42586         (UCHAR_MAX): Likewise.
42587         (CHAR_MIN): Likewise.
42588         (CHAR_MAX): Likewise.
42589         (MB_LEN_MAX): Use macro-int-constant.
42590         (SHRT_MIN): Use macro-int-constant.  Specify type.
42591         (SHRT_MAX): Likewise.
42592         (USHRT_MAX): Likewise.
42593         (INT_MAX): Likewise.
42594         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42595         bound negative.
42596         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42597         bound with "U".
42598         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42599         bound with "L".
42600         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42601         bound negative.  Suffix upper bound with "L".
42602         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42603         bound with "UL".
42604         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42605         Specify type.
42606         [C99-based standards] (LLONG_MAX): Likewise.
42607         [C99-based standards] (ULLONG_MAX): Likewise.
42608         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42609         == 0.
42610         [ISO11] (max_align_t): Require type.
42611         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42613         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42614         from $CFLAGS, without defining away __attribute__ calls.
42615         (checknamespace): Use $CFLAGS_namespace.
42617         * conform/conformtest.pl (@keywords): Only include C99 keywords
42618         for standards based on C99 or C11.
42620         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42621         Disable tests.
42622         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42623         UNIX98]: Likewise.
42625         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42626         usability of symbols in #if.
42628         * conform/conformtest.pl: If macro or constant types start
42629         "promoted:", expect the symbol to be of the following type
42630         promoted by the integer promotions.
42632         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42633         in one place.  Also handle "macro-constant".
42635         * conform/conformtest.pl: Only accept expected macro values with
42636         "==".  Parse all "macro" lines in one place.
42637         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42639         * conform/conformtest.pl: Handle braced types on "constant" lines
42640         instead of handling "typed-constant".
42641         * conform/data/signal.h-data: Use "constant" instead of
42642         "typed-constant".
42644         * conform/conformtest.pl: Handle "optional-" at start of lines in
42645         one place rather than duplicating several cases.  Handle each
42646         format of "macro" line with initial "optional-".
42648         * conform/conformtest.pl: Only accept expected constant or
42649         optional-constant values with "==".  Parse all "constant" lines in
42650         one place.  Parse all "optional-constant" lines in one place.
42651         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42652         * conform/data/fmtmsg.h-data: Likewise.
42653         * conform/data/netinet/in.h-data: Likewise.
42654         * conform/data/tar.h-data: Likewise.
42655         * conform/data/limits.h-data: Use "==" form on "constant" and
42656         "optional-constant" lines.
42658         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42659         Use -std=c99 for XOPEN2K.
42660         (@knownproblems): Remove.
42661         (newtoken): Don't check %isknown.
42663         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42664         Do not expect macro.
42665         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42666         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42667         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42668         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42669         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42670         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42671         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42672         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42673         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42674         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42675         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42676         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42677         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42678         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42679         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42680         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42681         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42682         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42683         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42684         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42685         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42686         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42687         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42688         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42689         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42690         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42691         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42692         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42693         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42694         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42695         [XPG3] (acosh): Likewise.
42696         [XPG3] (asinh): Likewise.
42697         [XPG3] (atanh): Likewise.
42698         [XPG3] (cbrt): Likewise.
42699         [XPG3] (expm1): Likewise.
42700         [XPG3] (ilogb): Likewise.
42701         [XPG3] (log1p): Likewise.
42702         [XPG3] (logb): Likewise.
42703         [XPG3] (nextafter): Likewise.
42704         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42705         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42706         [XPG3] (remainder): Likewise.
42707         [XPG3] (rint): Likewise.
42708         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42709         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42710         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42711         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42712         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42713         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42714         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42715         [UNIX98 || XOPEN2K] (scalb): Expect.
42716         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42717         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42718         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42719         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42720         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42721         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42722         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42723         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42724         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42725         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42726         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42727         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42728         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42729         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42730         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42731         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42732         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42733         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42734         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42735         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42736         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42737         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42738         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42739         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42740         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42741         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42742         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42743         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42744         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42745         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42746         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42747         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42748         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42749         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42750         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42751         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42752         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42753         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42754         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42755         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42756         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42757         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42758         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42759         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42760         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42761         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42762         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42763         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42764         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42765         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42766         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42767         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42768         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42769         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42770         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42771         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42772         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42773         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42774         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42775         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42776         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42777         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42778         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42779         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42780         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42781         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42782         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42783         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42784         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42785         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42786         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42787         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42788         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42789         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42790         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42791         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42792         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42793         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42794         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42795         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42796         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42797         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42798         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42799         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42800         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42801         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42802         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42803         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42804         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42805         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42806         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42807         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42808         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42809         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42810         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42811         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42812         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42813         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42814         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42815         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42816         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42817         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42818         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42819         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42820         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42821         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42822         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42823         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42824         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42825         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42826         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42827         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42828         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42829         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42830         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42831         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42832         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42833         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42834         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42835         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42836         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42837         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42838         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42839         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42840         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42841         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42842         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42843         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42844         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42845         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42846         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42847         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42848         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42849         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42850         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42851         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42852         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42854         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42855         _XOPEN_SOURCE_EXTENDED for XPG4.
42857         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42859         * Makeconfig (localtime): Remove variable.
42860         (inst_localtime-file): Likewise.
42862 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42865         Update.
42866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42867         Update.
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42869         Update.
42870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42871         Update.
42872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42873         Update.
42874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42875         Update.
42876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42877         Update.
42878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42879         Update.
42880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42881         Update.
42883 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42885         [BZ #2550]
42886         [BZ #2570]
42887         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42888         comparisons to determine direction to adjust input.
42889         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42890         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42891         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42892         Likewise.
42893         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42894         Likewise.
42895         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42896         Likewise.
42897         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42898         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42899         Likewise.
42900         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42901         Likewise.
42902         * math/libm-test.inc (nexttoward_test): Add more tests.
42904 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42906         [BZ #14040]
42907         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42908         in version GLIBC_2.1, not GLIBC_2.0.
42909         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42910         Likewise.
42912 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42914         [BZ #13942]
42915         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42916         (1 - x) * (1 + x).
42917         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42918         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42919         * math/libm-test.inc (acos_test): Add more tests.
42920         (asin_test): Likewise.
42921         * sysdeps/i386/fpu/libm-test-ulps: Update.
42922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42924         [BZ #14034]
42925         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42926         of square root.
42927         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42928         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42929         * math/libm-test.inc (acos_test_tonearest): New function.
42930         (acos_test_towardzero): Likewise.
42931         (acos_test_downward): Likewise.
42932         (acos_test_upward): Likewise.
42933         (asin_test_tonearest): Likewise.
42934         (asin_test_towardzero): Likewise.
42935         (asin_test_downward): Likewise.
42936         (asin_test_upward): Likewise.
42937         (main): Call the new functions.
42938         * sysdeps/i386/fpu/libm-test-ulps: Update.
42939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42941         [BZ #13884]
42942         [BZ #13924]
42943         * math/e_exp10.c: Include <float.h>.
42944         (__ieee754_exp10): Handle underflow here rather than multiplying
42945         large negative argument by M_LN10.
42946         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42947         of __ieee754_expf.
42948         * math/e_exp10l.c: Include <float.h>.
42949         (__ieee754_exp10l): Handle underflow here rather than multiplying
42950         large negative argument by M_LN10l.
42951         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42952         spurious overflow exception on underflow.
42954 2012-04-29  Marek Polacek  <polacek@redhat.com>
42956         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42957         (__fortify_function): New macro.
42958         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42959         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42960         __extern_always_inline.
42961         * libio/bits/stdio2.h: Likewise.
42962         * libio/bits/stdio.h: Likewise.
42963         * string/string.h: Likewise.
42964         * string/bits/string3.h: Likewise.
42965         * include/stdio.h: Likewise.
42966         * stdlib/bits/stdlib.h: Likewise.
42967         * stdlib/stdlib.h: Likewise.
42968         * rt/bits/mqueue2.h: Likewise.
42969         * rt/mqueue.h: Likewise.
42970         * posix/bits/unistd.h: Likewise.
42971         * posix/unistd.h: Likewise.
42972         * io/bits/poll2.h: Likewise.
42973         * io/bits/fcntl2.h: Likewise.
42974         * io/fcntl.h: Likewise.
42975         * io/sys/poll.h: Likewise.
42976         * misc/bits/syslog.h: Likewise.
42977         * misc/bits/syslog-ldbl.h: Likewise.
42978         * misc/sys/syslog.h: Likewise.
42979         * socket/bits/socket2.h: Likewise.
42980         * socket/sys/socket.h: Likewise.
42981         * debug/tst-chk1.c: Likewise.
42982         * wcsmbs/bits/wchar2.h: Likewise.
42983         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42984         * wcsmbs/wchar.h: Likewise.
42986 2012-04-29  Andreas Jaeger  <aj@suse.de>
42988         * Makerules (tests): Remove enable-check-abi protection.
42989         (check-abi-warn): Remove.
42990         (check-abi-%): Remove check-abi-warn usage.
42992         * configure.in: Remove check-abi configure option.
42993         * configure: Regenerated.
42994         * config.make.in (enable-check-abi): Remove.
42996 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42998         [BZ #14033]
42999         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43000         double functions to double *_finite functions.
43002         [BZ #13941]
43003         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43004         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43005         LDBL_MIN_EXP.
43006         * stdio-common/Makefile (tests): Add tst-sprintf3.
43007         * stdio-common/tst-sprintf3.c: New file.
43009         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43010         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43012 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43014         * conform/conformtest.pl: Remove duplicate typed-constant
43015         handling.
43017 2012-04-28  David S. Miller  <davem@davemloft.net>
43019         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43020         (check-abi-%): Remove AWK script prerequisite and explicit
43021         abilist directory.
43022         (check-abi): Rewrite to just diff the symlist with the abilist.
43023         (config-tls, config-abi-config): Delete, no longer used.
43024         (update-abi-%): Remove AWK script and explicit abilist directory.
43025         (update-abi): Rewrite to simply compare and conditionally copy the
43026         symlist and the sysdep abilist file.  Remove update-abi-config
43027         checks.
43028         * abilist/ld.abilist: Remove.
43029         * abilist/libBrokenLocale.abilist: Remove.
43030         * abilist/libanl.abilist: Remove.
43031         * abilist/libcrypt.abilist: Remove.
43032         * abilist/libdl.abilist: Remove.
43033         * abilist/librt.abilist: Remove.
43034         * abilist/libthread_db.abilist: Remove.
43035         * abilist/libutil.abilist: Remove.
43036         * scripts/extract-abilist.awk: Remove.
43037         * scripts/merge-abilist.awk: Remove.
43038         * sysdeps/generic/libcidn.abilist: New file.
43039         * sysdeps/generic/libnss_compat.abilist: New file.
43040         * sysdeps/generic/libnss_db.abilist: New file.
43041         * sysdeps/generic/libnss_dns.abilist: New file.
43042         * sysdeps/generic/libnss_files.abilist: New file.
43043         * sysdeps/generic/libnss_hesiod.abilist: New file.
43044         * sysdeps/generic/libnss_nis.abilist: New file.
43045         * sysdeps/generic/libnss_nisplus.abilist: New file.
43046         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43047         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43048         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43049         file.
43050         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43051         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43052         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43053         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43054         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43055         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43056         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43057         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43058         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43059         file.
43060         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43061         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43062         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43063         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43064         file.
43065         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43066         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43067         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43068         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43069         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43070         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43071         file.
43072         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43073         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43074         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43075         file.
43076         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43078         New file.
43079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43080         New file.
43081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43082         New file.
43083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43084         New file.
43085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43086         New file.
43087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43088         New file.
43089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43090         New file.
43091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43092         New file.
43093         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43094         New file.
43095         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43096         New file.
43097         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43098         New file.
43099         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43100         New file.
43101         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43102         New file.
43103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43104         file.
43105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43106         New file.
43107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43108         New file.
43109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43110         file.
43111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43112         New file.
43113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43114         New file.
43115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43116         file.
43117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43118         New file.
43119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43120         New file.
43121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43122         New file.
43123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43124         New file.
43125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43126         New file.
43127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43128         New file.
43129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43131         file.
43132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43133         New file.
43134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43135         file.
43136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43137         file.
43138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43139         file.
43140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43141         file.
43142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43143         file.
43144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43145         New file.
43146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43147         file.
43148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43149         file.
43150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43151         New file.
43152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43153         file.
43154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43156         file.
43157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43158         New file.
43159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43160         file.
43161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43162         file.
43163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43164         file.
43165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43166         file.
43167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43168         file.
43169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43170         New file.
43171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43172         file.
43173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43174         file.
43175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43176         New file.
43177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43178         file.
43179         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43180         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43181         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43182         file.
43183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43184         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43185         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43186         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43187         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43188         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43189         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43190         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43191         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43192         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43195         file.
43196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43197         New file.
43198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43199         file.
43200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43201         file.
43202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43203         file.
43204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43205         file.
43206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43207         file.
43208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43209         New file.
43210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43211         New file.
43212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43213         file.
43214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43215         New file.
43216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43217         file.
43218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43220         file.
43221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43222         New file.
43223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43224         file.
43225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43226         file.
43227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43228         file.
43229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43230         file.
43231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43232         file.
43233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43234         New file.
43235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43236         New file.
43237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43238         file.
43239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43240         New file.
43241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43242         file.
43244 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43246         * conform/conformtest.pl: Fix typo in handling typed-constant from
43247         allow-header.
43249 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43251         * README: Cut down references to pre-2.6 Linux kernels and
43252         Linuxthreads.  Update lists of configurations in libc and ports
43253         and sort alphabetically.  Say "or newer" with Linux kernel version
43254         requirements.
43256         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43258 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43260         [BZ #887]
43261         * math/libm-test.inc (logb_test_downward): New test to expose
43262         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43263         rounding mode.
43265 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43267         [BZ #14027]
43268         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43269         to be done.
43270         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43271         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43273 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43275         * sysdeps/unix/i386/brk.S: Remove file.
43276         * sysdeps/unix/i386/dl-brk.S: Likewise.
43277         * sysdeps/unix/i386/pipe.S: Likewise.
43278         * sysdeps/unix/i386/sigreturn.S: Likewise.
43279         * sysdeps/unix/i386/syscall.S: Likewise.
43280         * sysdeps/unix/i386/vfork.S: Likewise.
43281         * sysdeps/unix/i386/wait.S: Likewise.
43283         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43284         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43286         * configure.in (arm*-none*): Do not allow without
43287         --enable-hacker-mode.
43288         (netbsd*): Remove case setting base_os.
43289         (386bsd*): Likewise.
43290         (freebsd*): Likewise.
43291         (bsdi*): Likewise.
43292         (osf*): Likewise.
43293         (sunos*): Likewise.
43294         (ultrix*): Likewise.
43295         (newsos*): Likewise.
43296         (dynix*): Likewise.
43297         (*bsd*): Likewise.
43298         (sysv*): Likewise.
43299         (isc*): Likewise.
43300         (esix*): Likewise.
43301         (sco*): Likewise.
43302         (minix*): Likewise.
43303         (irix4*): Likewise.
43304         (irix6*): Likewise.
43305         (solaris[2-9]*): Likewise.
43306         (none): Likewise.
43307         * configure: Regenerated.
43309 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43311         [BZ #11521]
43312         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43313         overflow or cancellation in calculating denominator.
43314         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43315         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43316         down expression to avoid unexpected rounding in newer GCCs.
43317         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43319 2012-04-26  David S. Miller  <davem@davemloft.net>
43321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43322         long-double compat symbols.
43323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43337 2012-04-25  David S. Miller  <davem@davemloft.net>
43339         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43340         HWCAP_* values only after the memory barriers have been defined.
43341         (atomic_full_barrier): Define.
43342         (atomic_read_barrier): Define.
43343         (atomic_write_barrier): Define.
43345 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43347         * shlib-versions: Add libgcc_s version information.
43348         * sysdeps/generic/libgcc_s.h: Remove.
43349         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43350         libgcc_s.h.
43351         * sysdeps/gnu/unwind-resume.c: Likewise.
43352         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43354 2012-04-25  David S. Miller  <davem@davemloft.net>
43356         * sysdeps/unix/sparc/brk.S: Delete.
43357         * sysdeps/unix/sparc/dl-brk.S: Delete.
43358         * sysdeps/unix/sparc/pipe.S: Delete.
43359         * sysdeps/unix/sparc/sysdep.S: Delete.
43360         * sysdeps/unix/sparc/sysdep.h: Delete.
43361         * sysdeps/unix/sparc/vfork.S: Delete.
43362         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43363         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43364         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43365         (ret_ERRVAL, r0, r1, MOVE): Define.
43366         (JUMPTARGET): Remove.
43367         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43368         sysdeps/unix/sparc/sysdep.h
43369         (ENTRY, END): Remove.
43370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43372 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43374         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43375         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43376         -DIS_IN_build.
43378         * timezone/README: Update upstream location and email address for
43379         tzcode and tzdata.
43380         * timezone/zdump.c: Update from tzcode 2012b.
43381         * timezone/zic.c: Likewise.
43383         * configure.in (libc_cv_as_needed): Remove test.
43384         * configure: Regenerated.
43385         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43386         conditional definition.
43387         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43388         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43389         * config.make.in (have-as-needed): Remove variable.
43391 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43392             Paul Pluzhnikov  <ppluzhnikov@google.com>
43394         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43395         strings correctly.
43397 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43399         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43400         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43401         * sysdeps/sh/strlen.S: Likewise.
43403 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43405         * sysdeps/unix/fork.S: Remove file.
43406         * sysdeps/unix/i386/fork.S: Likewise.
43407         * sysdeps/unix/sparc/fork.S: Likewise.
43409         * sysdeps/unix/system.c: Remove file.
43410         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43412         * sysdeps/unix/getegid.S: Remove file.
43413         * sysdeps/unix/geteuid.S: Likewise.
43415 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43417         * scripts/check-localplt.awk: New file.
43418         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43419         of diff.
43420         * scripts/data/localplt-generic.data: Add a comment.
43422         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43423         NODE when __dir_mkfile failed.
43424         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43425         Reported by Ludovic Courtès <ludo@gnu.org>.
43427 2012-04-24  Andreas Jaeger  <aj@suse.de>
43429         * Makerules (common-clean): Also remove gen-as-const-headers
43430         files.
43432 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43434         * Makerules (native-compile): Do not change working directory for
43435         build.  Use $(OUTPUT_OPTION) in command.
43436         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43438 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43440         [BZ #13886]
43441         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43442         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43443         * math/libm-test.inc (floor_test): Add more tests.
43444         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43446 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43448         * sysdeps/unix/getdents.c: Remove file.
43449         * sysdeps/unix/sysv/getdents.c: Likewise.
43450         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43452         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43453         sysdeps/unix/mman/syscalls.list.
43454         (mmap): Likewise.
43455         (mprotect): Likewise.
43456         (msync): Likewise.
43457         (munmap): Likewise.
43458         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43459         * sysdeps/unix/mman/syscalls.list: Remove.
43460         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43462         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43463         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43464         * configure: Regenerated.
43465         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43466         $(libgcc_s_suffix).
43467         * config.make.in (libgcc_s_suffix): Remove variable.
43469 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43471         * sysdeps/unix/sysv/gethostname.c: Move to ...
43472         * sysdeps/posix/gethostname.c: ... here.
43474         * sysdeps/unix/execve.S: Remove file.
43476         * sysdeps/unix/_exit.S: Remove file.
43478 2012-04-23  Andreas Jaeger  <aj@suse.de>
43480         [BZ #13739]
43481         * manual/Makefile: Remove make dist support, there's no
43482         need for a stand-alone documentation tar ball.
43483         (TEXI2DVI): Define always, it's not in Makeconfig.
43484         (dist): Removed.
43485         (tar-it): Removed.
43486         (edition): Removed.
43487         (glibc-doc-$(edition).tar): Removed
43488         (%.Z): Removed.
43489         (%.gz): Removed.
43490         (%.uu): Removed.
43491         (ETAGS): Remove, it's in Makeconfig.
43492         (move-if-change): Remove, it's in Makeconfig.
43494 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43496         [BZ #13970]
43497         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43498         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43499         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43500         (strtod_l, strtof_l, strtold_l): Remove __wur.
43501         It is not necessarily an error to ignore strtol's return value.
43502         One can reliably look at the stored endptr to decide whether
43503         the number had valid syntax.
43505 2012-04-21  Andreas Jaeger  <aj@suse.de>
43507         [BZ #13739]
43508         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43510 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43512         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43513         * sysdeps/unix/sysv/Versions: Remove file.
43515 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43517         [BZ #13927]
43518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43520 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43522         [BZ #7064]
43523         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43524         version from __vm86.
43526 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43528         * sysdeps/unix/common/lxstat.c: Remove file.
43529         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43531         * sysdeps/unix/sysv/Makefile: Remove file.
43533         * sysdeps/unix/sysv/direct.h: Remove file.
43535         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43536         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43537         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43538         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43539         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43540         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43541         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43543         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43545         * sysdeps/unix/xmknod.c: Remove file.
43546         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43548         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43550         * sysdeps/unix/sysv/i386/time.S: Remove file.
43552         * sysdeps/unix/fxstat.c: Remove file.
43553         * sysdeps/unix/xstat.c: Likewise.
43554         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43556         * sysdeps/unix/sysv/sigaction.c: Remove file.
43558         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43559         (sysdep_headers): Remove variable.
43560         [termio.h not in sysdep_headers] (generated): Likewise.
43561         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43562         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43563         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43564         * sysdeps/unix/sysv/tcflow.c: Likewise.
43565         * sysdeps/unix/sysv/tcflush.c: Likewise.
43566         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43567         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43568         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43569         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43570         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43572         * sysdeps/unix/siglist.c: Remove file.
43574         * sysdeps/unix/getppid.S: Remove file.
43576         * sysdeps/unix/mkdir.c: Remove file.
43577         * sysdeps/unix/rmdir.c: Likewise.
43579 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43581         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43582         ERR_MAX value.
43583         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43584         errlist-compat value.
43586 2012-04-18  David S. Miller  <davem@davemloft.net>
43588         * sysdeps/generic/memcopy.h (reg_char): Delete.
43589         * debug/strcat_chk.c: Use char, not reg_char.
43590         * debug/strcpy_chk.c: Likewise.
43591         * debug/strncat_chk.c: Likewise.
43592         * debug/strncpy_chk.c: Likewise.
43593         * string/memchr.c: Likewise.
43594         * string/memrchr.c: Likewise.
43595         * string/rawmemchr.c: Likewise.
43596         * string/strcat.c: Likewise.
43597         * string/strchr.c: Likewise.
43598         * string/strchrnul.c: Likewise.
43599         * string/strcmp.c: Likewise.
43600         * string/strcpy.c: Likewise.
43601         * string/strncat.c: Likewise.
43602         * string/strncmp.c: Likewise.
43603         * string/strncpy.c: Likewise.
43605 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43607         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43608         __builtin_memcopy is called when src and dest ranges are known to not
43609         overlap.
43611 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43613         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43614         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43615         fwd_align_merge macro call.
43616         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43617         bwd_align_merge macro call.
43618         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43620 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43622         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43623         bwd_align_merge macros.
43624         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43625         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43626         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43628 2012-04-18  David S. Miller  <davem@davemloft.net>
43630         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43632 2012-04-18  Andreas Jaeger  <aj@suse.de>
43634         [BZ# 6794]
43635         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43636         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43637         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43639         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43640         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43641         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43643         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43644         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43645         Adjust for changed ldbl-128 files.
43647         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43648         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43649         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43651 2012-04-17  David S. Miller  <davem@davemloft.net>
43653         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43655 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43657         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43658         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43659         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43660         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43661         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43662         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43664 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43666         [BZ #6794]
43667         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43668         * math/libm-test.inc: Add ilogb errno and exception tests.
43669         * math/w_ilogb.c: New file: ilogb wrapper.
43670         * math/w_ilogbf.c: New file: ilogbf wrapper.
43671         * math/w_ilogbl.c: New file: ilogbl wrapper.
43672         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43673         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43674         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43675         exception being thrown with 0.0 as argument.
43676         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43677         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43678         exception being thrown with 0.0 as argument.
43679         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43680         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43681         exception being thrown with 0.0 as argument.
43682         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43683         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43684         exception being thrown with 0.0 as argument.
43685         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43686         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43687         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43688         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43689         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43690         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43691         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43692         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43693         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43695 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43697         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43698         with altivec.
43700 2012-04-16  Marek Polacek  <polacek@redhat.com>
43702         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43704 2012-04-16  Marek Polacek  <polacek@redhat.com>
43706         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43707         operands of fdivp instruction.
43709 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43711         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43712         * elf/tst-auditmod3b.c: Likewise.
43713         * elf/tst-auditmod4b.c: Likewise.
43714         * elf/tst-auditmod5b.c: Likewise.
43715         * elf/tst-auditmod6b.c: Likewise.
43716         * elf/tst-auditmod6c.c: Likewise.
43717         * elf/tst-auditmod7b.c: Likewise.
43718         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43719         * sysdeps/x86_64/preconfigure.in: Likewise.
43720         * sysdeps/x86_64/preconfigure: Regenerated.
43722 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43724         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43725         __ILP32__.
43727 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43729         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43730         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43732 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43734         [BZ #13973]
43735         * locale/iso-639.def: Fix gl language name. Spotted by
43736         Yaron Shahrabani.
43738 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43740         [BZ #2074]
43741         * libio/libio.h (__io_write_fn): Update comment.
43743 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43745         [BZ #2074]
43746         * stdio.texi (Hook Functions): The user provided writer function
43747         is not allowed to return -1.
43749 2012-04-11  David S. Miller  <davem@davemloft.net>
43751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43753 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43755         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43756         Add a leading slash to rtkaio.
43758 2012-04-11  Jim Meyering  <meyering@redhat.com>
43760         [BZ #11959]
43761         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43762         It is not necessarily an error to ignore fwrite's return
43763         value.  One can reliably use ferror to test for errors after
43764         the fact.
43766 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43768         * bits/types.h (__snseconds_t): New type.
43769         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43771         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43772         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43773         (__SNSECONDS_T_TYPE): Likewise.
43774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43775         (__SNSECONDS_T_TYPE): Likewise.
43776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43777         (__SNSECONDS_T_TYPE): Likewise.
43779 2012-04-10  Andreas Jaeger  <aj@suse.de>
43781         [BZ #2636]
43782         * manual/time.texi (Processor Time): Return type of times is
43783         elapsed real time since an arbitrary point in the past.
43784         (CPU Time): Move CLK_TCK from here...
43785         (Processor Time): ...to here.  Correct description.
43786         * manual/conf.texi (Constants for Sysconf): Correct description of
43787         _SC_CLK_TCK.
43789 2012-04-10  David S. Miller  <davem@davemloft.net>
43791         [BZ #13967]
43792         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43793         where the is a gap between DT_REL(A) and DT_JMPREL.
43795 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43797         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43798         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43799         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43801 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43803         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43804         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43805         (dl_main): Handle --inhibit-cache.
43806         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43807         _dl_inhibit_cache.
43808         * elf/dl-load.c (_dl_map_object): Use it.
43809         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43811 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43813         [BZ #13872]
43814         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43815         (__ieee754_powl): Saturate large exponents rather than testing for
43816         overflow of y*log2(x).
43817         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43818         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43819         exceptions.
43821         [BZ #11521]
43822         * math/s_ctan.c: Include <float.h>.
43823         (__ctan): Avoid internal overflow or cancellation in calculating
43824         denominator.
43825         * math/s_ctanf.c: Likewise.
43826         * math/s_ctanl.c: Likewise.
43827         * math/s_ctanh.c: Likewise.
43828         * math/s_ctanhf.c: Likewise.
43829         * math/s_ctanhl.c: Likewise.
43830         * math/libm-test.inc (ctan_test): Add more tests.
43831         (ctanh_test): Likewise.
43832         * sysdeps/i386/fpu/libm-test-ulps: Update.
43833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43835 2012-04-09  Andreas Jaeger  <aj@suse.de>
43837         [BZ #6894]
43838         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43839         is an optional BSD extension.
43841         [BZ #10254]
43842         * manual/stdio.texi (Opening Streams): Document additional fopen
43843         parameters.
43845 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43847         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43848         %eax without telling the compiler.
43850 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43852         [BZ # 13963]
43853         * manual/install.texi: Use sourceware.org.
43855 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43857         [BZ #13873]
43858         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43859         (__ieee754_pow): Generate overflow and underflow using huge*huge
43860         and tiny*tiny rather than just returning constant infinity or zero
43861         for large exponents.
43862         * math/libm-test.inc (pow_test): Require overflow exceptions for
43863         applicable cases of large exponents.
43865         [BZ #706]
43866         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43867         (__ieee754_pow): Use iterative multiplication algorithm only for
43868         integer exponents with absolute value below 1024.  Check for odd
43869         integer exponents when using algorithm for real exponents.
43870         * math/libm-test.inc (pow_test): Add more tests.
43871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43873 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43875         [BZ #13705]
43876         * math/libm-test.inc (exp_test): Do not allow overflow exception
43877         on underflow test.
43879 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43881         [BZ #13705]
43882         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43883         instead of __kernel_standard_f.
43885 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43887         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43888         * sysdeps/x86_64/memset_chk.S: Likewise.
43890 2012-04-08  Andreas Jaeger  <aj@suse.de>
43892         [BZ #10153]
43893         * manual/startup.texi (Environment Access): Describe return value
43894         for putenv and setenv.
43896         [BZ #6895]
43897         * manual/filesys.texi (Directory Entries): Add description for
43898         DT_LNK.
43900         [BZ #6890]
43901         * manual/filesys.texi (Directory Entries): Clarify that it's file
43902         system not operating system in the description of DT_UNKNOWN.
43904         [BZ #6578]
43905         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43907 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43909         [BZ #6649]
43910         * manual/llio.texi (Opening and Closing Files): Add cross
43911         reference to explain mode argument.
43913 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43915         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43916         * sysdeps/x86_64/memset_chk.S: Likewise.
43918 2012-04-07  David S. Miller  <davem@davemloft.net>
43920         * elf/elf.h (R_SPARC_WDISP10): Define.
43921         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43922         R_SPARC_SIZE32.
43923         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43924         R_SPARC_SIZE64 and R_SPARC_H34.
43926 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43928         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43929         conditions and remove no longer applicable assertion.
43931 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43933         * bits/byteswap.h: Include <features.h>.
43934         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43935         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43937 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43939         * bits/byteswap.h (__bswap_16): Removed.
43940         Include <bits/byteswap-16.h> to get __bswap_16.
43941         * sysdeps/i386/bits/byteswap.h: Likewise.
43942         * sysdeps/s390/bits/byteswap.h: Likewise.
43943         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43944         * bits/byteswap-16.h: New file.
43945         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43946         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43947         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43948         * string/Makefile (headers): Add bits/byteswap-16.h.
43950 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43952         [BZ #13895]
43953         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43954         extra indirection.
43955         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43956         * nss/tst-nss-static.c: New.
43958 2012-04-06  Robert Millan  <rmh@gnu.org>
43960         [BZ #6486]
43961         * manual/llio.texi (File Position Primitive): lseek
43962         refers to WHENCE when it really means OFFSET.
43964 2012-04-06  Andreas Jaeger  <aj@suse.de>
43966         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43967         strncmp declarations.
43969         * abilist/libc.abilist: Add __poll and __ppoll.
43971 2012-04-05  David S. Miller  <davem@davemloft.net>
43973         * scripts/check-local-headers.sh: Accept a host triplet in the
43974         path matched by the exclude regexp.
43976         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43977         definition.
43978         * sysdeps/powerpc/powerpc32/dl-machine.h
43979         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43980         * sysdeps/s390/s390-32/dl-machine.h
43981         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43982         * sysdeps/sparc/sparc32/dl-machine.h
43983         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43984         * sysdeps/sparc/sparc64/dl-machine.h
43985         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43987         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43988         lazy binding.
43989         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43990         undefined symbol errors.
43992         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43993         DT_NEEDED entries.
43995 2012-04-05  Michael Matz  <matz@suse.de>
43997         [BZ #13592]
43998         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44000 2012-04-05  Andreas Jaeger  <aj@suse.de>
44002         [BZ #13908]
44003         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44004         comment.
44006 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44008         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44009         which ROUND is no valid rounding mode.
44011 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44013         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44014         read again.
44015         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44017 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44019         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44020         an exception using FPU order intentionally.
44022 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44024         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44025         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44026         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44027         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44029 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44031         [BZ #12340]
44032         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44033         EINVAL when BUFLEN is too smal.
44035 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44037         [BZ #13553]
44038         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44039         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44041 2012-04-03  Andreas Jaeger  <aj@suse.de>
44043         [BZ #13938]
44044         * manual/setjmp.texi (System V contexts): Fix sentence.
44046         [BZ #13926]
44047         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44048         New macro for this case.
44049         [!__GNUC__] (__bswap_64): New inline function for this case.
44050         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44051         * bits/byteswap.h: Likewise.
44052         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44053         ull, guard with __GLIBC_HAVE_LONG_LONG.
44055         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44056         __GLIBC_HAVE_LONG_LONG.
44058         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44059         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44061 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44063         [BZ #13691]
44064         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44065         inptr and inend, rather than using last_ch.
44067 2012-04-02  David S. Miller  <davem@davemloft.net>
44069         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44070         * stdio-common/printf-parse.h (read_int): Change return type to
44071         'int', return -1 on INT_MAX overflow.
44072         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44073         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44074         overflows INT_MAX.  Check for overflow of in-format-string precision
44075         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44076         SIZE_MAX not INT_MAX for integer overflow test.
44077         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44078         skip the construct in the format string but do not record anything.
44079         * stdio-common/bug22.c: Adjust to test both width/prevision
44080         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44081         explicitly for proper errno values.
44083 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44085         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44086         CHAR_MAX.
44087         * string/test-strcmp.c [! WIDE]: Likewise.
44088         * time/tst-mktime2.c: Likewise for INT_MAX.
44089         * string/test-string.h: #include <sys/param.h> for MIN.
44091         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44092         * sysdeps/i386/init-first.c (init): Likewise.
44093         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44094         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44095         * sysdeps/sh/init-first.c (init): Likewise.
44097 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44099         * po/ru.po: Update from translation team.
44100         * po/vi.po: Likewise.
44102 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44104         * resolv/nss_dns/dns-host.c: Merge copyright years.
44106 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44108         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44109         Optimize memcpy with prefetch if
44110         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44111         src, dst pointers have unequal 16 byte alignments.
44113 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44115         [BZ #13928]
44116         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44117         from a CNAME entry and return the minimum ttl for the query.
44118         (gaih_getanswer_slice): Likewise.
44120 2012-03-30  Jeff Law  <law@redhat.com>
44122         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44123         due to long keys.
44124         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44125         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44127         * resolv/nss_dns/dns-host.c: Update copyright year.
44129 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44131         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44132         requests to save a system call.  Fix check that all bytes are sent.
44134         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44135         comments for sendmmsg.
44137 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44139         [BZ #13691]
44140         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44141         with only 1 character between 0x0041 and 0x01b0.
44142         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44143         * wcsmbs/tst-mbsnrtowcs.c: New file.
44145 2012-03-29  David S. Miller  <davem@davemloft.net>
44147         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44148         small copies by hand.
44150 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44152         [BZ #13761]
44153         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44154         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44155         group memberships.
44157 2012-03-28  David S. Miller  <davem@davemloft.net>
44159         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44160         that branches into memcpy.
44161         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44162         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44164         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44165         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44166         bits.
44167         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44168         implementation too.
44169         * sysdeps/sparc/mempcpy.S: New file.
44171         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44172         the IFUNC routine in the libc case.
44173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44175         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44176         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44177         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44178         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44179         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44180         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44181         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44182         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44184         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44185         loop to 256 bytes instead of 64 bytes and fix test signedness.
44187         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44188         * sysdeps/sparc/sparc32/Makefile: rather than here...
44189         * sysdeps/sparc/sparc64/Makefile: and here.
44191 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44193         * malloc/mallocbug.c: Avoid warnings about unused variables.
44195 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44197         [BZ #13760]
44198         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44199         in the right place. Discard and retry query if response is
44200         larger than input buffer size.
44202 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44204         [BZ #369]
44205         [BZ #2678]
44206         [BZ #3866]
44207         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44208         x for large integer exponent.
44209         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44210         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44211         sign of result as needed afterwards.
44212         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44213         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44214         result for underflowing pow the same as for overflow.
44215         (__kernel_standard_l): Handle powl overflow and underflow here
44216         rather than calling __kernel_standard.
44217         * math/libm-test.inc (pow_test): Add more tests.
44219         [BZ #3868]
44220         [BZ #13879]
44221         [BZ #13910]
44222         [BZ #13911]
44223         [BZ #13912]
44224         [BZ #13913]
44225         [BZ #13915]
44226         [BZ #13916]
44227         [BZ #13917]
44228         [BZ #13918]
44229         [BZ #13919]
44230         [BZ #13920]
44231         [BZ #13921]
44232         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44233         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44234         (__kernel_standard_l): New function.
44235         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44236         __kernel_standard.
44237         * math/w_acosl.c (__acosl): Likewise.
44238         * math/w_asinl.c (__asinl): Likewise.
44239         * math/w_atan2l.c (__atan2l): Likewise.
44240         * math/w_atanhl.c (__atanhl): Likewise.
44241         * math/w_coshl.c (__coshl): Likewise.
44242         * math/w_exp10l.c (__exp10l): Likewise.
44243         * math/w_exp2l.c (__exp2l): Likewise.
44244         * math/w_fmodl.c (__fmodl): Likewise.
44245         * math/w_hypotl.c (__hypotl): Likewise.
44246         * math/w_j0l.c (__j0l, __y0l): Likewise.
44247         * math/w_j1l.c (__j1l, __y1l): Likewise.
44248         * math/w_jnl.c (__jnl, __ynl): Likewise.
44249         * math/w_lgammal.c (__lgammal): Likewise.
44250         * math/w_log10l.c (__log10l): Likewise.
44251         * math/w_log2l.c (__log2l): Likewise.
44252         * math/w_logl.c (__logl): Likewise.
44253         * math/w_powl.c (__powl): Likewise.
44254         * math/w_remainderl.c (__remainderl): Likewise.
44255         * math/w_scalbl.c (sysv_scalbl): Likewise.
44256         * math/w_sinhl.c (__sinhl): Likewise.
44257         * math/w_sqrtl.c (__sqrtl): Likewise.
44258         * math/w_tgammal.c (__tgammal): Likewise.
44259         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44260         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44261         * math/libm-test.inc (acos_test): Add more tests.
44262         (acosh_test): Likewise.
44263         (asin_test): Likewise.
44264         (atanh_test): Likewise.
44265         (exp_test): Likewise.
44266         (exp10_test): Likewise.
44267         (exp2_test): Likewise.
44268         (expm1_test): Likewise.
44269         (lgamma_test): Likewise.
44270         (log_test): Likewise.
44271         (log10_test): Likewise.
44272         (log1p_test): Likewise.
44273         (log2_test): Likewise.
44274         (pow_test): Do not allow some spurious overflow exceptions.
44275         (sqrt_test): Add more tests.
44276         (tgamma_test): Likewise.
44277         (y0_test): Likewise.
44278         (y1_test): Likewise.
44279         (yn_test): Likewise.
44281 2012-03-27  Anton Blanchard  <anton@samba.org>
44283         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44284         MAP_HUGETLB.
44285         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44286         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44287         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44289 2012-03-27  David S. Miller  <davem@davemloft.net>
44291         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44293         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44294         have-as-vis3 check.
44296 2012-03-27  Andreas Jaeger  <aj@suse.de>
44298         * sysdeps/x86_64/elf/configure.in: Moved to ...
44299         * sysdeps/x86_64/configure.in: ... here.
44300         * sysdeps/x86_64/elf/start.S: Moved to ...
44301         * sysdeps/x86_64/start.S: ... here.
44302         * sysdeps/x86_64/elf/configure: Delete.
44304         * sysdeps/x86_64/configure.in: Merge contents from
44305         sysdeps/i386/configure.in (without i686 check).
44307         * sysdeps/i386/elf/Versions: Merge into ...
44308         * sysdeps/i386/Versions: ... this.
44309         * sysdeps/i386/elf/Versions: Delete file.
44310         * sysdeps/i386/elf/start.S: Moved to ...
44311         * sysdeps/i386/start.S: ...here.
44312         * sysdeps/i386/elf/configure.in: Merge into...
44313         * sysdeps/i386/configure.in: ...here.
44314         * sysdeps/i386/elf/configure.in: Delete file.
44315         * sysdeps/i386/elf/configure: Delete file.
44317         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44318         * debug/backtracesyms.c: ... here.
44319         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44320         * debug/backtracesymsfd.c: ... here.
44321         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44322         * sysdeps/generic/ifunc-sel.h: ... here.
44324         * sysdeps/unix/i386/start.c: Delete file.
44325         * sysdeps/unix/sparc/start.c: Delete file.
44326         * sysdeps/unix/start.c: Delete file.
44328         * sysdeps/sh/elf/configure.in: Moved to ...
44329         * sysdeps/sh/configure.in: ... here.
44330         * sysdeps/sh/elf/start.S: Moved to ...
44331         * sysdeps/sh/start.S: ... here.
44332         * sysdeps/sh/elf/configure: Delete file.
44334         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44335         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44336         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44337         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44338         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44339         * sysdeps/powerpc/powerpc64/start.S: here.
44340         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44341         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44342         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44343         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44344         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44346         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44347         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44348         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44349         * sysdeps/powerpc/powerpc32/start.S: ... here.
44350         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44351         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44352         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44354         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44355         * sysdeps/powerpc/ifunc-sel.h: ... here.
44356         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44357         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44359         * sysdeps/sparc/elf/configure.in: Moved to ...
44360         * sysdeps/sparc/configure.in: ... here.
44361         * sysdeps/sparc/elf/configure: Delete file.
44362         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44363         * sysdeps/sparc/sparc32/start.S: ... here.
44364         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44365         * sysdeps/sparc/sparc64/start.S: ... here.
44366         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44367         * sysdeps/sparc/sparc32/Makefile: ... this.
44368         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44369         * sysdeps/sparc/sparc64/Makefile: ... this.
44371         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44372         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44373         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44374         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44375         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44376         * sysdeps/s390/s390-32/setjmp.S: ... here.
44377         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44378         * sysdeps/s390/s390-32/configure.in: ... here.
44379         * sysdeps/s390/s390-32/elf/configure: Delete file.
44380         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44381         * sysdeps/s390/s390-32/start.S: ... here.
44383         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44384         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44385         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44386         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44387         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44388         * sysdeps/s390/s390-64/setjmp.S: ... here.
44389         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44390         * sysdeps/s390/s390-64/configure.in: ... here
44391         * sysdeps/s390/s390-64/elf/configure: Delete file.
44392         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44393         * sysdeps/s390/s390-64/start.S: ... here.
44394         * sysdeps/s390/s390-64/elf/configure: Delete.
44396         * configure.in: Remove support for elf directories in sysdeps.
44398         * configure: Regenerated.
44399         * sysdeps/i386/configure: Regenerated.
44400         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44401         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44402         * sysdeps/s390/s390-32/configure: Regenerated.
44403         * sysdeps/s390/s390-64/configure: Regenerated.
44404         * sysdeps/sh/configure: Regenerated.
44405         * sysdeps/sparc/configure: Regenerated.
44406         * sysdeps/x86_64/configure: Regenerated.
44408 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44413         denormal result into account.
44415 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44417         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44418         Reported by Allan McRae <allan@archlinux.org>.
44420 2012-03-23  Jeff Law  <law@redhat.com>
44422         * nss/getnssent.c (__nss_getent): Fix typo.
44424 2012-03-23  David S. Miller  <davem@davemloft.net>
44426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44428 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44430         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44431         to pad to uint64_t for each field.
44432         (dl_tls_index): Replace unsigned long with uint64_t.
44434 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44435         Paul Pluzhnikov  <ppluzhnikov@google.com>
44437         [BZ #6528]
44438         * grp/Makefile (otherlibs): Don't set it.
44439         * inet/Makefile (otherlibs): Likewise.
44440         * login/Makefile (otherlibs): Likewise.
44441         * nscd/Makefile (otherlibs): Likewise.
44442         * posix/Makefile (otherlibs): Likewise.
44443         * pwd/Makefile (otherlibs): Likewise.
44444         * rt/Makefile (otherlibs): Likewise.
44445         * sunrpc/Makefile (otherlibs): Likewise.
44446         * nss/Makefile (otherlibs): Likewise.
44447         Add libnss_files to routines and static-only-routines.
44448         ($(objpfx)getent): Remove rule.
44449         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44450         static-only-routines.
44452 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44454         [BZ #13892]
44455         * math/s_cexp.c: Include <float.h>.
44456         (__cexp): Handle exp result overflowing not necessarily
44457         overflowing both real and imaginary parts of result.
44458         * math/s_cexpf.c: Likewise.
44459         * math/s_cexpl.c: Likewise.
44460         * math/libm-test.inc (cexp_test): Add more tests.
44461         * sysdeps/i386/fpu/libm-test-ulps: Update.
44462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44464 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44466         * include/link.h (ELFW): New macro.
44467         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44468         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44470 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44472         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44473         with uint64_t.
44475 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44477         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44478         declaration.
44479         (struct La_x32_retval): Likewise.
44481 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44483         * sysdeps/x86_64/preconfigure.in: New file.
44484         * sysdeps/x86_64/preconfigure: New generated file.
44486 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44488         [BZ #13824]
44489         * math/e_exp2l.c: Include <float.h>.
44490         (__ieee754_exp2l): Handle overflow and underflow cases
44491         separately.  Only pass fractional part of argument to
44492         __ieee754_expl.
44493         * math/libm-test.inc (exp2_test): Add more tests.
44495         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44496         negating x to take absolute value.
44497         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44498         Likewise.
44499         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44500         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44501         Likewise.
44502         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44503         computing low part if x was negated.
44504         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44506 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44508         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44509         la_x32_gnu_pltexit.
44510         (pltexit): Cast int_retval to ptrdiff_t.
44511         * elf/tst-auditmod3b.c: Likewise.
44512         * elf/tst-auditmod4b.c: Likewise.
44513         * elf/tst-auditmod5b.c: Likewise.
44514         * elf/tst-auditmod6b.c: Likewise.
44515         * elf/tst-auditmod6c.c: Likewise.
44516         * elf/tst-auditmod7b.c: Likewise.
44518         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44519         and x32_gnu_pltexit.
44521         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44522         __ELF_NATIVE_CLASS.
44523         (La_x32_regs): New macro.
44524         (La_x32_retval): Likewise.
44525         (la_x32_gnu_pltenter): New function prototype.
44526         (la_x32_gnu_pltexit): Likewise.
44528 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44530         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44531         exponent.
44533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44535         * configure.in (libc_cv_cc_nofma): Check for option to disable
44536         generation of FMA instructions.
44537         * configure: Regenerate.
44538         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44539         * sysdeps/ieee754/dbl-64/Makefile: New file.
44540         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44541         Remove brandred-fma4.
44542         (CFLAGS-brandred-fma4.c): Remove.
44543         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44544         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44545         define.
44546         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44547         define.
44549 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44551         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44552         LLONG_MAX != LONG_MAX.
44553         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44554         (_fitoa_word): Likewise.
44555         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44556         LLONG_MAX != LONG_MAX.
44557         * stdio-common/_itowa.h: Include <_itoa.h>.
44558         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44559         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44560         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44561         only if not defined.
44562         (_ITOA_WORD_TYPE): Likewise.
44563         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44564         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44566 2012-03-21  David S. Miller  <davem@davemloft.net>
44568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44570 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44572         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44573         of x86_64 when setting libc_cv_slibdir, libdir and
44574         libc_cv_localedir.
44575         * sysdeps/unix/sysv/linux/configure: Regenerated.
44577 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44579         * manual/lang.texi (Old Varargs): Remove section.
44580         (How Variadic): Update menu.
44581         (va_start): Do not mention varargs.h.
44583 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44584             Joseph Myers  <joseph@codesourcery.com>
44586         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44587         link test.
44588         * configure: Regenerated.
44590 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44592         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44593         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44594         conformtest.pl
44596 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44598         * NOTES: Remove.
44599         * Makefile (files-for-dist): Remove NOTES.
44600         (NOTES): Remove rule.
44601         * README: Don't refer to NOTES.
44602         * manual/creature.texi: Don't include macros.texi.
44603         * manual/intro.texi (creature.texi): Remove comment referring to
44604         NOTES.
44606         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44607         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44608         * configure: Regenerated.
44609         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44610         LIBC_TRY_CC_OPTION.
44611         (libc_cv_as_i686): Likewise.
44612         (libc_cv_cc_avx): Likewise.
44613         (libc_cv_cc_sse2avx): Likewise.
44614         (libc_cv_cc_fma4): Likewise.
44615         (libc_cv_cc_novzeroupper): Likewise.
44616         * sysdeps/i386/configure: Regenerated.
44618         [BZ #13883]
44619         * sysdeps/i386/fpu/s_cexp.S: Remove.
44620         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44621         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44622         * math/libm-test.inc (cexp_test): Add more tests.
44623         * sysdeps/i386/fpu/libm-test-ulps: Update.
44624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44626 2012-03-21  Allan McRae  <allan@archlinux.org>
44628         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44630 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44632         [BZ #13871]
44633         * math/w_exp2.c: Do not include <float.h>.
44634         (o_threshold, u_threshold): Remove.
44635         (__exp2): Calculate result before checking finiteness and calling
44636         __kernel_standard.
44637         * math/w_exp2f.c: Likewise.
44638         * math/w_exp2l.c: Likewise.
44639         * math/libm-test.inc (exp2_test): Require overflow exception for
44640         1e6 input.
44642         [BZ #3866]
44643         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44644         range of signed 64-bit integers before using fistpll.  Remove
44645         checks for whether integers fit in mantissa bits.
44646         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44647         the range of signed 32-bit integers before using fistpl.  Remove
44648         checks for whether integers fit in mantissa bits.
44649         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44650         (__ieee754_powl): Test for y outside the range of signed 64-bit
44651         integers before using fistpll.  Reduce 64-bit values to 63-bit
44652         ones as needed.
44653         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44654         divide-by-zero is raised for zero to large negative powers.
44655         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44656         (__ieee754_powl): Test for y outside the range of signed 64-bit
44657         integers before using fistpll.  Reduce 64-bit values to 63-bit
44658         ones as needed.
44659         * math/libm-test.inc (pow_test): Add more tests.
44661 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44663         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44664         <stdio-common/_itoa.h>.
44665         * debug/segfault.c: Likewise.
44666         * elf/dl-cache.c: Likewise.
44667         * elf/dl-minimal.c: Likewise.
44668         * elf/dl-misc.c: Likewise.
44669         * elf/dl-sysdep.c: Likewise.
44670         * elf/dl-version.c: Likewise.
44671         * elf/rtld.c: Likewise.
44672         * hurd/hurdsock.c: Likewise.
44673         * hurd/lookup-retry.c: Likewise.
44674         * malloc/malloc.c: Likewise.
44675         * malloc/mtrace.c: Likewise.
44676         * nscd/nscd_getgr_r.c: Likewise.
44677         * nscd/nscd_getpw_r.c: Likewise.
44678         * nscd/nscd_getserv_r.c: Likewise.
44679         * posix/getopt_init.c: Likewise.
44680         * posix/wordexp.c: Likewise.
44681         * stdio-common/_itoa.c: Likewise.
44682         * stdio-common/printf_fphex.c: Likewise.
44683         * stdio-common/vfprintf.c: Likewise.
44684         * string/_strerror.c: Likewise.
44685         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44686         * sysdeps/i386/i686/hp-timing.h: Likewise.
44687         * sysdeps/mach/_strerror.c: Likewise.
44688         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44689         * sysdeps/mach/hurd/sethostid.c: Likewise.
44690         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44691         * sysdeps/mach/xpg-strerror.c: Likewise.
44692         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44693         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44694         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44695         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44696         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44697         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44698         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44699         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44700         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44701         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44702         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44703         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44704         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44705         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44706         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44707         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44708         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44709         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44710         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44711         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44712         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44714         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44716         * stdio-common/_itoa.h: Moved to ...
44717         * sysdeps/generic/_itoa.h: Here.
44719         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44721         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44722         instead of "_itoa.h" and "_itowa.h".
44723         * stdio-common/vfprintf.: Likewise.
44725 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44727         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44728         <bits/wordsize.h>.
44729         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44730         (__signbit): Likwise.
44731         (llrintf): Likwise.
44732         (llrint): Likwise.
44734 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44736         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44737         __WORDSIZE != 64.
44739 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44741         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44742         OVERFLOW_EXCEPTION_OK.
44743         * math/libm-test.inc ("Philosophy"): Update comment about
44744         exception testing.
44745         (OVERFLOW_EXCEPTION): Define.
44746         (OVERFLOW_EXCEPTION_OK): Likewise.
44747         (INVALID_EXCEPTION_OK): Renumber.
44748         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44749         (IGNORE_ZERO_INF_SIGN): Likewise.
44750         (test_exceptions): Handle FE_OVERFLOW.
44751         (exp10_test): Expect overflow exceptions.
44752         (exp2_test): Likewise.
44753         (expm1_test): Likewise.
44754         (nextafter_test): Likewise.
44755         (pow_test): Likewise.
44756         (scalbn_test): Likewise.
44757         (scalbln_test): Likewise.
44759 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44761         * sysdeps/x86_64/bits/atomic.h
44762         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44763         64bit integer.
44764         (atomic_exchange_acq): Likewise.
44765         (__arch_exchange_and_add_body): Likewise.
44766         (__arch_add_body): Likewise.
44767         (atomic_add_negative): Likewise.
44768         (atomic_add_zero): Likewise.
44770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44772         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44773         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44775 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44777         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44778         Check __x86_64__ instead of __WORDSIZE.
44780 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44782         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44784 2012-03-19  David S. Miller  <davem@davemloft.net>
44786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44788         * sysdeps/sparc/fpu/fenv_private.h: New file.
44789         * sysdeps/sparc/fpu/math_private.h: Use it.
44790         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44791         Remove.
44792         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44793         (libc_feholdexcept_setroundl): Remove.
44794         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44795         Remove.
44796         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44797         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44799 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44801         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44802         int64_t instead of long int.
44803         (INSERT_WORDS64): Likwise.
44805 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44807         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44808         _Unwind_GetCFA return to _Unwind_Ptr first.
44810 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44812         [BZ #13629]
44813         * math/s_clog.c: Include <float.h>.
44814         (__clog): Scale large or subnormal inputs.
44815         * math/s_clogf.c: Likewise.
44816         * math/s_clogl.c: Likewise.
44817         * math/s_clog10.c: Include <float.h>.
44818         (M_LOG10_2): Define.
44819         (__clog10): Scale large or subnormal inputs.
44820         * math/s_clog10f.c: Likewise.
44821         * math/s_clog10l.c: Likewise.
44822         * math/libm-test.inc (clog_test): Add more tests.
44823         (clog10_test): Likewise.
44824         * sysdeps/i386/fpu/libm-test-ulps: Update.
44825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44827         [BZ #11451]
44828         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44829         x and y.
44830         * math/libm-test.inc (atan2_test): Add another test.
44832         * Makerules (common-objdir-compile): Remove.
44833         * sysdeps/unix/Makefile (config-generated): Do not add
44834         $(unix-generated) to variable.
44835         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44836         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44837         Remove rule.
44838         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44839         Likewise.
44840         [generic bits/local_lim.h] (before-compile): Do not append to
44841         variable.
44842         [generic bits/local_lim.h] (common-generated): Likewise.
44843         [generic sys/param.h] (before-compile): Do not append to variable.
44844         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44845         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44846         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44847         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44848         include.
44849         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44850         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44851         [generic sys/param.h] ($(addprefix
44852         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44853         [generic sys/param.h] (common-generated): Do not append to
44854         variable.
44855         [generic sys/param.h] (sysdep_headers): Likewise.
44856         [generic bits/errno.h] (before-compile): Do not append to
44857         variable.
44858         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44859         rule.
44860         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44861         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44862         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44863         [generic bits/errno.h] (common-generated): Do not append to
44864         variable.
44865         [generic bits/ioctls.h] (before-compile): Do not append to
44866         variable.
44867         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44868         rule.
44869         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44870         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44871         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44872         rule.
44873         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44874         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44875         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44876         [generic bits/ioctls.h] (common-generated): Do not append to
44877         variable.
44878         [generic sys/syscall.h] (syscall.h): Remove variable.
44879         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44880         rule.
44881         [generic sys/syscall.h] (before-compile): Do not append to
44882         variable.
44883         [generic sys/syscall.h] (common-generated): Likewise.
44884         * sysdeps/unix/errnos-tmpl.c: Remove file.
44885         * sysdeps/unix/errnos.awk: Likewise.
44886         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44887         * sysdeps/unix/ioctls.awk: Likewise.
44888         * sysdeps/unix/mk-local_lim.c: Likewise.
44889         * sysdeps/unix/snarf-ioctls: Likewise.
44891 2012-03-19  Richard Henderson  <rth@twiddle.net>
44893         * sysdeps/i386/fpu/fenv_private.h: New file.
44894         * sysdeps/i386/fpu/math_private.h: Use it.
44895         (math_opt_barrier, math_force_eval): Remove.
44896         (libc_feholdexcept_setround_53bit): Remove.
44897         (libc_feupdateenv_53bit): Remove.
44898         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44899         (math_opt_barrier, math_force_eval): Remove.
44900         (libc_feholdexcept): Remove.
44901         (libc_feholdexcept_setround): Remove.
44902         (libc_fetestexcept, libc_fesetenv): Remove.
44903         (libc_feupdateenv_test): Remove.
44904         (libc_feupdateenv, libc_feholdsetround): Remove.
44905         (libc_feresetround): Remove.
44907         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44908         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44910         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44911         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44912         (libc_feupdateenv_testl): New.
44913         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44914         (libc_feupdateenv_testf): New.
44915         (libc_feupdateenv): Use libc_feupdateenv_test.
44916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44917         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44919         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44920         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44921         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44922         (libc_feresetround_noex): New.
44923         (libc_feresetround_noexf): New.
44924         (libc_feresetround_noexl): New.
44925         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44926         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44927         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44928         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44929         SET_RESTORE_ROUND.
44930         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44931         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44932         (__cos): Likewise.
44933         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44934         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44935         SET_RESTORE_ROUND_NOEX.
44936         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44937         SET_RESTORE_ROUND_NOEXF.
44938         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44939         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44940         (libc_feholdsetroundf): New.
44941         (libc_feresetround, libc_feresetroundf): New.
44943         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44944         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44945         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44947         * sysdeps/generic/math_private.h: Include <fenv.h>.
44948         (default_libc_feholdexcept): New.
44949         (default_libc_feholdexcept_setround): New.
44950         (default_libc_fesetenv, default_libc_feupdateenv): New.
44951         (libc_feholdexcept): Only define if undefined.
44952         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44953         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44954         (libc_feholdexcept_setroundl): Likewise.
44955         (libc_feholdexcept_setround_53bit): Likewise.
44956         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44957         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44958         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44959         (libc_feupdateenv_53bit): Likewise.
44960         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44961         (libc_feholdexcept): Convert from macro to inline function.
44962         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44963         (libc_fesetenv, libc_feupdateenv): Likewise.
44965         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44966         not previously defined.
44967         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44968         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44969         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44970         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44971         * sysdeps/ieee754/flt-32/math_private.h: New file.
44972         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44973         math_private.h below SET_FLOAT_WORD.
44974         (__isnan, __isinf_ns, __finite): Remove.
44975         (__isnanf, __isinf_nsf, __finitef): Remove.
44977 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44981 2012-03-17  David S. Miller  <davem@davemloft.net>
44983         [BZ #6471]
44984         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44985         for 2.16.
44987 2012-03-16  David S. Miller  <davem@davemloft.net>
44989         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44990         warnings.
44992         [BZ #6471]
44993         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44994         properly.
44995         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44996         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44997         sysdep_routines when subdir is sysvipc.
44998         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44999         __getshmlba helper.
45001         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45003 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45005         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45006         [__LP64__].
45008 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45010         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45011         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45012         (__lround): Renamed to ...
45013         (__llround): This.  Replace long int with long long int.
45014         Define lround functions as aliases of llround functions.
45015         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45017 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45019         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45020         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45021         adresses to uintptr_t.  Replace "long int" and "unsigned long
45022         int" with "greg_t" on va_arg.
45024 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45026         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45027         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45029         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45030         Move e_machine check before EI_CLASS check.  Handle x32
45031         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45032         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45033         SKIP_EM_IA_64 and include
45034         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45036         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45037         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45038         (add_system_dir): New macro.
45040         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45041         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45043 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45045         [BZ #2551]
45046         [BZ #2552]
45047         [BZ #2553]
45048         [BZ #2554]
45049         [BZ #2562]
45050         [BZ #2563]
45051         [BZ #2565]
45052         [BZ #2566]
45053         [BZ #2576]
45054         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45055         (y0): Likewise.
45056         * math/w_j0f.c (j0f): Likewise.
45057         (y0f): Likewise.
45058         * math/w_j0l.c (__j0l): Likewise.
45059         (__y0l): Likewise.
45060         * math/w_j1.c (j1): Likewise.
45061         (y1): Likewise.
45062         * math/w_j1f.c (j1f): Likewise.
45063         (y1f): Likewise.
45064         * math/w_j1l.c (__j1l): Likewise.
45065         (__y1l): Likewise.
45066         * math/w_jn.c (jn): Likewise.
45067         (yn): Likewise.
45068         * math/w_jnf.c (jnf): Likewise.
45069         (ynf): Likewise.
45070         * math/w_jnl.c (__jnl): Likewise.
45071         (__ynl): Likewise.
45072         * math/libm-test.inc (j0_test): Add more tests.
45073         (j1_test): Likewise.
45074         (jn_test): Likewise.  Add trailing semicolon to existing test.
45075         (y0_test): Likewise.
45076         (y1_test): Likewise.
45077         * sysdeps/i386/fpu/libm-test-ulps: Update.
45078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45080         [BZ #13851]
45081         [BZ #13854]
45082         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45083         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45084         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45085         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45086         (__tanl): Set errno for infinite argument.
45087         * sysdeps/i386/fpu/mptan.c: Remove.
45088         * sysdeps/i386/fpu/s_tan.S: Likewise.
45089         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45090         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45091         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45092         * math/libm-test.inc (tan_test): Add more tests and enable more
45093         tests for double and long double.
45094         * sysdeps/i386/fpu/libm-test-ulps: Update.
45095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45097 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45099         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45100         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45102 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45104         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45105         * configure.in: Use it for both main tree and add-ons.
45106         * configure: Regenerated.
45108 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45110         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45112 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45114         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45115         in comment.
45117         [BZ #13851]
45118         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45119         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45120         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45121         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45122         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45123         infinite argument.
45124         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45125         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45126         != 0 for prec == 2.
45127         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45128         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45129         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45130         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45131         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45132         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45133         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45134         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45135         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45136         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45137         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45138         * math/libm-test.inc (cos_test): Add more tests and enable more
45139         tests for long double.
45140         (sin_test): Likewise.
45141         (sincos_test): Likewise.
45142         * sysdeps/i386/fpu/libm-test-ulps: Update.
45143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45145 2012-03-16  David S. Miller  <davem@davemloft.net>
45147         * sysdeps/sparc/fpu/math_private.h: New file.
45149 2012-03-15  David S. Miller  <davem@davemloft.net>
45151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45152         file.
45153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45155         file.
45156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45162         sysdep routines.
45163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45165         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45166         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45168         * sysdeps/sparc/sparc-ifunc.h: New file.
45169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45170         sparc-ifunc.h
45171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45173         Likewise.
45174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45175         Likewise.
45176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45180         Likewise.
45181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45186         Likewise.
45187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45188         Likewise.
45189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45194         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45195         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45196         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45205         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45206         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45207         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45208         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45210         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45211         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45212         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45214 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45216         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45217         scaling.
45218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45220 2012-03-15  Andreas Jaeger  <aj@suse.de>
45222         [BZ #13852]
45223         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45224         ieee754/flt-32 implementation for sin, cos and sincos.
45225         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45226         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45227         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45228         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45229         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45230         ieee754/flt-32 implementation for tan.
45232         * math/libm-test.inc (cos_test): Enable some large input tests for
45233         float as well
45234         (sin_test): Likewise.
45235         (sincos_test): Likewise.
45236         (tan_test): Add tests for large input.
45238         * sysdeps/i386/fpu/libm-test-ulps: Update.
45240 2012-03-15  Andreas Jaeger  <aj@suse.de>
45242         [BZ #13658]
45243         * math/libm-test.inc (cos_test): Add more test cases.
45244         (sin_test): Likewise.
45245         (sincos_test): Likewise.
45247 2012-03-15  Andreas Jaeger  <aj@suse.de>
45249         [BZ #13837]
45250         * math/libm-test.inc (cos_test): Add a test case for large input
45251         value.
45252         (sin_test): Likewise.
45253         (sincos_test): Likewise.
45255 2012-03-15  Andreas Jaeger  <aj@suse.de>
45256             Joseph Myers  <joseph@codesourcery.com>
45258         [BZ #13658]
45259         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45260         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45261         * sysdeps/i386/fpu/branred.c: Likewise.
45262         * sysdeps/i386/fpu/dosincos.c: Likewise.
45263         * sysdeps/i386/fpu/mpa.c: Likewise.
45264         * sysdeps/i386/fpu/s_cos.S: Likewise.
45265         * sysdeps/i386/fpu/s_sin.S: Likewise.
45266         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45267         * sysdeps/i386/fpu/sincos32.c: Likewise.
45269         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45270         Define.
45271         (libc_feupdateenv_53bit): Define.
45272         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45273         Define.
45274         (libc_feupdateenv_53bit): Define.
45276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45277         53 bit (without extend i386 double precision).
45279         * math/libm-test.inc (sincos_test): Add tests for large input.
45280         (sin): Likewise.
45281         (cos): Likewise.
45283         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45285 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45289 2012-03-15  David S. Miller  <davem@davemloft.net>
45291         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45292         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45293         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45294         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45307         file.
45308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45310         file.
45311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45313         file.
45314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45316         file.
45317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45319         fmin/fmax sysdep routines.
45320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45322 2012-03-14  David S. Miller  <davem@davemloft.net>
45324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45326         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45328         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45329         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45330         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45331         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45334         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45344         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45345         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45346         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45347         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45348         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45349         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45350         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45351         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45352         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45353         routines.
45354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45355         file.
45356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45358         file.
45359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45361         file.
45362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45364         file.
45365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45367         file.
45368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45370         file.
45371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45372         file.
45373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45374         file.
45375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45376         file.
45377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45378         New file.
45379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45380         file.
45381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45382         file.
45383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45385         file.
45386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45388         file.
45389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45391         file.
45392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45394         VIS3 routines.
45396         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45397         New file.
45399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45401         * sysdeps/sparc/configure.in: New file.
45402         * sysdeps/sparc/configure: Generate.
45403         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45404         * configure: Regenerate.
45405         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45406         * config.make.in (have-as-vis3): New.
45407         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45408         available use -Av9d instead of -Av9a.
45409         * sysdeps/sparc/sparc64/Makefile: Likewise.
45410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45412         New file.
45413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45414         file.
45415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45416         New file.
45417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45418         file.
45419         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45420         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45421         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45422         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45423         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45425         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45426         fzeros/fnegs to load 0x80000000 into a float register instead of
45427         using the stack.
45428         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45430 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45433         bits/syscall.h.
45434         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45435         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45436         ($(inst_includedir)/bits/syscall.h): Remove rule.
45437         ($(objpfx)bits/syscall.d): Include instead of
45438         $(objpfx)syscall-list.d.
45439         (generated): Change syscall-list.h and syscall-list.d to
45440         bits/syscall.h and bits/syscall.d.
45442 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45444         [BZ #13846]
45445         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45447 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45449         [BZ #13841]
45450         * math/s_csqrt.c: Include <float.h>.
45451         (__csqrt): Scale large or subnormal inputs.
45452         * math/s_csqrtf.c: Likewise.
45453         * math/s_csqrtl.c: Likewise.
45454         * math/libm-test.inc (csqrt_test): Add more tests.
45455         * sysdeps/i386/fpu/libm-test-ulps: Update.
45456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45458         [BZ #13840]
45459         * math/libm-test.inc (hypot_test): Add more tests.
45461 2012-03-13  David S. Miller  <davem@davemloft.net>
45463         [BZ #13840]
45464         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45465         double-precision for the calculation instead of scaling.
45467 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45469         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45470         manipulate bits before adding and subtracting TWO52[sx].
45471         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45472         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45473         Likewise.
45474         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45476 2012-03-13  David S. Miller  <davem@davemloft.net>
45478         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45479         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45480         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45481         rtld-global-offsets.h
45482         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45484         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45485         large parameters.
45487         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45489         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45490         'err' in the ifdef scope in which it is actually used.
45492         * nss/nss_db/db-init.c: Include string.h
45494 2012-03-12  David S. Miller  <davem@davemloft.net>
45496         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45497         masking out of the most significant byte of random value used.
45498         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45499         Fix coding style in previous change.
45501         * sysdeps/unix/sysv/linux/kernel-features.h
45502         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45503         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45504         expression.
45505         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45506         later.
45508 2012-03-11  David S. Miller  <davem@davemloft.net>
45510         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45511         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45512         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45513         for 'resultvar' otherwise things get truncated on 64-bit.
45515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45516         Fix masking out of the most significant byte of random value used.
45518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45520 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45524 2012-03-09  David S. Miller  <davem@davemloft.net>
45526         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45527         variables with appropriate CPP guards.
45528         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45529         from the frame pointer, not the stack pointer.  Correct layout
45530         comments.  Fix test on resulting framesize and the management of
45531         the outregs buffer for pltexit.  Preserve floating point return
45532         values across _dl_call_pltexit call.
45533         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45534         framesize and the management of the outregs buffer for pltexit.
45535         Preserve floating point return values across _dl_call_pltexit
45536         call.
45537         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45538         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45539         (la_sparc64_gnu_pltexit): New functions.
45540         (print_exit): Fix format string for return register value.
45542 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45544         * sunrpc/Makefile (others): Add rpcgen.
45545         ($(objpfx)rpcgen): Remove special build rule and dependency on
45546         libc.
45547         * sunrpc/rpcgen.c: New file.
45549 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45551         [BZ #13673]
45552         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45553         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45554         * sysdeps/i386/crti.S: Likewise.
45555         * sysdeps/i386/crtn.S: Likewise.
45556         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45557         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45558         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45559         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45560         * sysdeps/sh/crti.S: Likewise.
45561         * sysdeps/sh/crtn.S: Likewise.
45562         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45564         [BZ #13673]
45565         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45566         with URL.
45567         * locale/programs/locfile-kw.gperf: Likewise.
45568         * locale/programs/charmap-kw.h: Regenerated.
45569         * locale/programs/locfile-kw.h: Likewise.
45571         [BZ #13673]
45572         * intl/plural.y: Replace FSF snail mail address with URL.
45573         * intl/plural.c: Regenerated.
45575 2012-03-09  Richard Henderson  <rth@twiddle.net>
45577         * include/math_private.h: Remove file.
45578         * math/math_private.h: Move file ...
45579         * sysdeps/generic/math_private.h: ... here.
45581         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45582         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45583         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45585         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45586         and <math_private.h>.
45587         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45588         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45589         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45590         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45591         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45592         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45593         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45594         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45595         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45596         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45598         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45599         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45600         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45601         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45602         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45603         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45604         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45605         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45606         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45608         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45609         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45611         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45612         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45613         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45614         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45615         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45617         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45618         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45619         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45620         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45623         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45625         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45626         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45627         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45628         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45629         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45630         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45631         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45632         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45633         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45634         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45635         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45636         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45637         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45638         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45639         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45640         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45641         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45642         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45643         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45644         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45645         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45646         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45647         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45648         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45649         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45650         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45652         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45653         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45654         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45655         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45656         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45657         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45658         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45659         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45660         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45661         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45662         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45663         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45664         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45665         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45666         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45667         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45668         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45669         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45670         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45671         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45672         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45673         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45674         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45675         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45676         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45677         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45678         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45679         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45680         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45681         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45682         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45683         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45684         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45685         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45687         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45688         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45689         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45690         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45691         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45692         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45693         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45694         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45695         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45696         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45697         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45698         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45699         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45700         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45701         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45702         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45703         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45704         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45705         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45706         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45707         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45708         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45709         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45710         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45711         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45712         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45713         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45714         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45715         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45716         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45717         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45718         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45719         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45720         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45721         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45722         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45723         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45724         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45725         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45726         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45727         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45728         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45729         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45730         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45731         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45732         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45733         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45734         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45735         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45736         * sysdeps/ieee754/k_standard.c: Likewise.
45737         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45738         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45739         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45740         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45741         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45742         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45743         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45744         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45745         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45746         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45747         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45748         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45749         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45750         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45751         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45752         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45753         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45754         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45755         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45756         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45757         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45758         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45759         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45760         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45761         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45762         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45763         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45764         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45765         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45766         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45767         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45768         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45769         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45770         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45771         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45772         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45773         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45774         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45775         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45776         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45777         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45778         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45779         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45780         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45781         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45782         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45783         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45784         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45785         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45786         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45787         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45788         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45789         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45790         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45791         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45792         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45793         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45794         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45795         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45796         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45797         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45798         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45799         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45800         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45803         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45805         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45806         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45807         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45809         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45810         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45811         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45813         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45814         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45815         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45816         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45817         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45818         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45819         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45820         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45822         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45823         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45824         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45825         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45827         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45828         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45829         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45830         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45832         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45833         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45834         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45835         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45836         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45838         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45839         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45841         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45842         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45843         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45844         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45845         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45846         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45847         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45848         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45849         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45850         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45851         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45852         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45853         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45854         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45855         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45856         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45857         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45858         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45859         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45860         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45861         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45862         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45863         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45864         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45865         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45866         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45867         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45868         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45869         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45870         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45871         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45872         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45873         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45874         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45875         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45876         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45877         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45878         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45879         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45880         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45881         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45882         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45883         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45884         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45885         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45886         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45887         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45888         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45889         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45890         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45891         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45892         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45893         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45894         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45895         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45896         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45897         * sysdeps/ieee754/s_lib_version.c: Likewise.
45898         * sysdeps/ieee754/s_matherr.c: Likewise.
45899         * sysdeps/ieee754/s_signgam.c: Likewise.
45900         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45901         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45902         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45903         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45904         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45905         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45906         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45907         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45908         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45909         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45910         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45911         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45912         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45913         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45914         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45915         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45916         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45917         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45918         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45919         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45920         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45922 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45924         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45925         * sunrpc/rpc_main.c: Likewise.
45926         * sunrpc/rpc_svcout.c: Likewise.
45928 2012-03-09  David S. Miller  <davem@davemloft.net>
45930         * include/math_private.h: New file.
45932 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45934         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45935         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45936         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45937         from <bits/socket_type.h>.
45938         (enum __socket_type): Don't define here.
45939         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45941         bits/socket_type.h.
45943         [BZ #13566]
45944         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45945         checking __USE_GNU.
45947         * Makerules ($(inst_includedir)/%.h): New rule.
45948         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45949         (install-others): Remove variable setting.
45950         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45952 2012-03-08  Richard Henderson  <rth@twiddle.net>
45954         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45955         from macro to inline function; merge with the
45956         !__LIBC_INTERNAL_MATH_INLINES version.
45957         (__ieee754_sqrtf): Likewise.
45959         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45960         to inline function.
45961         (__rintf, __floor, __floorf): Likewise.
45963         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45964         macro to inline function.
45965         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45967         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45968         not <math/math_private.h>.
45970 2012-03-08  David S. Miller  <davem@davemloft.net>
45972         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45973         copyright year.
45974         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45976 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45978         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45979         normalization.
45980         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45981         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45983 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45985         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45986         be defined individually, they must be defined as a block.  Define
45987         S for printing a string instead of hidint the different by using a
45988         macro for adding the 'l'.
45989         * stdio-common/tst-fphex-wide.c: Adjust.
45991 2012-03-07  Marek Polacek  <polacek@redhat.com>
45993         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45995 2012-03-08  Marek Polacek  <polacek@redhat.com>
45997         [BZ #13806]
45998         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45999         * stdio-common/tst-fphex.c: Define a few macros to make the
46000         test reusable.  Use them.
46001         * stdio-common/tst-fphex-wide.c: New file.
46003 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46005         [BZ #6911]
46006         * manual/macros.texi (gnusystems): New macro.
46007         (nongnusystems): Likewise.
46008         (gnulinuxhurdsystems): Likewise.
46009         (gnuhurdsystems): Likewise..
46010         (gnulinuxsystems): Likewise.
46011         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46012         variants of the GNU system, not "GNU system".
46013         * manual/conf.texi: Likewise.
46014         * manual/errno.texi: Likewise.  Update example of errno macro
46015         expansion.
46016         * manual/filesys.texi: Likewise.
46017         (getumask): Document as specific to GNU/Hurd.
46018         * manual/install.texi: Likewise.  Reword some references to
46019         GNU/Linux.
46020         * manual/intro.texi: Likewise.
46021         * manual/io.texi: Likewise.
46022         (File Name Portability): Detail which constraints are inapplicable
46023         to all GNU systems and which are only inapplicable to GNU/Hurd.
46024         * manual/job.texi: Likewise.
46025         * manual/llio.texi: Likewise.
46026         (O_NOCTTY): Document as present on GNU/Linux.
46027         * manual/maint.texi: Likewise.
46028         * manual/memory.texi: Likewise.
46029         * manual/pattern.texi: Likewise.
46030         * manual/pipe.texi: Likewise.
46031         * manual/process.texi: Likewise.
46032         * manual/resource.texi: Likewise.
46033         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46034         child on GNU/Hurd.
46035         * manual/setjmp.texi: Likewise.
46036         * manual/signal.texi: Likewise.
46037         * manual/startup.texi: Likewise.
46038         * manual/stdio.texi: Likewise.
46039         * manual/terminal.texi: Likewise.
46040         (ONLCR): Document as POSIX.
46041         (OXTABS): Document availability on GNU/Linux as XTABS.
46042         (ONOEOT): Document availability separately from other bits.
46043         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46044         * manual/time.texi: Likewise.
46045         * manual/users.texi: Likewise.
46046         * INSTALL: Regenerated.
46047         * sysdeps/gnu/errlist.c: Regenerated.
46049         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46050         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46051         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46052         puts.
46053         * configure: Regenerated.
46055 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46057         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46058         default includes instead of AC_HEADER_CHECK.
46059         * sysdeps/i386/configure: Regenerated.
46061         [BZ #10716]
46062         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46063         * math/s_cacoshf.c (__cacoshf): Likewise.
46064         * math/s_cacoshl.c (__cacoshl): Likewise.
46065         * math/s_casinh.c (__casinh): Set signs of result from argument.
46066         * math/s_casinhf.c (__casinhf): Likewise.
46067         * math/s_casinhl.c (__casinhl): Likewise.
46068         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46069         (casinh_test): Add more tests.
46070         * sysdeps/i386/fpu/libm-test-ulps: Update.
46071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46073 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46075         * po/zh_TW.po: Update from translation team.
46077         * login/Makefile (distribute): Remove variable.
46078         * catgets/Makefile: Likewise.
46079         * mach/Makefile: Likewise.
46080         * malloc/Makefile: Likewise.
46081         * misc/Makefile: Likewise.
46082         * iconv/Makefile: Likewise.
46083         * nscd/Makefile: Likewise.
46084         * hurd/Makefile: Likewise.
46085         * manual/Makefile: Likewise.
46086         * locale/Makefile: Likewise.
46087         * intl/Makefile: Likewise.
46088         * conform/Makefile: Likewise.
46089         * nss/Makefile: Likewise.
46090         * time/Makefile: Likewise.
46091         * soft-fp/Makefile: Likewise.
46092         * dirent/Makefile: Likewise.
46093         * gmon/Makefile: Likewise.
46094         * po/Makefile: Likewise.
46095         * rt/Makefile: Likewise.
46096         * socket/Makefile: Likewise.
46097         * math/Makefile: Likewise.
46098         * signal/Makefile: Likewise.
46099         * debug/Makefile: Likewise.
46100         * elf/Makefile: Likewise.
46101         * timezone/Makefile: Likewise.
46102         * stdlib/Makefile: Likewise.
46103         * iconvdata/Makefile: Likewise.
46104         * sunrpc/Makefile: Likewise.
46105         * io/Makefile: Likewise.
46106         * argp/Makefile: Likewise.
46107         * inet/Makefile: Likewise.
46108         * hesiod/Makefile: Likewise.
46109         * grp/Makefile: Likewise.
46110         * csu/Makefile: Likewise.
46111         * wctype/Makefile: Likewise.
46112         * crypt/Makefile: Likewise.
46113         * libio/Makefile: Likewise.
46114         * string/Makefile: Likewise.
46115         * nis/Makefile: Likewise.
46116         * resolv/Makefile: Likewise.
46117         * stdio-common/Makefile: Likewise.
46118         * wcsmbs/Makefile: Likewise.
46119         * dlfcn/Makefile: Likewise.
46120         * posix/Makefile: Likewise.
46122         [BZ #6959]
46123         * timezone/Makefile: Don't install timezone files, just the programs
46124         and scripts.
46126 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46128         * nss/databases.def: Add missing gshadow entry.
46130         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46132 2012-03-06  Marek Polacek  <polacek@redhat.com>
46134         [BZ #13726]
46135         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46136         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46137         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46138         * stdio-common/tst-long-dbl-fphex.c: New file.
46140 2012-03-06  David S. Miller  <davem@davemloft.net>
46142         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46143         (set_obp_int): New function.
46144         (get_obp_int): New function.
46145         (__get_clockfreq_via_dev_openprom): Likewise.
46146         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46147         Avoid unused variable warnings on 'val' and use builtin_expect.
46148         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46149         __builtin_expect.
46150         (INLINE_CLONE_SYSCALL): Likewise.
46152 2012-03-05  David S. Miller  <davem@davemloft.net>
46154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46156 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46160         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46161         only for |x| >= 40.
46162         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46164 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46166         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46167         Replace gettimeofday with __vdso_gettimeofday.
46169         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46170         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46171         __vdso_clock_gettime and __vdso_getcpu.
46173         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46174         time with __vdso_time.
46176 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46178         * manual/lang.texi (size_t): Note types to which size_t may be
46179         equivalent with the GNU C Library, but do not describe when
46180         differences between them are significant.
46182 2012-03-05  Andreas Jaeger  <aj@suse.de>
46184         * sysdeps/i386/fpu/libm-test-ulps: Update.
46186 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46188         [BZ #3976]
46189         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46190         (__ieee754_pow): Save and restore rounding mode and use
46191         round-to-nearest for main computations.
46192         * math/libm-test.inc (pow_test_tonearest): New function.
46193         (pow_test_towardzero): Likewise.
46194         (pow_test_downward): Likewise.
46195         (pow_test_upward): Likewise.
46196         (main): Call the new functions.
46197         * sysdeps/i386/fpu/libm-test-ulps: Update.
46198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46200         [BZ #3976]
46201         * math/libm-test.inc (cosh_test_tonearest): New function.
46202         (cosh_test_towardzero): Likewise.
46203         (cosh_test_downward): Likewise.
46204         (cosh_test_upward): Likewise.
46205         (sinh_test_tonearest): Likewise.
46206         (sinh_test_towardzero): Likewise.
46207         (sinh_test_downward): Likewise.
46208         (sinh_test_upward): Likewise.
46209         (main): Call the new functions.
46210         * sysdeps/i386/fpu/libm-test-ulps: Update.
46211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46213 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46215         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46216         default stack guard is set in last bytes.
46217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46219 2012-03-05  Kees Cook  <keescook@chromium.org>
46221         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46223         [BZ #13656]
46224         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46225         possibly allocate from heap instead of stack.
46226         * stdio-common/bug-vfprintf-nargs.c: New file.
46227         * stdio-common/Makefile (tests): Add nargs overflow test.
46229 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46233 2012-03-03  Marek Polacek  <polacek@redhat.com>
46235         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46236         * math/math_private.h: Likewise.
46237         * stdlib/tst-strtod.c: Likewise.
46238         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46239         * sysdeps/x86_64/bits/atomic.h: Likewise.
46241 2012-03-02  David S. Miller  <davem@davemloft.net>
46243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46247         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46248         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46249         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46250         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46252 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46254         [BZ #13792]
46255         * manual/examples/README: New file, says the example source files
46256         can be used under GPL>=2.
46257         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46258         line containing just "*/".
46259         * manual/examples/add.c: Add copyright header (GPL>=2).
46260         * manual/examples/argp-ex1.c: Likewise.
46261         * manual/examples/argp-ex2.c: Likewise.
46262         * manual/examples/argp-ex3.c: Likewise.
46263         * manual/examples/argp-ex4.c: Likewise.
46264         * manual/examples/atexit.c: Likewise.
46265         * manual/examples/db.c: Likewise.
46266         * manual/examples/dir.c: Likewise.
46267         * manual/examples/dir2.c: Likewise.
46268         * manual/examples/execinfo.c: Likewise.
46269         * manual/examples/filecli.c: Likewise.
46270         * manual/examples/filesrv.c: Likewise.
46271         * manual/examples/fmtmsgexpl.c: Likewise.
46272         * manual/examples/genpass.c: Likewise.
46273         * manual/examples/inetcli.c: Likewise.
46274         * manual/examples/inetsrv.c: Likewise.
46275         * manual/examples/isockad.c: Likewise.
46276         * manual/examples/longopt.c: Likewise.
46277         * manual/examples/memopen.c: Likewise.
46278         * manual/examples/memstrm.c: Likewise.
46279         * manual/examples/mkfsock.c: Likewise.
46280         * manual/examples/mkisock.c: Likewise.
46281         * manual/examples/mygetpass.c: Likewise.
46282         * manual/examples/pipe.c: Likewise.
46283         * manual/examples/popen.c: Likewise.
46284         * manual/examples/rprintf.c: Likewise.
46285         * manual/examples/search.c: Likewise.
46286         * manual/examples/select.c: Likewise.
46287         * manual/examples/setjmp.c: Likewise.
46288         * manual/examples/sigh1.c: Likewise.
46289         * manual/examples/sigusr.c: Likewise.
46290         * manual/examples/stpcpy.c: Likewise.
46291         * manual/examples/strdupa.c: Likewise.
46292         * manual/examples/strftim.c: Likewise.
46293         * manual/examples/strncat.c: Likewise.
46294         * manual/examples/subopt.c: Likewise.
46295         * manual/examples/swapcontext.c: Likewise.
46296         * manual/examples/termios.c: Likewise.
46297         * manual/examples/testopt.c: Likewise.
46298         * manual/examples/testpass.c: Likewise.
46299         * manual/examples/timeval_subtract.c: Likewise.
46301         [BZ #13792]
46302         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46303         function to ...
46304         * manual/timeval_subtract.c.texi: ... here, new file.
46306 2012-03-02  David S. Miller  <davem@davemloft.net>
46308         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46310 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46312         [BZ #3976]
46313         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46314         (__sin): Save and restore rounding mode and use round-to-nearest
46315         for all computations.
46316         (__cos): Save and restore rounding mode and use round-to-nearest
46317         for all computations.
46318         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46319         <fenv.h>.
46320         (tan): Save and restore rounding mode and use round-to-nearest for
46321         all computations.
46322         * math/libm-test.inc (cos_test_tonearest): New function.
46323         (cos_test_towardzero): Likewise.
46324         (cos_test_downward): Likewise.
46325         (cos_test_upward): Likewise.
46326         (sin_test_tonearest): Likewise.
46327         (sin_test_towardzero): Likewise.
46328         (sin_test_downward): Likewise.
46329         (sin_test_upward): Likewise.
46330         (tan_test_tonearest): Likewise.
46331         (tan_test_towardzero): Likewise.
46332         (tan_test_downward): Likewise.
46333         (tan_test_upward): Likewise.
46334         (main): Call the new functions.
46335         * sysdeps/i386/fpu/libm-test-ulps: Update.
46336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46338         [BZ #10135]
46339         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46340         small n, then large n, before computing and testing k+n.
46341         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46342         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46343         Likewise.
46344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46345         Likewise.
46346         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46347         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46348         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46349         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46350         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46351         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46352         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46353         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46354         * math/libm-test.inc (scalbn_test): Add more tests.
46355         (scalbln_test): Likewise.
46357         * manual/filesys.texi (mode_t): Describe constraints on size and
46358         signedness, not exact equivalence to a particular type.
46359         (ino_t): Likewise.
46360         (ino64_t): Likewise.
46361         (dev_t): Likewise.
46362         (nlink_t): Likewise.
46363         (blkcnt_t): Likewise.
46364         (blkcnt64_t): Likewise.
46365         * manual/llio.texi (off_t): Likewise.
46367         [BZ #3976]
46368         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46369         (__ieee754_exp): Save and restore rounding mode and use
46370         round-to-nearest for all computations.
46371         * math/libm-test.inc (exp_test_tonearest): New function.
46372         (exp_test_towardzero): Likewise.
46373         (exp_test_downward): Likewise.
46374         (exp_test_upward): Likewise.
46375         (main): Call the new functions.
46376         * sysdeps/i386/fpu/libm-test-ulps: Update.
46377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46379 2012-03-01  Chris Demetriou  <cgd@google.com>
46381         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46382         have predictable order.
46384 2012-03-01  David S. Miller  <davem@davemloft.net>
46386         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46388         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46389         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46390         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46391         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46393         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46394         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46395         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46397         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46398         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46399         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46400         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46401         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46405         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46406         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46407         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46409         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46410         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46411         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46412         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46413         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46414         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46415         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46416         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46417         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46418         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46419         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46420         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46421         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46422         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46423         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46424         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46425         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46426         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46427         * sysdeps/sparc/elf/configure: Regenerated.
46429 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46431         * configure.in (AS, LD): Require binutils 2.20 or later.
46432         * configure: Regenerated.
46433         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46434         as required minimum version.
46435         * INSTALL: Regenerated.
46437         [BZ #2541]
46438         [BZ #4108]
46439         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46440         before squaring exponent.
46441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46442         bottom long double and 27 bits of top long double before squaring
46443         exponent.
46444         * math/libm-test.inc (erfc_test): Add more tests.
46445         * sysdeps/i386/fpu/libm-test-ulps: Update.
46446         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46449 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46451         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46452         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46453         containing bit-fields.
46454         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46455         * soft-fp/single.h (_FP_UNION_S): Likewise.
46456         * soft-fp/double.h (_FP_UNION_D): Likewise.
46458 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46460         [BZ #13786]
46461         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46462         not include ../strcmp.S.
46463         [USE_AS_STRNCASECMP_L]: Likewise.
46464         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46465         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46466         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46467         (__strncasecmp_l_ia32): Define as alias to
46468         __strncasecmp_l_nonascii.
46470         [BZ #5794]
46471         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46472         * sysdeps/i386/fpu/libm-test-ulps: Update.
46473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46475         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46478 2012-02-29  Jeff Law  <law@redhat.com>
46480         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46481         out of bounds read.
46483 2012-02-29  Marek Polacek  <polacek@redhat.com>
46485         [BZ #13706]
46486         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46487         * elf/Makefile: Add rules to run tst-unused-dep.out.
46489 2012-02-28  David S. Miller  <davem@davemloft.net>
46491         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46492         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46493         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46494         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46495         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46496         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46498 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46500         * math/libm-test.inc (llround_test): Move one test from
46501         lround_test.  Use TEST_f_L in moved test.
46502         (lround_test): Move misplaced test to llround_test.  Add testcase
46503         from bug 2561.
46505 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46507         * sysdeps/x86_64/fpu/e_expf.S: New file.
46508         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46510 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46512         [BZ #13637]
46513         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46514         of remain_len that may cause incomplete multi-byte character and
46515         false match.
46516         * posix/bug-regex33.c: New file.
46517         * posix/Makefile (tests): Add bug-regex33.
46519 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46521         * manual/macros.texi: New file.
46522         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46523         * manual/libc.texinfo: Include macros.texi.
46524         * manual/creatute.texi: Likewise.
46525         * manual/install.texi: Likewise.
46526         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46527         @glibcadj{} in references to the GNU C Library.
46528         * manual/charset.texi: Likewise.
46529         * manual/conf.texi: Likewise.
46530         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46531         when not using those macros.
46532         * manual/creature.texi: Likewise.
46533         * manual/crypt.texi: Likewise.
46534         * manual/errno.texi: Likewise.
46535         * manual/filesys.texi: Likewise.
46536         * manual/header.texi: Likewise.
46537         * manual/install.texi: Likewise.
46538         * manual/intro.texi: Likewise.
46539         * manual/io.texi: Likewise.
46540         * manual/job.texi: Likewise.
46541         * manual/lang.texi: Likewise.
46542         * manual/libc.texiinfo: Likewise.
46543         * manual/llio.texi: Likewise.
46544         * manual/locale.texi: Likewise.
46545         * manual/maint.texi: Likewise.
46546         * manual/math.texi: Likewise.
46547         * manual/memory.texi: Likewise.
46548         * manual/message.texi: Likewise.
46549         * manual/nss.texi: Likewise.
46550         * manual/pattern.texi: Likewise.
46551         * manual/process.texi: Likewise.
46552         * manual/resource.texi: Likewise.
46553         * manual/search.texi: Likewise.
46554         * manual/setjmp.texi: Likewise.
46555         * manual/signal.texi: Likewise.
46556         * manual/socket.texi: Likewise.
46557         * manual/startup.texi: Likewise.
46558         * manual/stdio.texi: Likewise.
46559         * manual/string.texi: Likewise.
46560         * manual/sysinfo.texi: Likewise.
46561         * manual/syslog.texi: Likewise.
46562         * manual/terminal.texi: Likewise.
46563         * manual/time.texi: Likewise.
46564         * manual/users.texi: Likewise.
46565         * INSTALL: Regenerated.
46566         * NOTES: Regenerated.
46567         * sysdeps/gnu/errlist.c: Regenerated.
46569 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46571         * include/dirent.h: Include <dirstream.h> before
46572         <dirent/dirent.h>.
46574 2012-02-28  David S. Miller  <davem@davemloft.net>
46576         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46577         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46578         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46579         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46581 2012-02-27  David S. Miller  <davem@davemloft.net>
46583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46585         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46586         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46589         frame pointer instead of stack pointer relative arg slot.
46590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46591         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46592         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46594 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46596         [BZ #3992]
46597         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46599 2012-02-27  David S. Miller  <davem@davemloft.net>
46601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46605         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46606         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46607         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46608         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46610 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46612         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46613         later.  Allow versions 5-9.
46614         * configure: Regenerated.
46615         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46616         required minimum version and 4.6 as recommended version.  Do not
46617         mention bugs in GCC 2.7 and 2.8.
46618         * INSTALL: Regenerated.
46620 2012-02-27  David S. Miller  <davem@davemloft.net>
46622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46626         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46627         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46628         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46629         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46631         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46632         manipulate bits before adding and subtracting TWO112[sx].
46633         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46635 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46637         [BZ #13775]
46638         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46639         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46640         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46641         being in POSIX, because they are in 1003.1-2008.
46643         * rt/tst-aio.c: Include <fcntl.h>.
46644         * rt/tst-aio7.c: Likewise.
46645         * rt/tst-aio64.c: Likewise.
46647         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46649 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46651         * manual/install.texi (--with-headers): Describe headers as
46652         interface headers, not private headers.
46653         (Specific advice for GNU/Linux systems): Describe use of headers
46654         from "make headers_install", not private headers from older
46655         kernels.
46656         * INSTALL: Regenerated.
46657         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46658         Change to 2.6.19.
46659         * sysdeps/unix/sysv/linux/configure: Regenerated.
46661         * manual/llio.texi (fclean): Remove documentation.
46663         * manual/Makefile (libc-texi-generated): New variable.  Include
46664         version.texi.
46665         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46666         $(libc-texi-generated), not duplicated list of files.
46667         (version.texi, stamp-version): New rules.
46668         (realclean): Remove $(libc-texi-generated), not individual files
46669         from that list.  Do not remove dir-add.texinfo.
46670         * manual/libc.texinfo: Comment out uses of edition numbers and
46671         references to printed manual.  Remove last-updated dates.
46672         (EDITION): Comment out.
46673         (ISBN): Likewise.
46674         (VERSION, UPDATED): Remove.
46675         (version.texi): Include.
46677 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46679         * sysdeps/posix/spawni.c: Include <signal.h>.
46680         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46681         * sysdeps/pthread/aio_fsync.c: Likewise.
46683 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46685         * conform/Makefile (tests): Run only when not cross-compiling and
46686         when fast-check is not defined.
46688         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46689         * conform/data/limits.h-data: Fixes for POSIX2008.
46690         * conform/run-conformtest.sh: Run all tests.
46691         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46692         headers.
46693         * include/bits/dlfcn.h: Likewise.
46694         * include/langinfo.h: Likewise.
46695         * include/monetary.h: Likewise.
46696         * include/sys/poll.h: Likewise.
46698         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46699         for __USE_GNU.
46700         * posix/spawn.h: Define __need_sigset_t.
46701         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46702         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46703         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46704         to get sigevent_t only.
46705         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46706         only for __USE_GNU.
46707         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46708         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46709         process_vm_writev only for __USE_GNU.
46710         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46712         * conform/Makefile: For now ignore errors from run-conformtest.
46713         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46714         POSIX to avoid namespace pollution.  Don't prepend headers.
46715         * conform/data/aio.h-data: Fixes for POSIX testing.
46716         * conform/data/fcntl.h-data: Likewise.
46717         * conform/data/glob.h-data: Likewise.
46718         * conform/data/grp.h-data: Likewise.
46719         * conform/data/pthread.h-data: Likewise.
46720         * conform/data/pwd.h-data: Likewise.
46721         * conform/data/signal.h-data: Likewise.
46722         * conform/data/spawn.h-data: Likewise.
46723         * conform/data/stdio.h-data: Likewise.
46724         * conform/data/stdlib.h-data: Likewise.
46725         * conform/data/stropts.h-data: Likewise.
46726         * conform/data/sys/mman.h-data: Likewise.
46727         * conform/data/sys/stat.h-data: Likewise.
46728         * conform/data/sys/types.h-data: Likewise.
46729         * conform/data/sys/wait.h-data: Likewise.
46730         * conform/data/time.h-data: Likewise.
46731         * conform/data/unistd.h-data: Likewise.
46732         * conform/data/utime.h-data: Likewise.
46734         * io/sys/stat.h: fchmod was always in POSIX.
46735         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46736         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46737         * rt/aio.h: Define __need_timespec before including <time.h>.
46738         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46739         struct.  Add forward declaration of pthread_attr_t and use it in
46740         sigevent.
46741         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46743         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46744         always remove CLK_TCK definition.
46746 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46748         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46750 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46752         * conform/run-conformtest.sh: New file.
46753         * conform/Makefile: Run run-conformtest for tests.
46754         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46755         support.
46757         * conform/data/uchar.h-data: New file.
46758         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46759         * conform/data/arpa/inet.h-data: Likewise.
46760         * conform/data/assert.h-data: Likewise.
46761         * conform/data/complex.h-data: Likewise.
46762         * conform/data/cpio.h-data: Likewise.
46763         * conform/data/ctype.h-data: Likewise.
46764         * conform/data/dirent.h-data: Likewise.
46765         * conform/data/dlfcn.h-data: Likewise.
46766         * conform/data/errno.h-data: Likewise.
46767         * conform/data/fcntl.h-data: Likewise.
46768         * conform/data/float.h-data: Likewise.
46769         * conform/data/fmtmsg.h-data: Likewise.
46770         * conform/data/fnmatch.h-data: Likewise.
46771         * conform/data/ftw.h-data: Likewise.
46772         * conform/data/glob.h-data: Likewise.
46773         * conform/data/grp.h-data: Likewise.
46774         * conform/data/iconv.h-data: Likewise.
46775         * conform/data/inttypes.h-data: Likewise.
46776         * conform/data/langinfo.h-data: Likewise.
46777         * conform/data/libgen.h-data: Likewise.
46778         * conform/data/limits.h-data: Likewise.
46779         * conform/data/locale.h-data: Likewise.
46780         * conform/data/math.h-data: Likewise.
46781         * conform/data/monetary.h-data: Likewise.
46782         * conform/data/mqueue.h-data: Likewise.
46783         * conform/data/ndbm.h-data: Likewise.
46784         * conform/data/net/if.h-data: Likewise.
46785         * conform/data/netdb.h-data: Likewise.
46786         * conform/data/netinet/in.h-data: Likewise.
46787         * conform/data/nl_types.h-data: Likewise.
46788         * conform/data/poll.h-data: Likewise.
46789         * conform/data/pthread.h-data: Likewise.
46790         * conform/data/pwd.h-data: Likewise.
46791         * conform/data/regex.h-data: Likewise.
46792         * conform/data/sched.h-data: Likewise.
46793         * conform/data/search.h-data: Likewise.
46794         * conform/data/semaphore.h-data: Likewise.
46795         * conform/data/setjmp.h-data: Likewise.
46796         * conform/data/signal.h-data: Likewise.
46797         * conform/data/spawn.h-data: Likewise.
46798         * conform/data/stdarg.h-data: Likewise.
46799         * conform/data/stdio.h-data: Likewise.
46800         * conform/data/stdlib.h-data: Likewise.
46801         * conform/data/string.h-data: Likewise.
46802         * conform/data/strings.h-data: Likewise.
46803         * conform/data/stropts.h-data: Likewise.
46804         * conform/data/sys/ipc.h-data: Likewise.
46805         * conform/data/sys/mman.h-data: Likewise.
46806         * conform/data/sys/msg.h-data: Likewise.
46807         * conform/data/sys/resource.h-data: Likewise.
46808         * conform/data/sys/select.h-data: Likewise.
46809         * conform/data/sys/sem.h-data: Likewise.
46810         * conform/data/sys/shm.h-data: Likewise.
46811         * conform/data/sys/socket.h-data: Likewise.
46812         * conform/data/sys/stat.h-data: Likewise.
46813         * conform/data/sys/statvfs.h-data: Likewise.
46814         * conform/data/sys/time.h-data: Likewise.
46815         * conform/data/sys/timeb.h-data: Likewise.
46816         * conform/data/sys/times.h-data: Likewise.
46817         * conform/data/sys/types.h-data: Likewise.
46818         * conform/data/sys/uio.h-data: Likewise.
46819         * conform/data/sys/un.h-data: Likewise.
46820         * conform/data/sys/utsname.h-data: Likewise.
46821         * conform/data/sys/wait.h-data: Likewise.
46822         * conform/data/syslog.h-data: Likewise.
46823         * conform/data/tar.h-data: Likewise.
46824         * conform/data/termios.h-data: Likewise.
46825         * conform/data/utime.h-data: Likewise.
46826         * conform/data/utmpx.h-data: Likewise.
46827         * conform/data/varargs.h-data: Likewise.
46828         * conform/data/wchar.h-data: Likewise.
46829         * conform/data/wctype.h-data: Likewise.
46830         * conform/data/wordexp.h-data: Likewise.
46832         * include/stropts.h: New file.
46833         * include/uchar.h: New file.
46834         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46835         * include/assert.h: Likewise.
46836         * include/ctype.h: Likewise.
46837         * include/dirent.h: Likewise.
46838         * include/dlfcn.h: Likewise.
46839         * include/fcntl.h: Likewise.
46840         * include/fnmatch.h: Likewise.
46841         * include/glob.h: Likewise.
46842         * include/grp.h: Likewise.
46843         * include/libio.h: Likewise.
46844         * include/locale.h: Likewise.
46845         * include/math.h: Likewise.
46846         * include/net/if.h: Likewise.
46847         * include/netdb.h: Likewise.
46848         * include/netinet/in.h: Likewise.
46849         * include/pthread.h: Likewise.
46850         * include/pwd.h: Likewise.
46851         * include/regex.h: Likewise.
46852         * include/sched.h: Likewise.
46853         * include/search.h: Likewise.
46854         * include/setjmp.h: Likewise.
46855         * include/signal.h: Likewise.
46856         * include/stdio.h: Likewise.
46857         * include/stdlib.h: Likewise.
46858         * include/string.h: Likewise.
46859         * include/sys/cdefs.h: Likewise.
46860         * include/sys/mman.h: Likewise.
46861         * include/sys/msg.h: Likewise.
46862         * include/sys/resource.h: Likewise.
46863         * include/sys/select.h: Likewise.
46864         * include/sys/socket.h: Likewise.
46865         * include/sys/stat.h: Likewise.
46866         * include/sys/statvfs.h: Likewise.
46867         * include/sys/time.h: Likewise.
46868         * include/sys/times.h: Likewise.
46869         * include/sys/uio.h: Likewise.
46870         * include/sys/utsname.h: Likewise.
46871         * include/sys/wait.h: Likewise.
46872         * include/termios.h: Likewise.
46873         * include/time.h: Likewise.
46874         * include/ulimit.h: Likewise.
46875         * include/unistd.h: Likewise.
46876         * include/utime.h: Likewise.
46877         * include/wchar.h: Likewise.
46878         * include/wctype.h: Likewise.
46879         * include/wordexp.h: Likewise.
46881         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46883         * time/time.h: TIME_UTC must be a macro.
46884         Make timespec_get available for ISO C11 only as well.
46886 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46888         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46889         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46891 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46893         * configure.in: Use -o not -a in test for unsupported multi-arch.
46895 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46897         * manual/texinfo.tex: Update to version 2012-01-19.16.
46899 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46901         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46903 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46905         [BZ #13738]
46906         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46907         * manual/fdl-1.3.texi: New file.
46908         * manual/fdl-1.1.texi: File removed.
46910         [BZ #13738]
46911         * manual/libc.texinfo (FDL_VERSION): New @set.
46912         Use it for mention of FDL in cover text.
46913         (Documentation License): Use it in @include file name.
46915 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46916             Roland McGrath  <roland@hack.frob.com>
46918         [BZ #5461]
46919         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46920         (not LONG_LONG_MAX and LONG_LONG_MIN.
46921         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46922         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46923         name.
46924         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46926 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46928         [BZ #2547]
46929         [BZ #11365]
46930         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46931         manipulate bits before adding and subtracting TWO23[sx].
46932         * math/libm-test.inc (nearbyint_test): Add more tests.
46934 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46936         [BZ #2548]
46937         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46938         bits before adding and subtracting TWO23[sx].
46939         * math/libm-test.inc (rint_test): Add more tests.
46940         (rint_test_tonearest): Likewise.
46941         (rint_test_towardzero): Likewise.
46942         (rint_test_downward): Likewise.
46943         (rint_test_upward: Likewise.
46945 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46947         [BZ #10110]
46948         * include/stdc-predef.h: New file.  Extracted from features.h.
46949         * include/features.h: Include stdc-predef.h.
46950         * Makefile (headers): Add stdc-predef.h.
46951         * CONFORMANCE (Compiler limitations): Update.
46953 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46955         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46957 2012-02-21  David S. Miller  <davem@davemloft.net>
46959         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46960         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46962 2012-02-20  David S. Miller  <davem@davemloft.net>
46964         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46965         using a normal save/restore sequence, rather than allocating a
46966         dummy stack frame just to store a frame pointer and restore.
46967         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46969 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46971         * manual/install.texi: Fix stray word in line-wrapped comment.
46973 2012-02-20  David S. Miller  <davem@davemloft.net>
46975         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46976         both binutils and gcc support GOTDATA.
46978         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46979         "rd %pc" in the PIC register setup sequences.
46981         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46982         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46983         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46984         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46985         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46987         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46988         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46990         (SYSCALL_ERROR_HANDLER): Likewise.
46991         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46992         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46994         (SYSCALL_ERROR_HANDLER): Likewise.
46996         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46997         (HAVE_GCC_GOTDATA): New.
46998         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46999         relocation support in both binutils and gcc.
47000         * sysdeps/sparc/elf/configure: Regenerate.
47002         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47003         * sysdeps/sparc/sparc32/elf/configure: Delete.
47004         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47005         * sysdeps/sparc/sparc64/elf/configure: Delete.
47006         * sysdeps/sparc/elf/configure.in: New file.
47007         * sysdeps/sparc/elf/configure: Generate.
47009         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47010         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47011         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47012         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47013         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47015 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47017         * manual/install.texi: Do not mention specific glibc version
47018         numbers.
47019         * manual/libc.texinfo (VERSION, UPDATED): Update.
47020         (@copying): Use @copyright{} and range of years.
47022 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47024         [BZ #13695]
47025         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47026         [crti.S not in sysdirs] (generated): Do not append.
47027         [crti.S not in sysdirs] (omit-deps): Likewise.
47028         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47029         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47030         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47031         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47032         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47033         Likewise.
47034         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47035         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47036         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47037         * csu/defs.awk: Remove file.
47038         * sysdeps/generic/initfini.c: Likewise.
47039         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47040         variable.
47041         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47042         Likewise.
47044 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47046         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47047         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47048         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47049         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47050         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47051         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47052         <bits/epoll.h>.
47053         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47054         (__EPOLL_PACKED): Define to empty if not defined by
47055         <bits/epoll.h>.
47056         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47058         bits/epoll.h.
47060 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47062         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47063         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47064         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47065         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47066         <bits/timerfd.h>.
47067         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47069         bits/timerfd.h.
47071 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47073         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47074         in C locale.
47075         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47076         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47077         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47080 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47082         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47083         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47085 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47087         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47088         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47089         defined.
47090         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47091         Likewise.
47092         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47093         entry for 2.16.
47095 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47097         * math/w_acos.c: Use non-signaling floating-point comparisons.
47098         * math/w_acosf.c: Likewise.
47099         * math/w_acosh.c: Likewise.
47100         * math/w_acoshf.c: Likewise.
47101         * math/w_acoshl.c: Likewise.
47102         * math/w_acosl.c: Likewise.
47103         * math/w_asin.c: Likewise.
47104         * math/w_asinf.c: Likewise.
47105         * math/w_asinl.c: Likewise.
47106         * math/w_atanh.c: Likewise.
47107         * math/w_atanhf.c: Likewise.
47108         * math/w_atanhl.c: Likewise.
47109         * math/w_exp2.c: Likewise.
47110         * math/w_exp2f.c: Likewise.
47111         * math/w_exp2l.c: Likewise.
47112         * math/w_j0.c: Likewise.
47113         * math/w_j0f.c: Likewise.
47114         * math/w_j0l.c: Likewise.
47115         * math/w_j1.c: Likewise.
47116         * math/w_j1f.c: Likewise.
47117         * math/w_j1l.c: Likewise.
47118         * math/w_jn.c: Likewise.
47119         * math/w_jnf.c: Likewise.
47120         * math/w_log.c: Likewise.
47121         * math/w_log10.c: Likewise.
47122         * math/w_log10f.c: Likewise.
47123         * math/w_log10l.c: Likewise.
47124         * math/w_log2.c: Likewise.
47125         * math/w_log2f.c: Likewise.
47126         * math/w_log2l.c: Likewise.
47127         * math/w_logf.c: Likewise.
47128         * math/w_logl.c: Likewise.
47129         * math/w_sqrt.c: Likewise.
47130         * math/w_sqrtf.c: Likewise.
47131         * math/w_sqrtl.c: Likewise.
47132         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47133         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47134         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47135         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47136         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47138 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47140         [BZ #9739]
47141         * manual/string.texi (strnlen): Use correct parameter name in
47142         equivalent expression.
47144 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47146         [BZ #11174]
47147         * manual/users.texi (seteuid): Consistently use neweuid for
47148         argument name.
47150 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47152         [BZ #13704]
47153         * manual/nss.texi (Services in the NSS configuration): Correct
47154         list of services in example configuration file.
47156 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47158         [BZ #11322]
47159         * manual/arith.texi: Remove statements about negative zero
47160         behaving identically to zero.
47162 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47164         [BZ #5993]
47165         * manual/install.texi: Do not document upgrading from libc5.
47167 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47169         [BZ #4596]
47170         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47172 2012-02-18  David S. Miller  <davem@davemloft.net>
47174         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47175         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47176         %o7 across the call.
47177         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47178         instead.
47179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47180         SETUP_PIC_REG_LEAF.
47181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47182         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47183         * sysdeps/sparc/crtn.S: Likewise.
47185 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47187         * aout/Makefile: Remove.
47189 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47191         [BZ #13058]
47192         * manual/examples/argp-ex1.c (main): Format definition in GNU
47193         style.
47194         * manual/examples/argp-ex2.c (main): Likewise.
47195         * manual/examples/argp-ex3.c (main): Likewise.
47196         * manual/examples/argp-ex4.c (main): Likewise.
47197         * manual/examples/longopt.c (main): Use new-style prototype
47198         definition.
47199         * manual/examples/strncat.c (main): Specify return type and use
47200         (void) for arguments.
47201         * manual/examples/subopt.c (main): Use char **argv argument.
47203 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47205         [BZ #5077]
47206         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47207         rounding modes.
47209 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47211         [BZ #6907]
47212         * manual/string.texi (strchr): Change when strchrnul is
47213         recommended.
47215 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47217         [BZ #174]
47218         * manual/locale.texi (setlocale): Document LOCPATH.
47220 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47222         [BZ #10210]
47223         * manual/process.texi (execle): Move @dots{} before last argument.
47225 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47227         [BZ #12047]
47228         * manual/charset.texi (Generic Charset Conversion): Fix typo
47229         (LC_TYPE -> LC_CTYPE).
47231 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47233         [BZ #5805]
47234         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47235         (scalbnf): Likewise.
47236         (scalbnl): Likewise.
47237         (scalbln): Likewise.
47238         (scalblnf): Likewise.
47239         (scalblnl): Likewise.
47240         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47241         (vwarnx): Likewise.
47242         (verr): Likewise.
47243         (verrx): Likewise.
47244         * manual/filesys.texi (telldir): Use braces around return type.
47245         * manual/llio.texi (mmap): Add space after comma.
47246         (mmap64): Likewise.
47247         * manual/math.texi (jn): Use @var{} on parameter names.
47248         (jnf): Likewise.
47249         (jnl): Likewise.
47250         (yn): Likewise.
47251         (ynf): Likewise.
47252         (ynl): Likewise.
47253         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47254         line.
47255         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47256         "...".
47257         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47258         (sched_get_priority_max): Likewise.
47259         * manual/signal.texi (sigvec): Add space after comma.
47260         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47261         names.
47262         (if_indextoname): Likewise.
47263         (if_freenameindex): Likewise.
47264         (sendto): Use ',' instead of '.' in prototype.
47265         * manual/startup.texi (syscall): Use @dots{} instead of literal
47266         "...".
47267         * manual/stdio.texi (__fpending): Separate initial words of
47268         paragraph from @deftypefun line.
47269         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47270         "...".
47271         (vsyslog): Use @var{} on parameter names.
47272         * manual/terminal.texi (stty): Use @var{} on parameter names.
47273         * manual/users.texi (getutmp): Use @var{} on parameter names.
47274         (getutmpx): Likewise.
47276 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47278         [BZ #6884]
47279         * manual/stdio.texi (fopen): Fix typos in description of
47280         ",ccs=STRING".
47282 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47284         [BZ #4026]
47285         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47286         get clock_id definition.
47288 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47290         [BZ #4822]
47291         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47292         (madvise): Cast every argument to void on its own.
47294 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47296         [BZ #9902]
47297         * manual/startup.texi (Exit Status): Fix typo.
47299 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47301         [BZ #10140]
47302         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47303         * manual/examples/argp-ex2.c: Likewise.
47304         * manual/examples/argp-ex3.c: Likewise.
47306 2012-02-16  Richard Henderson  <rth@redhat.com>
47308         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47309         * sysdeps/s390/s390-32/initfini.c: Remove.
47310         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47311         * sysdeps/s390/s390-64/initfini.c: Remove.
47313 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47315         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47316         compiler output for sysdeps/generic/initfini.c.
47317         * sysdeps/sh/elf/initfini.c: Remove file.
47319 2012-02-16  David S. Miller  <davem@davemloft.net>
47321         [BZ #11494]
47322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47324         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47325         * sysdeps/sparc/crti.S: New file.
47326         * sysdeps/sparc/crtn.S: New file.
47327         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47328         * sysdeps/sparc/sparc64/Makefile: Likewise.
47330 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47332         [BZ #3335]
47333         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47335 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47337         [BZ #4822]
47338         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47340         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47341         (write, read, close): Likewise.
47342         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47344 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47346         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47347         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47348         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47349         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47350         <bits/signalfd.h>.
47351         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47353         bits/signalfd.h.
47355 2012-02-14  Marek Polacek  <polacek@redhat.com>
47357         * sysdeps/x86_64/crti.S: New file.
47358         * sysdeps/x86_64/crtn.S: New file.
47359         * sysdeps/x86_64/elf/initfini.c: Remove file.
47361 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47363         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47364         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47365         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47366         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47367         <bits/inotify.h>.
47368         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47370         bits/inotify.h.
47372 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47374         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47375         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47376         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47377         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47378         <bits/eventfd.h>.
47379         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47381         bits/eventfd.h.
47383 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47385         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47386         __feraiseexcept instead of feraiseexcept.
47388         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47389         nanosleep invocations.
47390         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47391         strings, and add error checking for a nanosleep invocations.
47393 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47395         Replace FSF snail mail address with URLs, as per GNU coding standards.
47396         Most of the snail mail addresses were wrong anyway, and omitting
47397         them makes the source code easier to maintain.  Almost all of the
47398         changes are to license notices and to locale LC_IDENTIFICATION
47399         addresses, except for this one:
47400         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47401         not its snail mail address.
47403 2012-02-09  Richard Henderson  <rth@twiddle.net>
47405         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47406         of kernel-features.h.
47408         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47410 2012-02-08  Marek Polacek  <polacek@redhat.com>
47412         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47413         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47414         * sysdeps/gnu/_G_config.h: Likewise.
47415         * sysdeps/generic/_G_config.h: Likewise.
47417 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47419         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47420         tests.
47421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47423         * sysdeps/powerpc/powerpc32/crti.S: New file.
47424         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47425         * sysdeps/powerpc/powerpc64/crti.S: New file.
47426         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47428         * Makeconfig (have-initfini): Don't set.
47429         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47430         * configure.in (nopic_initfini): Don't substitute.
47431         * config.h.in (HAVE_INITFINI): Don't #undef.
47432         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47433         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47435 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47437         Support crti.S and crtn.S provided directly by architectures.
47438         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47439         [crti.S in sysdirs] (omit-deps): Likewise.
47440         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47441         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47442         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47443         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47444         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47445         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47446         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47447         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47448         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47449         compiler output for sysdeps/generic/initfini.c.
47450         * sysdeps/i386/elf/Makefile: Remove file.
47451         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47453 2012-02-07  Marek Polacek  <polacek@redhat.com>
47455         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47456         * sysdeps/gnu/_G_config.h: Likewise.
47457         * sysdeps/mach/hurd/_G_config.h: Likewise.
47459 2012-02-07  Marek Polacek  <polacek@redhat.com>
47461         * math/Makefile (tests): Add tst-CMPLX2.
47462         * math/tst-CMPLX2.c: New file.
47464 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47466         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47468         * math/libm-test.inc (jn_test): Add missing L suffix.
47470 2012-02-06  Marek Polacek  <polacek@redhat.com>
47472         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47473         * sysdeps/i386/fpu/e_powf.S: Likewise.
47474         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47475         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47476         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47477         * sysdeps/i386/fpu/e_pow.S: Likewise.
47478         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47479         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47480         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47481         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47482         * sysdeps/i386/fpu/e_log2.S: Likewise.
47483         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47484         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47485         * sysdeps/i386/fpu/e_powl.S: Likewise.
47486         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47487         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47488         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47489         * sysdeps/i386/fpu/e_logl.S: Likewise.
47490         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47491         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47492         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47493         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47494         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47495         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47496         * sysdeps/i386/fpu/e_log.S: Likewise.
47497         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47498         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47499         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47500         * sysdeps/i386/fpu/e_logf.S: Likewise.
47501         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47502         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47503         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47504         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47505         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47506         * sysdeps/i386/fpu/e_log10.S: Likewise.
47507         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47508         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47509         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47510         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47511         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47512         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47513         * sysdeps/i386/asm-syntax.h: Likewise.
47514         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47515         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47516         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47517         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47518         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47519         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47520         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47521         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47522         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47523         * sysdeps/powerpc/sysdep.h: Likewise.
47524         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47525         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47527 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47529         [BZ #411]
47530         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47532 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47534         * sysdeps/i386/sysdep.h: Include <features.h>.
47535         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47536         version.
47538 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47540         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47541         Define.
47542         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47543         LOAD_PIC_REG_STR.
47545 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47547         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47548         (SETUP_PIC_REG): Use GET_PC_THUNK.
47549         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47550         macro.
47552 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47554         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47555         for non-PIC compilation.
47556         (SETUP_PIC_REG): Add .p2align directive.
47557         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47558         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47559         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47560         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47561         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47562         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47563         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47564         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47565         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47566         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47567         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47568         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47569         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47570         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47571         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47572         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47573         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47574         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47575         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47576         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47577         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47578         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47579         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47580         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47581         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47582         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47583         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47584         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47585         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47586         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47587         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47588         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47589         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47590         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47591         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47592         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47593         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47594         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47595         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47596         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47597         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47599 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47601         * math/tst-CMPLX.c: Include <stdio.h>.
47603 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47605         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47606         float.
47607         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47608         * sysdeps/sparc/bits/mathdef.h: Likewise.
47610 2012-01-31  Marek Polacek  <polacek@redhat.com>
47612         * libio/libio.h: Don't define _PARAMS.
47613         * locale/programs/config.h: Don't define PARAMS.
47614         * stdlib/strtol_l.c: Likewise.
47615         (__strtol_l): Remove PARAMS from the prototype.
47617 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47619         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47620         names.  Just use the correct names.  Remove unnecessary wrapper
47621         functions.
47622         * malloc/arena.c: Likewise.
47623         * malloc/hooks.c: Likewise.
47625         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47626         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47627         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47629 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47631         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47632         into tail calls.
47633         (update_get_addr): New function.
47634         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47635         GET_ADDR_MODULE parameter.
47637 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47639         * crypt/cert.c: Remove __STDC__ conditionals.
47640         * crypt/crypt-entry.c: Likewise.
47641         * crypt/crypt_util.c: Likewise.
47642         * libio/filedoalloc.c: Likewise.
47643         * libio/fileops.c: Likewise.
47644         * libio/genops.c: Likewise.
47645         * libio/iofclose.c: Likewise.
47646         * libio/iofdopen.c: Likewise.
47647         * libio/iofopen.c: Likewise.
47648         * libio/iofopen64.c: Likewise.
47649         * libio/iogetdelim.c: Likewise.
47650         * libio/iopopen.c: Likewise.
47651         * libio/obprintf.c: Likewise.
47652         * libio/oldfileops.c: Likewise.
47653         * libio/oldiofclose.c: Likewise.
47654         * libio/oldiofdopen.c: Likewise.
47655         * libio/oldiofopen.c: Likewise.
47656         * libio/oldiopopen.c: Likewise.
47657         * libio/wfiledoalloc.c: Likewise.
47658         * libio/wgenops.c: Likewise.
47659         * locale/programs/xmalloc.c: Likewise.
47660         * misc/syslog.c: Likewise.
47661         * stdio-common/xbug.c: Likewise.
47662         * string/memchr.c: Likewise.
47663         * string/memcmp.c: Likewise.
47664         * string/memrchr.c: Likewise.
47665         * string/rawmemchr.c: Likewise.
47666         * sysdeps/posix/getcwd.c: Likewise.
47667         * time/strftime_l.c: Likewise.
47669 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47671         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47672         * config.make.in (config-cflags-sse2avx): Define.
47673         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47674         Fix typo.
47676 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47678         * scripts/config.guess: Update from upstream config git repository.
47679         * scripts/config.sub: Likewise.
47681 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47683         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47684         (EM_NUM): Update.
47685         (R_TILEPRO_*, R_TILEGX_*): New macros.
47687         * scripts/firstversions.awk: Fix bug in version range handling.
47689         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47691         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47693         * include/sys/epoll.h: New file.
47694         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47695         libc_hidden_def.
47697 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47699         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47700         Avoid unnecessary __WORDSIZE == 64 test.
47701         (fmaxf): Use VEX format if possible.
47702         (fmax): Likewise.
47703         (fminf): Likewise.
47704         (fmin): Likewise.
47706         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47707         * math/math_private.h: Remove libc_fegetround* and
47708         libc_fesetround*.
47709         * sysdeps/i386/configure.in: Check for -msse2avx.
47710         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47711         also if SSE2AVX is defined.
47712         Remove libc_fegetround* and libc_fesetround*.
47713         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47714         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47715         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47716         of HAS_YMM_USABLE.
47717         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47718         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47719         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47720         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47721         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47723         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47725 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47727         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47728         size is not set.
47729         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47731 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47733         [BZ #13618]
47734         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47735         relocation.
47736         * Makeconfig (libm): Define.
47737         * elf/Makefile: Add rules to build and run tst-relsort1.
47738         * elf/tst-relsort1.c: New file.
47739         * elf/tst-relsort1mod1.c: New file.
47740         * elf/tst-relsort1mod2.c: New file.
47742 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47744         * math/s_ldexp.c: Remove __STDC__ conditionals.
47745         * math/s_ldexpf.c: Likewise.
47746         * math/s_ldexpl.c: Likewise.
47747         * math/s_nextafter.c: Likewise.
47748         * math/s_nexttowardf.c: Likewise.
47749         * math/s_significand.c: Likewise.
47750         * math/s_significandf.c: Likewise.
47751         * math/s_significandl.c: Likewise.
47752         * math/w_jnl.c: Likewise.
47753         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47754         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47755         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47756         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47757         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47758         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47759         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47760         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47761         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47762         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47763         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47764         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47765         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47766         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47767         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47768         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47769         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47770         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47771         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47772         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47773         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47774         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47775         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47776         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47777         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47778         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47779         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47780         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47781         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47782         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47783         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47784         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47785         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47786         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47787         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47788         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47789         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47790         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47791         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47792         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47793         * sysdeps/ieee754/k_standard.c: Likewise.
47794         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47795         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47796         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47797         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47798         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47799         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47800         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47801         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47802         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47803         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47804         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47805         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47806         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47807         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47808         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47810         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47812         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47813         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47814         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47815         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47816         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47817         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47818         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47819         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47820         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47823         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47824         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47825         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47826         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47827         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47828         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47829         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47830         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47831         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47832         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47833         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47834         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47835         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47837         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47838         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47839         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47840         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47841         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47842         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47843         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47844         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47845         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47846         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47847         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47848         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47849         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47850         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47851         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47852         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47853         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47854         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47855         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47856         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47857         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47858         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47859         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47860         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47861         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47863         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47864         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47865         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47866         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47867         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47868         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47869         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47870         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47871         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47872         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47873         * sysdeps/ieee754/s_matherr.c: Likewise.
47874         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47875         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47876         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47879 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47881         * crypt/md5.h: Remove __STDC__ conditionals.
47882         * libio/libioP.h: Likewise.
47883         * locale/programs/config.h: Likewise.
47884         * sysdeps/generic/sysdep.h: Likewise.
47885         * sysdeps/i386/asm-syntax.h: Likewise.
47886         * sysdeps/s390/asm-syntax.h: Likewise.
47887         * sysdeps/unix/sysdep.h: Likewise.
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47891 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47893         * libio/libio.h: Remove __STDC__ conditionals.
47894         * malloc/obstack.h: Likewise.
47895         * math/complex.h: Likewise.
47896         * math/math.h: Likewise.
47897         * sysdeps/generic/_G_config.h: Likewise.
47898         * sysdeps/gnu/_G_config.h: Likewise.
47899         * sysdeps/mach/hurd/_G_config.h: Likewise.
47900         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47901         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47902         * sysdeps/sparc/bits/mathdef.h: Likewise.
47904 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47906         [BZ #13583]
47907         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47908         Clean up HAS_* macros.
47909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47910         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47911         possible.
47912         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47913         HAS_AVX.
47914         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47915         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47916         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47917         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47918         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47920 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47922         * elf/tst-unique3.cc (gets): Remove declaration.
47923         * elf/tst-unique3lib.cc (gets): Likewise.
47924         * elf/tst-unique3lib2.cc (gets): Likewise.
47925         * elf/tst-unique4.cc (gets): Likewise.
47927 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47929         * include/stdio.h: Add C++ protection.  Add gets declarations and
47930         definitions.
47931         * debug/tst-chk1.c: Don't declare gets here.
47932         * stdio-common/tst-gets.c: Likewise.
47934 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47936         * posix/glob: Remove directory.
47938 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47940         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47942 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47944         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47945         of the non-standard EPFNOSUPPORT.
47947 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47949         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47950         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47951         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47953 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47955         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47957 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47959         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47960         transient errors.
47961         * nscd/grpcache.c (cache_addgr): Likewise.
47962         * nscd/hstcache.c (cache_addhst): Likewise.
47963         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47964         * nscd/pwdcache.c (cache_addpw): Likewise.
47965         * nscd/servicescache.c (cache_addserv): Likewise.
47967 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47969         * malloc/malloc.c: Various cleanups.
47970         * malloc/hooks.c: Likewise.
47972         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47973         * stdlib/bug-fmtmsg1.c: New file.
47975         * stdlib/fmtmsg.c (init): Add missing unlock.
47976         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47978 2012-01-12  Marek Polacek  <polacek@redhat.com>
47980         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47981         and _GNU_SOURCE.
47983 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47985         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47986         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47987         macro to ensure uniqueness of label name.
47988         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47989         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47991 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47993         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47995         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47996         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47997         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47998         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48000 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48002         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48004         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48005         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48006         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48008         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48010         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48011         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48012         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48013         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48015         * math/bits/math-finite.h: Add ldexp support.
48017 2012-01-10  Marek Polacek  <polacek@redhat.com>
48019         * locale/programs/localedef.h (show_archive_content): Add noreturn
48020         attribute.
48022 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48024         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48026 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48028         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48030         * io/Makefile (headers): Add bits/poll2.h.
48032 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48035         typo #include statement.
48037 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48039         * include/sys/cdefs.h: Define __attribute_alloc_size.
48040         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48041         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48042         * elf/pldd.c: Likewise.
48043         * iconv/iconv_charmap.c: Likewise.
48044         * iconv/iconvconfig.c: Likewise.
48045         * iconv/strtab.c: Likewise.
48046         * locale/programs/locale.c: Likewise.
48047         * locale/programs/localedef.h: Likewise.
48048         * locale/programs/simple-hash.c: Likewise.
48049         * nscd/nscd.h: Likewise.
48050         * nss/makedb.c: Likewise.
48051         * sysdeps/generic/ldconfig.h: Likewise.
48052         * locale/programs/localedef.c: Remove xmalloc prototype.
48053         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48055 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48057         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48058         appropriate.
48060 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48062         * math/Makefile (tests): Add tst-CMPLX.
48063         * math/tst-CMPLX.c: New file.
48065         * math/complex.h (CMPLXL): Fix typo.
48067         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48068         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48069         GLIBC_2.16.
48070         * debug/tst-chk1.c: Add poll and ppoll tests.
48071         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48072         * include/sys/poll.h: Add hidden proto for ppoll.
48073         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48074         * sysdeps/mach/hurd/ppoll.c: Likewise.
48075         * io/ppoll.c: Likewise.
48076         * debug/poll_chk.c: New file.
48077         * debug/ppoll_chk.c: New file.
48078         * include/bits/poll2.h: New file.
48079         * io/bits/poll2.h: New file.
48081         [BZ #1350]
48082         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48084         * configure.in: static is always set to yes.  Remove.
48085         * config.make.in: Don't set build-static.
48086         * Makeconfig: Remove use of build-static.
48087         * dlfcn/Makefile: Likewise.
48088         * elf/Makefile: Likewise.
48089         * math/Makefile: Likewise.
48090         * misc/Makefile: Likewise.
48091         * nptl/Makefile: Likewise.
48092         * sysdeps/mach/hurd/Makefile: Likewise.
48094         * configure.in: PWD_P is not used anymore.
48095         * config.make.in: Remove PWD_P entry.
48097         * configure.in: Remove last remnants of RANLIB.
48098         No need to check for signed size_t anymore.
48099         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48100         and IA-64.
48101         Remove __builtin_expect test because we require at least gcc 3.4.
48102         * aclocal.m4: Likewise.
48104         * wcsmbs/mbrtoc16.c: Implement using towc function.
48105         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48106         * wcsmbs/wcsmbsload.c: Likewise.
48107         * iconv/gconv_simple.c: Likewise.
48108         * iconv/gconv_int.h: Likewise.
48109         * iconv/gconv_builtin.h: Likewise.
48110         * iconv/iconv_prog.c: Remove CHAR16 handling.
48112         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48114         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48116         * configure.in: Remove --with-elf and --enable-bounded options.
48117         Dont set base_machine for ia64.  More non-ELF conditions removed.
48118         Remove testing and setting of leading underscore information.
48119         * config.make.in (build-bounded): Set to no.
48120         * config.h.in: Remove NO_UNDERSCORES entry.
48121         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48122         them.
48123         * csu/start.c: Remove !NO_UNDERSCORE code.
48124         * locale/localeinfo.h: Likewise.
48125         * sysdeps/generic/machine-gmon.h: Likewise.
48126         * sysdeps/generic/sysdep.h: Likewise.
48127         * sysdeps/i386/sysdep.h: Likewise.
48128         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48129         * sysdeps/mach/sysdep.h: Likewise.
48130         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48131         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48132         * sysdeps/sh/sysdep.h: Likewise.
48133         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48134         * sysdeps/unix/i386/sysdep.S: Likewise.
48135         * sysdeps/unix/sparc/start.c: Likewise.
48136         * sysdeps/unix/sparc/sysdep.S: Likewise.
48137         * sysdeps/unix/sparc/sysdep.h: Likewise.
48138         * sysdeps/unix/start.c: Likewise.
48139         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48140         * sysdeps/x86_64/sysdep.h: Likewise.
48142 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48144         [BZ #13553]
48145         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48146         for non-gcc.
48147         * argp/argp-fmtstream.h: Use const instead __const.
48148         * argp/argp.h: Likewise.
48149         * assert/assert.h: Likewise.
48150         * bits/fenv.h: Likewise.
48151         * bits/sched.h: Likewise.
48152         * bits/sigset.h: Likewise.
48153         * bits/sigthread.h: Likewise.
48154         * catgets/nl_types.h: Likewise.
48155         * conform/data/pthread.h-data: Likewise.
48156         * crypt/crypt-private.h: Likewise.
48157         * crypt/crypt.h: Likewise.
48158         * crypt/crypt_util.c: Likewise.
48159         * ctype/ctype.h: Likewise.
48160         * debug/execinfo.h: Likewise.
48161         * debug/mbsnrtowcs_chk.c: Likewise.
48162         * debug/mbsrtowcs_chk.c: Likewise.
48163         * debug/wcsnrtombs_chk.c: Likewise.
48164         * debug/wcsrtombs_chk.c: Likewise.
48165         * debug/wcstombs_chk.c: Likewise.
48166         * dirent/dirent.h: Likewise.
48167         * dlfcn/dlfcn.h: Likewise.
48168         * elf/neededtest4.c: Likewise.
48169         * grp/grp.h: Likewise.
48170         * gshadow/gshadow.h: Likewise.
48171         * iconv/gconv.h: Likewise.
48172         * iconv/gconv_int.h: Likewise.
48173         * iconv/gconv_simple.c: Likewise.
48174         * iconv/iconv.h: Likewise.
48175         * iconv/loop.c: Likewise.
48176         * iconv/skeleton.c: Likewise.
48177         * include/aio.h: Likewise.
48178         * include/aliases.h: Likewise.
48179         * include/argz.h: Likewise.
48180         * include/arpa/inet.h: Likewise.
48181         * include/assert.h: Likewise.
48182         * include/dirent.h: Likewise.
48183         * include/dlfcn.h: Likewise.
48184         * include/execinfo.h: Likewise.
48185         * include/fcntl.h: Likewise.
48186         * include/fenv.h: Likewise.
48187         * include/glob.h: Likewise.
48188         * include/grp.h: Likewise.
48189         * include/libintl.h: Likewise.
48190         * include/mntent.h: Likewise.
48191         * include/netdb.h: Likewise.
48192         * include/pwd.h: Likewise.
48193         * include/rpc/netdb.h: Likewise.
48194         * include/sched.h: Likewise.
48195         * include/search.h: Likewise.
48196         * include/shadow.h: Likewise.
48197         * include/signal.h: Likewise.
48198         * include/stdio.h: Likewise.
48199         * include/stdlib.h: Likewise.
48200         * include/string.h: Likewise.
48201         * include/sys/socket.h: Likewise.
48202         * include/sys/stat.h: Likewise.
48203         * include/sys/statfs.h: Likewise.
48204         * include/sys/statvfs.h: Likewise.
48205         * include/sys/syslog.h: Likewise.
48206         * include/sys/time.h: Likewise.
48207         * include/sys/uio.h: Likewise.
48208         * include/time.h: Likewise.
48209         * include/unistd.h: Likewise.
48210         * include/utmp.h: Likewise.
48211         * include/wchar.h: Likewise.
48212         * include/wctype.h: Likewise.
48213         * inet/aliases.h: Likewise.
48214         * inet/arpa/inet.h: Likewise.
48215         * inet/netinet/ether.h: Likewise.
48216         * inet/netinet/in.h: Likewise.
48217         * intl/libintl.h: Likewise.
48218         * io/bits/fcntl2.h: Likewise.
48219         * io/fcntl.h: Likewise.
48220         * io/ftw.h: Likewise.
48221         * io/sys/poll.h: Likewise.
48222         * io/sys/stat.h: Likewise.
48223         * io/sys/statfs.h: Likewise.
48224         * io/sys/statvfs.h: Likewise.
48225         * io/utime.h: Likewise.
48226         * libio/bits/stdio.h: Likewise.
48227         * libio/bits/stdio2.h: Likewise.
48228         * libio/libio.h: Likewise.
48229         * libio/libioP.h: Likewise.
48230         * libio/stdio.h: Likewise.
48231         * locale/lc-ctype.c: Likewise.
48232         * locale/locale.h: Likewise.
48233         * login/utmp.h: Likewise.
48234         * malloc/arena.c: Likewise.
48235         * malloc/malloc.c: Likewise.
48236         * malloc/malloc.h: Likewise.
48237         * malloc/mcheck.c: Likewise.
48238         * malloc/mtrace.c: Likewise.
48239         * math/bits/mathcalls.h: Likewise.
48240         * math/fenv.h: Likewise.
48241         * math/math_private.h: Likewise.
48242         * misc/bits/error.h: Likewise.
48243         * misc/bits/syslog.h: Likewise.
48244         * misc/err.h: Likewise.
48245         * misc/error.h: Likewise.
48246         * misc/fstab.h: Likewise.
48247         * misc/mntent.h: Likewise.
48248         * misc/regexp.h: Likewise.
48249         * misc/search.h: Likewise.
48250         * misc/sgtty.h: Likewise.
48251         * misc/sys/mman.h: Likewise.
48252         * misc/sys/syslog.h: Likewise.
48253         * misc/sys/uio.h: Likewise.
48254         * misc/sys/xattr.h: Likewise.
48255         * misc/ttyent.h: Likewise.
48256         * nis/rpcsvc/ypclnt.h: Likewise.
48257         * nss/nss.h: Likewise.
48258         * posix/bits/unistd.h: Likewise.
48259         * posix/fnmatch.h: Likewise.
48260         * posix/glob.h: Likewise.
48261         * posix/sched.h: Likewise.
48262         * posix/spawn.h: Likewise.
48263         * posix/sys/wait.h: Likewise.
48264         * posix/unistd.h: Likewise.
48265         * posix/wordexp.h: Likewise.
48266         * pwd/pwd.h: Likewise.
48267         * resolv/netdb.h: Likewise.
48268         * resource/sys/resource.h: Likewise.
48269         * rt/aio.h: Likewise.
48270         * rt/bits/mqueue2.h: Likewise.
48271         * rt/mqueue.h: Likewise.
48272         * shadow/shadow.h: Likewise.
48273         * signal/signal.h: Likewise.
48274         * socket/send.c: Likewise.
48275         * socket/sendto.c: Likewise.
48276         * socket/sys/socket.h: Likewise.
48277         * stdio-common/printf.h: Likewise.
48278         * stdlib/bits/stdlib.h: Likewise.
48279         * stdlib/fmtmsg.h: Likewise.
48280         * stdlib/monetary.h: Likewise.
48281         * stdlib/stdlib.h: Likewise.
48282         * stdlib/ucontext.h: Likewise.
48283         * streams/stropts.h: Likewise.
48284         * string/argz.h: Likewise.
48285         * string/bits/string2.h: Likewise.
48286         * string/string.h: Likewise.
48287         * string/strings.h: Likewise.
48288         * sunrpc/rpc/auth.h: Likewise.
48289         * sunrpc/rpc/auth_des.h: Likewise.
48290         * sunrpc/rpc/clnt.h: Likewise.
48291         * sunrpc/rpc/netdb.h: Likewise.
48292         * sunrpc/rpc/pmap_clnt.h: Likewise.
48293         * sunrpc/rpc/xdr.h: Likewise.
48294         * sysdeps/generic/inttypes.h: Likewise.
48295         * sysdeps/generic/net/if.h: Likewise.
48296         * sysdeps/generic/sys/swap.h: Likewise.
48297         * sysdeps/gnu/net/if.h: Likewise.
48298         * sysdeps/gnu/utmpx.h: Likewise.
48299         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48300         * sysdeps/i386/i486/bits/string.h: Likewise.
48301         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48302         * sysdeps/s390/bits/string.h: Likewise.
48303         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48304         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48305         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48306         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48307         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48308         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48309         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48310         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48311         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48312         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48313         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48314         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48315         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48316         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48317         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48318         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48319         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48320         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48321         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48322         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48323         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48324         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48325         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48326         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48327         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48328         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48329         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48330         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48331         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48332         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48333         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48334         * sysvipc/sys/ipc.h: Likewise.
48335         * sysvipc/sys/msg.h: Likewise.
48336         * sysvipc/sys/sem.h: Likewise.
48337         * sysvipc/sys/shm.h: Likewise.
48338         * termios/termios.h: Likewise.
48339         * time/sys/time.h: Likewise.
48340         * time/time.h: Likewise.
48341         * wcsmbs/bits/wchar2.h: Likewise.
48342         * wcsmbs/uchar.h: Likewise.
48343         * wcsmbs/wchar.h: Likewise.
48344         * wctype/wctype.h: Likewise.
48346         [BZ #13551]
48347         * Makeconfig: Remove all but ELF support including AIX support.
48348         * Makerules: Likewise.
48349         * config.h.in: Likewise.
48350         * config.make.in: Likewise.
48351         * configure: Likewise.
48352         * configure.in: Likewise.
48353         * csu/Makefile: Likewise.
48354         * csu/version.c: Likewise.
48355         * debug/Makefile: Likewise.
48356         * dlfcn/Makefile: Likewise.
48357         * elf/Makefile: Likewise.
48358         * extra-lib.mk: Likewise.
48359         * iconv/Makefile: Likewise.
48360         * include/libc-symbols.h: Likewise.
48361         * include/shlib-compat.h: Likewise.
48362         * resolv/Makefile: Likewise.
48363         * resolv/res_libc.c: Likewise.
48364         * rt/Makefile: Likewise.
48365         * sysdeps/i386/asm-syntax.h: Likewise.
48366         * sysdeps/i386/sysdep.h: Likewise.
48367         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48368         * sysdeps/mach/sysdep.h: Likewise.
48369         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48370         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48371         * sysdeps/s390/asm-syntax.h: Likewise.
48372         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48373         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48374         * sysdeps/sh/sysdep.h: Likewise.
48375         * sysdeps/unix/sparc/sysdep.h: Likewise.
48376         * sysdeps/wordsize-32/divdi3.c: Likewise.
48377         * sysdeps/x86_64/sysdep.h: Likewise.
48379         * argp/Versions: Remove _argp_unlock_xxx.
48381         [BZ #13559]
48382         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48383         * abilist/libBrokenLocale.abilist: Likewise.
48384         * abilist/libanl.abilist: Likewise.
48385         * abilist/libc.abilist: Likewise.
48386         * abilist/libcrypt.abilist: Likewise.
48387         * abilist/libdl.abilist: Likewise.
48388         * abilist/libm.abilist: Likewise.
48389         * abilist/libnsl.abilist: Likewise.
48390         * abilist/libpthread.abilist: Likewise.
48391         * abilist/libresolv.abilist: Likewise.
48392         * abilist/librt.abilist: Likewise.
48393         * abilist/libthread_db.abilist: Likewise.
48394         * abilist/libutil.abilist: Likewise.
48395         * abilist/libnss_db.abilist: New file.
48397         * scripts/abilist.awk: Add support for indirect functions.
48399         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48401         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48403         * shlib-versions: Remove entries for ports architectures.
48405         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48406         files in ports.
48407         * elf/stackguard-macros.h: Remove support for IA-64.
48408         * elf/tst-auditmod1.c: Likewise.
48409         * sysdeps/generic/ldsodefs.h: Likewise.
48411         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48412         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48413         configure files.
48415         [BZ #13552]
48416         * configure.in: Remove --enable-omitfp support.
48417         * FAQ.in: Adjust.
48418         * config.make.in: Likewise.
48419         * Makeconfig: Likewise.
48420         * manual/install.texi: Likewise.
48422         In case anyone cares, the IA-64 architecture could move to ports.
48423         * sysdeps/ia64/*: Removed.
48424         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48425         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48427         [BZ #13555]
48428         * configure.in: Remove entries for unsupported architectures.
48430         [BZ #13533]
48431         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48432         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48433         routines.
48434         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48435         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48436         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48437         fall back to using wcrtomb.
48438         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48439         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48440         renaming.
48441         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48442         * wcsmbs/tst-c16c32-1.c: New file.
48444         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48445         local variable.
48447         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48449         * elf/tst-unique3.cc: Add explicit declaration of gets.
48450         * elf/tst-unique3lib.cc: Likewise.
48451         * elf/tst-unique3lib2.cc: Likewise.
48452         * elf/tst-unique4.cc: Likewise.
48454         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48456 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48458         [BZ #13566]
48459         * assert/assert.h (static_assert): Don't define for C++.
48460         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48461         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48463 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48465         * iconv/loop.c (single loop): Fix assertion in storing of
48466         remaining bytes.
48468         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48470 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48472         * posix/getconf.c: Update copyright year.
48473         * nss/getent.c: Likewise.
48474         * nss/makedb.c: Likewise.
48475         * iconv/iconvconfig.c: Likewise.
48476         * iconv/iconv_prog.c: Likewise.
48477         * elf/ldconfig.c: Likewise.
48478         * elf/pldd.c: Likewise.
48479         * elf/sotruss.ksh: Likewise.
48480         * catgets/gencat.c: Likewise.
48481         * csu/version.c: Likewise.
48482         * elf/ldd.bash.in: Likewise.
48483         * elf/sprof.c (print_version): Likewise.
48484         * locale/programs/locale.c: Likewise.
48485         * locale/programs/localedef.c: Likewise.
48486         * login/programs/pt_chown.c: Likewise.
48487         * nscd/nscd.c (print_version): Likewise.
48488         * debug/xtrace.sh: Likewise.
48489         * malloc/memusage.sh: Likewise.
48490         * malloc/mtrace.pl: Likewise.
48491         * debug/catchsegv.sh: Likewise.
48493 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48495         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48496         pure attribute.
48498 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48500         [BZ #13533]
48501         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48502         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48503         transformations.
48504         * iconv/gconv_int.h: Likewise.
48505         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48506         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48507         from libc for GLIBC_2.16.
48508         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48509         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48510         * wcsmbs/uchar.h: Really define mbstate_t.
48511         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48512         * wcsmbs/c16rtomb.c: New file.
48513         * wcsmbs/mbrtoc16.c: New file.
48514         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48515         for C/POSIX locale.
48516         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48517         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48519         * wcsmbs/wchar.h: Add missing __restrict.
48521 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48523         [BZ #13532]
48524         * time/Makefile (routines): Add timespec_get.
48525         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48526         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48527         timespec for ISO C11.
48528         * time/timespec_get.c: New file.
48529         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48530         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48532         [BZ #13531]
48533         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48534         * stdlib/stdlib.h: Declare aligned_alloc.
48535         * Versions.def: Add GLIBC_2.16 for libc.
48536         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48538         [BZ 13527]
48539         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48540         ISO C11.
48542         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48543         code.
48545         [BZ #13528]
48546         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48548         [BZ #13529]
48549         * assert/assert.h (static_assert): Define.
48551         * version.h: Update for 2.16 development version.
48553         [BZ #13526]
48554         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48555         _ISOC11_SOURCE.
48557         * version.h (RELEASE): Bump for 2.15 release.
48558         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48560         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48561         Patch by Marek Polacek <mpolacek@redhat.com>.
48563         * bits/byteswap.h: Protect long long constants with __extension__.
48564         * sysdeps/i386/bits/byteswap.h: Likewise.
48565         * sysdeps/ia64/bits/byteswap.h: Likewise.
48566         * sysdeps/s390/bits/byteswap.h: Likewise.
48567         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48569 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48571         [BZ #13540]
48572         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48573         destination buffer.
48574         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48576 2011-12-23  Marek Polacek  <polacek@redhat.com>
48578         * elf/dl-addr.c (determine_info): Add inline keyword.
48579         * elf/tst-auditmod4b.c (check_avx): Likewise.
48580         * elf/tst-auditmod6b.c (check_avx): Likewise.
48581         * elf/tst-auditmod6c.c (check_avx): Likewise.
48582         * elf/tst-auditmod7b.c (check_avx): Likewise.
48584 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48586         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48587         !__SSE_MATH__.
48589 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48591         [BZ #13540]
48592         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48593         processing for last bytes.
48595 2011-08-06  Bruno Haible  <bruno@clisp.org>
48597         [BZ #13061]
48598         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48599         U+0385, not to U+1FEE.
48601         [BZ #13062]
48602         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48603         entry for U+00A5 U+0301.
48605 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48607         [BZ #13166]
48608         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48609         buffer for the output is too small.
48611         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48612         optimization.
48614         [BZ #13185]
48615         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48616         SSE flags if possible.
48618 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48620         [BZ #13540]
48621         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48622         processing for last bytes.
48624 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48626         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48627         (syscall-list-default-options, syscall-list-default-condition)
48628         (syscall-list-includes): Define.
48629         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48630         list of ABIs and options and #if conditions for each ABI.  Do not
48631         handle common syscalls between ABIs specially.
48632         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48633         Remove.
48634         (syscall-list-variants, syscall-list-32bit-options)
48635         (syscall-list-32bit-condition, syscall-list-64bit-options)
48636         (syscall-list-64bit-condition): Define.
48637         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48638         (syscall-list-variants, syscall-list-32bit-options)
48639         (syscall-list-32bit-condition, syscall-list-64bit-options)
48640         (syscall-list-64bit-condition): Define.
48641         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48642         Remove.
48643         (syscall-list-variants, syscall-list-32bit-options)
48644         (syscall-list-32bit-condition, syscall-list-64bit-options)
48645         (syscall-list-64bit-condition): Define.
48646         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48647         Remove.
48648         (syscall-list-variants, syscall-list-32bit-options)
48649         (syscall-list-32bit-condition, syscall-list-64bit-options)
48650         (syscall-list-64bit-condition): Define.
48652 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48654         * locale/iso-639.def: Add brx entry.
48656         [BZ #13328]
48657         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48658         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48660         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48661         __feraiseexcept_renamed.
48663 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48665         [BZ #13538]
48666         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48667         EPOLLET with unsigned values.
48668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48669         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48671         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48672         to large cancellation.
48673         * math/s_cacoshf.c: Likewise.
48674         * math/s_cacoshl.c: Likewise.
48676 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48678         [BZ #13305]
48679         [BZ #12786]
48680         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48681         * math/s_cacoshf.c: Likewise.
48682         * math/s_cacoshl.c: Likewise.
48684 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48686         [BZ #13439]
48687         * iconv/gconv.h: Define __GCONV_SWAP.
48688         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48689         * iconvdata/utf-16.c: Likewise.
48690         * iconvdata/utf-32.c: Likewise.
48692 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48694         [BZ #13524]
48695         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48696         numerator after shifting it by one limb.
48698 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48700         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48701         under [__USE_EXTERN_INLINES].
48703 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48705         [BZ #13446]
48706         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48708 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48710         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48711         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48712         optimized code.
48713         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48714         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48715         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48716         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48717         for strncasecmp/strncasecmp_l compilation.
48718         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48719         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48721 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48723         [BZ #13484]
48724         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48725         of __asm__.
48727 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48729         [BZ #13506]
48730         * time/tzfile.c (__tzfile_read): Check values from file header.
48732 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48734         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48735         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48736         * powerpc/powerpc32/dl-start.S: Likewise.
48737         * powerpc/powerpc32/elf/start.S: Likewise.
48738         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48739         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48740         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48741         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48742         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48743         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48744         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48745         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48746         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48747         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48748         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48749         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48750         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48751         * powerpc/powerpc32/memset.S: Likewise.
48752         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48753         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48754         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48755         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48756         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48757         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48758         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48759         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48760         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48761         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48762         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48763         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48764         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48766 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48768         * math/libm-test.inc: Added more nearbyint tests.
48769         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48771         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48772         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48774 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48776         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48777         FD_CLOEXEC.
48779 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48781         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48782         Add wcscpy-ssse3 wcscpy-c.
48783         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48784         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48785         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48786         * sysdeps/x86_64/wcschr.S: New file.
48787         * sysdeps/x86_64/wcsrchr.S: New file.
48788         * string/test-strcmp.c: Remove checking of wcscmp function for
48789         wrong alignments.
48790         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48791         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48792         wcsrchr-sse2 wcsrchr-c.
48793         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48794         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48795         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48796         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48797         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48798         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48799         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48800         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48801         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48802         * wcsmbc/wcschr.c (WCSCHR): New macro.
48804 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48806         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48807         * wcsmbs/test-wcsrchr.c: New file.
48808         * string/test-strrchr.c: Add wcsrchr support.
48809         (WIDE): New macro.
48810         * wcsmbs/test-wcscpy.c: New file.
48811         * string/test-strcpy.c: Add wcscpy support.
48812         (WIDE): New macro.
48814 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48816         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48817         the inner loop.
48819 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48821         [BZ #13472]
48822         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48824 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48826         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48827         Minor optimizations.
48829         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48830         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48831         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48833 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48835         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48836         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48837         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48838         for gcc to avoid warnings.
48839         * inet/Makefile (tests): Add tst-checks.
48840         * inet/tst-checks.c: New file.
48842         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48843         warning.
48845         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48846         __wmemcmp_sse2.
48848         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48849         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48851         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48853 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48855         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48856         problem.
48858         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48860 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48862         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48863         conditional on GCC version.
48864         (__arch_compare_and_exchange_val_8_acq)
48865         (__arch_compare_and_exchange_val_16_acq)
48866         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48867         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48868         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48870 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48872         * sysdeps/sh/backtrace.c: New file.
48874 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48876         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48877         parenthesis.
48879 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48881         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48882         falling back to utime.
48884 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48886         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48887         expectations for float.
48889 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48891         * locale/weight.h (findidx): Add parameter len.
48892         * locale/weightwc.h (findidx): Likewise.
48893         * posix/fnmatch_loop.c (FCT): Adjust caller.
48894         * posix/regcomp.c (build_equiv_class): Likewise.
48895         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48896         * posix/regexec.c (check_node_accept_bytes): Likewise.
48897         * string/strcoll_l.c (STRCOLL): Likewise.
48898         * string/strxfrm_l.c (STRXFRM): Likewise.
48900 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48902         * Makefile.in: Remove CVSOPT handling.
48903         * configure.in: Remove use of AC_REVISION.
48904         * iconvdata/Makefile (distribute): No need to filter out CVS.
48905         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48906         handling.
48908 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48911         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48912         [USE_AS_STRNCASECMP_L]: Likewise.
48913         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48914         NO_TLS_DIRECT_SEG_REFS.
48915         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48916         Fix argument offsets for non-PIC.
48917         [USE_AS_STRNCASECMP_L]: Likewise.
48918         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48919         NO_TLS_DIRECT_SEG_REFS.
48921 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48923         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48924         O_CLOEXEC.
48925         * locale/loadlocale.c (_nl_load_locale): Likewise.
48927 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48929         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48930         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48931         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48932         (SYSCALL_GETTIME): Set errno on error.
48934         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48935         count references to noai6ai_cached.
48937 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48939         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48941         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48942         FD_CLOEXEC for /proc/self/maps.
48944         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48945         FD_CLOEXEC for /proc/meminfo.
48947         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48948         gai.conf.
48950         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48951         FD_CLOEXEC for given file.
48953         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48955         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48956         FD_CLOEXEC for /etc/hosts.
48957         (_gethtent): Likewise.
48959         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48961         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48962         cancellation and set FD_CLOEXEC for /etc/netgroup.
48964         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48965         reading /etc/publickey.
48967         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48968         allow cancellation when reading /etc/group.
48970         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48971         cancellation.
48972         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48974         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48975         when using data file.
48977         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48979         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48980         (write_nis_obj): Use "c" and "e" in fopen.
48982         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48984         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48986         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48988         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48990         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48991         locale.alias.
48993         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48995         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48997         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48999         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49000         file parsing and set FD_CLOEXEC.
49002 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49004         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49006 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49008         * malloc/arena.c (arena_get2): Don't call reused_arena when
49009         _int_new_arena failed.
49011 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49013         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49014         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49015         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49016         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49017         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49018         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49019         to compile strcasecmp and strncasecmp.
49020         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49021         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49025 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49027         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49028         locale-defines.sym to gen-as-const-headers.
49029         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49030         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49031         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49032         to compile strcasecmp and strncasecmp.
49033         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49034         strcasecmp_l and strncasecmp_l.
49035         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49036         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49037         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49038         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49039         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49040         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49041         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49042         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49043         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49044         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49045         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49047 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49049         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49050         result of SYSDEP_GETTIME_CPU to retval.
49051         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49052         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49054         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49055         variable.
49057         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49058         mantissa words.
49059         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49061         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49062         from unused variable.
49064         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49065         DWARF definitions.
49066         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49067         for assembling.
49069         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49070         over namespaces.
49072         * sunrpc/rpc_prot.c (rejected): Fix case value.
49074         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49075         unsigned long long int to avoid warnings in shift.
49077         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49078         of use of trans.
49079         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49080         variable tmp.
49082         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49083         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49084         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49086         * nis/nis_table.c (nis_list): Use variable of correct type for
49087         result of __follow_path call.
49089 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49091         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49092         of math functions ceil, trunc, floor, round, and sqrt, when
49093         avaliable on the platform.
49094         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49095         name clash.
49096         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49097         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49098         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49100 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49102         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49103         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49105 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49107         * include/unistd.h: Fix __readlink return type.
49108         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49110 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49112         * stdlib/ucontext.h: Undo last change for makecontext.
49114 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49116         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49118         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49119         * setjmp/setjmp.h: Mark functions as non-leaf.
49120         * setjmp/bits/setjmp2.h: Likewise.
49121         * stdlib/ucontext.h: Likewise.
49123 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49125         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49126         (reused_arena): Don't check arena limit.
49127         (arena_get2): Atomically check arena limit.
49129 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49131         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49132         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49134         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49135         instructions.
49137 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49139         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49140         handler when locking.
49142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49143         Fix size of allocated buffer.
49145 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49147         [BZ #10103]
49148         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49149         declarations for long double functions.
49150         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49152         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49154 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49156         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49157         installed.
49159         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49160         is disabled.
49162 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49164         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49166 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49168         * include/alloca.h (stackinfo_alloca_round): Define.
49169         (extend_alloca): Use it.
49170         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49171         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49172         here.
49174         * scripts/check-local-headers.sh: Ignore libaudit.h.
49176         * nscd/Makefile (extra-objs): Make recursively expanded.
49178 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49180         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49181         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49183         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49184         * posix/tst-rfc3484-2.c: Likewise.
49185         * posix/tst-rfc3484-3.c: Likewise.
49187         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49188         process_vm_writev.
49189         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49190         process_vm_writev.
49191         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49192         process_vm_writev from libc using GLIBC_2.15 version.
49194         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49196 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49198         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49199         stack usage.
49201 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49203         [BZ #13367]
49204         * nss/getent.c (initgroups_keys): Show error message in case no group
49205         names are given.
49207         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49208         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49209         __bump_nl_timestamp.
49210         * nscd/connections (nscd_init): When host database is served open
49211         netlink socket and request notification about configuration changes.
49212         (main_loop_poll): Track netlink file descriptor and bump timestamp
49213         in case data becomes available.
49214         (main_loop_epoll): Likewise.
49215         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49216         (database_pers_head): Add extra_data fileds.
49217         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49218         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49219         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49220         Adjust caller.
49221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49222         in6ai data, call __free_in6ai.
49223         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49224         Add -DHAVE_NETLINK.
49225         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49226         interface information.  Reuse previous data if netlink timestamp
49227         is not changed.
49228         (__bump_nl_timestamp): New function.
49229         (__free_in6ai): New function.
49231 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49233         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49234         close_not_cancel_no_status here.
49235         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49237 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49239         [BZ #13276]
49240         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49241         return value.
49243         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49244         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49245         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49247 2011-07-03  Andreas Jaeger  <aj@suse.de>
49249         [BZ #10709]
49250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49251         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49252         * math/libm-test.inc (sin_test): Add test case.
49254 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49256         [BZ #13337]
49257         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49258         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49260         * elf/chroot_canon.c (chroot_canon): Cleanups.
49262         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49264         [BZ #13335]
49265         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49266         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49268         * string/test-strchr.c: Make usable for strchrnul testing.
49269         * string/test-strchrnul.c: New file.
49270         * string/Makefile (strop-tests): Add strchrnul.
49272         * po/it.po: Update from translation team.
49273         * po/es.po: Likewise.
49275 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49277         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49278         the three constants needed as parameters.  Drop the others.
49279         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49280         __m128i_strloadu_tolower.
49281         Create and initialize variable zero and use it in all the places
49282         where _mm_setzero_si128 was used.
49284         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49285         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49286         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49287         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49288         anymore.
49289         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49290         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49291         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49292         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49293         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49294         __mpranred, __mptan.
49295         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49296         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49297         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49298         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49299         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49300         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49301         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49302         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49303         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49305 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49307         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49308         redefine if SHARED.
49309         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49311         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49312         wide char related routines to wcsmbs subdir.
49314 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49316         [BZ #13344]
49317         * misc/sys/cdefs.h (__THROWNL): Define.
49318         * posix/unistd.h: Use __THREADNL instead of __THREAD
49319         for memory synchronization functions.
49321 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49323         [BZ #13349]
49324         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49325         doesn't exist.
49326         * manual/stdio.texi (Obstack Streams): Node removed.
49328 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49330         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49331         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49332         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49334         * math/math_private.h (math_force_eval): Allow non-addressable
49335         arguments.
49336         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49338 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49340         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49341         file is not needed.
49343         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49344         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49345         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49346         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49347         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49348         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49349         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49350         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49351         Add AVX variants.
49352         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49353         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49354         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49355         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49356         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49357         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49358         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49359         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49360         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49361         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49362         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49363         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49364         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49365         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49366         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49367         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49368         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49369         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49370         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49372         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49373         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49375         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49376         place.  Use VEX encoding when compiling for AVX.
49378 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49380         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49381         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49383         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49385 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49387         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49388         useless if() expression.
49389         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49390         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49391         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49392         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49393         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49394         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49395         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49396         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49397         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49398         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49399         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49400         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49401         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49402         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49403         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49404         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49405         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49406         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49407         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49409         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49411 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49413         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49414         condition.
49415         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49417 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49419         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49420         .text section.  Avoid duplicate constants.
49421         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49422         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49423         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49424         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49425         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49428         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49429         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49430         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49431         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49432         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49433         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49434         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49435         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49436         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49437         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49438         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49439         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49440         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49441         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49442         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49443         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49444         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49445         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49446         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49447         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49448         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49449         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49450         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49451         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49452         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49453         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49454         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49455         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49456         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49457         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49458         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49459         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49460         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49461         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49462         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49463         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49464         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49465         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49467 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49469         * sysdeps/x86_64/dla.h: Move to ...
49470         * sysdeps/x86_64/fpu/dla.h: ...here.
49471         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49472         situations.  Use __builtin_fma only for gcc 4.6 and up.
49474         * config.make.in: Add have-mfma4 entry.
49475         * configure.in: Substitute libc_cv_cc_fma4.
49476         * math/Makefile (dbl-only-routines): Add sincostab.
49477         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49478         Use __sincostab not sincos.
49479         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49480         name is a macro.
49481         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49482         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49483         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49485         using __copysign.
49486         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49487         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49488         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49489         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49490         and __inv.
49491         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49492         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49493         __copysign.
49494         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49495         define aliases when function name is a macro.
49496         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49497         sysdeps/ieee754/dbl-64/sincos.tbl.
49498         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49499         fma4-enabled routines.
49500         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49501         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49502         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49503         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49504         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49505         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49506         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49507         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49508         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49509         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49510         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49511         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49512         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49513         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49514         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49515         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49516         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49517         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49518         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49519         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49520         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49521         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49522         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49523         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49524         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49525         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49526         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49527         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49528         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49529         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49531         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49532         rename.
49533         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49535         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49536         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49538         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49539         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49540         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49542 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49544         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49546 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49548         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49550         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49551         prediction.
49552         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49554         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49555         Remove unused variable magic_bits.
49556         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49558         * string/strnlen.c: Define and use STRNLEN macro.
49559         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49560         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49561         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49562         * wcsmbs/wcslen.c: Define and use WCSLEN.
49563         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49564         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49565         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49566         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49567         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49568         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49569         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49571 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49574         strnlen-sse2-no-bsf.
49575         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49576         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49577         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49578         Add strnlen support.
49579         (USE_AS_STRNLEN): New macro.
49580         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49581         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49582         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49583         * sysdeps/x86_64/wcslen.S: New file.
49585 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49587         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49588         XMM-moves are used for copying on small sizes.
49590 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49592         * wcsmbs/Makefile (strop-tests): Add wcschr.
49593         * wcsmbs/test-wcschr.c: New file.
49594         * string/test-strchr.c: Update.
49595         Add wcschr support.
49596         (WIDE): New macro.
49598 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49600         * wcsmbs/Makefile (strop-tests): Add wcslen.
49601         * wcsmbs/test-wcslen.c: New file.
49602         * string/test-strlen.c: Update.
49603         Add wcslen support.
49604         (WIDE): New macro.
49606 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49608         * po/it.po: Update from translation team.
49610 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49612         * sysdeps/x86_64/wcscmp.S: Update.
49613         Fix wrong comparison semantics.
49614         wcscmp shall use signed comparison not unsigned.
49615         Don't use substraction to avoid overflow bug.
49616         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49617         * wcsmbc/wcscmp.c: Likewise.
49618         * string/test-strcmp.c: Likewise.
49619         Add new tests to check cases with negative values.
49621 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49623         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49624         * sysdeps/x86_64/dla.h: ...here.  New file.
49625         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49630         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49633         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49635 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49637         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49638         __ynl_finite aliases.
49640 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49644         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49645         define DLA_FMA.
49646         [DLA_FMA] (EMULV): Use DLA_FMA.
49647         [DLA_FMA] (MUL12): Use EMULV.
49648         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49649         that are not needed.
49650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49658 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49660         * math/s_nan.c: Undef __nan.
49661         * math/s_nanf.c: Undef __nanf.
49662         * math/s_nanl.c: Undef __nanl.
49663         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49664         "math_private.h".
49666 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49668         * math/s_catan.c: Add branch predictions.
49669         * math/s_catanf.c: Likewise.
49670         * math/s_catanh.c: Likewise.
49671         * math/s_catanhf.c: Likewise.
49672         * math/s_catanhl.c: Likewise.
49673         * math/s_catanl.c: Likewise.
49674         * math/s_cexp.c: Likewise.
49675         * math/s_cexpf.c: Likewise.
49676         * math/s_cexpl.c: Likewise.
49677         * math/s_clog.c: Likewise.
49678         * math/s_clog10.c: Likewise.
49679         * math/s_clog10f.c: Likewise.
49680         * math/s_clog10l.c: Likewise.
49681         * math/s_clogf.c: Likewise.
49682         * math/s_clogl.c: Likewise.
49683         * math/s_csqrt.c: Likewise.
49684         * math/s_csqrtf.c: Likewise.
49685         * math/s_csqrtl.c: Likewise.
49686         * math/s_ctanf.c: Likewise.
49687         * math/s_ctanh.c: Likewise.
49688         * math/s_ctanhf.c: Likewise.
49689         * math/s_ctanhl.c: Likewise.
49690         * math/s_ctanl.c: Likewise.
49692         * math/math_private.h: Define __nan, __nanf, __nanl.
49693         * math/s_cacosh.c: Include <math_private.h>.
49694         * math/s_cacoshl.c: Likewise.
49695         * math/s_casinh.c: Likewise.
49696         * math/s_casinhf.c: Likewise.
49697         * math/s_casinhl.c: Likewise.
49698         * math/s_ccos.c: Rely entire on ccosh.
49699         * math/s_ccosf.c: Rely entire on ccoshf.
49700         * math/s_ccosl.c: Rely entirely on ccoshl.
49701         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49702         Remove tests for FE_INVALID.
49703         * math/s_ccoshf.c: Likewise.
49704         * math/s_ccoshl.c: Likewise.
49705         * math/s_csin.c: Likewise.
49706         * math/s_csinf.c: Likewise.
49707         * math/s_csinh.c Likewise.
49708         * math/s_csinhf.c: Likewise.
49709         * math/s_csinhl.c: Likewise.
49710         * math/s_csinl.c: Likewise.
49711         * math/s_ctan.c: Likewise.
49712         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49713         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49714         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49716 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49719         compilation problems.
49721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49722         __builtin_expect.
49724 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49726         * sysdeps/i386/configure.in: Test for -mfma4 option.
49727         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49728         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49729         COMMON_CPUID_INDEX_80000001.
49730         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49731         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49732         use it if FMA3 is not supported.
49733         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49735         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49736         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49738 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49740         [BZ #12892]
49741         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49742         it would create a cycle with a link time dependency.
49744 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49746         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49747         instruction.
49748         * string/Makefile (strop-tests): Add rawmemchr.
49749         * string/test-rawmemchr.c: New file.
49751         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49753         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49754         when compiling str{,n}casecmp and when AVX is available.  Hook up
49755         new optimized code in initializers.
49757 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49759         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49760         __feraiseexcept instead of feraiseexcept.
49762 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49764         * math/math_private.h: Define defaults for libc_fetestexcept and
49765         libc_feupdateenv.
49766         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49767         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49768         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49769         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49770         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49771         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49772         libc_fetestexcept and libc_feupdateenv.
49774         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49775         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49776         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49777         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49778         libc_feholdexcept_setround.
49780         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49781         Add s_nearbyint-c and s_nearbyintf-c.
49782         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49783         nearbyintf inlines.
49784         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49785         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49786         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49787         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49789         * math/math_private.h: Define defaults for libc_fegetround,
49790         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49791         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49792         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49793         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49794         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49795         standard functions.
49796         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49797         Remove comments and hacks for old compiler versions.
49798         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49799         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49800         libc_feholdexceptl.
49802 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49804         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49805         (__feraiseexcept_renamed): Add __NTH.
49806         (feraiseexcept): Add __NTH.  Rename local variables to fix
49807         namespace violations.
49809 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49813         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49815         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49816         recently added interfaces.
49817         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49819         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49820         about macro parameter expansion.
49822         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49823         __NO_MATH_INLINES is defined.  Cleanups.
49825         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49826         and __floorf is target has SSE4.1.
49827         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49828         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49829         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49830         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49832         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49833         name.
49834         (floorf): Likewise.
49836         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49838 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49840         * misc/sys/cdefs.h: Fix last change.
49842         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49843         database lookup.
49845 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49847         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49849         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49850         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49851         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49852         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49853         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49854         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49855         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49856         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49857         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49858         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49859         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49860         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49861         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49862         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49863         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49864         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49865         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49866         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49867         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49868         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49869         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49870         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49872         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49873         ceil, ceilf, floor, floorf.
49875         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49876         Perform IRELATIVE relocations last.
49878         * elf/do-rel.h: Add another parameter nrelative, replacing the
49879         local variable with the same name.  Change name of the function
49880         to end in Rel or Rela (uppercase).
49881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49882         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49883         elf_dynamic_do_##reloc function.
49885 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49887         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49888         is sufficient, at least on modern CPUs.
49890         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49892         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49893         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49895         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49896         __expl_finite.
49897         * math/bits/math-finite.h: Add entries for exp.
49898         * math/e_expl.c: Add __*_finite alias.
49899         * sysdeps/i386/fpu/e_exp.S: Likewise.
49900         * sysdeps/i386/fpu/e_expf.S: Likewise.
49901         * sysdeps/i386/fpu/e_expl.c: Likewise.
49902         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49903         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49904         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49905         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49906         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49907         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49908         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49910         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49911         is sufficient, at least on modern CPUs.
49913         * ctype/ctype-info.c (__ctype_init): Define.
49914         * include/ctype.h (__ctype_init): Declare.
49915         (__ctype_b_loc): The variable is always initialized.
49916         (__ctype_toupper_loc): Likewise.
49917         (__ctype_tolower_loc): Likewise.
49918         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49919         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49921 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49923         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49925         * configure.in: Also look in $cxxmachine/include for C++ system
49926         headers.
49928 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49930         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49931         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49932         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49933         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49934         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49935         (USE_AS_WMEMCMP): New macro.
49936         Fixing indents.
49937         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49938         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49939         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49940         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49941         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49942         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49943         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49944         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49945         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49946         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49947         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49948         (USE_AS_WMEMCMP): New macro.
49949         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49950         * sysdeps/string/test-memcmp.c: Update.
49951         Fix simple_wmemcmp.
49952         Add new tests.
49953         * wcsmbs/wmemcmp.c: Update.
49954         (WMEMCMP): New macro.
49955         Fix overflow bug.
49957 2011-10-12  Andreas Jaeger  <aj@suse.de>
49959         [BZ #13268]
49960         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49962 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49964         * libio/iofwide.c (do_length): Avoid warning.
49966         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49968 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49970         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49972         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49973         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49974         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49975         * sysdeps/i386/i686/fpu/e_log.S: New file.
49976         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49977         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49979         * ctype/ctype.h: Add support for inlined isXXX functions when
49980         compiling C++ code.
49982 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49984         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49986         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49988 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49990         [BZ #13291]
49991         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49993 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49995         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49996         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49997         feraiseexcept.
49999         * sysdeps/x86_64/memrchr.S: Check for zero size.
50001         * string/stratcliff.c: Add memrchr tests.
50003 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50005         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50006         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50007         rawmemchr-sse2 rawmemchr-sse2-bsf.
50008         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50009         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50010         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50011         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50012         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50013         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50014         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50015         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50016         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50017         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50018         * string/memrchr.c (MEMRCHR): New macro.
50020 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50022         Add integration with gcc's -ffinite-math-only and optimize wrapper
50023         functions in libm.
50024         * Versions.def: Define GLIBC_2.15 version for libm.
50025         * math/Makefile (headers): Add bits/math-finite.h.
50026         * math/bits/math-finite.h: New file.
50027         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50028         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50029         * math/e_acoshl.c: Add __*_finite alias.
50030         * math/e_acosl.c: Likewise.
50031         * math/e_asinl.c: Likewise.
50032         * math/e_atan2l.c: Likewise.
50033         * math/e_atanhl.c: Likewise.
50034         * math/e_coshl.c: Likewise.
50035         * math/e_exp10.c: Likewise.
50036         * math/e_exp10f.c: Likewise.
50037         * math/e_exp10l.c: Likewise.
50038         * math/e_exp2l.c: Likewise.
50039         * math/e_fmodl.c: Likewise.
50040         * math/e_gammal_r.c: Likewise.
50041         * math/e_hypotl.c: Likewise.
50042         * math/e_j0l.c: Likewise.
50043         * math/e_j1l.c: Likewise.
50044         * math/e_jnl.c: Likewise.
50045         * math/e_lgammal_r.c: Likewise.
50046         * math/e_log10l.c: Likewise.
50047         * math/e_log2l.c: Likewise.
50048         * math/e_logl.c: Likewise.
50049         * math/e_powl.c: Likewise.
50050         * math/e_sinhl.c: Likewise.
50051         * math/e_sqrtl.c: Likewise.
50052         * math/e_scalb.c: Completely rewritten and optimized.
50053         * math/e_scalbf.c: Likewise.
50054         * math/e_scalbl.c: Likewise.
50055         * math/w_acos.c: Likewise.
50056         * math/w_acosf.c: Likewise.
50057         * math/w_acosl.c: Likewise.
50058         * math/w_acosh.c: Likewise.
50059         * math/w_acoshf.c: Likewise.
50060         * math/w_acoshl.c: Likewise.
50061         * math/w_asin.c: Likewise.
50062         * math/w_asinf.c: Likewise.
50063         * math/w_asinl.c: Likewise.
50064         * math/w_atan2.c: Likewise.
50065         * math/w_atan2f.c: Likewise.
50066         * math/w_atan2l.c: Likewise.
50067         * math/w_atanh.c: Likewise.
50068         * math/w_atanhf.c: Likewise.
50069         * math/w_atanhl.c: Likewise.
50070         * math/w_exp10.c: Likewise.
50071         * math/w_exp10f.c: Likewise.
50072         * math/w_exp10l.c: Likewise.
50073         * math/w_fmod.c: Likewise.
50074         * math/w_fmodf.c: Likewise.
50075         * math/w_fmodl.c: Likewise.
50076         * math/w_j0.c: Likewise.
50077         * math/w_j0f.c: Likewise.
50078         * math/w_j0l.c: Likewise.
50079         * math/w_j1.c: Likewise.
50080         * math/w_j1f.c: Likewise.
50081         * math/w_j1l.c: Likewise.
50082         * math/w_jn.c: Likewise.
50083         * math/w_jnf.c: Likewise.
50084         * math/w_log.c: Likewise.
50085         * math/w_logf.c: Likewise.
50086         * math/w_logl.c: Likewise.
50087         * math/w_log10.c: Likewise.
50088         * math/w_log10f.c: Likewise.
50089         * math/w_log10l.c: Likewise.
50090         * math/w_log2.c: Likewise.
50091         * math/w_log2f.c: Likewise.
50092         * math/w_log2l.c: Likewise.
50093         * math/w_pow.c: Likewise.
50094         * math/w_powf.c: Likewise.
50095         * math/w_powl.c: Likewise.
50096         * math/w_remainder.c: Likewise.
50097         * math/w_remainderf.c: Likewise.
50098         * math/w_remainderl.c: Likewise.
50099         * math/w_scalb.c: Likewise.
50100         * math/w_scalbf.c: Likewise.
50101         * math/w_scalbl.c: Likewise.
50102         * math/w_sqrt.c: Likewise.
50103         * math/w_sqrtf.c: Likewise.
50104         * math/w_sqrtl.c: Likewise.
50105         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50106         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50107         used.
50108         * math/math_private.h: Declare __kernel_standard_f.
50109         * math/w_cosh.c: Remove cruft and optimize a bit.
50110         * math/w_coshf.c: Likewise.
50111         * math/w_coshl.c: Likewise.
50112         * math/w_exp2.c: Likewise.
50113         * math/w_exp2f.c: Likewise.
50114         * math/w_exp2l.c: Likewise.
50115         * math/w_hypot.c: Likewise.
50116         * math/w_hypotf.c: Likewise.
50117         * math/w_hypotl.c: Likewise.
50118         * math/w_lgamma.c: Likewise.
50119         * math/w_lgamma_r.c: Likewise.
50120         * math/w_lgammaf.c: Likewise.
50121         * math/w_lgammaf_r.c: Likewise.
50122         * math/w_lgammal.c: Likewise.
50123         * math/w_lgammal_r.c: Likewise.
50124         * math/w_sinh.c: Likewise.
50125         * math/w_sinhf.c: Likewise.
50126         * math/w_sinhl.c: Likewise.
50127         * math/w_tgamma.c: Likewise.
50128         * math/w_tgammaf.c: Likewise.
50129         * math/w_tgammal.c: Likewise.
50130         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50131         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50132         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50133         Minor optimizations.  Pretty printing.  Remove cruft.
50134         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50135         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50136         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50137         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50138         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50139         * sysdeps/i386/fpu/e_asin.S: Likewise.
50140         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50141         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50142         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50143         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50144         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50145         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50146         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50147         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50148         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50149         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50150         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50151         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50152         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50153         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50154         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50155         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50156         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50157         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50158         * sysdeps/i386/fpu/e_log.S: Likewise.
50159         * sysdeps/i386/fpu/e_log10.S: Likewise.
50160         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50161         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50162         * sysdeps/i386/fpu/e_log2.S: Likewise.
50163         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50164         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50165         * sysdeps/i386/fpu/e_logf.S: Likewise.
50166         * sysdeps/i386/fpu/e_logl.S: Likewise.
50167         * sysdeps/i386/fpu/e_pow.S: Likewise.
50168         * sysdeps/i386/fpu/e_powf.S: Likewise.
50169         * sysdeps/i386/fpu/e_powl.S: Likewise.
50170         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50171         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50172         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50173         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50174         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50175         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50176         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50177         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50178         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50179         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50180         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50181         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50182         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50183         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50184         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50185         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50186         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50187         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50189         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50190         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50193         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50194         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50195         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50196         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50197         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50198         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50199         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50200         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50201         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50202         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50203         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50204         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50205         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50206         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50207         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50208         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50209         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50210         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50211         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50212         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50213         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50214         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50215         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50216         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50217         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50218         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50219         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50220         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50221         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50222         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50223         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50224         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50225         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50226         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50227         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50228         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50229         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50230         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50231         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50232         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50234         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50235         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50236         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50237         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50238         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50239         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50244         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50247         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50248         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50253         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50254         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50255         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50256         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50257         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50258         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50259         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50260         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50261         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50262         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50263         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50264         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50265         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50266         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50267         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50268         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50269         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50270         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50271         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50272         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50273         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50274         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50275         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50276         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50277         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50278         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50279         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50280         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50281         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50282         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50283         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50284         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50285         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50286         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50287         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50288         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50289         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50290         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50291         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50292         (__isnanf): Likewise.
50293         (__isinf_ns): Likewise.
50294         (__isinf_nsf): Likewise.
50295         (__finite): Likewise.
50296         (__finitef): Likewise.
50297         (__ieee754_sqrt): Define as macro.
50298         (__ieee754_sqrtf): Define as macro.
50299         (__ieee754_sqrtl): Define as macro.
50300         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50301         inlined copy.
50302         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50303         __FINITE_MATH_ONLY__ consistent.
50304         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50306 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50308         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50309         of rawmemchr.
50311         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50313 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50315         * po/ja.po: Update from translation team.
50317 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50319         * locale/programs/locarchive.c (prepare_address_space): New function.
50320         (create_archive, enlarge_archive, open_archive): Use it.
50322         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50323         inside [SHARED], where it is used.
50325         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50327         * nss/getent.c (netgroup_keys): Remove unused variable.
50328         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50330 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50332         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50333         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50334         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50335         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50336         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50337         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50338         * math/Makefile (libm-calls): Add s_isinf_ns.
50339         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50340         * math/multc3.c: Likewise.
50341         * math/s_casin.c: Likewise.
50342         * math/s_casinf.c: Likewise.
50343         * math/s_casinl.c: Likewise.
50344         * math/s_ccos.c: Likewise.
50345         * math/s_ccosf.c: Likewise.
50346         * math/s_ccosl.c: Likewise.
50347         * math/s_ctan.c: Likewise.
50348         * math/s_ctanf.c: Likewise.
50349         * math/s_ctanh.c: Likewise.
50350         * math/s_ctanhf.c: Likewise.
50351         * math/s_ctanhl.c: Likewise.
50352         * math/s_ctanl.c: Likewise.
50353         * math/w_fmod.c: Likewise.
50354         * math/w_fmodf.c: Likewise.
50355         * math/w_fmodl.c: Likewise.
50356         * math/w_remainder.c: Likewise.
50357         * math/w_remainderf.c: Likewise.
50358         * math/w_remainderl.c: Likewise.
50359         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50360         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50361         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50362         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50363         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50364         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50365         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50366         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50368         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50369         of the number.
50370         * stdio-common/printf_fphex.c: Likewise.
50371         * stdio-common/printf_size.c: Likewise.
50373         * math/e_exp10.c: Include math_private.h using <...> not "...".
50374         * math/e_exp10f.c: Likewise.
50375         * math/e_exp10l.c: Likewise.
50376         * math/e_exp2l.c: Likewise.
50377         * math/e_j0l.c: Likewise.
50378         * math/e_j1l.c: Likewise.
50379         * math/e_jnl.c: Likewise.
50380         * math/e_lgammal_r.c: Likewise.
50381         * math/e_rem_pio2l.c: Likewise.
50382         * math/e_scalb.c: Likewise.
50383         * math/e_scalbf.c: Likewise.
50384         * math/e_scalbl.c: Likewise.
50385         * math/k_cosl.c: Likewise.
50386         * math/k_sinl.c: Likewise.
50387         * math/k_tanl.c: Likewise.
50388         * math/s_cacoshf.c: Likewise.
50389         * math/s_catan.c: Likewise.
50390         * math/s_catanf.c: Likewise.
50391         * math/s_catanh.c: Likewise.
50392         * math/s_catanhf.c: Likewise.
50393         * math/s_catanhl.c: Likewise.
50394         * math/s_catanl.c: Likewise.
50395         * math/s_ccosh.c: Likewise.
50396         * math/s_ccoshf.c: Likewise.
50397         * math/s_ccoshl.c: Likewise.
50398         * math/s_cexp.c: Likewise.
50399         * math/s_cexpf.c: Likewise.
50400         * math/s_cexpl.c: Likewise.
50401         * math/s_clog.c: Likewise.
50402         * math/s_clog10.c: Likewise.
50403         * math/s_clog10f.c: Likewise.
50404         * math/s_clog10l.c: Likewise.
50405         * math/s_clogf.c: Likewise.
50406         * math/s_clogl.c: Likewise.
50407         * math/s_csin.c: Likewise.
50408         * math/s_csinf.c: Likewise.
50409         * math/s_csinh.c: Likewise.
50410         * math/s_csinhf.c: Likewise.
50411         * math/s_csinhl.c: Likewise.
50412         * math/s_csinl.c: Likewise.
50413         * math/s_csqrt.c: Likewise.
50414         * math/s_csqrtf.c: Likewise.
50415         * math/s_csqrtl.c: Likewise.
50416         * math/s_ctan.c: Likewise.
50417         * math/s_ctanf.c: Likewise.
50418         * math/s_ctanh.c: Likewise.
50419         * math/s_ctanhf.c: Likewise.
50420         * math/s_ctanhl.c: Likewise.
50421         * math/s_ctanl.c: Likewise.
50422         * math/s_ldexp.c: Likewise.
50423         * math/s_ldexpf.c: Likewise.
50424         * math/s_ldexpl.c: Likewise.
50425         * math/s_significand.c: Likewise.
50426         * math/s_significandf.c: Likewise.
50427         * math/s_significandl.c: Likewise.
50428         * math/w_acos.c: Likewise.
50429         * math/w_acosf.c: Likewise.
50430         * math/w_acosh.c: Likewise.
50431         * math/w_acoshf.c: Likewise.
50432         * math/w_acoshl.c: Likewise.
50433         * math/w_acosl.c: Likewise.
50434         * math/w_asin.c: Likewise.
50435         * math/w_asinf.c: Likewise.
50436         * math/w_asinl.c: Likewise.
50437         * math/w_atan2.c: Likewise.
50438         * math/w_atan2f.c: Likewise.
50439         * math/w_atan2l.c: Likewise.
50440         * math/w_atanh.c: Likewise.
50441         * math/w_atanhf.c: Likewise.
50442         * math/w_atanhl.c: Likewise.
50443         * math/w_cosh.c: Likewise.
50444         * math/w_coshf.c: Likewise.
50445         * math/w_coshl.c: Likewise.
50446         * math/w_dremf.c: Likewise.
50447         * math/w_exp10.c: Likewise.
50448         * math/w_exp10f.c: Likewise.
50449         * math/w_exp10l.c: Likewise.
50450         * math/w_exp2.c: Likewise.
50451         * math/w_exp2f.c: Likewise.
50452         * math/w_fmod.c: Likewise.
50453         * math/w_fmodf.c: Likewise.
50454         * math/w_fmodl.c: Likewise.
50455         * math/w_hypot.c: Likewise.
50456         * math/w_hypotf.c: Likewise.
50457         * math/w_hypotl.c: Likewise.
50458         * math/w_j0.c: Likewise.
50459         * math/w_j0f.c: Likewise.
50460         * math/w_j0l.c: Likewise.
50461         * math/w_j1.c: Likewise.
50462         * math/w_j1f.c: Likewise.
50463         * math/w_j1l.c: Likewise.
50464         * math/w_jn.c: Likewise.
50465         * math/w_jnf.c: Likewise.
50466         * math/w_jnl.c: Likewise.
50467         * math/w_lgamma.c: Likewise.
50468         * math/w_lgamma_r.c: Likewise.
50469         * math/w_lgammaf.c: Likewise.
50470         * math/w_lgammaf_r.c: Likewise.
50471         * math/w_lgammal.c: Likewise.
50472         * math/w_lgammal_r.c: Likewise.
50473         * math/w_log.c: Likewise.
50474         * math/w_log10.c: Likewise.
50475         * math/w_log10f.c: Likewise.
50476         * math/w_log10l.c: Likewise.
50477         * math/w_log2.c: Likewise.
50478         * math/w_log2f.c: Likewise.
50479         * math/w_log2l.c: Likewise.
50480         * math/w_logf.c: Likewise.
50481         * math/w_logl.c: Likewise.
50482         * math/w_pow.c: Likewise.
50483         * math/w_powf.c: Likewise.
50484         * math/w_powl.c: Likewise.
50485         * math/w_remainder.c: Likewise.
50486         * math/w_remainderf.c: Likewise.
50487         * math/w_remainderl.c: Likewise.
50488         * math/w_scalb.c: Likewise.
50489         * math/w_scalbf.c: Likewise.
50490         * math/w_scalbl.c: Likewise.
50491         * math/w_sinh.c: Likewise.
50492         * math/w_sinhf.c: Likewise.
50493         * math/w_sinhl.c: Likewise.
50494         * math/w_sqrt.c: Likewise.
50495         * math/w_sqrtf.c: Likewise.
50496         * math/w_sqrtl.c: Likewise.
50497         * math/w_tgamma.c: Likewise.
50498         * math/w_tgammaf.c: Likewise.
50499         * math/w_tgammal.c: Likewise.
50501         * po/ja.po: Update from translation team.
50503 2011-09-29  Andreas Jaeger  <aj@suse.de>
50505         [BZ #13179]
50506         * sunrpc/netname.c (netname2host): Fix logic.
50508         [BZ #6779]
50509         [BZ #6783]
50510         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50511         correctly.
50512         * math/w_remainder.c (__remainder): Likewise.
50513         * math/w_remainderf.c (__remainderf): Likewise.
50514         * math/libm-test.inc (remainder_test): Add test cases.
50516 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50518         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50519         sdiv_qrnnd.
50521 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50523         * string/test-memcmp.c: Avoid unncessary #defines.
50524         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50526 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50528         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50529         Use new sse2 version for core i3 - i7 as it's faster
50530         than sse42 version.
50531         (bit_Prefer_PMINUB_for_stringop): New.
50532         * sysdeps/x86_64/rawmemchr.S: Update.
50533         Replace with faster SSE2 version.
50534         * sysdeps/x86_64/memrchr.S: New file.
50535         * sysdeps/x86_64/memchr.S: Update.
50536         Replace with faster SSE2 version.
50538 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50540         * elf/dl-load.c (lose): Add cast to avoid warning.
50542 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50544         * po/ca.po: Update from translation team.
50546         * inet/getnetgrent_r.c: Hook up nscd.
50547         * nscd/Makefile (routines): Add nscd_netgroup.
50548         (nscd-modules): Add netgroupcache.
50549         (CFLAGS-netgroupcache.c): Define.
50550         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50551         (cache_search): Add const to second parameter.
50552         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50553         INNETGR.
50554         (dbs): Add netgrdb entry.
50555         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50556         (verify_persistent_db): Handle netgrdb.
50557         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50558         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50559         GETFDNETGR.
50560         (netgroup_response_header): Define.
50561         (innetgroup_response_header): Define.
50562         (datahead): Add netgroup_response_header and innetgroup_response_header
50563         elements.
50564         * nscd/nscd.conf: Add entries for netgroup cache.
50565         * nscd/nscd.h (dbtype): Add netgrdb.
50566         (_PATH_NSCD_NETGROUP_DB): Define.
50567         (netgroup_iov_disabled): Declare.
50568         (xmalloc, xcalloc, xrealloc): Move declarations here.
50569         (cache_search): Adjust prototype.
50570         Add netgroup-related prototypes.
50571         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50572         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50573         (__nscd_innetgr): Declare.
50574         * nscd/selinux.c (perms): Use access_vector_t as element type and
50575         add netgroup-related initializers.
50576         * nscd/netgroupcache.c: New file.
50577         * nscd/nscd_netgroup.c: New file.
50578         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50579         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50580         For four parameters use innetgr.
50581         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50582         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50583         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50584         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50586         * nscd/connections.c (register_traced_file): Don't register file
50587         for disabled databases.
50589 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50591         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50593         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50594         from tree and freeing node.
50596 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50598         * nss/nsswitch.c (__nss_database_lookup): Handle
50599         nss_parse_service_list out of memory case.
50601 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50603         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50604         out of memory case.
50606 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50608         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50609         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50610         pass it down.
50611         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50612         elf_machine_rela, elf_machine_lazy_rel.
50613         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50614         (ELF_DYNAMIC_DO_REL): Likewise.
50615         (ELF_DYNAMIC_DO_RELA): Likewise.
50616         (ELF_DYNAMIC_RELOCATE): Likewise.
50617         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50618         to ELF_DYNAMIC_DO_REL.
50619         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50620         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50621         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50622         elf_machine_rela.
50623         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50624         skip_ifunc, don't call ifunc function if non-zero.
50625         (elf_machine_rela): Likewise.
50626         (elf_machine_lazy_rel): Likewise.
50627         (elf_machine_lazy_rela): Likewise.
50628         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50629         (elf_machine_lazy_rel): Likewise.
50630         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50631         Likewise.
50632         (elf_machine_lazy_rel): Likewise.
50633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50634         Likewise.
50635         (elf_machine_lazy_rel): Likewise.
50636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50637         (elf_machine_lazy_rel): Likewise.
50638         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50639         (elf_machine_lazy_rel): Likewise.
50640         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50641         (elf_machine_lazy_rel): Likewise.
50642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50643         (elf_machine_lazy_rel): Likewise.
50644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50645         (elf_machine_lazy_rel): Likewise.
50646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50647         (elf_machine_lazy_rel): Likewise.
50649 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50651         * nss/nss_files/files-init.c (_nss_files_init): Use static
50652         initialization for all the *_traced_file variables.
50654 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50656         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50658 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50660         [BZ #13226]
50661         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50663 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50665         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50666         Reread the line before reparsing it.
50668 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50670         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50672 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50673             Maxim Kuvyrkov  <maxim@codesourcery.com>
50674             Joseph Myers  <joseph@codesourcery.com>
50676         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50677         if needed for __stack_chk_guard.
50679 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50681         * sysdeps/posix/spawni.c (script_execute): Always define it.
50682         It will be optimized away if unused.
50683         (maybe_script_execute): New function.
50684         (__spawni): Call it.
50686         * Makerules: Don't include tls.make.
50687         (config-tls): Always set to thread.
50688         * tls.make.c: File removed.
50690 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50692         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50693         * config.make.in (CPPFLAGS-config): New substituted variable.
50695 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50697         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50699         [BZ #13192]
50700         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50701         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50703 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50705         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50706         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50708         (CALL_FAIL): Likewise.
50709         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50710         (CALL_FAIL): Macro removed.
50711         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50713 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50715         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50716         for __FINITE_MATH_ONLY__ == 1.
50718 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50720         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50721         __ieee754_sqrt instead of sqrt.
50722         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50723         __ieee754_sqrtf instead of sqrtf.
50724         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50725         __floorf instead of floorf.
50726         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50727         __floorf, __truncf instead of floorf, truncf.
50729 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50731         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50733         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50734         __extern_always_inline.
50735         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50736         32-bit.
50738 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50740         * elf/rtld.c (dl_main): Also relocate in dependency order when
50741         doing symbol dependency testing.
50743 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50746         Always define `refsym'.
50748 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50750         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50751         (__FD_ELT): Renamed from __FDELT.
50752         * misc/bits/select2.h (__FD_ELT): Likewise.
50753         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50754         __FD_MASK instead of __FDELT, __FDMASK.
50755         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50756         Likewise.
50757         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50758         Likewise.
50760         * elf/Makefile (gen-ldd): Fix pattern.
50762         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50763         (init_tls): Likewise.
50765 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50767         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50769 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50771         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50772         `struct cmsghdr *' instead of `void *'.
50773         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50774         Likewise.
50776 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50778         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50779         if non-absolute.
50780         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50781         ldd_rewrite_script.
50783 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50785         * configure.in: Remove --with-tls option.
50786         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50787         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50788         out in case it is missing.
50789         * sysdeps/ia64/elf/configure.in: Likewise.
50790         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50791         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50792         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50793         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50794         * sysdeps/sh/elf/configure.in: Likewise.
50795         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50796         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50797         * sysdeps/x86_64/elf/configure.in: Likewise.
50798         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50799         * sysdeps/mach/hurd/tls.h: Likewise.
50801         [BZ #13067]
50802         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50804         [BZ #13090]
50805         * configure.in: Fix use of AC_INIT.
50807         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50809 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50811         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50812         __set_errno.
50813         * malloc/hooks.c: Likewise.
50815         [BZ #11929]
50816         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50817         variables statically.
50818         (narenas): Initialize.
50819         (list_lock): Initialize.
50820         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50821         initializtion of main_arena and list_lock.  Small cleanups.
50822         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50823         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50824         Add initializers to main_arena and mp_.
50825         (malloc_state): Remove pagesize member.  Change all users to use
50826         GLRO(dl_pagesize).
50828         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50829         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50830         is always initialized.
50832         * malloc/malloc.c: Removed unused configurations and dead code.
50833         * malloc/arena.c: Likewise.
50834         * malloc/hooks.c: Likewise.
50835         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50837         * include/tls.h: Removed.  USE___THREAD must always be defined.
50838         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50839         * elf/dl-libc.c: Likewise.
50840         * elf/dl-tsd.c: Likewise.
50841         * include/errno.h: Likewise.
50842         * include/netdb.h: Likewise.
50843         * include/resolv.h: Likewise.
50844         * inet/herrno-loc.c: Likewise.
50845         * inet/herrno.c: Likewise.
50846         * malloc/arena.c: Likewise.
50847         * malloc/hooks.c: Likewise.
50848         * malloc/malloc.c: Likewise.
50849         * resolv/res-state.c: Likewise.
50850         * resolv/res_libc.c: Likewise.
50851         * sysdeps/i386/dl-machine.h: Likewise.
50852         * sysdeps/ia64/dl-machine.h: Likewise.
50853         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50854         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50855         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50856         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50857         * sysdeps/sh/dl-machine.h: Likewise.
50858         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50859         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50860         * sysdeps/unix/i386/sysdep.S: Likewise.
50861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50862         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50864         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50865         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50867         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50871         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50872         * sysdeps/x86_64/dl-machine.h: Likewise.
50873         * tls.make.c: Likewise.
50875         * configure.in: Remove --with-__thread option.  Make tests for
50876         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50877         tls_model attribute fail if no support is available.  Remove
50878         USE_IN_LIBIO.
50879         * Makeconfig: Adjust for dropped configure option.  All features are
50880         now mandatory.
50881         * Makerules: Likewise.
50882         * Versions.def: Likewise.
50883         * argp/argp-fmtstream.c: Likewise.
50884         * argp/argp-fmtstream.h: Likewise.
50885         * argp/argp-help.c: Likewise.
50886         * assert/assert.c: Likewise.
50887         * config.h.in: Likewise.
50888         * config.make.in: Likewise.
50889         * configure: Likewise.
50890         * configure.in: Likewise.
50891         * csu/Versions: Likewise.
50892         * csu/init.c: Likewise.
50893         * elf/tst-audit2.c: Likewise.
50894         * elf/tst-tls10.c: Likewise.
50895         * elf/tst-tls10.h: Likewise.
50896         * elf/tst-tls11.c: Likewise.
50897         * elf/tst-tls12.c: Likewise.
50898         * elf/tst-tls14.c: Likewise.
50899         * elf/tst-tlsmod11.c: Likewise.
50900         * elf/tst-tlsmod12.c: Likewise.
50901         * elf/tst-tlsmod13.c: Likewise.
50902         * elf/tst-tlsmod13a.c: Likewise.
50903         * elf/tst-tlsmod14a.c: Likewise.
50904         * elf/tst-tlsmod15b.c: Likewise.
50905         * elf/tst-tlsmod16a.c: Likewise.
50906         * elf/tst-tlsmod16b.c: Likewise.
50907         * elf/tst-tlsmod7.c: Likewise.
50908         * elf/tst-tlsmod8.c: Likewise.
50909         * elf/tst-tlsmod9.c: Likewise.
50910         * gmon/gmon.c: Likewise.
50911         * grp/fgetgrent_r.c: Likewise.
50912         * grp/putgrent.c: Likewise.
50913         * hurd/fopenport.c: Likewise.
50914         * include/libc-symbols.h: Likewise.
50915         * include/tls.h: Likewise.
50916         * intl/gettextP.h: Likewise.
50917         * intl/loadinfo.h: Likewise.
50918         * locale/global-locale.c: Likewise.
50919         * locale/localeinfo.h: Likewise.
50920         * mach/devstream.c: Likewise.
50921         * malloc/arena.c: Likewise.
50922         * malloc/set-freeres.c: Likewise.
50923         * misc/err.c: Likewise.
50924         * misc/getttyent.c: Likewise.
50925         * misc/mntent_r.c: Likewise.
50926         * posix/getopt.c: Likewise.
50927         * posix/wordexp.c: Likewise.
50928         * pwd/fgetpwent_r.c: Likewise.
50929         * resolv/Versions: Likewise.
50930         * resolv/res_hconf.c: Likewise.
50931         * shadow/fgetspent_r.c: Likewise.
50932         * shadow/putspent.c: Likewise.
50933         * stdio-common/printf_fphex.c: Likewise.
50934         * stdio-common/tmpfile.c: Likewise.
50935         * stdlib/abort.c: Likewise.
50936         * stdlib/fmtmsg.c: Likewise.
50937         * sunrpc/auth_unix.c: Likewise.
50938         * sunrpc/clnt_perr.c: Likewise.
50939         * sunrpc/clnt_tcp.c: Likewise.
50940         * sunrpc/clnt_udp.c: Likewise.
50941         * sunrpc/clnt_unix.c: Likewise.
50942         * sunrpc/openchild.c: Likewise.
50943         * sunrpc/svc_simple.c: Likewise.
50944         * sunrpc/svc_tcp.c: Likewise.
50945         * sunrpc/svc_udp.c: Likewise.
50946         * sunrpc/svc_unix.c: Likewise.
50947         * sunrpc/xdr.c: Likewise.
50948         * sunrpc/xdr_array.c: Likewise.
50949         * sunrpc/xdr_rec.c: Likewise.
50950         * sunrpc/xdr_ref.c: Likewise.
50951         * sunrpc/xdr_stdio.c: Likewise.
50953 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50955         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50957 2011-07-03  Andreas Jaeger  <aj@suse.de>
50959         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50960         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50961         regenerate with gen-libm-tests.pl.
50963 2010-05-12  Petr Baudis  <pasky@suse.cz>
50965         [BZ #11589]
50966         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50967         around j0() zero points by switching to j1().
50968         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50969         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50971         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50973 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50975         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50976         instead of 0.
50977         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50978         instead of 0.
50979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50980         Patch in part by Pavel Roskin <proski@gnu.org>.
50982         [BZ #13138]
50983         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50984         realloc.
50985         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50986         Free memory block if necessary.
50988         [BZ #12847]
50989         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50990         be NULL.  Don't lock in this case.
50992 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50994         * elf/elf.h (ELFOSABI_GNU): New macro.
50995         (ELFOSABI_LINUX): Define to that.
50997 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50999         * string/strncat.c (strncat): Undef the symbol in case it has been
51000         defined in bits/string.h.
51002 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51004         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51006         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51007         link map.
51009 2011-08-17  Andreas Jaeger  <aj@suse.de>
51011         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51013 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51014             Ian Lance Taylor  <iant@google.com>
51016         * math/libm-test.inc (lround_test): New testcase.
51017         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51019 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51021         * Makefile: Remove support for automatic cvs check-ins.
51022         * Makerules: Likewise.
51023         * config.make.in: Likewise.
51024         * configure.in: Likewise.
51025         * intl/Makefile: Likewise.
51026         * locale/Makefile: Likewise.
51027         * po/Makefile: Likewise.
51028         * posix/Makefile: Likewise.
51029         * sysdeps/gnu/Makefile: Likewise.
51030         * sysdeps/mach/hurd/Makefile: Likewise.
51031         * sysdeps/sparc/sparc32/Makefile: Likewise.
51033         [BZ #13118]
51034         * posix/Makefile (bug-regex32-ENV): Define.
51035         Patch by John Stanley <jpsinthemix@verizon.net>.
51037         * misc/Makefile (headers): Add bits/select2.h.
51038         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51039         * misc/bits/select2.h: New file.
51040         * include/bits/select2.h: New file.
51041         * debug/Makefile (routines): Add fdelt_chk.
51042         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51043         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51044         FD_ISSET.
51045         * debug/fdelt_chk.c: New file.
51047         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51048         * wcsmbs/test-wmemcmp.c: Likewise.
51049         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51050         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51052 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51054         * string/Makefile (strop-tests): Add memcmp.
51055         * string/test-wmemcmp.c: New file.
51056         * string/test-memcmp.c: Add wmemcmp support.
51058 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51060         [BZ #13153]
51061         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51062         2011-07-19 change.
51064         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51065         garbage value in a __mach_port_mod_refs call in the cases of the
51066         task-self and thread-self ports.
51068 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51070         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51072 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51074         * elf/dl-load.c (lose): Check for non-null L.
51076 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51078         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51080         * elf/dl-libc.c (dlerror_run): Pass back error code from
51081         dl_catch_error.
51083         [BZ #13123]
51084         * elf/dl-load.c (lose): Free l_origin if it is valid.
51086         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51087         names.
51088         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51089         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51090         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51091         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51092         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51093         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51095 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51097         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51098         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51099         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51100         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51101         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51102         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51103         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51104         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51105         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51106         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51108 2011-08-15  Alan Modra  <amodra@gmail.com>
51110         [BZ #13092]
51111         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51112         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51113         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51114         ppc_mcount to static-only-routines.
51115         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51116         __mcount_internal.
51117         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51118         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51120 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51122         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51123         for finite and infinity parameters.
51125 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51128         and add nop instructions for throughput optimization.
51129         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51131 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51133         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51134         aligned copy for power7 with vector-scalar instructions.
51135         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51137 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51139         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51140         AVX check.
51142 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51144         [BZ #13144]
51145         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51146         last change.
51148 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51150         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51151         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51152         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51153         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51154         clock_gettime.
51156 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51158         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51159         Forgot to demangle the pointer.
51161         * sysdeps/i386/sysdep.h: Define atom_text_section.
51162         * sysdeps/x86_64/sysdep.h: Likewise.
51163         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51164         section with atom_text_section.
51165         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51166         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51167         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51168         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51169         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51171         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51172         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51173         already be defined.  Change to take two parameters and don't assign
51174         result to variable.  Adjust all users.
51175         Define INTERNAL_GETTIME if not already defined.
51176         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51177         call.
51178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51179         HAVE_CLOCK_GETTIME_VSYSCALL.
51180         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51182         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51183         gettimeofday vsyscall, just use time.
51185 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51187         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51188         <errno.h>.
51190 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51192         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51193         syscall on x86-64.
51194         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51195         syscall.
51196         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51197         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51198         syscall if possible.
51200 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51202         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51203         e_ident.  Don't pass to find_mapsXX.
51204         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51206 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51209         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51210         * sysdeps/x86_64/multiarch/strchr.S: Update.
51211         Check bit_slow_BSF bit.
51212         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51213         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51214         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51216 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51218         [BZ #13134]
51219         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51220         before glibc 2.15.
51221         (tryshell): Define.
51222         (__spawni): Change last parameter to be flag.  Test
51223         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51224         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51225         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51226         * posix/spawni.c: Likewise.
51227         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51228         * posix/spawnp.c: Likewise.  Change normal version to use
51229         SPAWN_XFLAGS_USE_PATH.
51230         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51231         SPAWN_XFLAGS_TRY_SHELL.
51233         [BZ #13150]
51234         * posix/glob.h: Remove gcc 1.x support.
51236         [BZ #13068]
51237         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51239 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51242         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51243         strrchr-sse2-bsf
51244         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51245         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51246         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51247         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51248         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51249         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51251 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51253         * sysdeps/x86_64/wcscmp.S: New file.
51255         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51256         wcscmp-c wcscmp-sse2
51257         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51258         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51259         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51260         * wcsmbs/wcscmp.c: Allow renaming.
51262 2011-09-05  David S. Miller  <davem@davemloft.net>
51264         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51265         stack slot, rather than the struct return pointer slot.
51266         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51267         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51269         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51271 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51273         * po/ja.po: Update from translation team.
51275         [BZ #13144]
51276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51277         kernel in 64-bit binaries.
51279 2011-09-01  David S. Miller  <davem@davemloft.net>
51281         * elf/elf.h (HWCAP_SPARC_*): Move to..
51282         * sysdeps/sparc/sysdep.h: this new file and add new values.
51283         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51284         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51285         _DL_HWCAP_COUNT to 24.
51286         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51287         entries.
51288         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51289         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51290         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51292         instead of magic constants.
51293         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51295 2011-08-31  David S. Miller  <davem@davemloft.net>
51297         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51298         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51299         Reimplement to do errno handling inline.
51300         (SYSCALL_ERROR_HANDLER): New macro.
51301         (__SYSCALL_STRING): Do not do errno handling in asm.
51302         (__CLONE_SYSCALL_STRING): Delete.
51303         (__INTERNAL_SYSCALL_STRING): Delete.
51304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51305         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51306         (PSEUDO): Reimplement to do errno handling inline.
51307         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51308         (SYSCALL_ERROR_HANDLER): New macro.
51309         (__SYSCALL_STRING): Do not do errno handling in asm.
51310         (__CLONE_SYSCALL_STRING): Delete.
51311         (__INTERNAL_SYSCALL_STRING): Delete.
51312         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51313         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51314         i386.
51315         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51316         (inline_syscall*): Add 'err' argument.
51317         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51318         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51319         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51320         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51322         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51323         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51325 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51327         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51329 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51331         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51332         directive.
51334 2011-08-24  David S. Miller  <davem@davemloft.net>
51336         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51338 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51340         * elf/Makefile: Add rules to build and run unload8 test.
51341         * elf/unload8.c: New file.
51342         * elf/unload8mod1.c: New file.
51343         * elf/unload8mod1x.c: New file.
51344         * elf/unload8mod2.c: New file.
51345         * elf/unload8mod3.c: New file.
51347         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51348         it wasn't used.
51350 2011-08-23  David S. Miller  <davem@davemloft.net>
51352         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51353         subtract stack bias.
51354         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51355         %sp not %fp in calculations.
51356         (_JMPBUF_UNWINDS_ADJ): Likewise.
51358         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51359         (aio_suspend): Call it to force an exception region around the
51360         AIO_MISC_WAIT() invocation.
51362 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51364         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51365         backslash.
51367 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51369         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51370         protection macro.
51371         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51372         and <dl-machine.h>.
51373         (Elf64_FuncDesc): Remove.
51375 2011-08-22  David S. Miller  <davem@davemloft.net>
51377         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51378         sigaltstack check, add missing cfi directives.
51379         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51380         missing cfi directives, and sigaltstack handling.
51382 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51384         [BZ #11724]
51385         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51386         object is seen twice.
51387         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51389         * elf/Makefile (distribute): Add tst-initorder2.c.
51390         (tests): Add tst-initorder2.
51391         (modules-names): Add tst-initorder2a tst-initorder2b
51392         tst-initorder2c tst-initorder2d.  Add rules to build them.
51393         ($(objpfx)tst-initorder2.out): New rule.
51394         * elf/tst-initorder2.c: New file.
51395         * elf/tst-initorder2.exp: New file.
51397 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51399         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51401         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51402         dependencies back to end of function.
51404         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51405         $(elfobjdir)/ld.so.
51407 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51409         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51410         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51412         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51413         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51414         of __vdso_gettimeofday.
51415         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51416         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51417         attribute_hidden.
51418         (_libc_vdso_platform_setup): Remove initialization of
51419         __vdso_gettimeofday and __vdso_time.
51421 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51423         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51424         and fgetc_unlocked.
51425         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51426         getc_unlocked.
51428         * elf/dl-open.c (add_to_global): Report additions to the global scope
51429         for LD_DEBUG=scopes.
51430         (dl_open_worker): Also print scope of newly loaded dependencies.
51431         (_dl_show_scope): Indicate if there is no scope.
51433         [BZ #13114]
51434         * stdio-common/Makefile (tests): Add bug24.
51435         * stdio-common/bug24.c: New file.
51437 2011-08-19  Andreas Jaeger  <aj@suse.de>
51439         [BZ #13114]
51440         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51441         non-existant file when using close-on-exec mode.
51443 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51445         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51446         the very first instruction.
51448         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51449         the CFI state in the end.
51450         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51451         inclusion of dl-trampoline.h.
51452         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51454 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51456         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51457         expectations for long double.
51459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51460         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51462 2011-08-14  David S. Miller  <davem@davemloft.net>
51464         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51465         artificual limit depends upon the system page size.
51467 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51469         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51470         * resolv/Makefile: Define CFLAGS-libresolv.
51472 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51474         * nss/makedb.c (compute_tables): Make variables used in nested
51475         function static.
51477 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51479         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51480         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51481         if buffer was too small.
51483         * elf/pldd.c (main): Attach to all threads in the process.
51484         Rewrite /proc handling to use *at functions.
51486 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51488         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51489         specifies first scope to show.
51490         (dl_open_worker): Update callers.  Move printing scope of new
51491         object to before the relocation.
51492         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51493         * sysdeps/generic/ldsodefs.h: Update declaration.
51495         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51496         string for the scope number.
51498 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51500         * nscd/servicescache.c (cache_addserv): Make sure written is always
51501         initialized.
51503 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51505         * sysdeps/i386/i486/bits/atomic.h
51506         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51507         statement expression, so as to suppress "set but not used" warning.
51508         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51510         * string/strncat.c (STRNCAT): Use prototype definition.
51512         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51513         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51514         -Iprograms here.
51515         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51516         (localedef-modules): Add localedef.
51517         (locale-modules): Add locale.
51519         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51520         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51521         to avoid a warning.
51523 2011-08-14  David S. Miller  <davem@davemloft.net>
51525         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51526         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51528 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51530         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51531         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51532         * elf/rtld.c (dl_main): Set l_name of vDSO.
51533         Call _dl_show_scope when DL_DEBUG_SCOPES.
51534         (process_dl_debug): Recognize scopes flag and also set it for all.
51535         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51536         Declare _dl_show_scope.
51538         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51539         (do_dlopen): Pass caller_dlopen to dl_open.
51540         (__libc_dlopen_mode): Initialize caller_dlopen.
51542         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51543         of libc.  Make tolower call locale-independent.  Optimize a bit by
51544         using isdigit instead of isalnum.
51545         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51547 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51549         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51550         was a dependency or dynamically loaded.
51552 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51554         * intl/l10nflist.c: Allow architecture-specific pop function.
51555         * sysdeps/x86_64/l10nflist.c: New file.
51557         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51558         classification.
51560 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51562         * include/dirent.h: Add libc_hidden_proto for scandirat and
51563         scandirat64.  Don't declare __scandirat64.
51564         * dirent/scandirat.c: Add libc_hidden_def.
51565         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51566         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51568 2011-08-10  David S. Miller  <davem@davemloft.net>
51570         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51571         enum.
51572         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51573         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51574         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51576 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51578         * Versions.def [libc]: Add GLIBC_2.15.
51579         * dirent/Makefile (routines): Add scandirat and scandirat64.
51580         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51581         GLIBC_2.15.
51582         * dirent/dirent.h: Declare scandirat and scandirat64.
51583         * dirent/scandirat.c: New file.
51584         * dirent/scandirat64.c: New file.
51585         * sysdeps/wordsize-64/scandirat.c: New file.
51586         * sysdeps/wordsize-64/scandirat64.c: New file.
51587         * dirent/opendir.c: Define opendirat.
51588         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51589         using scandirat.
51590         * dirent/scandir64.c: Adjust for scandir.c change.
51591         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51592         __scandirat64, and __scandir_cancel_handler.
51593         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51594         additional parameter and use openat instead of open (outside of ld.so).
51595         Add new __opendir as wrapper around __opendirat.
51596         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51597         here without requiring old scandirat implementation.
51599 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51601         * dirent/scandir.c (cancel_handler): Renamed to
51602         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51603         defined.  Adjust users.
51604         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51605         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51607 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51609         * string/test-string.h (IMPL): Use __STRING to expand name and then
51610         stringify it.
51612         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51613         of cleanups.
51615 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51617         * string/Makefile: Update.
51618         (strop-tests): Append strncat.
51619         * string/test-wcscmp.c: New file.
51620         New comprehensive test for wcscmp.
51621         * string/test-strcmp.c: Update.
51622         (WIDE): New define.
51624 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51626         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51627         line.
51629 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51632         encoding to ACE if AI_IDN.
51634 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51636         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51637         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51639 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51641         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51642         Fix overflow bug in strncat.
51643         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51645         * string/test-strncat.c: Update.
51646         Add new tests for checking overflow bugs.
51648 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51651         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51652         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51653         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51654         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51655         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51656         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51657         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51658         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51661         (USE_AS_STRCAT): Define.
51662         Add strcat and strncat support.
51663         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51665 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51667         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51668         __n bigger than INT_MAX+1.
51669         (__strncmp_g): Likewise.
51671 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51673         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51674         * libio/stido.h: Likewise.
51676         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51677         (AF_NFC): Define.
51678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51679         (AF_NFC): Define.
51681         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51682         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51683         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51684         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51685         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51687         [BZ #13021]
51688         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51689         installed.
51691         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51692         typo.
51693         (_dl_x86_64_save_sse): Likewise.
51695 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51698         OSXSAVE.
51699         (_dl_x86_64_save_sse): Likewise.
51701         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51703         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51705 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51708         change.
51709         (_dl_x86_64_save_sse): Use correct AVX check.
51711 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51713         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51714         bug in strncpy/strncat.
51715         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51717 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51719         * string/tester.c (test_strcat): Add tests for different alignments
51720         of source and destination.
51721         (test_strncat): Likewise.
51723 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51725         [BZ #12852]
51726         * posix/glob.c (glob): Check passed in values before using them in
51727         expressions to avoid some overflows.
51728         (glob_in_dir): Likewise.
51730         [BZ #13007]
51731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51732         check for AVX enablement so that we don't crash with old kernels and
51733         new hardware.
51734         * elf/tst-audit4.c: Add same checks here.
51735         * elf/tst-audit6.c: Likewise.
51737         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51739 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51741         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51743 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51745         * po/cs.po: Update from translation team.
51746         * po/bg.po: Likewise.
51748 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51750         * misc/sys/cdefs.h: Add support for const attribute.
51751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51752         to gnu_dev_{major,minor,makedev} functions.
51754 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51756         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51758 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51760         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51761         strlen results.
51763 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51766         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51767         register in order to avoid conflicts with the soft frame pointer
51768         being held in r11 when necessary.
51769         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51770         (INTERNAL_VSYSCALL_NCS): Likewise.
51772 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51774         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51775         * elf/dl-fini.c (_dl_fini): Adjust caller.
51776         * elf/dl-close.c (_dl_close_worker): Likewise.
51777         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51779 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51781         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51782         "aux_cache->nlibs < 0".
51784         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51785         in the reload-count case.
51787 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51790         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51791         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51792         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51793         * sysdeps/x86_64/multiarch/strcat.S: New file.
51794         * sysdeps/x86_64/multiarch/strncat.S: New file.
51795         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51796         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51797         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51798         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51799         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51800         (USE_AS_STRCAT): Define.
51801         Add strcat and strncat support.
51802         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51803         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51804         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51805         * string/strncat.c: Update.
51806         (USE_AS_STRNCAT): Define.
51807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51808         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51809         and i7.
51810         * sysdeps/x86_64/multiarch/init-arch.h
51811         (bit_Prefer_PMINUB_for_stringop): New.
51812         (index_Prefer_PMINUB_for_stringop): Likewise.
51813         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51814         bit_Prefer_PMINUB_for_stringop.
51816 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51818         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51819         buffer64.
51820         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51821         of casting of buffer.
51822         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51823         buffer32 and buffer64.
51824         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51825         writes instead of casting of buffer.
51826         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51827         buffer32.
51828         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51829         casting of buffer.
51831 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51833         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51835 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51837         * nscd/nscd.c (termination_handler): Don't do anything for a database
51838         if it has not yet been initialized.
51840 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51842         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51844 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51846         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51848 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51850         * po/nl.po: Update from translation team.
51851         * po/sv.po: Likewise.
51853 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51855         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51856         now disallowed by GCC.
51858         * configure.in (use-default-link): Default to yes if a test -shared
51859         link meets our qualifications.
51860         * configure: Regenerated.
51862         * config.make.in (output-format): New variable.
51863         * configure.in: Check for ld --print-output-format support.
51864         * configure: Regenerated.
51865         * Makerules ($(common-objpfx)format.lds)
51866         [$(output-format) != unknown]: Just use $(output-format),
51867         instead of the linker-script munging.
51869 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51871         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51872         of $(common-objpfx)shlib.lds.
51873         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51875         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51876         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51878         * configure.in (-z relro check): Adjust test code to add a large
51879         writable data section after it.
51880         * configure: Regenerated.
51882 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51884         * configure.in (-z relro check): Fix test code to make the variable
51885         truly const.
51886         * configure: Regenerated.
51888 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51890         * nscd/nscd.h (struct traced_file): Define.
51891         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51892         elements.  Add traced_files.
51893         (inotify_fd): Declare.
51894         (register_traced_file): Declare.
51895         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51896         (inotify_fd): Export.
51897         (resolv_conf_descr): Remove.
51898         (nscd_init): Move inotify descriptor creation to main.
51899         Don't register files for notification here.
51900         (register_traced_file): New function.
51901         (invalidate_cache): Don't use reset_res to determine whether to call
51902         res_init, go through the list of registered files.
51903         (main_loop_poll): The inotify descriptors are now stored in the
51904         structures for the traced files.
51905         (main_loop_epoll): Likewise
51906         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51907         to __nss_disable_nscd.
51908         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51909         for a database anymore.  Check the records for all the registered
51910         files instead.
51911         * nss/Makefile (libnss_files-routines): Add files-init.
51912         (libnss_db-routines): Add db-init.
51913         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51914         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51915         * nss/nss_db/db-init.c: New file.
51916         * nss/nss_files/files-init.c: New file.
51917         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51918         __nss_lookup_function.
51919         (__nss_lookup_function): Call nss_load_library.
51920         (nss_load_all_libraries): New function.
51921         (__nss_disable_nscd): Take parameter with callback function for files
51922         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51923         used for the cached services.
51924         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51925         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51926         options for features to all the files in nscd.
51928         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51930 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51932         * csu/elf-init.c (__libc_csu_init): Comment typo.
51934 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51936         * po/pl.po: Update from translation team.
51937         * po/ja.po: Likewise.
51938         * po/ru.po: Likewise.
51939         * po/ko.po: Likewise.
51940         * po/fr.po: Likewise.
51942 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51944         * configure.in (.ctors/.dtors header and trailer check):
51945         Use an empirical test on a built program.
51946         * configure: Regenerated.
51948         * configure.in (-z relro check): Use an empirical test on a built DSO.
51949         Detect, but do not require, on ia64.
51950         * configure: Regenerated.
51952         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51953         Update tests that use readelf to use $READELF instead.
51954         * configure: Regenerated.
51956 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51958         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51959         if the result is not used.
51961 2011-07-05  Andreas Jaeger  <aj@suse.de>
51963         [BZ#9696]
51964         * stdlib/tst-strtod.c: Add testcase.
51966 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51968         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51969         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51970         The latter has a higher limit.  Take additional parameter to pass to
51971         the new function.
51972         (__pathconf): Pass file to __statfs_link_max.
51973         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51974         __statfs_link_max.
51975         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51976         __statfs_link_max.
51978         [BZ #12868]
51979         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51980         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51981         Handle Lustre.
51982         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51983         (__statfs_filesize_max): Likewise.
51984         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51986 2011-07-05  Andreas Jaeger  <aj@suse.de>
51988         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51990 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51992         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51993         `status' variable.
51994         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51995         Likewise.
51997 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51999         * Makefile (strop-tests): Add strncat.
52000         * string/test-strncat.c: New file.
52002 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52004         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52006 2011-06-21  Andreas Jaeger  <aj@suse.de>
52008         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52009         Copy rule from iconvdata/Makefile.
52011 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52013         [BZ #12922]
52014         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52015         but no long options are defined, just return 'W'.
52017 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52019         [BZ #9696]
52020         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52022 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52024         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52025         netgroups to read.
52026         (innetgr): Likewise.
52028 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52030         * config.make.in (install_root): Default to $(DESTDIR).
52032 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52034         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52036 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52038         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52040         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52041         containing directory rather than embedding absolute directory names.
52043         * scripts/check-local-headers.sh: Rewritten using awk.
52044         Match by word, not by line.  Print error messages for matches.
52045         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52047         * Makerules [shlib-lds-flags empty]:
52048         ($(common-objpfx)libc_pic.opts): New target.
52049         ($(common-objpfx)libc_pic.os.clean): New target.
52050         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52052         * config.make.in (OBJCOPY): New variable.
52053         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52054         * configure: Regenerated.
52056         * config.make.in (use-default-link): New variable.
52057         * configure.in (use_default_link): Grok --with-default-link to set it.
52058         * configure: Regenerated.
52059         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52060         (shlib-lds, shlib-lds-flags): Define to empty.
52062         * Makerules (shlib-lds): New variable.
52063         (shlib-lds-flags): New variable.
52064         (build-shlib, build-moduile, build-module-asneeded): Use it.
52065         ($(common-objpfx)libc.so): Use $(shlib-lds).
52066         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52067         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52069         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52070         DT_FLAGS/DT_FLAGS_1 with zero flags.
52072         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52073         linker script munging.
52075 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52077         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52078         as 128-bit value.
52079         * crypt/sha512.c (sha512_process_block): Perform total addition using
52080         128-bit if possible.
52081         (__sha512_finish_ctx): Likewise.
52082         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52083         as 64-bit value.
52084         * crypt/sha256.c (SWAP64): Define.
52085         (sha256_process_block): Perform total addition using 64-bit if
52086         possible.
52087         (__sha256_finish_ctx): Likewise.
52089 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52091         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52092         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52093         * nscd/hstcache.c (cache_addhst): Likewise.
52094         * nscd/grpcache.c (cache_addgr): Likewise.
52095         * nscd/aicache.c (addhstaiX): Likewise
52096         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52098 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52100         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52101         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52102         * nscd/hstcache.c (cache_addhst): Likewise.
52103         * nscd/grpcache.c (cache_addgr): Likewise.
52104         * nscd/aicache.c (addhstaiX): Likewise
52106 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52108         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52109         domain only when needed.
52111 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52114         is always restored.
52116 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52118         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52119         are re-adding the entry.
52120         * nscd/servicescache.c (cache_addserv): Likewise.
52122 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52124         * sysdeps/generic/dl-irel.h: fix protection against multiple
52125         inclusions.
52126         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52128 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52130         [BZ #12935]
52131         * malloc/memusage.sh: Fix quoting in message.
52132         * debug/xtrace.sh: Likewise.
52134         * configure.in: Remove support for --experimental-malloc option, make
52135         it the default.
52136         * config.make.in: Likewise.
52137         * malloc/Makefile: Likewise.
52139 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52141         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52142         two-byte characters.
52144 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52146         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52147         AC_CACHE_CHECK invocation.
52148         * configure: Regenerated.
52150         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52152 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52154         [BZ #12350]
52155         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52156         bit from old_res_options.
52158         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52160         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52161         value type for setfct.
52163 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52166         __gettimeofday instead of gettimeofday.
52168 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52170         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52172 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52174         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52176         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52177         info.
52179 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52182         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52183         strcpy-sse2-unaligned strncpy-sse2-unaligned
52184         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52185         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52186         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52187         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52188         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52189         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52190         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52191         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52192         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52193         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52194         (STRCPY): Support SSE2 and SSSE3 versions.
52196 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52198         [BZ #12874]
52199         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52200         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52201         kernels which artificially limit size of requests.
52203 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52205         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52206         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52207         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52208         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52209         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52210         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52211         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52212         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52213         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52214         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52215         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52216         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52217         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52218         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52219         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52221         Enable unaligned load optimization for Intel Core i3, i5 and i7
52222         processors.
52223         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52224         Define.
52225         (index_Fast_Unaligned_Load): Define.
52226         (HAS_FAST_UNALIGNED_LOAD): Define.
52228 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52230         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52232 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52234         [BZ #12907]
52235         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52236         until it is clear that the information is realy needed.
52237         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52239 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52243 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52245         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52246         /sys/devices/system/cpu/online if it is usable.
52248         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52249         reading the information from the /proc filesystem to once a second.
52251 2011-06-21  Andreas Jaeger  <aj@suse.de>
52253         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52254         NULL after inclusion of kernel headers.
52256 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52258         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52259         calls to internal_setent.
52261         [BZ #12885]
52262         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52263         addresses using gethostbyname4_r ignore IPv4 addresses.
52265         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52266         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52268         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52270 2011-06-20  David S. Miller  <davem@davemloft.net>
52272         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52273         inclusions.
52274         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52276         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52277         (elf_irel): Use it.
52278         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52279         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52280         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52281         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52282         * sysdeps/x86_64/dl-irel.h: Likewise.
52284         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52285         * elf/dl-sym.c: Likewise.
52287 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52289         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52290         need to dereference resplen2.
52292 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52294         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52296 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52298         * Makeconfig: Define vardbdir and inst_vardbdir.
52299         * nss/Makefile: Add rules to install db-Makefile.
52301         * nss/nss_db/db-XXX.c: Cleanup.
52303         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52304         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52305         GLIBC_PRIVATE.
52306         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52307         * nss/makedb.c: Implement -g option to specify that value strings
52308         are generated and should not be added to table iterated over for
52309         get*ent calls.
52310         * nss/nss_db/db-initgroups.c: New file.
52312         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52313         interface.
52315         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52316         (internal_getgrouplist): Adjust to name change.
52317         Update use_initgroups_entry if this is not the first call.
52318         * nss/databases.def: Add initgroups entry.
52320         * nss/makedb.c (compute_tables): Check result of multiple hash table
52321         sizes to minimize maximum chain length.
52323 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52325         * Versions.def: Add entry for libnss_db.
52326         * shlib-versions: Likewise.
52327         * nss/Makefile: Add rules to build libnss_db.
52328         * nss/Versions: Add libnss_db information.  Organize libnss_files
52329         entries better.
52330         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52331         makedb progra.  Some minor improvements to generate smaller files.
52332         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52333         here from...
52334         * nss/makedb.c: ...here.
52335         Improve database format to be smaller and require less memory at
52336         runtime.
52337         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52338         db anymore.
52339         * nss/nss_db/db-netgrp.c: Likewise.
52340         * nss/nss_db/db-open.c: Likewise.
52341         * nss/nss_files/flies-XXX.x: Adjust comments.
52342         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52343         * nss/nss_files/files-grp.c: Likewise.
52344         * nss/nss_files/files-hosts.c: Likewise.
52345         * nss/nss_files/files-network.c: Likewise.
52346         * nss/nss_files/files-proto.c: Likewise.
52347         * nss/nss_files/files-pwd.c: Likewise.
52348         * nss/nss_files/files-rpc.c: Likewise.
52349         * nss/nss_files/files-service.c: Likewise.
52350         * nss/nss_files/files-sgrp.c: Likewise.
52351         * nss/nss_files/files-spwd.c: Likewise.
52352         * nss/nss_db/db-alias.c: Removed.
52353         * nss/nss_db/dummy-db.h: Removed.
52355 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52357         * nss/makedb.c: Rewritten to not use database library.
52358         * nss/Makefile: Update to build new makedb program.
52360 2011-06-14  Andreas Jaeger  <aj@suse.de>
52362         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52363         memset declaration.
52365 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52368         tmpbuf.
52370 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52372         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52373         * elf/Makefile ($(objpfx)ld.so): Likewise.
52375         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52376         Don't list ld.so twice in dependencies.
52378         * posix/bug-regex31.c: Include <stdlib.h>.
52380         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52382         * nis/nss_compat/compat-spwd.c
52383         (getspent_next_nss_netgr): Remove unused variable.
52384         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52386         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52387         nonmembers" output to use the right array.
52389         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52391         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52393         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52394         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52395         * catgets/gencat.c (read_input_file): Likewise.
52396         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52398         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52399         variable definition inside #if's controlling its use.
52401         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52403         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52405         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52407         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52408         unreachable code.
52410         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52412         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52413         * configure: Regenerated.
52415         * Makerules: Revert last change.
52416         * elf/Makefile: Likewise.
52418 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52420         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52421         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52422         (reloc-link): Likewise.
52424 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52426         * elf/Makefile: Add rules to build pldd.
52427         * elf/pldd.c: New file.
52428         * elf/pldd-xx.c: New file.
52430 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52432         * version.h: Update for 2.15 development version.
52434 2011-06-07  David S. Miller  <davem@davemloft.net>
52436         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52437         ifuncs.
52438         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52439         elf_machine_lazy_rel): Likewise.
52440         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52441         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52442         elf_machine_lazy_rel): Likewise.
52443         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52444         dl_hwcap via passed in argument.
52445         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52446         Likewise.
52448 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52450         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52452 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52454         [BZ #12849]
52455         * manual/fdl-1.1.texi: New file, verbatim from:
52456         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52457         * manual/lgpl-2.1.texi: New file, verbatim from:
52458         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52459         * manual/Makefile (licenses): New variable, list those new file names.
52460         (texis): Use it.
52461         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52463         * manual/fdl.texi: File removed.
52464         * manual/lesser.texi: File removed.
52465         * manual/libc.texinfo (Copying, Documentation License):
52466         Use new @include file names, put @appendix directive before @include.
52468 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52470         [BZ #12841]
52471         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52472         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52473         (mq_open): Add __NTH.
52475 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52478         Assume Intel Core i3/i5/i7 processor if AVX is available.
52480 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52482         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52483         typo.
52485 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52487         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52488         memory.  Use alloca_account.  Fix memory leak when retrying.
52490 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52492         * version.h (RELEASE): Bump for 2.14 release.
52493         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52495         * config.make.in (RANLIB): Remove entry.
52497 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52499         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52500         (libc.pot): Work around missing support for .ksh extension in xgettext.
52502         [BZ #12684]
52503         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52504         if both request failed.
52505         (send_dg): In case of server errors clear resplen or *resplen2.
52507         [BZ #12454]
52508         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52509         when there are multiple maps.
52510         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52511         (_dl_fini): Remove test here.
52513         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52515 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52517         [BZ #12350]
52518         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52519         bit from old_res_options.
52520         (gaih_inet): Likewise.
52522         [BZ #11099]
52523         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52524         as signed.
52526         * resolv/res_init.c (res_setoptions): Make the code more compact.
52528         [BZ #11558]
52529         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52530         set RES_USEVC.
52532         [BZ #11634]
52533         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52535         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52537         [BZ #11781]
52538         * malloc/malloc.h: Declare malloc hook variables as volatile.
52540         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52541         in last patch.
52543         [BZ #11799]
52544         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52545         raise in the comment.
52546         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52547         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52548         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52550 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52552         [BZ #12811]
52553         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52554         grow the buffers more if it already has to be sufficient.
52555         (build_wcs_upper_buffer): Likewise.
52556         * posix/regexec.c (check_matching): Likewise.
52557         (clean_state_log_if_needed): Likewise.
52558         (extend_buffers): Don't enlarge buffers beyond size of the input
52559         buffer.
52560         Patches mostly by Emil Wojak <emil@wojak.eu>.
52561         * posix/bug-regex32.c: New file.
52562         * posix/Makefile (tests): Add bug-regex32.
52564         * locale/findlocale.c (_nl_find_locale): Return right away if
52565         _nl_explode_name failed.
52566         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52568         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52570         * debug/xtrace.sh: Unify messages.
52571         * malloc/memusage.sh: Likewise.
52573         [BZ #12813]
52574         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52575         time symbol from vDSO.  Substitute with vsyscall if not available.
52576         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52577         __vdso_time.
52579         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52580         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52581         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52582         Add sendmmsg and internal_sendmmsg.
52583         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52584         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52585         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52587         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52588         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52589         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52591 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52593         [BZ #12813]
52594         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52595         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52596         available.
52597         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52598         __vdso_getcpu.
52600         [BZ #12814]
52601         * iconvdata/Makefile (tests): Add bug-iconv9.
52602         * iconvdata/bug-iconv9.c: New file.
52604 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52606         [BZ #12814]
52607         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52609 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52611         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52612         (struct user_regs_struct): Change intcs field back to cs.
52614 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52616         * po/ja.po: Update from translation team.
52618 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52620         [BZ #12795]
52621         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52622         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52624 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52626         * stdlib/longlong.h: Update from GCC.
52628 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52630         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52631         parameter name.
52632         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52633         Add parameter name.
52634         (__sysconf): Pass it down.
52636 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52638         [BZ #12671]
52639         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52640         some situations.
52641         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52642         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52643         add in in __libc_use_alloca calls.  Adjust callers.
52644         (glob): Use malloc in some situations.
52646         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52647         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52648         pltexit.
52650 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52652         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52653         and CLOCK_BOOTTIME_ALARM.
52655         [BZ #12782]
52656         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52657         is returned.
52659         * string/_strerror.c (__strerror_r): Print negative errors as signed
52660         numbers.
52662         [BZ #12777]
52663         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52664         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52665         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52667         * configure.in: Fix typo in redirection and correct removal of test
52668         files in two cases.
52670         [BZ #12788]
52671         * locale/setlocale.c (new_composite_name): Fix test to check for
52672         identical name of all categories.
52674         [BZ #12792]
52675         * libio/filedoalloc.c (local_isatty): New function.
52676         (_IO_file_doallocate): Use local_isatty.
52677         * stdio-common/perror.c (perror): In case a new stream is used
52678         forward the stream error.
52679         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52680         error flag.
52682 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52684         [BZ #11869]
52685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52686         alloca.
52687         * include/alloca.h (extend_alloca_account): Define.
52689         [BZ #11857]
52690         * posix/regex.h: Fix comments with documentation of user-accessible
52691         fields after compilation and describe correct free'ing of pattern
52692         after re_compile_pattern.
52693         Patch by Reuben Thomas <rrt@sc3d.org>.
52695 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52697         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52698         and -mno-altivec to prevent the compiler from using Altivec and/or
52699         VSX instructions when the corresponding registers are not available.
52701 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52703         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52705 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52707         * libio/freopen.c (freopen): Use __dup2, not dup2.
52708         * libio/freopen64.c (freopen64): Likewise.
52710 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52712         [BZ #12775]
52713         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52714         * math/Makefile (tests): Add test-powl.
52715         (CFLAGS-test-powl.c): Define.
52716         * math/test-powl.c: New file.
52718 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52720         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52722 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52724         [BZ #11837]
52725         * iconvdata/gb18030.c: Update to GB18020-2005.
52727 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52729         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52730         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52731         Patch by Aharon Robbins <arnold@skeeve.com>.
52733         [BZ #11892]
52734         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52735         on the stack.
52737         [BZ #11895]
52738         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52739         through underflows.
52741         [BZ #12766]
52742         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52743         point to strings before performing equality test for error_one_per_line
52744         mode.
52746         [BZ #11697]
52747         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52749         [BZ #11820]
52750         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52751         (struct user_fpregs_struct): Avoid __uint*_t types.
52753         [BZ #6420]
52754         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52755         symbol info.  Use it instead of calling _dl_addr locally.
52756         (lock_and_info): New function.
52757         (tr_freehook): Call lock_and_info and pass symbol info as additional
52758         parameter to tr_where.
52759         (tr_mallochook): Likewise.
52760         (tr_reallochook): Likewise.
52761         (tr_memalignhook): Likewise.
52763         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52764         used and couldn't be at all thread-safe.
52766 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52768         * libio/freopen.c (freopen): Don't close old file descriptor
52769         before the new one is opened.  Instead dup the new file descriptor
52770         to the old one after the new stream is created.
52771         * libio/freopen64.c (freopen64): Likewise.
52772         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52773         * libio/fileops.c (_IO_new_file_close_it): Handle new
52774         _IO_FLAGS2_NOCLOSE flag.
52775         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52776         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52777         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52778         _IO_FLAGS2_NOCLOSE flag.
52779         * include/unistd.h: Add hidden_proto for dup3.
52780         Define __have_dup3.
52781         * io/dup3.c: Define hidden symbol.
52782         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52784         [BZ #7101]
52785         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52786         when an incomplete long option is used.
52787         * posix/tst-getopt_long1.c: New file.
52788         * posix/Makefile (tests): Add tst-getopt_long1.
52790         [BZ #10138]
52791         * scripts/config.guess: Update from autoconf-2.68.
52792         * scripts/config.sub: Likewise.
52794         [BZ #10157]
52795         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52796         tests into ...
52797         (has_cpuclock): ...this.  New function.
52798         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52799         macro here based on has_cpuclock code.
52801         [BZ #10149]
52802         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52803         First byte (not low byte) is now always NUL.
52804         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52806         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52807         Use non-cancelable interfaces.
52809         [BZ #9809]
52810         * locale/iso-639.def: Add entry for Sorani.
52812         [BZ #11901]
52813         * include/stdlib.h: Move include protection to the right place.
52814         Define abort_msg_s.  Declare __abort_msg with it.
52815         * stdlib/abort.c (__abort_msg): Adjust type.
52816         * assert/assert.c (__assert_fail_base): New function.  Majority
52817         of code from __assert_fail.  Allocate memory for __abort_msg with
52818         mmap.
52819         (__assert_fail): Now call __assert_fail_base.
52820         * assert/assert-perr.c: Remove bulk of implementation.  Use
52821         __assert_fail_base.
52822         * include/assert.hL Declare __assert_fail_base.
52823         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52824         mmap.
52825         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52827 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52829         [BZ #11952]
52830         [BZ #12453]
52831         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52832         until all modules are registered in the DTV.
52833         * elf/Makefile: Add rules to build and run tst-tls19.
52834         * elf/tst-tls19.c: New file.
52835         * elf/tst-tls19mod1.c: New file.
52836         * elf/tst-tls19mod2.c: New file.
52837         * elf/tst-tls19mod3.c: New file.
52838         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52840         [BZ #12083]
52841         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52842         correctly.
52844         [BZ #12601]
52845         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52846         two-byte sequence errors.
52847         * iconvdata/Makefile (tests): Add bug-iconv8.
52848         * iconvdata/bug-iconv8.c: New file.
52850         [BZ #12626]
52851         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52852         buf2 definition.
52854         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52856         [BZ #12432]
52857         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52858         (dummy_getcfa): New function.
52859         (init): Get _Unwind_GetCFA address, use dummy if not found.
52860         (backtrace_helper): In recursion check, also check whether CFA changes.
52861         (__backtrace): Completely initialize arg.
52863         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52864         storing incomplete byte sequence in state object.  Avoid testing for
52865         guaranteed too small input if we know there is enough data available.
52867 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52869         * Makeconfig (+link-pie): Indent.
52870         * Rules (binaries-pie): Define if $(have-fpie) and
52871         $(build-shared).
52872         (binaries-shared): Also filter out $(binaries-pie).
52873         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52874         * nscd/Makefile (others-pie): Add nscd.
52875         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52876         ($(objpfx)nscd): Remove command override.
52877         * login/Makefile (others-pie): Add pt_chown.
52878         ($(objpfx)pt_chown): Remove command override.
52879         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52880         remove command overrides.
52882 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52884         * libio/tst_putwc.c: Fix error messages.
52886         [BZ #12724]
52887         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52888         currently writing and seek to current position when not.
52889         * libio/Makefile (tests): Add bug-fclose1.
52890         * libio/bug-fclose1.c: New file.
52892 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52894         [BZ #12511]
52895         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52896         don't set DF_1_NODELETE here.
52897         (do_lookup_x): When entering new entry test for copy relocation
52898         and if necessary set DF_1_NODELETE flag.
52899         * elf/tst-unique4.cc: New file.
52900         * elf/tst-unique4.h: New file.
52901         * elf/tst-unique4lib.cc: New file.
52902         * elf/Makefile: Add rules to build and run tst-unique4.
52903         Patch by Piotr Bury <pbury@goahead.com>.
52905 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52907         [BZ #12052]
52908         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52910         [BZ #12625]
52911         * misc/mntent_r.c (addmntent): Flush the stream after the output
52913         [BZ #12393]
52914         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52915         (is_trusted_path_normalize): Skip initial colon.  Append slash
52916         to empty buffer.  Duplicate is_trusted_path code but allow
52917         constructed patch to be prefix.
52918         (is_dst): Allow $ORIGIN followed by /.
52919         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52920         Correct testing of result of is_trusted_path_normalize
52921         (decompose_rpath): Fix warning.
52923 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52925         [BZ #11257]
52926         * grp/initgroups.c (internal_getgrouplist): When we found the service
52927         list through the initgroups entry in nsswitch.conf do not always
52928         continue on a successful lookup.  Don't always use the
52929         __nss_group_database value if it is set.
52930         * nss/nsswitch.conf (initgroups): Change action for successful db
52931         lookup to continue for compatibility.
52933 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52935         [BZ #11532]
52936         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52937         and CP774 modules.
52938         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52939         and CP774 modules.
52940         * iconvdata/tst-tables.sh: Likewise.
52941         * iconvdata/cp770.c: New file.
52942         * iconvdata/cp771.c: New file.
52943         * iconvdata/cp772.c: New file.
52944         * iconvdata/cp773.c: New file.
52945         * iconvdata/cp774.c: New file.
52946         * iconvdata/testdata/CP770: New file.
52947         * iconvdata/testdata/CP770..UTF8: New file.
52948         * iconvdata/testdata/CP771: New file.
52949         * iconvdata/testdata/CP771..UTF8: New file.
52950         * iconvdata/testdata/CP772: New file.
52951         * iconvdata/testdata/CP772..UTF8: New file.
52952         * iconvdata/testdata/CP773: New file.
52953         * iconvdata/testdata/CP773..UTF8: New file.
52954         * iconvdata/testdata/CP774: New file.
52955         * iconvdata/testdata/CP774..UTF8: New file.
52957         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52958         END CHARMAP line.
52959         * iconvdata/gen-8bit-gap.sh: Likewise.
52960         * iconvdata/gen-8bit.sh: Likewise.
52962         * locale/iso-639.def: Add ary entry.
52964         [BZ #11258]
52965         * locale/C-translit.h.in: Add U20A1 transliteration.
52967         [BZ #12178]
52968         * locale/iso-639.def: Add wae entry.
52969         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52971         [BZ #12545]
52972         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52973         for n.
52975         [BZ #12711]
52976         * locale/C-translit.h.in: Add entry for U20B9.
52977         Patch by pravin.d.s@gmail.com.
52979 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52981         [BZ #12713]
52982         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52983         ENAMETOOLONG use generic getcwd.
52984         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52985         in rtld.  Use *stat64.
52986         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52987         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52988         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52989         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52990         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52991         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52992         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52993         __fstatat64 macros.
52994         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52995         * dirent/rewinddir.c: Add libc_hidden_def.
52996         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52997         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52999         * include/dirent.h (__alloc_dir): Add flags parameter.
53000         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53001         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53002         __alloc_dir.
53003         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53004         from fdopendir if O_CLOEXEC is already set.
53006 2011-03-15  Alan Modra  <amodra@gmail.com>
53008         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53009         l_tls_firstbyte_offset non-zero.  Save padding offset in
53010         l_tls_firstbyte_offset for later use.
53011         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53012         freeing static tls block.
53014 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53016         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53017         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53018         being defined by the kernel headers.
53020 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53022         [BZ #12734]
53023         * resolv/resolv.h: Define RES_NOTLDQUERY.
53024         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53025         no-tld-query and set RES_NOTLDQUERY.
53026         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53027         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53028         modern BIND to search name as TLD unless forbidden.
53030 2011-05-07  Petr Baudis  <pasky@suse.cz>
53031             Ulrich Drepper  <drepper@gmail.com>
53033         [BZ #12393]
53034         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53035         (is_trusted_path): ...to here.
53036         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53037         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53038         using is_trusted_path_normalize() in setuid scripts.
53040 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53042         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53043         __BEGIN/__END_DECLS.
53045 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53047         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53048         NSS_STATUS_NOTFOUND if no record was found.
53050 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53052         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53053         (headers-not-in-tirpc): Remove rpc/netdb.h
53054         * resolv/netdb.h: Revert last change.
53056 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53058         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53059         circular dependency between libgcc.a and libc.a.
53061 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53063         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53064         * nis/Makefile: Don't install rpcsvc/*.
53065         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53066         instead of <rpc/types.h>.
53067         (MAXHOSTNAMELEN): Define.
53069 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53071         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53073 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53075         [BZ #12714]
53076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53077         gethostbyname4_r when IPv6 results are possible.
53079 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53081         [BZ #12723]
53082         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53083         _PC_PIPE_BUF handling.
53085 2011-04-30  Bruno Haible  <bruno@clisp.org>
53087         [BZ #12717]
53088         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53089         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53090         to 'int'.
53091         * inet/getnameinfo.c (getnameinfo): Likewise.
53093 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53095         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53096         to groups setting in database lookup.
53097         * nss/nsswitch.conf: Add initgroups entry.
53099 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53101         [BZ #12685]
53102         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53103         mode string.
53104         Patch by Eric Blake <eblake@redhat.com>.
53106 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53108         * sunrpc/Makefile (need-export-routines): Add svc_run.
53109         (routines): Remove svc_run.
53110         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53111         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53112         * sunrpc/svc_run.c (svc_run): Likewise.
53113         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53115 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53117         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53118         problem in reallocation in last patch.
53120 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53122         * sunrpc/Makefile: Move inclusion of Rules.
53124 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53126         * nss/nss_files/files-initgroups.c: New file.
53127         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53128         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53129         _nss_files_initgroups_dyn.
53131 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53133         * elf/elf.h (R_ARM_IRELATIVE): Define.
53135 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53137         * po/ru.po: Update from translation team.
53139 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53141         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53142         dependencies.
53144 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53146         [BZ #12653]
53147         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53148         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53149         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53150         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53151         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53153 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53155         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53156         differing bytes.
53157         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53158         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53159         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53161 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53163         [BZ #12420]
53164         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53165         storing it.
53166         * stdlib/bug-getcontext.c: New file.
53167         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53169 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53171         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53172         instructions into .machine "z9-109".
53173         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53174         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53176 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53178         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53179         between environment variables and auxiliary vector.
53181 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53183         * Makefile: Add rules to build linkobj/libc.so.
53184         * include/libc-symbols.h: Define libc_hidden_nolink.
53185         * include/rpc/auth.h: Mark functions which are to be hidden.
53186         * include/rpc/auth_des.h: Likewise.
53187         * include/rpc/auth_unix.h: Likewise.
53188         * include/rpc/clnt.h: Likewise.
53189         * include/rpc/des_crypt.h: Likewise.
53190         * include/rpc/key_prot.h: Likewise.
53191         * include/rpc/pmap_clnt.h: Likewise.
53192         * include/rpc/pmap_prot.h: Likewise.
53193         * include/rpc/pmap_rmt.h: Likewise.
53194         * include/rpc/rpc_msg.h: Likewise.
53195         * include/rpc/svc.h: Likewise.
53196         * include/rpc/svc_auth.h: Likewise.
53197         * include/rpc/xdr.h: Likewise.
53198         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53199         * nss/Makefile: Likewise.
53200         * sunrpc/Makefile: Don't install headers.  Build library with normal
53201         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53202         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53203         for the compat linking library.  Remove use of INTDEF/INTUSE.
53204         * sunrpc/auth_none.c: Likewise.
53205         * sunrpc/auth_unix.c: Likewise.
53206         * sunrpc/authdes_prot.c: Likewise.
53207         * sunrpc/authuxprot.c: Likewise.
53208         * sunrpc/clnt_gen.c: Likewise.
53209         * sunrpc/clnt_perr.c: Likewise.
53210         * sunrpc/clnt_raw.c: Likewise.
53211         * sunrpc/clnt_simp.c: Likewise.
53212         * sunrpc/clnt_tcp.c: Likewise.
53213         * sunrpc/clnt_udp.c: Likewise.
53214         * sunrpc/clnt_unix.c: Likewise.
53215         * sunrpc/des_crypt.c: Likewise.
53216         * sunrpc/des_soft.c: Likewise.
53217         * sunrpc/get_myaddr.c: Likewise.
53218         * sunrpc/key_call.c: Likewise.
53219         * sunrpc/key_prot.c: Likewise.
53220         * sunrpc/netname.c: Likewise.
53221         * sunrpc/pm_getmaps.c: Likewise.
53222         * sunrpc/pm_getport.c: Likewise.
53223         * sunrpc/pmap_clnt.c: Likewise.
53224         * sunrpc/pmap_prot.c: Likewise.
53225         * sunrpc/pmap_prot2.c: Likewise.
53226         * sunrpc/pmap_rmt.c: Likewise.
53227         * sunrpc/publickey.c: Likewise.
53228         * sunrpc/rpc_cmsg.c: Likewise.
53229         * sunrpc/rpc_common.c: Likewise.
53230         * sunrpc/rpc_dtable.c: Likewise.
53231         * sunrpc/rpc_prot.c: Likewise.
53232         * sunrpc/rpc_thread.c: Likewise.
53233         * sunrpc/rtime.c: Likewise.
53234         * sunrpc/svc.c: Likewise.
53235         * sunrpc/svc_auth.c: Likewise.
53236         * sunrpc/svc_authux.c: Likewise.
53237         * sunrpc/svc_raw.c: Likewise.
53238         * sunrpc/svc_run.c: Likewise.
53239         * sunrpc/svc_simple.c: Likewise.
53240         * sunrpc/svc_tcp.c: Likewise.
53241         * sunrpc/svc_udp.c: Likewise.
53242         * sunrpc/svc_unix.c: Likewise.
53243         * sunrpc/svcauth_des.c: Likewise.
53244         * sunrpc/xcrypt.c: Likewise.
53245         * sunrpc/xdr.c: Likewise.
53246         * sunrpc/xdr_array.c: Likewise.
53247         * sunrpc/xdr_float.c: Likewise.
53248         * sunrpc/xdr_intXX_t.c: Likewise.
53249         * sunrpc/xdr_mem.c: Likewise.
53250         * sunrpc/xdr_rec.c: Likewise.
53251         * sunrpc/xdr_ref.c: Likewise.
53252         * sunrpc/xdr_sizeof.c: Likewise.
53253         * sunrpc/xdr_stdio.c: Likewise.
53255 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53257         [BZ #12650]
53258         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53259         * sysdeps/ia64/dl-tls.h: Likewise.
53260         * sysdeps/powerpc/dl-tls.h: Likewise.
53261         * sysdeps/s390/dl-tls.h: Likewise.
53262         * sysdeps/sh/dl-tls.h: Likewise.
53263         * sysdeps/sparc/dl-tls.h: Likewise.
53264         * sysdeps/x86_64/dl-tls.h: Likewise.
53265         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53267 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53269         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53270         rpath element also skip the following colon.
53271         (expand_dynamic_string_token): Add is_path parameter and pass
53272         down to DL_DST_REQUIRED and _dl_dst_substitute.
53273         (decompose_rpath): Call expand_dynamic_string_token with
53274         non-zero is_path.  Ignore empty rpaths.
53275         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53276         with zero is_path.
53278 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53281         Make cancelable.
53283 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53285         [BZ #12655]
53286         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53287         Patch by Filipe David Manana <fdmanana@apache.org>.
53289 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53292         Maintain aligned stack.
53293         (CHECK_RSP): Remove unused macro.
53295 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53297         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53298         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53300 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53302         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53304         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53306 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53308         [BZ #12518]
53309         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53310         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53311         * sysdeps/x86_64/memmove.c: New file.
53312         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53313         (memcpy): Renamed to ...
53314         (__new_memcpy): This.
53315         (memcpy): Provide GLIBC_2_14 memcpy.
53316         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53317         (memcpy): Provide GLIBC_2_2_5 memcpy.
53319 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53321         [BZ #12631]
53322         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53324 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53326         * misc/syncfs.c: New file.
53327         * misc/Makefile (routines): Add syncfs.
53328         * posix/unistd.h: Declare syncfs.
53329         * sysdeps/unix/syscalls.list: Add syncfs.
53331 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53333         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53334         open_by_handle_at.
53335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53337         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53338         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53340         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53343 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53345         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53346         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53347         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53350         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53351         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53353         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53354         sync_file_range.c with -fexceptions.
53355         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53356         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53357         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53358         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53359         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53360         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53361         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53362         sync_file_range as cancellation point
53363         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53364         now a wrapper around __call_sync_file_range with cancellation handling.
53365         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53366         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53367         function name to __call_sync_file_range.
53368         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53369         Add call_sync_file_range.
53371 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53374         bits/timex.h.
53376 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53378         * iconv/iconv.h: Fix typo in comment.
53379         * io/fcntl.h: Likewise.
53380         * libio/stdio.h: Likewise.
53381         * posix/spawn.h: Likewise.
53382         * posix/unistd.h: Likewise.
53383         * stdlib/stdlib.h: Likewise.
53384         * time/time.h: Likewise.
53385         * wcsmbs/wchar.h: Likewise.
53387         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53388         open_by_handle): Add.
53389         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53390         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53391         Augment a few comments.
53392         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53394         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53397         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53398         open_by_handle.
53400         * io/fcntl.h (AT_EMPTY_PATH): Define.
53402 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53404         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53405         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53406         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53407         to...
53408         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53409         * Versions.def: Add GLIBC_2.14.
53410         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53411         Export.
53413 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53415         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53416         round counter.
53417         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53419 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53421         [BZ #12597]
53422         * string/test-strncmp.c (do_page_test): New function.
53423         (check2): Likewise.
53424         (test_main): Call check2.
53425         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53427 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53429         [BZ #12587]
53430         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53431         Handle cache information in CPU leaf 4.
53432         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53434 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53436         [BZ #12583]
53437         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53438         character representation.
53439         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53441 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53443         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53444         END(__isnan) to END(__isnanf) to match function entry point/label
53445         EALIGN(__isnanf,...).
53447 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53449         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53451 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53453         [BZ #12510]
53454         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53455         copy from the symbol referenced in the relocation to initialize the
53456         used variable.
53457         Patch by Piotr Bury <pbury@goahead.com>.
53458         * elf/Makefile: Add rules to build and tst-unique3.
53459         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53460         * elf/tst-unique3.cc: New file.
53461         * elf/tst-unique3.h: New file.
53462         * elf/tst-unique3lib.cc: New file.
53463         * elf/tst-unique3lib2.cc: New file.
53465         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53467 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53469         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53470         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53471         to _start.
53473 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53475         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53476         to-be-loaded object along a path to loader is ld.so.
53478 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53479             Ulrich Drepper  <drepper@gmail.com>
53481         * sysdeps/x86_64/memset.S: After aligning destination, code
53482         branches to different locations depending on the value of
53483         misalignment, when multiarch is enabled. Fix this.
53485 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53487         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53488         Set _x86_64_preferred_memory_instruction for AMD processsors.
53489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53490         Set bit_Prefer_SSE_for_memop for AMD processors.
53492 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53494         * libio/fmemopen.c (fmemopen): Optimize a bit.
53496 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53498         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53500 2011-03-03  Roland McGrath  <roland@redhat.com>
53502         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53504 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53506         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53507         __bzero_ultra1 instead of __memset_ultra1.
53509 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53510             Ulrich Drepper  <drepper@gmail.com>
53512         [BZ #12509]
53513         * include/link.h (struct link_map): Add l_orig_initfini.
53514         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53515         returning unsuccessfully.
53516         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53517         close of a file loaded at startup, restore the original l_initfini
53518         list.
53519         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53520         list, store the pointer.
53521         * elf/Makefile ($(objpfx)noload-mem): New rule.
53522         (noload-ENV): Define.
53523         (tests): Add $(objpfx)noload-mem.
53524         * elf/noload.c: Include <memcheck.h>.
53525         (main): Call mtrace.  Close all opened handles.
53527 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53529         [BZ #12454]
53530         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53531         dependencies are missing.
53533 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53535         Fix __if_freereq crash: Unlike the generic version which uses free,
53536         Hurd needs munmap.
53537         * sysdeps/mach/hurd/ifreq.h: New file.
53539 2011-01-27  Petr Baudis  <pasky@suse.cz>
53540             Ulrich Drepper  <drepper@gmail.com>
53542         [BZ 12445]#
53543         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53544         to extend_alloca().
53545         * stdio-common/bug23.c: New file.
53546         * stdio-common/Makefile (tests): Add bug23.
53548 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53549             Ulrich Drepper  <drepper@gmail.com>
53551         [BZ #12489]
53552         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53553         before performing relro protection.  At old place add assertion
53554         to make sure nothing changed.
53556 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53557             Glauber de Oliveira Costa  <glommer@gmail.com>
53559         * elf/elf.h: Add new ARM TLS relocs.
53561 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53564         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53565         cast from r3.
53566         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53567         'tests' variable.
53568         * sysdeps/wordsize-64/tst-writev.c: New file.
53570 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53572         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53573         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53574         insns in _dl_start to prevent a TOC reference before relocs are
53575         resolved.
53577 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53579         [BZ #12469]
53580         * Makeconfig: Remove RANLIB definition.
53581         * Makerules: Don't use RANLIB.
53582         * aclocal.m4: Remove ranlib test.
53583         * configure.in: No need to check for ranlib.
53584         * elf/rtld-Rules: Don't use RANLIB.
53586 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53588         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53589         protection macro.
53590         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53591         inclusion protection macro.
53593         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53594         SIGRTMIN and SIGRTMAX and print information in that case only when
53595         SIGRTMIN is defined.
53597 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53599         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53600         arginfo fn returning -1.
53602         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53603         and thousands string is zero terminated.
53605 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53607         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53608         sysdeps/unix/sysv/linux/bits/socket.h.
53610 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53612         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53613         (__CPU_COUNT): Remove old macros.
53614         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53615         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53616         (__CPU_ALLOC, __CPU_FREE): Add macros.
53617         (__sched_cpualloc, __sched_cpufree): Add declarations.
53619 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53621         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53622         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53623         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53624         (readdhstai): Return value of addhstaiX call.
53625         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53626         (addgrbyX): Return value returned by cache_addgr.
53627         (readdgrbyname): Return value returned by addgrbyX.
53628         (readdgrbygid): Likewise.
53629         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53630         (addpwbyX): Return value returned by cache_addpw.
53631         (readdpwbyname): Return value returned by addhstbyX.
53632         (readdpwbyuid): Likewise.
53633         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53634         (addservbyX): Return value returned by cache_addserv.
53635         (readdservbyname): Return value returned by addservbyX:
53636         (readdservbyport): Likewise.
53637         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53638         (addhstbyX): Return value returned by cache_addhst.
53639         (readdhstbyname): Return value returned by addhstbyX.
53640         (readdhstbyaddr): Likewise.
53641         (readdhstbynamev6): Likewise.
53642         (readdhstbyaddrv6): Likewise.
53643         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53644         (readdinitgroups): Return value returned by addinitgroupsX.
53645         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53646         (prune_cache): Keep track of timeout value of re-added entries.
53647         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53648         * nscd/nscd.h: Adjust prototypes of readd* functions.
53650 2011-02-04  Roland McGrath  <roland@redhat.com>
53652         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53653         (nis_stats): Likewise.
53654         * nis/nis_modify.c (nis_modify): Likewise.
53655         * nis/nis_remove.c (nis_remove): Likewise.
53656         * nis/nis_add.c (nis_add): Likewise.
53658         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53660         * posix/fnmatch_loop.c: Add some consts.
53662         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53664 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53666         [BZ #12460]
53667         * config.make.in (config-cflags-novzeroupper): Define.
53668         * configure.in: Substitute libc_cv_cc_novzeroupper.
53669         * elf/Makefile (AVX-CFLAGS): Define.
53670         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53671         (CFLAGS-tst-auditmod4a.c): Likewise.
53672         (CFLAGS-tst-auditmod4b.c): Likewise.
53673         (CFLAGS-tst-auditmod6b.c): Likewise.
53674         (CFLAGS-tst-auditmod6c.c): Likewise.
53675         (CFLAGS-tst-auditmod7b.c): Likewise.
53676         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53678 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53680         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53681         function to the callback.
53682         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53684 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53686         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53687         of errno.
53689 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53691         [BZ #11724]
53692         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53693         of constructors.
53694         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53695         of destructors.
53696         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53698         [BZ #11724]
53699         * elf/Makefile: Add rules to build and run new test.
53700         * elf/tst-initorder.c: New file.
53701         * elf/tst-initorder.exp: New file.
53702         * elf/tst-initordera1.c: New file.
53703         * elf/tst-initordera2.c: New file.
53704         * elf/tst-initordera3.c: New file.
53705         * elf/tst-initordera4.c: New file.
53706         * elf/tst-initorderb1.c: New file.
53707         * elf/tst-initorderb2.c: New file.
53708         * elf/tst-order-a1.c: New file.
53709         * elf/tst-order-a2.c: New file.
53710         * elf/tst-order-a3.c: New file.
53711         * elf/tst-order-a4.c: New file.
53712         * elf/tst-order-b1.c: New file.
53713         * elf/tst-order-b2.c: New file.
53714         * elf/tst-order-main.c: New file.
53715         New test case by George Gensure <werkt0@gmail.com>.
53717 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53720         decoding ACE if AI_CANONIDN.
53722 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53724         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53726 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53728         * version.h (RELEASE): Bump for 2.13 release.
53729         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53731         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53733         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53734         MADV_NOHUGEPAGE.
53735         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53736         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53737         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53738         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53740         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53742         * posix/getconf.c: Update copyright year.
53743         * catgets/gencat.c: Likewise.
53744         * csu/version.c: Likewise.
53745         * debug/catchsegv.sh: Likewise.
53746         * debug/xtrace.sh: Likewise.
53747         * elf/ldconfig.c: Likewise.
53748         * elf/ldd.bash.in: Likewise.
53749         * elf/sprof.c (print_version): Likewise.
53750         * iconv/iconv_prog.c: Likewise.
53751         * iconv/iconvconfig.c: Likewise.
53752         * locale/programs/locale.c: Likewise.
53753         * locale/programs/localedef.c: Likewise.
53754         * malloc/memusage.sh: Likewise.
53755         * malloc/mtrace.pl: Likewise.
53756         * nscd/nscd.c (print_version): Likewise.
53757         * nss/getent.c: Likewise.
53759         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53760         PF_CAIF, and PF_ALG.
53761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53763 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53765         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53766         (modules-names): Use them.
53767         (ifunc-test-modules, ifunc-pie-tests): Define.
53768         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53769         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53770         (test-extras): Likewise.
53771         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53772         $(compile-command.c).
53773         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53774         (all-built-dso): Define.
53775         (check-textrel.out, check-execstack.out): Depend on it.
53777         * configure.in: Don't override --enable-multi-arch.
53779 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53781         [BZ #6812]
53782         * nscd/hstcache.c (tryagain): Define.
53783         (cache_addhst): Return tryagain not notfound for temporary errors.
53784         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53785         failed.
53787 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53789         [BZ #10563]
53790         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53791         to make the syscall.
53792         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53794         [BZ #12378]
53795         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53796         and fall back to matching as normal character if the string ends before
53797         the matching ']' is found.  This is what POSIX requires.
53798         * posix/testfnm.c: Adjust test result.
53799         * posix/globtest.sh: Adjust test result.  Add new test.
53800         * posix/tst-fnmatch.input: Likewise.
53801         * posix/tst-fnmatch2.c: Add new test.
53803 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53805         * elf/Makefile (check-execstack): Revert last change.  Depend on
53806         check-execstack.h.
53807         (check-execstack.h): New target.
53808         (generated): Add check-execstack.h.
53809         * elf/check-execstack.c: Include "check-execstack.h".
53810         (main): Revert last change.
53811         (handle_file): Return zero if GNU_STACK is absent and
53812         DEFAULT_STACK_PERMS doesn't include PF_X.
53814 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53816         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53817         in child fails because the descriptor is already closed.
53818         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53819         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53820         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53822         [BZ #12397]
53823         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53824         syscall.
53826         [BZ #10484]
53827         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53828         temporary buffer used to handle multi lookups locally.
53829         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53831 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53833         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53834         loader is ld.so.
53836 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53838         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53839         alignment for SSE2.
53841 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53843         [BZ #12394]
53844         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53845         characters.  When rounding increased number of integer digits recompute
53846         number of groups.
53847         * stdio-common/tst-grouping.c: New file.
53848         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53850 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53852         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53853         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53855         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53856         void.
53857         * bits/select.h: Likewise.
53859 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53861         * po/ja.po: Update from translation team.
53863 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53865         [BZ #11155]
53866         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53867         implementation just like for lxstat, fxstatat, et al.
53869 2010-12-27  Jim Meyering  <meyering@redhat.com>
53871         [BZ #12348]
53872         * posix/regexec.c (build_trtable): Return failure indication upon
53873         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53875 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53877         [BZ #12201]
53878         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53879         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53880         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53881         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53883         [BZ #12207]
53884         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53886         [BZ #12204]
53887         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53888         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53890 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53892         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53893         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53894         script has SORT_BY_INIT_PRIORITY.
53895         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53896         NO_CTORS_DTORS_SECTIONS is defined.
53897         * elf/soinit.c: Likewise.
53898         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53899         NO_CTORS_DTORS_SECTIONS is defined.
53900         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53901         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53902         * sysdeps/sh/init-first.c: Likewise.
53903         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53905 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53907         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53908         always use the slow path.
53910 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53912         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53913         similar rule which adds the sysdep directories to the header search in
53914         order to pick up the correct platform stackinfo.h.
53915         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53916         perform test if it is, otherwise return successfully without testing.
53917         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53918         DEFAULT_STACK_PERMS define in stackinfo.h.
53919         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53920         defined in stackinfo.h.
53921         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53922         DEFAULT_STACK_PERMS defined in stackinfo.h.
53923         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53924         * sysdeps/ia64/stackinfo.h: Likewise.
53925         * sysdeps/s390/stackinfo.h: Likewise.
53926         * sysdeps/sh/stackinfo.h: Likewise.
53927         * sysdeps/sparc/stackinfo.h: Likewise.
53928         * sysdeps/x86_64/stackinfo.h: Likewise.
53929         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53930         PF_X for powerpc64.  Retain PF_X for powerpc32.
53932 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53934         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53935         accurately.
53936         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53937         GETDENTS_64BIT_ALIGNED.
53939 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53941         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53943 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53945         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53946         _GNU_SOURCE.
53948         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53949         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53950         Remove __restrict.
53951         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53952         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53954 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53956         [BZ #11655]
53957         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53958         are initialized.
53960 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53962         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53964 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53966         * po/it.po: Update from translation team.
53968 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53970         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53971         unused codes.
53973 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53975         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53977 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53979         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53980         specially.
53981         (gaih_getanswer_slice): Likewise.
53983 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53985         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53987 2010-05-31  Petr Baudis  <pasky@suse.cz>
53989         [BZ #11149]
53990         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53991         silently even in the chroot mode.
53993 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53995         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53996         last patch a bit.  Pretty printing
53998 2010-05-31  Petr Baudis <pasky@suse.cz>
54000         [BZ #10085]
54001         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54002         initialization of skip_initgroups_dyn.
54004 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54006         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54007         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54009 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54011         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54013 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54015         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54016         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54017         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54018         ($(objpfx)tst-fnmatch-mem): New rule.
54019         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54020         * posix/tst-fnmatch.c (main): Call mtrace.
54022 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54025         Support Intel processor model 6 and model 0x2c.
54027 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54029         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54030           signed comparison.
54032 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54034         [BZ #12205]
54035         * string/test-strncasecmp.c (check_result): New function.
54036         (do_one_test): Use it.
54037         (check1): New function.
54038         (test_main): Use it.
54039         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54040         Support strcasecmp and strncasecmp.
54042 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54044         [BZ #12194]
54045         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54046         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54048 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54050         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54051         IFUNC support.
54052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54053         memset-x86-64.
54054         * sysdeps/x86_64/multiarch/bzero.S: New file.
54055         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54056         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54057         * sysdeps/x86_64/multiarch/memset.S: New file.
54058         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54060         Set bit_Prefer_SSE_for_memop for Intel processors.
54061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54062         Define.
54063         (index_Prefer_SSE_for_memop): Define.
54064         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54066 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54068         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54069         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54071 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54073         [BZ #12191]
54074         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54075         (__x86_64_raw_data_cache_size_half): Likewise.
54076         (__x86_64_raw_shared_cache_size): Likewise.
54077         (__x86_64_raw_shared_cache_size_half): Likewise.
54079         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54080         (__x86_64_raw_data_cache_size_half): Likewise.
54081         (__x86_64_raw_shared_cache_size): Likewise.
54082         (__x86_64_raw_shared_cache_size_half): Likewise.
54083         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54084         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54085         and __x86_64_raw_shared_cache_size_half.  Round
54086         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54087         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54088         to multiple of 256 bytes.
54090 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54092         [BZ #12167]
54093         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54094         of inacessible symlinks.  Verify result of symlink before returning it.
54095         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54096         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54098 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54100         * math/math.h (isinf): Fix typo in comment.
54102 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54104         * po/da.po: Update from translation team.
54106 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54108         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54109         is added to the list.
54111 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54112             Ulrich Drepper  <drepper@gmail.com>
54114         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54115         the global list here.  Move code to...
54116         (_dl_add_to_namespace_list): ...here.  New function.
54117         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54118         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54119         * elf/dl-load.c (lose): Don't remove the element from the list.
54120         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54121         (_dl_map_object): Likewise.
54123 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54125         [BZ #12159]
54126         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54127         into all bytes of SSE register.
54128         Patch by Richard Li <richardpku@gmail.com>.
54130 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54132         [BZ #12140]
54133         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54134         perturbing.
54136 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54138         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54139         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54140         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54141         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54143         submachine.
54144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54146 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54148         * include/dlfcn.h (__RTLD_SECURE): Define.
54149         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54150         mode & __RTLD_SECURE instead.
54151         (open_path): Rename preloaded parameter to secure.
54152         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54153         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54154         * elf/dl-deps.c (openaux): Likewise.
54155         * elf/rtld.c (struct map_args): Remove is_preloaded.
54156         (map_doit): Don't use it.
54157         (dl_main): Likewise.
54158         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54159         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54161 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54163         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54164         (sysd-rules-targets): Remove duplicates.
54165         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54166         rtld-%.$o dependency.
54168 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54170         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54171         _dl_map_object do it.
54173 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54175         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54176         fast fma builtins, define the macros in the C99 standard.
54177         (FP_FAST_FMAF): Likewise.
54178         (FP_FAST_FMAL): Likewise.
54179         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54181         * bits/mathdef.h: Update copyright year.
54182         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54184 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54186         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54187         builtins, define the macros in the C99 standard.
54188         (FP_FAST_FMAF): Likewise.
54189         (FP_FAST_FMAL): Likewise.
54190         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54191         multiply/add.
54192         (FP_FAST_FMAF): Likewise.
54194 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54196         [BZ #3268]
54197         * math/libm-test.inc (fma_test): Some new testcases.
54198         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54199         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54200         y and infinite z.  Do multiplication by C already in long double.
54201         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54203         y and infinite z.  Do bitwise or of inexact bit into u.d.
54204         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54205         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54206         * sysdeps/i386/fpu/s_fma.S: Removed.
54207         * sysdeps/i386/fpu/s_fmal.S: Removed.
54209 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54211         [BZ #3268]
54212         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54214         computation is not scheduled after fetestexcept.  Fix value
54215         of minimum denormal long double.
54217 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54219         [BZ #3268]
54220         * math/libm-test.inc (fma_test): Add some more tests.
54221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54222         correctly.
54224 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54226         * scripts/data/localplt-s390-linux-gnu.data: New file.
54227         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54229 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54231         [BZ #3268]
54232         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54233         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54234         instead of dbl-64.
54235         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54236         inlines.
54237         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54239         if one of x and y is very large and the other is subnormal.
54240         * sysdeps/s390/fpu/s_fmaf.c: New file.
54241         * sysdeps/s390/fpu/s_fma.c: New file.
54242         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54243         * sysdeps/powerpc/fpu/s_fma.S: New file.
54244         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54245         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54246         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54248 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54250         [BZ #3268]
54251         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54252         fma tests.
54253         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54254         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54255         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54256         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54257         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54258         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54259         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54261 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54263         [BZ #12078]
54264         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54265         * posix/bug-regex31.input: Add test case.
54267 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54269         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54270         * posix/bug-regex31.input: New file.
54272         [BZ #12078]
54273         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54274         (parse_sub_exp): Fix last change, use postorder.
54276         * posix/bug-regex31.c: New file.
54277         * posix/Makefile: Add rules to build and run bug-regex31.
54279         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54281         [BZ #12078]
54282         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54284         [BZ #12108]
54285         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54286         to have entries in sys_siglist.
54288         [BZ #12093]
54289         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54290         be NULL.
54292 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54294         [BZ #3268]
54295         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54296         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54297         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54298         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54299         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54300         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54301         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54302         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54303         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54304         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54305         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54306         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54307         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54308         * math/ftestexcept.c (fetestexcept): Likewise.
54309         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54310         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54311         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54312         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54313         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54314         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54315         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54317 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54319         [BZ #12107]
54320         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54321         newline.
54323 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54325         * string/bug-strstr1.c: New file.
54326         * string/Makefile: Add rules to build and run bug-strstr1.
54328 2010-10-05  Eric Blake  <eblake@redhat.com>
54330         [BZ #12092]
54331         * string/str-two-way.h (two_way_long_needle): Always clear memory
54332         when skipping input due to the shift table.
54334 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54336         [BZ #12005]
54337         * malloc/mcheck.c: Handle large requests.
54339         [BZ #12077]
54340         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54341         for strncmp and strncasecmp.
54342         * string/stratcliff.c: Add tests for strcmp and strncmp.
54343         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54345 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54347         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54348         __set_fpscr.
54350 2010-09-30  Andreas Jaeger  <aj@suse.de>
54352         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54353         (CGROUP_SUPER_MAGIC): Define.
54354         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54355         Handle btrfs and cgroup file systems.
54356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54357         Likewise.
54359 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54361         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54362         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54364 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54366         [BZ #12067]
54367         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54368         trying to locate the ELF header.
54370 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54372         [BZ #11611]
54373         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54374         Mask out sign-bit copies when constructing f_fsid.
54376 2010-09-24  Petr Baudis <pasky@suse.cz>
54378         * debug/stack_chk_fail_local.c: Add missing licence exception.
54379         * debug/warning-nop.c: Likewise.
54381 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54383         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54384         implementing getdents64 using getdents syscall, set d_type if
54385         __ASSUME_GETDENTS32_D_TYPE.
54387 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54389         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54390         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54392 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54394         [BZ #12037]
54395         * posix/unistd.h: Undo change of feature selection for ftruncate from
54396         2010-01-11.
54398 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54400         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54401         detection.
54403 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54405         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54406         fanotify_mark.
54407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54409 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54411         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54412         variables after CHECK_SP call.
54413         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54415 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54416             Ulrich Drepper  <drepper@redhat.com>
54418         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54419         re-relocationg ld.so.
54420         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54421         _dl_init_paths call.
54422         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54423         here anymore.
54425 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54427         * resolv/res_init.c (__res_vinit): Count the default server we added.
54429 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54430             Ulrich Drepper  <drepper@redhat.com>
54432         [BZ #11968]
54433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54434         (____longjmp_chk): Use %ebx for saving value across system call.
54435         Add unwind info.
54437 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54439         * manual/Makefile: Don't mix pattern rules with normal rules.
54441 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54443         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54444         operation.
54445         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54446         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54447         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54448         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54449         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54450         Likewise.
54452 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54454         [BZ #11979]
54455         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54456         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54458 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54460         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54461         * sysdeps/x86_64/addmul_1.S: Likewise.
54462         * sysdeps/x86_64/lshift.S: Likewise.
54463         * sysdeps/x86_64/mul_1.S: Likewise.
54464         * sysdeps/x86_64/rshift.S: Likewise.
54465         * sysdeps/x86_64/sub_n.S: Likewise.
54466         * sysdeps/x86_64/submul_1.S: Likewise.
54468 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54470         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54471         Define __sched_param instead of SCHED_* and sched_param when
54472         <bits/sched.h> is included with __need_schedparam defined.
54473         * bits/sched.h [__need_schedparam]
54474         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54475         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54476         (__defined_schedparam): Define to 1.
54477         (__sched_param): New structure, identical to sched_param.
54478         (__need_schedparam): Undefine.
54480 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54482         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54483         (epoll_create1): Declare.
54485         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54487 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54489         [BZ #7066]
54490         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54491         shifting retval into place.
54493 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54495         * nis/rpcsvc/nis.h: Update copyright notice.
54496         * nis/rpcsvc/nis.x: Likewise.
54497         * nis/rpcsvc/nis_callback.h: Likewise.
54498         * nis/rpcsvc/nis_callback.x: Likewise.
54499         * nis/rpcsvc/nis_object.x: Likewise.
54500         * nis/rpcsvc/nis_tags.h: Likewise.
54501         * nis/rpcsvc/yp.h: Likewise.
54502         * nis/rpcsvc/yp.x: Likewise.
54503         * nis/rpcsvc/ypupd.h: Likewise.
54504         * nis/yp_xdr.c: Likewise.
54505         * nis/ypupdate_xdr.c: Likewise.
54507         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54508         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54509         (pmap_getport): Use __libc_rpc_getport.
54510         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54511         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54512         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54514 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54517         fanotify_mark.
54519 2010-08-27  Roland McGrath  <roland@redhat.com>
54521         * sysdeps/i386/i686/multiarch/Makefile
54522         (CFLAGS-varshift.c): New variable.
54524 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54526         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54527         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54531         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54533 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54535         * sysdeps/x86_64/strlen.S: Unroll the loop.
54536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54537         strlen-sse2 strlen-sse2-bsf.
54538         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54539         __strlen_no_bsf if bit_Slow_BSF is set.
54540         (__strlen_sse42): Removed.
54541         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54542         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54544 2010-08-25  Roland McGrath  <roland@redhat.com>
54546         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54547         * sysdeps/x86_64/multiarch/varshift.c: New file.
54548         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54549         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54550         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54551         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54553 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54556         strlen-sse2 strlen-sse2-bsf.
54557         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54558         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54559         (__strlen_sse2): Removed.
54560         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54561         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54562         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54563         bit_Slow_BSF for Atom.
54564         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54565         (index_Slow_BSF): Define.
54566         (HAS_SLOW_BSF): Define.
54568 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54570         [BZ #10851]
54571         * resolv/res_init.c (__res_vinit): When no server address at all
54572         is given default to loopback.
54574 2010-08-24  Roland McGrath  <roland@redhat.com>
54576         * configure.in: Remove config-name.h generation.
54577         * configure: Regenerated.
54578         * config-name.in: File removed.
54579         * scripts/config-uname.sh: New file.
54580         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54581         ($(objdir)config-name.h): New target.
54583         * sunrpc/rpc_parse.h: Avoid nested comment.
54585 2010-08-24  Richard Henderson  <rth@redhat.com>
54586             Ulrich Drepper  <drepper@redhat.com>
54587             H.J. Lu  <hongjiu.lu@intel.com>
54589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54591         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54592         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54593         _mm_alignr_epi8 with _mm_loadu_si128.
54594         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54595         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54596         (__m128i_shift_right): Removed.
54597         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54598         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54599         * sysdeps/x86_64/multiarch/varshift.h: New file.
54600         * sysdeps/x86_64/multiarch/varshift.S: New file.
54602 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54604         * configure.in: Move assembler checks to before sysdep dir checking.
54606 2010-08-20  Petr Baudis  <pasky@suse.cz>
54608         * LICENSES: Sync the sunrpc license.
54610 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54612         * sunrpc/auth_des.c: Update copyright notice once again.
54613         * sunrpc/auth_none.c: Likewise.
54614         * sunrpc/auth_unix.c: Likewise.
54615         * sunrpc/authdes_prot.c: Likewise.
54616         * sunrpc/authuxprot.c: Likewise.
54617         * sunrpc/bindrsvprt.c: Likewise.
54618         * sunrpc/clnt_gen.c: Likewise.
54619         * sunrpc/clnt_perr.c: Likewise.
54620         * sunrpc/clnt_raw.c: Likewise.
54621         * sunrpc/clnt_simp.c: Likewise.
54622         * sunrpc/clnt_tcp.c: Likewise.
54623         * sunrpc/clnt_udp.c: Likewise.
54624         * sunrpc/clnt_unix.c: Likewise.
54625         * sunrpc/des_crypt.c: Likewise.
54626         * sunrpc/des_soft.c: Likewise.
54627         * sunrpc/get_myaddr.c: Likewise.
54628         * sunrpc/getrpcport.c: Likewise.
54629         * sunrpc/key_call.c: Likewise.
54630         * sunrpc/key_prot.c: Likewise.
54631         * sunrpc/openchild.c: Likewise.
54632         * sunrpc/pm_getmaps.c: Likewise.
54633         * sunrpc/pm_getport.c: Likewise.
54634         * sunrpc/pmap_clnt.c: Likewise.
54635         * sunrpc/pmap_prot.c: Likewise.
54636         * sunrpc/pmap_prot2.c: Likewise.
54637         * sunrpc/pmap_rmt.c: Likewise.
54638         * sunrpc/rpc/auth.h: Likewise.
54639         * sunrpc/rpc/auth_unix.h: Likewise.
54640         * sunrpc/rpc/clnt.h: Likewise.
54641         * sunrpc/rpc/des_crypt.h: Likewise.
54642         * sunrpc/rpc/key_prot.h: Likewise.
54643         * sunrpc/rpc/netdb.h: Likewise.
54644         * sunrpc/rpc/pmap_clnt.h: Likewise.
54645         * sunrpc/rpc/pmap_prot.h: Likewise.
54646         * sunrpc/rpc/pmap_rmt.h: Likewise.
54647         * sunrpc/rpc/rpc.h: Likewise.
54648         * sunrpc/rpc/rpc_des.h: Likewise.
54649         * sunrpc/rpc/rpc_msg.h: Likewise.
54650         * sunrpc/rpc/svc.h: Likewise.
54651         * sunrpc/rpc/svc_auth.h: Likewise.
54652         * sunrpc/rpc/types.h: Likewise.
54653         * sunrpc/rpc/xdr.h: Likewise.
54654         * sunrpc/rpc_clntout.c: Likewise.
54655         * sunrpc/rpc_cmsg.c: Likewise.
54656         * sunrpc/rpc_common.c: Likewise.
54657         * sunrpc/rpc_cout.c: Likewise.
54658         * sunrpc/rpc_dtable.c: Likewise.
54659         * sunrpc/rpc_hout.c: Likewise.
54660         * sunrpc/rpc_main.c: Likewise.
54661         * sunrpc/rpc_parse.c: Likewise.
54662         * sunrpc/rpc_parse.h: Likewise.
54663         * sunrpc/rpc_prot.c: Likewise.
54664         * sunrpc/rpc_sample.c: Likewise.
54665         * sunrpc/rpc_scan.c: Likewise.
54666         * sunrpc/rpc_scan.h: Likewise.
54667         * sunrpc/rpc_svcout.c: Likewise.
54668         * sunrpc/rpc_tblout.c: Likewise.
54669         * sunrpc/rpc_util.c: Likewise.
54670         * sunrpc/rpc_util.h: Likewise.
54671         * sunrpc/rpcinfo.c: Likewise.
54672         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54673         * sunrpc/rpcsvc/key_prot.x: Likewise.
54674         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54675         * sunrpc/rpcsvc/mount.x: Likewise.
54676         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54677         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54678         * sunrpc/rpcsvc/rex.x: Likewise.
54679         * sunrpc/rpcsvc/rstat.x: Likewise.
54680         * sunrpc/rpcsvc/rusers.x: Likewise.
54681         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54682         * sunrpc/rpcsvc/spray.x: Likewise.
54683         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54684         * sunrpc/rtime.c: Likewise.
54685         * sunrpc/svc.c: Likewise.
54686         * sunrpc/svc_auth.c: Likewise.
54687         * sunrpc/svc_authux.c: Likewise.
54688         * sunrpc/svc_raw.c: Likewise.
54689         * sunrpc/svc_run.c: Likewise.
54690         * sunrpc/svc_simple.c: Likewise.
54691         * sunrpc/svc_tcp.c: Likewise.
54692         * sunrpc/svc_udp.c: Likewise.
54693         * sunrpc/svc_unix.c: Likewise.
54694         * sunrpc/svcauth_des.c: Likewise.
54695         * sunrpc/xcrypt.c: Likewise.
54696         * sunrpc/xdr.c: Likewise.
54697         * sunrpc/xdr_array.c: Likewise.
54698         * sunrpc/xdr_float.c: Likewise.
54699         * sunrpc/xdr_mem.c: Likewise.
54700         * sunrpc/xdr_rec.c: Likewise.
54701         * sunrpc/xdr_ref.c: Likewise.
54702         * sunrpc/xdr_sizeof.c: Likewise.
54703         * sunrpc/xdr_stdio.c: Likewise.
54705         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54706         handling.
54708 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54710         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54712 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54714         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54715         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54716         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54717         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54718         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54719         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54720         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54721         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54722         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54723         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54724         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54725         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54726         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54727         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54729 2010-07-26  Anton Blanchard  <anton@samba.org>
54731         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54732         * malloc/arena.c (heap_trim): Likewise.
54734 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54736         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54737         here.  Not...
54738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54739         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54741 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54743         * sysdeps/i386/elf/Makefile: New file.
54745 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54747         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54748         from fanotify_init.
54749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54750         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54752 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54754         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54755         of strncasecmp_l.
54756         * sysdeps/multiarch/strcmp.S: Likewise.
54758 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54760         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54761         strncase_l-nonascii.
54762         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54763         Add strncase_l-ssse3.
54764         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54765         * sysdeps/x86_64/strcmp.S: Likewise.
54766         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54767         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54768         * sysdeps/x86_64/strncase.S: New file.
54769         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54770         * sysdeps/x86_64/strncase_l.S: New file.
54771         * string/Makefile (strop-tests): Add strncasecmp.
54772         * string/test-strncasecmp.c: New file.
54774         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54775         warning.
54777         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54778         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54780 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54782         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54784 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54786         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54787         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54788         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54790 2010-05-01  Alan Modra  <amodra@gmail.com>
54792         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54793         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54794         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54795         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54796         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54797         tidying.  Don't tail-call __sigjmp_save for static lib.
54798         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54799         save location.
54800         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54801         (CALL_MCOUNT): Add eh info, and nop after bl.
54802         (TAIL_CALL_SYSCALL_ERROR): New macro.
54803         (PSEUDO_RET): Use it.
54804         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54805         Correct save location of integer regs and cr.
54806         (_dl_profile_resolve): Correct cr save location.  Delete nops
54807         after bl when SHARED.  Reduce cfi size a little by better
54808         placement of cfi directives.
54809         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54810         make a stack frame.  Instead use parm save area as a temp.
54811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54812         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54814         Don't make a stack frame for parent, use parm save area.
54815         Increase child stack frame to 112 bytes.  Don't save unused reg,
54816         and adjust reg usage.  Set up cfi on error recovery and
54817         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54819         (__makecontext): Add dummy nop after jump to exit.
54820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54821         Use correct parm save area and cr save, reduce stack frame.
54822         Correct cfi for possible PSEUDO_RET frame setup.
54823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54824         Branch to local label emitted by PSEUDO_RET rather than
54825         __syscall_error.
54827 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54829         [BZ #11904]
54830         * locale/programs/locale.c (print_assignment): New function.
54831         (show_locale_vars): Use it.
54833 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54835         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54836         field.
54837         (struct statfs64): Likewise.
54838         (_STATFS_F_FLAGS): Define.
54839         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54840         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54841         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54842         (ST_VALID): Define locally.
54843         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54844         __statvfs_getflags, use the provided value.
54845         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54846         __ASSUME_STATFS_F_FLAGS.
54848         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54850         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54851         Add sys/fanotify.h.
54852         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54853         fanotify_mask for GLIBC_2.13.
54854         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54855         fanotify_init and fanotify_mark.
54856         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54857         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54859         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54860         Add prlimit.
54861         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54862         prlimit64 for GLIBC_2.13.
54863         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54864         prlimit64.
54865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54866         syscall.
54867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54868         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54869         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54870         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54872         add prlimit alias.
54873         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54875         [BZ #11903]
54876         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54877         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54879         * nss/Makefile: Add rules to build and run tst-nss-test1.
54880         * shlib-versions: Add entry for libnss_test1.
54881         * nss/nss_test1.c: New file.
54882         * nss/tst-nss-test1.c: New file.
54884         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54885         (__nss_configure_lookup): Set appropriate entry in
54886         __nss_configure_lookup to true.
54887         * nss/nsswitch.h: Define enum with indeces of databases in
54888         databases and __nss_database_custom arrays.  Declare
54889         __nss_database_custom.
54890         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54891         to avoid using nscd when custom rules are installed.
54892         * nss/getXXbyYY_r.c: Likewise.
54893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54895         * nss/nss_files/files-parse.c: Whitespace fixes.
54897 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54899         [BZ #11883]
54900         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54901         * posix/fnmatch_loop.c: Likewise.
54903 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54905         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54906         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54907         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54908         * Versions.def [GLIBC_2.13]: Add.
54910 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54912         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54913         Also fail if tpwd after pwuid call is NULL.
54915 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54917         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54918         when converting to ms.
54920 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54922         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54923         EOPNOTSUPP errors with ENOTTY.
54924         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54925         EOPNOTSUPP errors with ENOTTY.
54927 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54929         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54930         Add strcasecmp_l-ssse3.
54931         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54932         strcasecmp.
54933         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54934         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54935         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54937 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54939         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54941         * string/Makefile (strop-tests): Add strcasecmp.
54942         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54943         strcasecmp_l-nonascii.
54944         (gen-as-const-headers): Add locale-defines.sym.
54945         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54946         * sysdeps/x86_64/strcasecmp.S: New file.
54947         * sysdeps/x86_64/strcasecmp_l.S: New file.
54948         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54949         * sysdeps/x86_64/locale-defines.sym: New file.
54950         * string/test-strcasecmp.c: New file.
54952         * string/test-strcasestr.c: Test both ends of the range of characters.
54953         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54955 2010-07-29  Roland McGrath  <roland@redhat.com>
54957         [BZ #11856]
54958         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54960 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54962         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54963         for ld.so.
54965 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54967         * manual/memory.texi (Malloc Tunable Parameters): Document
54968         M_PERTURB.
54970 2010-07-26  Roland McGrath  <roland@redhat.com>
54972         [BZ #11840]
54973         * configure.in (-fgnu89-inline check): Set and substitute
54974         gnu89_inline, not libc_cv_gnu89_inline.
54975         * configure: Regenerated.
54976         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54978 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54980         * string/test-strnlen.c: New file.
54981         * string/Makefile (strop-tests): Add strnlen.
54982         * string/tester.c (test_strnlen): Add a few more test cases.
54983         * string/tst-strlen.c: Better error reporting.
54985         * sysdeps/x86_64/strnlen.S: New file.
54987 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54989         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54990         lower-latency instructions.
54992 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54994         * string/test-strcasestr.c: New file.
54995         * string/test-strstr.c: New file.
54996         * string/Makefile (strop-tests): Add strstr and strcasestr.
54997         * string/str-two-way.h: Don't undefine MAX.
54998         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55000 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55002         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55003         strcasestr-nonascii.
55004         (CFLAGS-strcasestr-nonascii.c): Define.
55005         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55006         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55007         Remove unused attribute.
55009 2010-07-20  Roland McGrath  <roland@redhat.com>
55011         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55012         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55013         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55014         like LD_HWCAP_MASK can disable hwcaps.
55016 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55018         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55020 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55022         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55023         call in strcasestr.
55024         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55025         __strcasestr_sse42_nonascii.
55026         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55027         strcasestr-nonascii.c.
55028         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55030 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55032         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55033         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55034         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55035         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55037 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55039         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55040         fcntl.
55042 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55044         [BZ #11577]
55045         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55046         dl_signal_cerror.
55048 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55050         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55051         _PC_PIPE_BUF using F_GETPIPE_SZ.
55053 2010-07-05  Roland McGrath  <roland@redhat.com>
55055         * manual/arith.texi (Rounding Functions): Fix rint description
55056         implicit in round description.
55058 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55060         * elf/Makefile: Fix linking for a few tests to make recent linker
55061         happy.
55063 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55065         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55066         $(common-objpfx)libc_nonshared.a.
55068 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55070         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55071         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55072         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55073         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55074         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55075         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55076         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55077         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55092         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55093         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55094         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55095         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55096         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55097         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55098         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55099         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55100         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55101         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55102         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55103         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55119 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55121         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55122         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55123         * string/memmove.c (memmove): Renamed to ...
55124         (MEMMOVE): ...this.  Default to memmove.
55125         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55126         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55127         (END_CHK): Define.
55128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55129         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55130         mempcpy-ssse3-back memmove-ssse3-back.
55131         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55132         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55133         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55134         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55135         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55136         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55137         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55138         * sysdeps/x86_64/multiarch/memmove.c: New file.
55139         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55140         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55141         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55142         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55143         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55144         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55145         Define.
55146         (index_Fast_Copy_Backward): Define.
55147         (HAS_ARCH_FEATURE): Define.
55148         (HAS_FAST_REP_STRING): Define.
55149         (HAS_FAST_COPY_BACKWARD): Define.
55151 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55153         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55154         Restore proper fallback handling.
55156 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55158         [BZ #11701]
55159         * posix/group_member.c (__group_member): Correct checking loop.
55161         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55162         OOM in getpwuid_r correctly.  Return error number when the caller
55163         should return, otherwise -1.
55164         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55165         call returning > 0 value.
55166         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55168 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55170         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55171         libc_nonshared.a from targets in modules-names.
55173 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55175         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55176         requires it.
55178 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55180         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55181         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55182         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55183         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55185 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55187         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55189 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55191         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55192         and F_GETPIPE_SZ.
55193         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55194         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55195         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55197         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55198         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55200 2010-06-14  Roland McGrath  <roland@redhat.com>
55202         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55204 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55206         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55207         __REDIRECT followed by __THROW.
55208         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55209         * posix/getopt.h (getopt): Likewise.
55211 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55213         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55214         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55215         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55216         in AT_FLAGS.
55217         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55218         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55220 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55222         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55224 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55226         [BZ #11640]
55227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55228         Properly check family and model.
55230 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55232         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55234 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55236         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55238 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55240         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55241         symbol reference.
55243 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55245         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55246         symbol reference.
55248 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55250         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55251         and internal_recvmmsg.
55252         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55253         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55254         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55255         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55257         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55258         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55259         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55261 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55263         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55265 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55267         POWER7 optimizations.
55268         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55269         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55271 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55273         * version.h: Update for 2.13 development version.
55275 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55277         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55278         exceptions.  Return 0.
55280 2010-05-07  Roland McGrath  <roland@redhat.com>
55282         * elf/ldconfig.c (main): Add a const.
55284 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55286         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55287         (args_options): Add no-idn option.
55288         (ahosts_keys_int): Add idn_flags to ai_flags.
55289         (parse_option): Handle 'i' option to clear idn_flags.
55291         * malloc/malloc.c (_int_free): Possible race in the most recently
55292         added check.  Only act on the data if no current modification
55293         happened.
55295 See ChangeLog.17 for earlier changes.